Tiza Group

Home / Tools / COMTRADE viewer

Online COMTRADE viewer

Open the fault record of a relay or a disturbance recorder (.cfg + .dat, or a single .cff) and review the waveforms, the digital channels and the fundamental RMS with a cursor. The automatic analysis estimates the fault type, the relay and breaker times and the distance to the fault. The file never leaves your computer.

IEEE C37.111COMTRADE 1991, 1999 and 2013IEC 60255-24common format for transient data exchangeIEEE C37.114single-ended fault location

Online COMTRADE viewer
E1Record

Select the .cfg and the .dat together, or a .cff; you can also drag them here. Revisions 1991, 1999 and 2013 in ASCII, BINARY, BINARY32 and FLOAT32.

Your file stays on your computer. It is read by the browser (FileReader); it is not uploaded to any server or stored.

E2Channels shown

Check the channels you want to see in the plot and in the table of values. Each channel has its own vertical scale.

E3Readout
Hz

Taken from the .cfg when the record is opened.

E4Analysis channels

The viewer identifies the channels by name, phase and unit. If it gets one wrong, select the correct channel here or «Do not use».

E5Line data for the distance

Requires the line impedances. Values are converted to primary with the CT and VT ratios.

km
Ω/km
Ω/km
Ω/km
Ω/km
A
A
V
V

With entered ratios, the viewer takes the values in the file as secondary values.

Use a decimal point. The calculation runs in your browser and updates as you type.

Fundamental RMS at the cursor

—

Instantaneous value

—

Cursor

— ms

Revision and format

—

Sampling

—

Duration

— ms

Waveforms
  • Selected channel
  • Other channels
  • Fundamental RMS
  • Trigger (t = 0)
Tap or move the pointer over the plot to move the cursor (solid yellow line); with the plot focused, the arrow keys move it sample by sample. Time in milliseconds from the trigger time in the .cfg. Each channel has its own vertical scale.

Automatic analysis

Fault type

—

Fault inception

— ms

Fault duration

— ms

Relay time

— ms

Breaker time

— ms

Estimated distance

— km

Sequence of events
  • Fault
  • Current through the pole
  • Events
Times in milliseconds from the trigger time in the .cfg. A pole is taken as open when its current stays below 3 % of its peak for at least three quarters of a cycle.

Values at the cursor

Cursor: —

ChannelInstantaneousFundamental RMS (1 cycle)

