Skip to content

Network Modeling

The network model includes buses, lines, cables, transformers, switches, and shunts.

In dynamic simulations with RAMSES, the only parameter associated with a bus is its nominal voltage (RMS line-to-line voltage), used as base voltage for per-unit conversions.

Two buses with different nominal voltages cannot be connected through lines or switches.

BUS NAME VNOM ;
FieldDescription
NAMEBus name (max 8 characters)
VNOMNominal voltage in kV

Only one BUS record per bus is allowed. All buses must be declared before being referenced.

Lines and cables use the same pi-equivalent model with series resistance RR, series reactance XX, and half-shunt susceptance ωC/2\omega C/2. Shunt conductances are neglected.

Pi-equivalent of lines and cables

Under the phasor approximation, series capacitors can also be modeled with this pi-equivalent by setting R=0R = 0, C=0C = 0, and XX to a negative value.

LINE NAME BUS1 BUS2 R X WC2 SNOM BR ;
FieldDescriptionUnit
NAMELine name (max 20 characters)
BUS1First bus name
BUS2Second bus name
RSeries resistanceΩ
XSeries reactanceΩ
WC2Half shunt susceptance ωC/2\omega C/2μS
SNOMNominal apparent power, used to display line loading or in user-defined models (0 = infinite)MVA
BRBreaker status (0 = open, other = closed)

Line orientation is arbitrary: BUS1 and BUS2 may be swapped. Only one LINE record per line is allowed.

Lines must not connect two buses with different nominal voltages.

A switch is a connection without impedance between two buses, treated internally as a very short line with R=0R = 0, ωC/2=0\omega C/2 = 0, and XX set to a very small value. Thus it has no active power losses and negligible reactive power losses.

SWITCH NAME BUS1 BUS2 BR ;
FieldDescription
NAMESwitch name (max 20 characters)
BUS1First bus name (max 8 characters)
BUS2Second bus name (max 8 characters)
BRStatus (0 = open, other = closed)

Switch orientation is arbitrary: BUS1 and BUS2 may be swapped. Only one SWITCH record per switch is allowed.

Switches must not connect two buses with different nominal voltages.

All switches are memorized, even those which are open. An open switch has zero power flow but can be put into service during dynamic simulation.

Transformers are represented by a two-port model with:

  • Series resistance RR (copper losses)
  • Leakage reactance XX
  • Magnetizing susceptances B1B_1 and B2B_2 (negative values). Usually one of them is zero.
  • Transformer ratio magnitude nn and phase angle ϕ\phi. A phase-shifting transformer is characterized by a nonzero value of ϕ\phi.
Two-port model of transformers

Iron losses are neglected (no shunt resistance). RR, XX, B1B_1, and B2B_2 are specified on the “from” side.

The values of RR, XX, B1B_1, and B2B_2 relate to the following characteristics from manufacturer data:

  • SnomS_{nom}: nominal apparent power
  • VN1V_{N1} (resp. VN2V_{N2}): nominal voltage on the “from” (resp. “to”) side
  • RbaseVN1R_{baseV_{N1}} (resp. XbaseVN1X_{baseV_{N1}}): series resistance (resp. leakage reactance) in per unit on the (Snom,VN1)(S_{nom}, V_{N1}) base
  • B1baseVN1B_{1\,baseV_{N1}} and B2baseVN1B_{2\,baseV_{N1}}: shunt susceptances in per unit on the (Snom,VN1)(S_{nom}, V_{N1}) base
  • Vo1V_{o1} and Vo2V_{o2}: open-circuit voltages corresponding to the transformer ratio (very often Vo1=VN1V_{o1} = V_{N1} and Vo2=VN2V_{o2} = V_{N2})

Let VB1V_{B1} and VB2V_{B2} be the nominal voltages of the “from” and “to” buses, as specified in their BUS records.

Parameters are specified in percent on the (Snom,VB1)(S_{nom}, V_{B1}) base:

R=100RbaseVN1(VN1VB1)2X=100XbaseVN1(VN1VB1)2R = 100 \cdot R_{baseV_{N1}} \left(\frac{V_{N1}}{V_{B1}}\right)^2 \quad\quad X = 100 \cdot X_{baseV_{N1}} \left(\frac{V_{N1}}{V_{B1}}\right)^2 B1=100B1baseVN1(VB1VN1)2B2=100B2baseVN1(VB1VN1)2B_1 = 100 \cdot B_{1\,baseV_{N1}} \left(\frac{V_{B1}}{V_{N1}}\right)^2 \quad\quad B_2 = 100 \cdot B_{2\,baseV_{N1}} \left(\frac{V_{B1}}{V_{N1}}\right)^2 n=100Vo2VB1Vo1VB2n = 100 \cdot \frac{V_{o2} \cdot V_{B1}}{V_{o1} \cdot V_{B2}}
TRANSFO NAME FROMBUS TOBUS R X B1 B2 N PHI SNOM BR ;
FieldDescriptionUnit
NAMETransformer name (max 20 characters)
FROMBUS”From” bus name
TOBUS”To” bus name
RSeries resistance%
XLeakage reactance%
B1Shunt susceptance (from side)%
B2Shunt susceptance (to side)%
NTransformer ratio magnitude%
PHITransformer ratio phase angledegree
SNOMNominal apparent power (must not be zero)MVA
BRBreaker status

