Waveform storage

Waveform records are organized within devices into files. These files are periodically checked for and downloaded as they appear on the device. When downloaded, the files are converted into a Comtrade format on the Power Operation I/O Server and then stored in a hierarchical fashion.

A single waveform will be stored as follows:

<Waveform DB root>\<ClusterName>\<IODeviceName>\Waveforms\<UTCTimestamp>.CFG
<Waveform DBroot>\<ClusterName>\<IODeviceName>\Waveforms\<UTCTimestamp>.DAT

Where:

Waveform DB root path is configured in the WaveformDB configuration section.

For example,

C:\Data\Cluster1\Sepam_IODev\Waveforms\
DST_00000000001203566197_0000000511_utc.CFG
DST_00000000001203566197_0000000511_utc.DAT

NOTE: In case of redundant I/O devices, only the name of the primary I/O device will be used when waveform storage path is constructed.

The CFG file is a Comtrade configuration file, and the DAT file is the Comtrade data file. Within the CFG file is a timestamp that reflects the device time start time of the waveform. This time is not adjusted to the I/O Server time zone or daylight saving, but it is stored per the device configuration. The file name has the UTC time in seconds since 1970 of the waveform.

The prefix of waveform file name reflects the type of the waveform. Currently, waveforms of the following types are supported:

DST_

Disturbance waveform

ADT_

Adaptive waveform

SST_

Steady state waveform

If it is detected that the waveform data file has changed while it is being downloaded, the file gets discarded and is not stored on the I/O Server.