From Wikipedia, the free encyclopedia

COMTRADE (Common format for Transient Data Exchange for power systems) is a file format for storing oscillography and status data related to transient power system disturbances.

COMTRADE files are typically generated by Intelligent Electronic Devices (IEDs), such as an electronic protective relay, in electrical substations during power systems disturbances. These IEDs are monitoring the electrical characteristics of the power system by digitally sampling measurements of the current, voltage, power, frequency, etc. at a high speed. The IEDs then use digital signal processing algorithms on that data to detect abnormal conditions in the power system so that automated control actions can be taken to prevent damage to the power system. When faults are detected, the IEDs will record the digitized transient fault data that was used during processing into a file using the COMTRADE file format. Analysis tools can then download the COMTRADE file and calculate useful information related to the disturbance. For instance, a COMTRADE recording of the fault current absorbed by a transformer prior to the circuit breaker opening can be used to calculate the total energy dissipated by the transformer which helps the utility to more accurately estimate the impact of that fault on the lifetime of the transformer. COMTRADE files from multiple substations can be used collectively to perform forensic analysis of large scale power disturbance events (e.g. blackouts) to determine the root cause of the disturbance, help improve system protection and guide future mitigation strategies.

The COMTRADE file format has been standardized by the Power System Relaying & Controls Committee (PSRC) of the IEEE Power & Energy Society as C37.111. The original specification was published in 1991. The 1991 version of the COMTRADE standard specifies a file format that consists of multiple file types designated by the assigned file extensions of *.CFG, *.HDR, and *.DAT. The *.DAT file contains the digitized sample data in an ASCII text format. The *.CFG file contains configuration data on what is in the *.DAT file including information such as signal names, start time of the samples, number of samples, min/max values, and more. Only the *.CFG and *.DAT files were mandatory. Although the values of the digitized samples in the *.DAT file are viewable without the *.CFG file, the value of the data is greatly diminished as it would be very difficult to fully reconstruct the meaning of the data without the *.CFG file.

The most widely used version of the COMTRADE standard is C37.111-1999. The 1999 version of the standard added a 16-bit Binary *.DAT file format and a *.INF file. The .CFG file format was augmented to provide details of instrument transformers, allowing conversion between primary and secondary units.

The most recent version is C37.111-2013. The 2013 format added 32-bit Binary and IEEE 754 floating point *.DAT formats as well as time zone information. A new, single-file format with extension *.CFF was also introduced to combine the data of the files of the C37.111-1999 format into a single file.

As applications for using COMTRADE grew the limitations of the file format began to cause problems. For instance, the North American SynchroPhasor Initiative (NASPI) sponsored by the North American Electric Reliability Corporation (NERC) wanted to use the COMTRADE file format to exchange archives of streaming synchrophasor data (IEEE C37.118). The C37.111-1999 version of the COMTRADE configuration (*CFG) files did not include information describing time zones nor precision of precise timing devices required for synchrophasor data. This would have made large scale exchange of synchrophasor data more difficult. Beginning in 2011, the IEEE PSRC began work on a new version of the COMTRADE standard that has been published as C37.111-2013. Also known as IEC 60255-24 Ed.2, this standard defines a format for files containing transient waveform and event data collected from power systems or power system models. The format is intended to provide an easy-to-interpret form for use in exchanging data. The standard is for files stored on currently used physical media such as portable external hard drives, USB drives, CD, or DVD. The COMTRADE standard itself does not specify how to transfer data files over communication networks.[1]

The IEEE Power Quality Subcommittee[2] of the IEEE Power & Energy Society has also specified a file format called Power Quality Data Interchange Format (PQDIF) in IEEE Std.1159.3-2019[3] that is similar to COMTRADE in structure but is used primarily to convey power quality data instead of transient disturbance data. Like IEEE COMTRADE, IEEE PQDIF can be used to exchange waveform measurements and phasor measurements. However, IEEE PQDIF allows storage of data logs, magnitude-duration measurements, histograms, and more.

There are numerous COMTRADE viewers and analysis software available from many commercial companies as well as:

Viewer/analysis functionality varies. Some free COMTRADE viewers and analysis software also includes additional advanced functionality (e.g. protection relay behavior analysis (line/transformer differential/impedance protection, fault/harmonic analysis, user-defined mathematical expressions, analysis and plots, COMTRADE file editing and creation etc).

See also[edit]


  1. ^ C37.111-2013 - IEEE/IEC Measuring relays and protection equipment – Part 24: Common format for transient data exchange (COMTRADE) for power systems
  2. ^ "IEEE PES Power Quality Subcommittee – IEEE Power & Energy Society".
  3. ^ "IEEE 1159.3-2019 - IEEE Recommended Practice for Power Quality Data Interchange Format (PQDIF)".