Skip to content

Compensation and Measurement

Two injector models that are neither loads nor generators: a static var compensator and a phasor measurement unit.

The INJEC record these models are entered with, and the rules on model names, are on the Injector Models page.

SVC_GENERIC1 (inj_svc_generic1): Generic Static Var Compensator

Section titled “SVC_GENERIC1 (inj_svc_generic1): Generic Static Var Compensator”

The data-file model name is SVC_GENERIC1. It takes no prefix.

A dynamic SVC injecting a purely reactive current at its bus. A PI voltage regulator with droop drives a susceptance BsvcB_{svc} between Bmin and Bmax, and two lead-lag stabiliser channels can add a supplementary signal to the voltage reference. This is the dynamic counterpart of the static SVC record used by the power flow: the static record fixes the operating point, this model governs how the device behaves during the simulation.

The voltage reference is initialised from the power flow solution, so that the model starts in equilibrium:

Vref=V0+Bp⋅Bsvc,0V_{ref} = V_0 + B_p \cdot B_{svc,0}

where BpB_p is the droop and Bsvc,0B_{svc,0} the initial susceptance implied by the reactive current at the bus.

Generic static var compensator block diagram. The bus voltage is subtracted from the reference Vref, to which the stabiliser output dvpss is added. The error drives a PI regulator with gains Kp and Ki and droop Bp, whose output is the susceptance Bsvc limited between Bmin and Bmax, and the injected reactive current is Bsvc times V. Two parallel lead-lag stabiliser channels, each with its own gain, time constant, lead-lag coefficient, output gain and limit, are summed and limited together by Ltot to form dvpss. Generic static var compensator block diagram. The bus voltage is subtracted from the reference Vref, to which the stabiliser output dvpss is added. The error drives a PI regulator with gains Kp and Ki and droop Bp, whose output is the susceptance Bsvc limited between Bmin and Bmax, and the injected reactive current is Bsvc times V. Two parallel lead-lag stabiliser channels, each with its own gain, time constant, lead-lag coefficient, output gain and limit, are summed and limited together by Ltot to form dvpss.

The record carries 17 data parameters, in order:

#NameDescription
1G1Gain of the first stabiliser channel
2T1Time constant of the first stabiliser channel (s)
3aLead-lag coefficient of the first channel
4K1Output gain of the first channel
5L1Output limit of the first channel (pu)
6G2Gain of the second stabiliser channel
7T2Time constant of the second stabiliser channel (s)
8bLead-lag coefficient of the second channel
9K2Output gain of the second channel
10L2Output limit of the second channel (pu)
11LtotLimit on the summed stabiliser output (pu)
12KpProportional gain of the voltage regulator
13KiIntegral gain of the voltage regulator
14BpDroop, in pu on the SVC base
15BmaxMaximum susceptance (Mvar at 1 pu voltage)
16BminMinimum susceptance (Mvar at 1 pu voltage)
17BnomSusceptance base used for the per-unit conversion (Mvar)

One additional parameter is computed at initialisation:

#NameDescription
18VrefVoltage reference, set from the power flow solution

Q, dvpss, Bsvc, Vref, Vb


The data-file model name is PMU (or inj_PMU).

A measurement-only injector: it injects zero current at its bus and exists purely to expose bus quantities as observables. It reports a filtered local frequency estimate computed the same way as the f_inj block, together with the bus voltage magnitude and angle and the speed and angle of the moving DQ reference frame. Attach one to any bus whose frequency you want to record without perturbing the solution.

The frequency estimate is a first-order filter on the bus voltage phasor. The measurement time constant is clamped to a floor of 0.05 s, so values below that have no effect.

Phasor measurement unit block diagram. The bus voltage feeds three independent measurement chains: the voltage magnitude and angle, a first-order frequency estimate whose time constant is floored at 0.05 seconds, and the speed and angle of the moving DQ reference frame. The model injects zero current. Phasor measurement unit block diagram. The bus voltage feeds three independent measurement chains: the voltage magnitude and angle, a first-order frequency estimate whose time constant is floored at 0.05 seconds, and the speed and angle of the moving DQ reference frame. The model injects zero current.

#NameDescriptionUnit
1TfFrequency measurement time constant, recommended 0.05 to 0.10; values below 0.05 are clampeds

Three additional parameters are set at initialisation: wnom (nominal angular frequency), vm0 and va0 (the initial bus voltage magnitude and angle).

NameDescriptionUnit
fEstimated bus frequencypu of fnomf_{nom}
vmBus voltage magnitudepu
vaBus voltage phase angle in the moving DQ frame, wrapping at ±π\pm\pirad
threfAccumulated angle of the DQ reference frame with respect to the nominally rotating frame, zero at t=0t = 0rad
dwrefSpeed deviation of the DQ reference frame from nominalrad/s
Show the data record
INJEC PMU PMU_1041 1041
# FP FQ P Q: share of the power-flow injection (FP, FQ) or initial power (P in MW, Q in Mvar)
0. 0. 0. 0.
# Tf: Frequency measurement time constant, recommended 0.05 to 0.10; values below 0.05 are clamped (s)
0.05
;

All four participation and power fields are zero: the model neither consumes nor produces power.