ProtectionAcademy
4.360 min · Expert

COMTRADE Forensics & NERC Audit Defense

Root-causing plant trips against IEEE 2800 and PRC-028/029/030 evidence requirements.

You will be able to
  • ▸Read multi-channel disturbance records with cursors and phasor measurement
  • ▸Apply consecutive-voltage-deviation counting rules
  • ▸Detect negative-sequence angle drift after firmware changes
  • ▸Assemble an audit-ready root-cause evidence package
Standards
IEEE 2800-2022 Cl. 7 & 11NERC PRC-028-1NERC PRC-029-1NERC PRC-030-1IEEE C37.111
01 · Why it matters

When a plant trips, the record is the defence

In earlier modules you designed protection. This module is about what happens after something goes wrong. A transmission fault occurs, a solar or battery plant drops 150 MW, and within days the Transmission Operator, Reliability Coordinator or NERC wants answers: what tripped, why, and was the plant allowed to?

For inverter-based resources (IBRs), the answer is rarely a simple relay trip. The usual culprits are firmware, control loops, counters, and measurement windows hidden inside the inverters and plant controller. The only way to prove what happened is time-synchronized disturbance data, analysed carefully against the ride-through requirements. That skill separates a protection engineer from a subject-matter expert.

The regulatory framework you are defending against has several parts:

  • IEEE 2800-2022: the technical performance standard for transmission-connected IBRs. It covers ride-through (Clause 7), current injection during faults, and measurement and data recording (Clause 11).
  • NERC PRC-029-1: the mandatory frequency and voltage ride-through requirements for IBRs, including the documentation of any ride-through exemption.
  • NERC PRC-028-1: the disturbance monitoring and recording requirements for IBRs. It defines what data must exist, how it is time-synchronized, and how long it is kept.
  • NERC PRC-030-1: unexpected IBR event mitigation. It holds the obligation to analyse an unexpected output reduction and to build and complete a Corrective Action Plan: the loop practised here.
  • NERC PRC-002 (disturbance monitoring on the BES) and PRC-004 (misoperation analysis, where the plant's protection system is BES) can also apply to the same event. When a plant protective relay operates, as in Cases C and D, the operation has to be screened under PRC-004 as well as judged against ride-through.
02 · Anatomy

Reading a COMTRADE record

IEEE C37.111 (COMTRADE) is the common file format for relays, DFRs, and the simulation tools used for playback testing. An event is a small set of files:

FileContentsWhat you check
.cfgStation, channel list, units, scaling a & b, CT/VT ratios, sample rate(s), first-sample and trigger timestampsChannel mapping, primary vs secondary, sample rate, time quality
.datOne row per sample: index, timestamp (µs), integer analog values, 0/1 digital statesGaps, clipping (values at ±32767), saturation
.hdrOptional free text from the deviceRelay model, firmware, settings group
.infOptional information file (introduced in the 1999 revision) for extra, often vendor-specific, dataExtra metadata

IEEE C37.111-2013 (dual-logo with IEC 60255-24) kept these files and added a single-file .cff format, binary32 (float) data, and time-code and time-quality fields in the .cfg. This module exports the 1999 ASCII form, which every playback tool reads.

Each stored analog value is an integer. Convert it to engineering units with the scaling from the .cfg:

xeng=a⋅xraw+bx_{\text{eng}} = a\cdot x_{\text{raw}} + b
03 · DSP

From samples to phasors, sequences and frequency

A numerical relay measures phasors, not raw samples. The forensic viewer does the same: at cursor 1 it runs a full-cycle DFT over the last NN samples (N = samples per cycle):

Xˉk=2N∑m=k−N+1kx[m] e−j2πm/N\bar X_k = \frac{\sqrt2}{N}\sum_{m=k-N+1}^{k} x[m]\, e^{-j2\pi m/N}

The reference rotates at exactly 60 Hz, so the angle of a steady 60 Hz signal stays fixed from one cycle to the next. From the three phase phasors, the Fortescue transform gives the sequence quantities from Module 1.1:

Vˉ1=13(Vˉa+aVˉb+a2Vˉc),Vˉ2=13(Vˉa+a2Vˉb+aVˉc)\bar V_1 = \tfrac13\left(\bar V_a + a\bar V_b + a^2\bar V_c\right),\qquad \bar V_2 = \tfrac13\left(\bar V_a + a^2\bar V_b + a\bar V_c\right)

Frequency is the rate at which the Vˉ1\bar V_1 angle drifts. Over a window of WW cycles:

f≈60+ΔθV1360∘⋅60W Hzf \approx 60 + \frac{\Delta\theta_{V_1}}{360^\circ}\cdot\frac{60}{W}\ \text{Hz}

That formula explains Case C. A sudden phase step Δθ looks like a burst of off-nominal frequency lasting about one window. The shorter the window, the bigger the spike.

A note on measurement points. The case files record at the plant's point of interconnection (POI), which is where the POI relay and DFR sit. IEEE 2800 states its performance requirements at the reference point of applicability (RPA), which is often, but not always, the POI. Where they differ, the quantity that decides compliance (V₂ for an exception, the I₂ angle, the voltage a deviation is counted against) must be measured or derived at the RPA, and your evidence should say which point each quantity came from.

04 · Capstone lab

Four case files

The viewer below loads four synthetic records modelled on real failure patterns. For each one, put the cursors on the key moments, read the sequence quantities, check the digital channels, and then commit to a root cause and a compliance verdict. You can also export each record as a COMTRADE file and open it in your own playback or analysis software.

Interactive lab
COMTRADE Forensic Viewer
Four synthetic but realistic POI disturbance records. Click or drag on any trace to place the active cursor. The readouts use a one-cycle DFT ending at cursor 1. Cursor 2 is for measuring Δt. Work out the root cause, then record your findings below.
Case file
Firmware
Plant drops out after a firmware update
Example 200 MW PV plant · 230 kV POI · record from the POI relay/DFR
Active cursor
Zoom (centred on cursor 1)
Derived trace
Frequency window (cycles)
Export this record (IEEE C37.111-1999 ASCII)
Primary units (kV L-N, A). Open both files in any COMTRADE viewer to practise relay playback.
Phase voltages · pu
VaVbVc
0100200300400500-1.5-1011.5
Plant currents at POI · pu of plant rating
IaIbIc
0100200300400500-1.5-1011.5
∠I₂ − ∠V₂ · degrees · IEEE 2800 window 90°–100° shaded
∠I₂−∠V₂
0100200300400500-180-90090180
Digital channels · SER / relay / inverter status
010020030040050052a POITRIP27 PU47 PU81O PU81U PUINV RUNINV FLTTime (ms)
At cursor 1 · t = 140.0 ms
Δt = -50.0 ms (-3.00 cyc)
|V₁|
0.620pu
|V₂|
27.0%
vs 6.7 %
|I₁|
0.833pu
|I₂|
0.300pu
∠I₂ − ∠V₂
141.9°
window 90°–100°
f (6 cyc)
59.777Hz
|Va|
0.889pu
|Vb|
0.511pu
|Vc|
0.566pu
|Ia|
0.545pu
|Ib|
0.963pu
|Ic|
1.060pu
Inverter event log: no active fault code
Phase phasors
0°90°180°-90°VaVbVcIaIbIc
Sequence (V₂ ×3 for visibility)
0°90°180°-90°V₁3·V₂I₁I₂
Case file A · investigation
Case A: Plant drops out after a firmware update

Three weeks after the inverter OEM pushed a “minor” control update, a B–C fault on a 230 kV line two buses away (cleared normally in 6 cycles) caused the plant to lose all output. The POI breaker never opened. The Transmission Operator wants to know why a plant that passed its ride-through model review stopped producing.

1 · Root cause
2 · Compliance verdict
05 · Ride-through rules

Counting consecutive voltage deviations

Transmission faults rarely come one at a time. Auto-reclosing, sequential clearing at the two line ends, and evolving faults can all hit a plant with several dips in a few seconds. IEEE 2800-2022 Clause 7.2.2.4 requires plants to ride through multiple deviations, and allows tripping only under specific cumulative conditions. As summarised in this course's research, tripping is allowed only when there are:

  • more than 4 deviations in any 10 s window, more than 6 in 120 s, or more than 10 in 30 minutes;
  • a deviation that follows the previous one by less than 20 cycles; or
  • sags below 50 % occurring more than 2 times in 10 s or more than 3 times in 120 s.

The words more than matter. Case B's inverter counter tripped on the 4th deviation, which is one too early. Work through it in the counter below, then try the other scenarios.

These counts have not been checked here against the purchased standard text, and industry groups have asked for Clause 7.2.2.4 to be clarified. PRC-029-1 also has its own multiple-excursion provisions, and they may not match IEEE 2800 exactly. PRC-029-1 is the mandatory requirement. IEEE 2800 applies to the extent your TO has adopted it in its interconnection requirements. In an investigation, quote and apply whichever text governs your plant, and say which one you used.

Interactive lab
Consecutive-Deviation Counter
Each bar is one voltage deviation: its depth is the residual voltage and its width is the duration. Click empty space below 0.9 pu to add a deviation, or click a bar to remove it. A red bar means at least one exception permits tripping at that deviation. A green bar means the plant must ride through it.
Scenarios
Timeline
5 cyc
Exceptions as summarised in this course
Tripping is allowed only if: more than 4 deviations in 10 s · more than 6 in 120 s · more than 10 in 30 min · a deviation starts less than 20 cycles after the previous one recovered · sags below 50 % happen more than 2 times in 10 s or more than 3 times in 120 s. Check the exact wording in IEEE 2800-2022 Cl. 7.2.2.4 and your TO's requirements.
must ride throughtrip permitted50 % severe-sag lineplant trip
02468101200.250.50.750.91Time (s)Residual V (pu)1234plant trip
#t (s)V (pu)gap (cyc)in 10 sin 120 s<50 % in 10 sverdict at this deviation
10.400.32—111Must ride through
21.250.3045222Must ride through
33.100.72106332Must ride through
45.000.60108442Must ride through
Plant tripped at 5.06 s, during or after deviation #4. No exception applied at that point, so this is a ride-through failure.
06 · Frequency elements

Phase jumps are not frequency excursions

When a large generator trips, a line switches, or a fault clears, the voltage phase at the POI can step by tens of degrees in a fraction of a cycle. Real system frequency changes slowly because of system inertia. A frequency estimator with a short window can't tell the two apart. This course's research cites a 25° phase jump that plants must ride through, plus a 5 Hz/s RoCoF, and recommends a 3–6 cycle frequency measurement window so that jumps don't corrupt 81O/81U. Treat these as figures to verify against PRC-029-1 and IEEE 2800, not as quoted requirements. Use the lab to find the shortest window and smallest delay that ride through a 25° jump with a 61.8 Hz pickup.

Interactive lab
Phase Jump vs Frequency Measurement Window
A pure phase step at t = 100 ms with no change in true frequency. Watch how the estimator's window length decides whether it looks like a frequency excursion.
20°
Measurement window (cycles)
61.8 Hz
0 cyc
0501001502002503005658606264Time (ms)Estimated f (Hz)81 TRIP
True frequency
60.000Hz
Predicted spike
+3.33Hz
(Δθ/360)·60/W
Measured peak
63.23Hz
Window
1 cyc
16.7 ms
Spurious trip: a 20° phase jump inside the ride-through requirement operated the frequency element. Lengthen the window or add delay.

Two cautions about the lab. First, its estimator is a simplification: it differences the angles of one-cycle DFT phasors taken W cycles apart. Real relays and inverters use zero-crossing, PLL or filtered phasor-rotation methods with their own windows and filters, so on a real device the spike's size and duration will be different. Check each device's documented method before choosing a window. Second, the 61.8 Hz pickup and its 58.2 Hz mirror are representative values. Real 81O/81U settings must sit outside the frequency no-trip boundaries for your interconnection. For every plant in this module (all IBRs) that means the PRC-029-1 frequency ride-through table: the frequency bands and minimum ride-through times it requires, and any exemptions documented under it. Verify the bands and times against the current PRC-029-1 text and your TO's requirements before choosing a pickup or delay; an instantaneous element close to 60 Hz may not be acceptable even when its measurement window is right. PRC-024-4 sets the equivalent no-trip boundaries for synchronous units only. Take the boundaries from the current standard.

07 · Audit defence

Building an audit-ready evidence package

An investigation is only as strong as the evidence behind it. Whether you are answering a TO data request, a Regional Entity inquiry, a PRC-030-1 analysis of an unexpected IBR event, or a PRC-004 review of a relay operation, the package should let an independent reviewer reach your conclusion on their own. That means complete, time-aligned, unaltered records, the settings and firmware actually in service, and a clear chain from evidence to root cause to corrective action.

Interactive lab
Evidence Package Builder
Pick what goes into the package you send to the TO, RC or auditor. Not every option belongs there.
Time & data quality
Records
Settings & firmware
Analysis & communication
Corrective action
Incomplete: 14 required elements still missing.
Required evidence0/14
Key takeaways
  • IBR trips usually start inside the inverter or PPC. Pull inverter event logs and firmware history in every investigation.
  • Compute sequence quantities from point-on-wave data. ∠I₂ − ∠V₂ outside 90°–100° on a full-converter plant is a red flag, often traceable to a firmware change.
  • Count consecutive deviations against the exact wording of the governing requirement (PRC-029-1, or IEEE 2800 as adopted by your TO). Under this course's summary, "more than 4" means 5. Off-by-one counters are a real finding.
  • A phase jump of Δθ looks like a frequency spike of (Δθ/360)·60/W Hz. Short windows on 81 elements cause spurious trips.
  • A trip under a permitted exception (e.g. V₂ > 6.7 % for > 2 s, as summarised in this course) still needs evidence: measurement location, synchronized timing, and the settings in service, with margin above the exception's time limit.
  • A plant relay operation is also a PRC-004 question where the protection system is BES. Screen it as a correct operation or a misoperation, alongside the ride-through verdict.
  • Evidence packages need time-synchronized originals. Never shift timestamps in the source records; document clock offsets instead.
Assessment

Knowledge check

0/8 answered
  1. Q1
    In an IEEE C37.111 COMTRADE record, which file holds the channel names, sample rate and the a·x + b scaling factors?
  2. Q2
    A record is sampled at 1920 Hz on a 60 Hz system. How many samples does a one-cycle DFT window contain?
  3. Q3
    For a full-converter IBR (PV or BESS) during an unbalanced fault, the expected relationship between injected I₂ and V₂ at the RPA is:
  4. Q4
    A plant sees four sags in 8 s, all with residual voltage above 0.55 pu and gaps of more than one second. It trips during the fourth. Using this module's summary of the consecutive-deviation rules:
  5. Q5
    A 25° voltage phase jump is seen by a frequency element using a 2-cycle measurement window. What is the approximate apparent frequency excursion?
  6. Q6
    In a record, output drops to zero while 52a stays closed and TRIP never asserts. What does that most strongly indicate?
  7. Q7
    A plant trips on 47 after V₂ = 8 % persists for 2.1 s at the POI. What is still needed to defend the trip?
  8. Q8
    Why is a SCADA historian trend at 2-second resolution unsuitable as primary evidence for an LVRT failure?
Mastery challenge

Root-cause and defend a plant trip

You are the plant's P&C lead after a series of events. Use the labs in this module to put together a root-cause analysis and evidence package that could go to the TO and Regional Entity.

Finished this module?
Your progress is saved in this browser only.