Common Format For Transient Data Exchange (comtrade)
What Is Common Format For Transient Data Exchange (comtrade)?
Common Format for Transient Data Exchange, commonly abbreviated COMTRADE, is a file format standard that defines how transient waveform and event data collected from electrical power systems or power system models are stored and exchanged. It was developed by the IEEE Power System Relaying and Control (PSRC) committee and is codified in the IEEE C37.111 standard. COMTRADE gives engineers, protection relay vendors, and utilities a common structure for capturing voltage, current, frequency, and status data recorded during power system disturbances, faults, or test sequences.
The core problem COMTRADE solves is vendor interoperability. Before a standardized format existed, each intelligent electronic device (IED) manufacturer stored disturbance recordings in proprietary binary formats that could only be read by that vendor's own analysis software. COMTRADE decoupled the recording function from the analysis function, allowing a waveform captured by one manufacturer's relay to be analyzed, simulated, and archived using tools from any vendor that supports the standard.
File Structure and Data Content
A COMTRADE dataset consists of multiple files that together describe a single disturbance record. The configuration file (.cfg) specifies the number of analog and digital channels, their identities and scaling factors, the sampling rate used during recording, and the time reference for the data. The data file (.dat) contains the time-series values for each channel at each sample instant. An optional information file (.hdr) may carry free-text documentation, and a complementary file (.inf) may carry additional metadata.
Analog channels typically carry sampled measurements of current and voltage from current transformers and voltage transformers in the substation. Digital channels carry status signals for breaker positions, protection relay trip outputs, and alarms. Together these channels allow engineers to reconstruct the complete electrical and logical state of a substation during and around a disturbance.
Standard Versions and Evolution
The COMTRADE standard has been revised three times since its first publication in 1991. The 1999 version, IEEE C37.111-1999, was the most widely deployed for over a decade, establishing the ASCII and binary data file encodings that most legacy systems support. The 2013 revision, published jointly with IEC as IEEE/IEC C37.111-2013 and also known as IEC 60255-24 Ed.2, introduced a 32-bit floating point binary data format for higher-precision recordings and aligned the standard with IEC's measuring relay standards series. This joint publication reflects COMTRADE's adoption beyond North America as the dominant waveform exchange format for protection engineering worldwide.
Sampling rate requirements have increased over successive editions in response to the wider deployment of high-speed protection systems and the need to capture fast transients accurately. Modern IEDs in digital substations may record at sampling rates exceeding 10,000 samples per second, and the C37.111-2013 standard accommodates these data densities as part of IEEE's broader smart grid standards portfolio.
Use in Protection Engineering and Analysis
COMTRADE files are generated by protective relays, digital fault recorders, power quality monitors, and simulation platforms such as the Electromagnetic Transients Program (EMTP) and its derivatives. Protection engineers use COMTRADE recordings to replay disturbance events through test sets and relay test software, verifying that protection systems operated correctly or diagnosing failures. Simulation outputs in COMTRADE format allow engineers to validate relay settings against modeled fault scenarios before deploying relays in the field.
The format's role in simulation as well as field recording means that COMTRADE serves as a bridge between protection design and commissioning, making it a foundational data exchange layer in modern power system protection practice.
Applications
Common Format for Transient Data Exchange has applications in a range of fields, including:
- Post-fault analysis and root-cause investigation in transmission and distribution systems
- Relay testing and commissioning using recorded or simulated waveforms
- Power quality monitoring and disturbance event documentation
- Protection system simulation with EMTP and similar transient analysis tools
- Interoperability testing between IED vendors in digital substation environments