Home / Tools / COMTRADE generator
COMTRADE fault generator
Create a fault record to play back on your test set (OMICRON CMC with TransPlay, Doble or other) or in the virtual injection of an Easergy P5. Choose the network, the fault and the times, review the waveforms and download the .cfg and .dat or the .cff.
IEEE C37.111COMTRADE, revisions 1999 and 2013IEC 60255-24COMTRADE, identical to IEEE C37.111-2013IEC 60909-0feeding network, factor c and DC componentIEC 60909-0§ 5.3.2symmetrical components
Results
— A
— A
— V
— Ω
—
— kB
Want an engineer to review this case? Our team reviews your data and results and quotes the study or the settings work you need.
Charts
Download the record
Not checked.
Phasor table
| Phasor | Pre-fault | Fault | Post-fault |
|---|
Fundamental-frequency RMS values. Angles referred to the pre-fault VA at the bus (0°). Sequence quantities are for phase A.
Calculation and details
Step by step
What the record shows
What it is for
A fault record played back on a test set puts the relay in front of a realistic waveform: DC component, voltage phase shift, interruption of each pole at its current zero. With a synthetic record you can test distance or overcurrent protection without waiting for a real fault, repeat the same case as often as needed and change one parameter at a time.
- Protection testing: distance zone reach, directionality, ground overcurrent with a resistive fault, and trip and blocking logic.
- Logic and metering: check the trip, the triggering of the relay's oscillography and its phasor measurement against the table on this page.
- Training: show a crew how currents and voltages change with the fault type, the location or the inception angle.
The file is generated in your browser and read back with the same reader as the COMTRADE viewer before download.
Which preset to choose
The preset sets the revision, the .dat format, the sampling rate, the side (secondary by default) and the digital channels. It is based on what each manufacturer's documentation states; always confirm the version of your software.
- OMICRON TransPlay (default): revision 1999, BINARY, 80 samples per cycle (4800 Hz at 60 Hz, 4000 Hz at 50 Hz), a single rate, and trip and 52a digitals. According to the OMICRON catalog, basic TransPlay reads COMTRADE C37.111-1991 and 1999; revision 2013, the .cff and multiple rates require Advanced TransPlay.
- Easergy P5: revision 1999, ASCII, 48 samples per cycle, no digitals, and channels IA, IB, IC, IN, VA, VB and VC. The PowerLogic P5 manual (P5/EN M/02-502A) describes playback of an ASCII COMTRADE file, editions 1999 and 2013, as an internal virtual injection, with the relay in Test or Test-block mode and from eSetup Easergy Pro. It plays back only the analog channels and does not test the input transformers. We recommend records of 2 s or less: the manual does not state the maximum duration it accepts.
- Universal: revision 1999 in ASCII, 80 samples per cycle. Practically any viewer opens it; it takes about twice the size of the binary file.
- IEEE 2013: revision 2013, BINARY32 and a single .cff file. Use it only with devices and software that declare support for the 2013 edition.
Values are in secondary because what is recorded is what gets injected, without relying on the player applying the .cfg ratios, which are written anyway. OMICRON, TransPlay, Easergy and eSetup are trademarks of their owners; the presets only adapt the file to what their documentation states.
How it is calculated
IEC 60909-0impedance of the feeding network
ZQ = c·Un² / S″kQ · |2Z1 + Z0| = 3·c·Un² / S″k1The source is split into R and X with its X/R; Z0 comes from the single-phase power with the X0/R0 angle, and Z2 = Z1. The line is transposed: z1 and z0 per kilometer, multiplied by the length and by the percentage up to the fault. Without load, the pre-fault condition matches the IEC 60909 equivalent source.
IEC 60909-0§ 5.3.2symmetrical componentsAndersonsequence networks, ch. 10
AG: IA = 3E / (Z1 + Z2 + Z0 + 3Rf)BC: |IB| = √3·E / |Z1 + Z2 + Rff|ABC: IA = E / (Z1 + Rff/2)BCG: I1 = E / (Z1 + Z2 ∥ (Z0 + 3Rf))Z1, Z2 and Z0 are those of the source plus the line up to the fault. The engine solves in the phase domain, with Zs = (Z0 + 2Z1)/3 and Zm = (Z0 − Z1)/3: the faulted phases go to a common point through Rff/2 and that point goes to ground through Rf. The formulas above are the check in symmetrical components. The pre-fault load is a constant current at the remote end, superimposed.
IEC 60909-0DC component and factor κ
i(t) = √2·I·cos(ωt + θ − φ) + D·e−t/τ · τ = X / (ω·R) of the loopEach phase gets its own offset D = ibefore(t0) − isteady(t0), so that the current is continuous at fault inception and at each pole opening. The inception angle θ is measured on the fault reference voltage. In the engine tests, the simulated peak matches κ = 1.02 + 0.98·e−3R/X from IEC 60909-0 within 1.5 % at X/R = 30.
Breaker opening and apparent impedance
tsep = ttrip + topeningZAG = VA / (IA + k0·3I0) · k0 = (Z0L − Z1L) / (3·Z1L) · ZBC = (VB − VC) / (IB − IC)Zsec = Zprim · CTR / VTREach pole opens at its first current zero after contact separation; after the first pole, the network is solved again with that pole open, so a three-phase fault turns into a two-phase one. The 52a contact drops at contact separation. Post-fault currents are zero; a bus-side VT sees the source and a line-side VT reads zero.
IEEE C37.1111999 and 2013IEC 60255-242013
value = a·x + b · b = 0 · a = max|y| / 32767 (16 bits) or / 2147483647 (BINARY32)FLOAT32 is written with a = 1. The .cfg has a single rate, timemult 1, timestamps in microseconds, CR/LF line endings and ASCII-only names (no accents or commas). Revision 2013 adds the time zone (UTC) and time quality lines, and the .cff combines the CFG, INF, HDR and DAT sections.
Limits of the model
- Radial network with a single source: the remote end does not contribute current, so there is no infeed and no power flow between two sources. A relay at the remote end or a line fed from both ends needs another model.
- Fundamental-frequency phasor model with a single time constant: no traveling waves, line capacitance, harmonics or frequency variation. A real network has several time constants.
- Restrikes, reclosing, trapped charge on the line and the capacitor voltage transformer (CCVT) transient are not modeled.
- CT saturation is a simplified flux model, with an ideal core up to the saturation flux and a resistive burden, without hysteresis or an actual excitation curve. For studies, use the IEEE PSRC CT saturation calculator or an electromagnetic transients program.
- The line is transposed and the pre-fault load is a constant current: the natural unbalance of the line does not appear.
- The record is synthetic: it is meant for testing and training and does not come from any real installation. Check in your software that the played-back magnitudes match the phasor table.
Frequently asked questions
How do I create a COMTRADE file to test a relay?
Define the network (source and line), the fault type and location, and the relay and breaker times. From these, the pre-fault, fault and post-fault currents and voltages are calculated, the DC component of each phase is added, and the .cfg and .dat are written per IEEE C37.111 (IEC 60255-24). This tool does it in your browser and reads the file back to check that it is well formed. The file is then played back with the test set software or, on some relays, with their virtual injection function.
Which COMTRADE format does OMICRON TransPlay accept?
According to the OMICRON catalog, TransPlay plays back IEEE COMTRADE C37.111-1991 and P37.111/D11-1999 files. Revision 2013, records with several sampling rates and other formats such as PL4 or CSV require Advanced TransPlay. That is why the preset of this tool uses revision 1999, binary format, a single rate of 80 samples per cycle and secondary values. Confirm the version of your software before the test.
Can a COMTRADE file be played back on an Easergy P5 relay?
Yes. According to the PowerLogic P5 manual (P5/EN M/02-502A), virtual injection plays back the analog channels of an ASCII COMTRADE file, edition 1999 or 2013, with the relay in Test or Test-block mode and from eSetup Easergy Pro. It is an injection inside the relay: it checks the logic and the settings, but not the input transformers or the wiring. That requires secondary injection testing with a test set.
We set and test your protection relays
Our team loads your relay settings remotely and performs secondary injection and end-to-end testing on site, in Colombia or elsewhere on request, in substations and industrial plants from medium voltage up to extra-high voltage.