What the record shows

    Pre-fault and fault phasors

    —

    QuantityPre-faultFault

    Distance, DC component and X/R

      What it is for

      To look at a fault record without installing the manufacturer's software: confirm which phase faulted, how much the current rose and the voltage dropped, when the protection picked up and tripped, and how long the breaker took to open. It works in the field on a phone and in the office when preparing an event report.

      The sample record is synthetic, created by our team: a 13.2 kV feeder with a resistive phase-A-to-ground fault. The phase A current rises to about 600 A and the residual to 420 A; the 51N picks up, trips at about 276 ms and the breaker opens three cycles later, each phase interrupting at its own current zero. You can download the .cfg and the .dat to try them in other programs.

      How it is calculated

      IEEE C37.111a, b, primary, secondary and P/S factorsIEC 60255-24

      value = a · x + bsecondary value = primary value · secondary / primary

      x is the number stored in the .dat, and a and b are the channel factors in the .cfg. The channel's P or S flag says whether the result is in primary or secondary values; to convert to the other side, the primary and secondary factors of the same channel are used.

      Time of each sample

      t = Σ 1 / samp, segment by segment, or t = timestamp · timemult

      If the .cfg has sampling rates (nrates ≥ 1 and samp > 0), each sample follows the previous one with the period of the segment the previous one belongs to: with 1000 Hz up to sample 2 and 500 Hz after it, the times are 0, 1, 2 and 4 ms. The standard does not detail that transition and other readers use the new rate; the difference is one sample at the rate change. If the .dat also has timestamps that depart more than half a sample from that base, the viewer warns. If samp = 0, the timestamp in microseconds is used (or in nanoseconds when the date of a 2013 record has nanosecond resolution). Zero on the plot is the trigger time minus the time of the first sample.

      The sampling skew of each analog channel (skew field, in µs) is added to its time axis: the plot and the cursor read each channel at its own sampling instant.

      Fundamental RMS over the last cycle up to the cursor

      x(tk) ≈ a · cos ωτk + b · sin ωτk + cRMS = √(a² + b²) / √2

      It is a least-squares fit over the samples of exactly one period 1/f0, with τk = tk − tcursor. When the sampling rate is an integer multiple of the fundamental (N = fs/f0 samples per cycle), it gives the same result as the one-cycle discrete Fourier transform used in numerical relays, X = (2/N) · Σ x(k) · e−j2πk/N (Phadke and Thorp, Computer Relaying for Power Systems), and it rejects the DC component and the integer harmonics. When it is not (1000 Hz at 60 Hz is 16.67 samples), a DFT with a rounded N would have up to 1 % error and would oscillate; the fit stays exact for a sinusoid with a DC component.

      Automatic analysis: fault inception and fault type

      Δi(t) = i(t) − i(t − T)ΔI = Ifault − Ipre-fault

      The fault starts at the first sample where the current of any phase (or the residual) departs from that of the previous cycle by more than 5 % of its peak, or six times the channel noise, for at least 1/16 cycle; the voltages refine that instant. The pre-fault phasors are computed over the cycle that ends 1/16 cycle before inception, and the fault phasors over the cycle that ends one and a half cycles after it, with a fit that absorbs the DC component. The superimposed current ΔI removes the load: a phase is faulted if its |ΔI| reaches 50 % of the largest one, and ground is involved if 3|ΔI0| exceeds 10 % (criteria of this viewer, not of a standard). For ground faults the angle of I2 relative to I0 is also checked: close to 0° for A-ground and B-C-ground, −120° for B-ground and C-A-ground, and +120° for C-ground and A-B-ground.

      Relay and breaker times

      trelay = ttrip − tinceptiontbreaker = tfirst pole open − ttrip

      The trip is the first rising edge of a digital channel named TRIP, DISPARO, PTRC, 94 or 86 (pickup channels are not used). A pole is open when its current stays below 3 % of its peak for at least three quarters of a cycle; the fault is cleared when all faulted phases are interrupted. If a pole conducts again, the viewer marks a reclose and checks whether the current returns to fault level. If the fault type changes and holds for three quarters of a cycle, it is marked as an evolving fault.

      IEEE C37.114single-ended fault location

      x = Im(V / I) / X1x = Im(V · ΔI*) / Im(Z1 · I · ΔI*)

      The first is the simple reactance method and the second the Takagi method (Takagi et al., IEEE Trans. PAS-101, 1982), with Z1 and X1 per kilometer and ΔI the phase (or phase-to-phase) current minus its pre-fault value. For a ground fault V = VA and I = IA + k0 · 3I0, with k0 = (Z0 − Z1) / (3Z1); for a phase-to-phase fault, with or without ground, V = VB − VC and I = IB − IC; for a three-phase fault the three loops are averaged. These are the loops of the IEEE C37.114 guide as presented by Zimmerman and Costello (SEL, 2004).

      DC component and X/R

      i(t) ≈ Ip · cos(ωt + φ) + D · e−t/τX/R = ω · τ

      It is fitted over the first fault cycles of each faulted phase, searching τ by least squares, like the DC component of IEC 60909-0. If D is below 10 % of the AC peak, the X/R is not reported.

      Missing data

      −32768 in BINARY, −2147483648 in BINARY32, the minimum float −3.4028235 · 1038 (or a non-numeric value) in FLOAT32, an empty field or 99999 (outside the channel range) in ASCII, and the timestamp 0xFFFFFFFF. The viewer leaves those points undrawn, and the RMS of any cycle that includes them is left empty.

      Limits of the calculation

      • The automatic analysis is indicative. Deciding whether a protection operated correctly takes the settings, the relay logic and the system study.
      • Single-ended fault location assumes a homogeneous, well-modeled line. It is shifted by fault resistance combined with load flow (more for the simple reactance than for Takagi), zero-sequence mutual coupling with parallel lines, infeed from the remote end or from taps, a non-homogeneous system, and errors in the CTs, the VTs and the line parameters. Use it to direct the line patrol, not as an exact location.
      • The classification needs one cycle of pre-fault and one and a half cycles of fault. With CT saturation, a large DC component or faults shorter than one cycle, the phasors and the fault type lose accuracy; the viewer says so in the confidence note.
      • Pole opening is detected from the current, not from the 52a contact. In a phase-to-phase fault without ground, the fault current is interrupted by the first faulted pole that opens. A reclose is only visible if the line carries current again.
      • The one-cycle RMS needs a full cycle of data: right after fault inception or a pole opening it shows a transition. If the actual frequency differs from the one you enter, the value has an error, and a decaying DC component is not fully rejected.
      • The normal state of the digitals and the .hdr and .inf files are not used.
      • Very large records, with millions of samples, can be slow to open on a phone.

      Frequently asked questions

      How do I open a COMTRADE file without installing software?

      Open this page, tap «Open files» and select the .cfg and the .dat of the same record together, or a single .cff file. The viewer reads the file in your browser and plots the analog and digital signals; the relay manufacturer's software is not needed.

      What is the difference between ASCII and binary COMTRADE?

      Both hold the same samples. In ASCII each sample is a line of comma-separated text; in binary each value takes 2 bytes (BINARY) or 4 bytes (BINARY32 and FLOAT32), so the file is several times smaller. The format is declared in the .cfg, and the viewer reads all four.

      Is it safe to open my substation records here?

      Yes. The file is read with the browser's FileReader API and processed on your computer: the page does not send it to any server or store it. If you close or reload the page, the record is gone.

      If the setting is wrong, we correct it remotely

      When the record shows a misoperation or a slow trip, we review the relay settings and logic and load the correction remotely, whatever the relay make and model.

      Related guides

      Other tools

      COMTRADE generatorCreate a COMTRADE fault record (.cfg/.dat or .cff) for your test set: fault, DC offset and breaker opening.ANSI / IEEE C37.2 device numbersDevice function numbers 1 to 94, common suffixes and their IEC 61850 logical node, with search.Relay coordinationUp to six relays, reclosers and fuses on a log-log plot, with the IEEE C57.109 damage curve, inrush and the coordination margin of each pair.Inverse-time curvesCalculator and log-log plot of the IEC 60255-151 and IEEE C37.112 curves, with the coordination margin.CT burdenLead resistance, relay burden and comparison with the rated burden of the current transformer.Short-circuit currentQuick estimate of the three-phase fault at the secondary of a transformer.IEC 61850 SCL viewerOpen .scd, .cid or .icd files in your browser: IEDs, GOOSE and SV addresses, datasets, subscribers and checks. The file is not uploaded.GOOSE and SV addressesCheck IEC 61850 multicast MAC, APPID, VLAN and priority, find duplicates and export the table as CSV.Process bus networkSV and GOOSE bandwidth, worst-case latency, PRP, HSR or RSTP redundancy and PTP time error of an IEC 61850 network.Interlocking table and CILO equationsInterlocking matrix per device, IEC 61850 EnaOpn and EnaCls equations, GOOSE signals between bays and FAT/SAT test cases per configuration.Per-unit base conversionBase current and impedance, conversion between %, pu and ohms, and change of base for transformers, generators and lines.Harmonic distortion THD and TDDVoltage THD and current TDD against the IEEE 519-2022 limits, with the spectrum as a bar chart.Symmetrical componentsPhase quantities to zero, positive and negative sequence and back (Fortescue), with phasor diagrams and what they mean for 46, 67Q and 51N.Vector group compensation (87T)TAP of each winding, phase compensation matrix, zero-sequence removal and the HV-to-LV clock diagram.Primary and secondary impedance (21)Primary to secondary ohms with the CT and VT ratios, line Z1, Z0 and k0, and zone reaches on the R-X plane.CT saturationRequired versus available voltage (5P/10P, PX or C class), time to saturation and the saturated waveform.DGA interpretationIEEE C57.104-2019 DGA status, Duval triangles 1, 4 and 5, IEC 60599 ratios and CO₂/CO of your transformer.Insulation temperature correctionInsulation resistance at 40 °C (IEEE 43) or 20 °C, PI, DAR and power factor of transformers and bushings, with the trend.Capacitor bankkvar to correct the power factor, steps of the automatic bank, capacitance and resonance with the transformer.Cable voltage dropΔV and % with R and X per km, copper or aluminium, mm² or AWG/kcmil, and the short-circuit check of the cable size.Battery sizingAh, number of cells and charger of a DC battery bank from its duty cycle, per IEEE 485 and IEEE 1115.Grounding resistanceGround rods, horizontal conductor and grid (BS 7430, IEEE 80), and soil resistivity from Wenner measurements.Technical glossarySubstation, protection and communications terms, explained in one or two sentences.
      WhatsApp