How phasors and symmetrical components are calculated
The one-cycle Fourier filter behind every phasor, how angles are referenced so channels can be compared, and the zero-, positive- and negative-sequence formulas SagSwell applies.
The Phasors tab shows the fundamental of each voltage and current as a phasor, and the zero-, positive- and negative-sequence components of each three-phase set, at any instant you choose. Here is how those are calculated.
The one-cycle Fourier filter
For each window of N samples (one cycle, see the RMS page), sliding an eighth of a cycle at a time:
Re = (2/N) · Σ x_j · cos(2π·f0·j/fs) Im = −(2/N) · Σ x_j · sin(2π·f0·j/fs) magnitude (RMS) = √(Re² + Im²) / √2 angle = atan2(Im, Re) − 2π·f0·t_start
Magnitudes are RMS values, the convention for power-system phasors. Harmonics are rejected because over one whole cycle the cosine and sine at f0 are orthogonal to every integer harmonic. A decaying DC offset, common in fault current, is only partly rejected, so current phasors in the first cycles after inception move about before they settle.
How angles are referenced
Subtracting 2π·f0·tstart refers every window to one clock that starts at the beginning of the record and turns at the nominal frequency. All channels share it, so the angle between VA and IA, or between VA and VB, can be read directly at any instant. If the system frequency is off nominal, all phasors rotate together slowly against this clock; their differences do not change.
Symmetrical components
With a = 1∠120° and the three phase phasors A, B and C:
Zero sequence X0 = (A + B + C) / 3 Positive sequence X1 = (A + a·B + a²·C) / 3 Negative sequence X2 = (A + a²·B + a·C) / 3
These are computed at every RMS step for each complete three-phase set of voltages and currents, which gives the sequence trends, and at the cursor for the phasor diagram. A set with a phase missing gets no sequence components rather than one computed from two phases.
What the components tell you
- Negative sequence appears with any unbalance: unbalanced load, an open phase, an unbalanced fault.
- Zero sequence needs a path to earth: it appears in earth faults and is absent in line-to-line faults.
- Voltage unbalance is commonly expressed as V2 / V1 in per cent.
The 132 kV fault sample shows a single-line-to-ground fault: open it, move the cursor into the fault and the zero- and negative-sequence currents rise together, as expected for an earth fault.
Questions people ask
- How is a phasor calculated from sampled data?
- With a one-cycle Fourier filter: the samples of one cycle are multiplied by a cosine and a sine at the power frequency and summed. The two sums give the real and imaginary parts of the fundamental.
- What is the operator a in symmetrical components?
- A unit phasor at 120°: a = 1∠120°. It rotates a phasor by one third of a turn, and its square rotates by 240°.
- Why do phasor angles drift slowly in some records?
- Angles are referenced to a clock rotating at the nominal frequency. If the system runs slightly off nominal, every phasor rotates slowly against that reference. The angles between channels, which are what matter, are unaffected.
References
- C. L. Fortescue, "Method of Symmetrical Co-Ordinates Applied to the Solution of Polyphase Networks", AIEE Transactions, 1918
- IEEE Std C37.118.1-2011, Synchrophasor measurements for power systems (phasor definition)
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
- 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 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