Harmonics and THD from a fault record: what IEEE 519 does and does not tell you
How THD is calculated from a COMTRADE record, the IEEE 519 voltage-distortion limits by bus voltage, and why a record a few seconds long is a snapshot rather than an IEEE 519 assessment.
A fault record is a waveform, and any periodic waveform can be split into its fundamental and harmonics: components at whole multiples of the power frequency. Drives, rectifiers, LED lighting and arc furnaces draw harmonic currents, and those currents flowing through the supply impedance distort the voltage. A COMTRADE record lets you see that distortion directly, which makes it a good place to start an investigation, as long as you keep in mind what a few seconds of data can say.
How THD is calculated
The spectrum comes from a Fourier transform of an integer number of cycles of the waveform. Total harmonic distortion is the RMS of all the harmonics divided by the fundamental:
THD = √(V2² + V3² + V4² + … + Vh²) / V1 × 100 %
Two details decide whether the number is right. The analysis window has to hold whole cycles, or energy from the fundamental leaks into the harmonic bins. And the highest harmonic you can trust is limited by the recorder’s sampling rate: at 32 samples per cycle, nothing above the 15th harmonic can be measured, and anything above it folds back onto lower orders. SagSwell says how far up the spectrum a record can see and does not draw bars beyond it.
The IEEE 519 voltage limits
IEEE 519 sets harmonic limits at the point of common coupling, the point where a customer’s system meets the utility’s. The voltage limits depend on the bus voltage:
| Bus voltage at the PCC | Individual harmonic (%) | THD (%) |
|---|---|---|
| 1 kV and below | 5.0 | 8.0 |
| above 1 kV to 69 kV | 3.0 | 5.0 |
| above 69 kV to 161 kV | 1.5 | 2.5 |
| above 161 kV | 1.0 | 1.5 |
Current limits are set as total demand distortion (TDD), relative to the maximum demand load current, and depend on the ratio of short-circuit current to load current at the PCC, so the same measured current can be within the limit on a stiff supply and above it on a weak one.
Because the limit depends on the bus voltage, a single number is wrong somewhere: 8% is the limit on a 400 V bus and more than three times the limit on a 132 kV one. Check the bus voltage before reading a THD figure against a limit.
Why a fault record is a snapshot, not an assessment
IEEE 519 is assessed statistically over time: short-time values over days, compared as percentiles, for example over a week of monitoring. A COMTRADE record lasts from a fraction of a second to a few seconds, and it was usually triggered by something unusual. Its THD describes that moment. It is useful for seeing which harmonics are present, which phase carries them and how they change through an event, and it can show that a problem is worth monitoring properly. It cannot show that a site meets or fails IEEE 519.
Harmonics during a fault
During a fault, and for a few cycles after clearing, the waveform is not periodic: there is DC offset in the current, the voltage steps, and transformers may draw inrush current rich in the 2nd harmonic. A harmonic spectrum taken across those cycles mixes all of that together. Take the spectrum from the steady part of the record before the trigger, or look at how the harmonics change through the event, rather than reading one number across the whole record.
The Harmonics tab in SagSwell shows the spectrum and THD of every voltage and current channel, and the Phasors tab shows the fundamental and the symmetrical components at any instant. For the rest of the record, see the sags and swells guide.
References
- IEEE Std 519-2022, IEEE Standard for Harmonic Control in Electric Power Systems
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
- 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
- The file check: what SagSwell read, inferred or found wrong in a COMTRADE file
- 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