The file check: what SagSwell read, inferred or found wrong in a COMTRADE file
What the file check on every record reports — values read, values inferred, clipping, dead traces, impossible time stamps — and what to do about each.
Every record gets a file check: what was actually read from the .cfg and .dat, what had to be inferred, and anything that would make a figure wrong. Read it before trusting a number from an unfamiliar recorder.
What it reports
- Read: station and device, COMTRADE revision, data format, channel counts, sampling rates, start and trigger times, frequency, scaling of each channel.
- Inferred: anything the reader had to decide because the file did not say, such as a phase from a channel name or a date order.
- Problems: clipping at full scale in binary data, dead traces, time stamps that cannot be right, and inconsistencies between the .cfg and the .dat.
A clean file gets a short confirmation that nothing was inferred and no channel showed clipping, a dead trace or an impossible time stamp.
What to do about a finding
| Finding | Usually means |
|---|---|
| Values far from nominal before the event | Scaling or primary/secondary is wrong in the .cfg. |
| Clipping | The recorder’s input range was exceeded; peaks and RMS of that channel are low. |
| Dead trace | Unused input; ignore the channel. |
| Impossible time stamp | Clock not set, or a non-standard date format; durations within the record are still valid. |
For the meaning of each .cfg line see the .cfg guide. To check a file without opening it in the reader, use the free COMTRADE file checker.
Questions people ask
- Why does a COMTRADE file open with the wrong values?
- Usually the scaling: a CT or VT ratio, a primary/secondary flag, or the a and b multipliers in the .cfg. The file check lists what was read and what had to be inferred, which is where to look first.
- What is a dead trace?
- A channel with nothing connected to it: only noise around zero. SagSwell recognises it and leaves it out of event detection and THD rather than reporting a permanent interruption.
- Is a warning in the file check an error in the record?
- Not always. It says the file departs from what the standard or the rest of the file leads one to expect. Some departures are harmless; others change every number.
Free tools
- COMTRADE to CSV converter
- COMTRADE file checker
- ITIC (CBEMA) curve checker
- Symmetrical components calculator (positive, negative, zero sequence)
- Sample COMTRADE files
More guides
- How to open COMTRADE files online (.cfg, .dat, .cff)
- The COMTRADE file format explained (IEEE C37.111)
- The COMTRADE .cfg file, line by line (with an annotated example)
- COMTRADE viewer for Mac, Linux and Chromebook (no install)
- Free COMTRADE viewers compared (2026): browser, desktop and code
- Voltage sags, swells and interruptions: the IEEE 1159 categories
- ITIC (CBEMA) curve: chart, corner points and SEMI F47
- Harmonics and THD from a fault record: what IEEE 519 does and does not tell you
- Opening COMTRADE records in SagSwell: files, pairs, zip and demo records
- The waveform view: zoom, cursors, channels and values at the cursor
- The record summary: sampling, frequency, voltage range, THD, unbalance and trip
- The harmonics view: spectrum, IEEE 519 limits by bus voltage and NEMA MG-1 derating
- Events, sites and notes: grouping records from several recorders
- What SagSwell Pro adds: diagnosis, event replay, PQ timeline, reports and sharing
- Is it safe to open COMTRADE files online? Where your records go
- How to read a fault record: a step-by-step method
- Voltage sag types A to G: what the three phases tell you about the fault
- Fault, motor start or transformer energising? Telling sag causes apart in a record
- CT saturation in fault records: how to recognise it
- Transformer inrush or internal fault? Reading the difference in a record
- How one-cycle RMS is calculated from a COMTRADE record
- How sags, swells and interruptions are detected and classified
- How harmonics and THD are calculated from a COMTRADE record
- How phasors and symmetrical components are calculated
- How to get COMTRADE files from an SEL relay
- How to export COMTRADE fault records from Siemens SIPROTEC 5 (DIGSI 5)
- How to get COMTRADE disturbance records from ABB Relion relays (PCM600)
- How to extract COMTRADE disturbance records from MiCOM P40 Agile relays (S1 Agile)
- How to get COMTRADE oscillography from GE Multilin UR relays
- SIGRA alternative: a free browser viewer for COMTRADE fault records
- WaveWin alternative: opening COMTRADE without installing software
- TransView alternative: a browser COMTRADE viewer for power-quality questions