dparrini / python-comtrade

A module designed to read Common Format for Transient Data Exchange (COMTRADE) file format.
MIT License
80 stars 41 forks source link

Bugs under high sampling rate #7

Closed jpecfdc closed 1 year ago

jpecfdc commented 4 years ago

I loaded a comtrade file of 10kHz samling rate and found that the time list stack overflow. The time is not correct and return to zero at 2000th samples.

image image

dparrini commented 4 years ago

Hi, I made an update today where time values are calculated by default (the exception when Comtrade.timestamp_critical is True, the values will be read from DAT). Also did several small fixes and merged pull requests that might help in this case.

If the problem persists, please provide the CFG file contents after the lf (line frequency) line.