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.

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 (0 = infinite)MVA
BRBreaker status (0 = open, other = closed)

Line orientation is arbitrary: BUS1 and BUS2 may be swapped.

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.

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

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)
  • Transformer ratio magnitude nn and phase angle ϕ\phi

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

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

R=100Rpu(VN1VB1)2X=100Xpu(VN1VB1)2R = 100 \cdot R_{pu} \left(\frac{V_{N1}}{V_{B1}}\right)^2 \quad\quad X = 100 \cdot X_{pu} \left(\frac{V_{N1}}{V_{B1}}\right)^2 n=100Vo2VB1Vo1VB2n = 100 \cdot \frac{V_{o2} \cdot V_{B1}}{V_{o1} \cdot V_{B2}}

where VB1V_{B1} and VB2V_{B2} are the nominal voltages of the “from” and “to” buses.

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
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 includes data for PFC to adjust the transformer ratio. It cannot be used for phase-shifting transformers. 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)
CONBUSBus used by PFC for ratio adjustment (max 8 characters; a dummy name must be provided even if not used by RAMSES)
RSeries resistance%
XLeakage reactance%
BShunt susceptance (from side; B2=0B_2 = 0)%
NTransformer ratio magnitude%
SNOMNominal apparent power (must not be zero)MVA
NFIRSTInitial (first) tap ratio value, used by PFC for ratio adjustment%
NLASTFinal (last) tap ratio value, used by PFC for ratio adjustment%
NBPOSNumber of tap positions, 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 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}.

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)
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)