Only one TRANSFO or TRFO record per transformer is allowed.

TRFO NAME FROMBUS TOBUS CONBUS R X B N SNOM NFIRST NLAST NBPOS TOLV VDES BR ;

This simplified model has B2=0B_2 = 0 and ϕ=0\phi = 0, and combines the transformer model with load tap changer (LTC) data for PFC in a single record. The LTC fields (CONBUS, NFIRST, NLAST, NBPOS, TOLV, VDES) provide PFC with the information needed to adjust the transformer ratio during power flow computation. These fields are not used by RAMSES during dynamic simulation. It cannot be used for phase-shifting transformers.

To control the transformer ratio during dynamic simulation, associate a DCTL LTC controller with the transformer.

See PFC Data for details on ratio adjustment.

FieldDescriptionUnit
NAMETransformer name (max 20 characters)
FROMBUS”From” bus name (max 8 characters)
TOBUS”To” bus name (max 8 characters)
CONBUSControlled bus for PFC ratio adjustment (max 8 characters). Not used by RAMSES, but a dummy name must be provided
RSeries resistance%
XLeakage reactance%
BShunt susceptance (from side; B2=0B_2 = 0)%
NTransformer ratio magnitude%
SNOMNominal apparent power (must not be zero)MVA
NFIRSTRatio at first tap position (lower bound), used by PFC for ratio adjustment%
NLASTRatio at last tap position (upper bound), used by PFC for ratio adjustment%
NBPOSNumber of tap positions (including first and last), used by PFC for ratio adjustment
TOLVVoltage tolerance for tap adjustment, used by PFCpu
VDESDesired controlled bus voltage, used by PFCpu
BRBreaker status (0 = open/out of service, other = closed/in service)
A two-port connecting buses i and j

A non-reciprocal two-port has a non-symmetric nodal admittance matrix:

Y=[(Gsi+jBsi)+(Gij+jBij)(Gij+jBij)(Gji+jBji)(Gji+jBji)+(Gsj+jBsj)]\mathbf{Y} = \begin{bmatrix} (G_{si} + jB_{si}) + (G_{ij} + jB_{ij}) & -(G_{ij} + jB_{ij}) \\ -(G_{ji} + jB_{ji}) & (G_{ji} + jB_{ji}) + (G_{sj} + jB_{sj}) \end{bmatrix}

with GijGjiG_{ij} \ne G_{ji} and BijBjiB_{ij} \ne B_{ji}.

Typically, non-reciprocal two-ports are produced when reducing a network that includes phase-shifting transformers, to obtain an equivalent.

NRTP NAME FROMBUS TOBUS GIJ BIJ GJI BJI GSI BSI GSJ BSJ BR ;
FieldDescription
NAMEName of the two-port (max 20 characters)
FROMBUSName of bus ii (max 8 characters)
TOBUSName of bus jj (max 8 characters)
GIJConductance from ii to jj (pu on nominal bus voltages and system base power)
BIJSusceptance from ii to jj (pu)
GJIConductance from jj to ii (pu)
BJISusceptance from jj to ii (pu)
GSIShunt conductance at bus ii (pu)
BSIShunt susceptance at bus ii (pu)
GSJShunt conductance at bus jj (pu)
BSJShunt susceptance at bus jj (pu)
BRBreaker status (1 = closed/in service, 0 = open/out of service)

The orientation is not arbitrary: FROMBUS and TOBUS cannot be swapped. Only one NRTP record per two-port is allowed.

A non-reciprocal two-port is treated as a piece of equipment; hence, the presence of the BR field.

The shunt element is a purely reactive, constant shunt admittance. The reactive power QQ it produces varies with the square of the voltage:

Q=BV2Q = B \cdot V^2

where BB is the susceptance. The element is a capacitor (B>0B > 0) or a reactor (B<0B < 0).

SHUNT NAME BUS_NAME QNOM BR ;
FieldDescriptionUnit
NAMEShunt name (max 20 characters)
BUS_NAMEName of the bus to which the shunt is connected (max 8 characters)
QNOMNominal reactive power produced by the shunt at the nominal bus voltage (positive = capacitor, negative = reactor)Mvar
BRBreaker status (1 = in service, 0 = out of service)

Only one SHUNT record per named shunt is allowed. Multiple shunts at the same bus are allowed, each with its own name; in this case, the susceptances are added (taking signs into account).

All shunts are memorized, even those which are disconnected. A disconnected shunt has zero power flow but can be put into service during dynamic simulation.

  • Power Flow (PFC) — Configure generators, loads, and compute the initial operating point
  • Dynamic Models — Add synchronous machines and controllers