Branch
The Branch model represents a two-terminal phasor-domain \(\pi\) branch with an optional off-nominal tap magnitude and phase shift on bus 1. Terminal current contributions are oriented entering the adjacent buses.
Notes
Setting \(\tau = 1\) and \(\theta = 0\) gives the ordinary symmetric transmission-line \(\pi\) model.
The total line shunt \(G + jB\) is split equally between the two terminals, while the magnetizing shunt \(G_\mathrm{mag} + jB_\mathrm{mag}\) is connected at bus 1; both shunts are added outside the \(\mathbf{M}\) transformation.
The branch has no solver-owned variables; it contributes current residuals directly to the connected buses.
Model Parameters
Symbol |
Units |
JSON |
Description |
Typical Value |
Note |
|---|---|---|---|---|---|
\(R\) |
[p.u.] |
|
Branch series resistance |
||
\(X\) |
[p.u.] |
|
Branch series reactance |
||
\(G\) |
[p.u.] |
|
Total line shunt conductance |
0.0 |
|
\(B\) |
[p.u.] |
|
Total line shunt susceptance |
0.0 |
|
\(G_\mathrm{mag}\) |
[p.u.] |
|
Magnetizing shunt conductance at bus 1 |
0.0 |
|
\(B_\mathrm{mag}\) |
[p.u.] |
|
Magnetizing shunt susceptance at bus 1 |
0.0 |
|
\(\tau\) |
[p.u.] |
|
Off-nominal tap magnitude on bus-1 side |
1.0 |
|
\(\theta\) |
[rad] |
|
Phase-shift angle |
0.0 |
Parameter Validation
A valid Branch parameter set must satisfy the following conditions:
Model Derived Parameters
The series, magnetizing shunt, and line shunt admittances are:
The series, magnetizing shunt, and line shunt admittance matrices are:
The off-nominal transformer transformation uses bus 1 as the tap side:
The magnetizing and line shunts are added outside the transformation:
For the equations below, write each entry as \(Y_{mn}=G_{mn}+jB_{mn}\).
Model Ports
Name |
Port |
Init |
Description |
|---|---|---|---|
|
Bus |
Known |
Required bus-1 terminal; the tapped side |
|
Bus |
Known |
Required bus-2 terminal |
Model Variables
Internal Variables
Differential
None.
Algebraic
None.
External Variables
Differential
None.
Algebraic
Symbol |
Units |
Description |
Note |
|---|---|---|---|
\(V_{r1}\) |
[p.u.] |
Terminal voltage, real component, bus 1 |
Owned by bus object |
\(V_{i1}\) |
[p.u.] |
Terminal voltage, imaginary component, bus 1 |
Owned by bus object |
\(V_{r2}\) |
[p.u.] |
Terminal voltage, real component, bus 2 |
Owned by bus object |
\(V_{i2}\) |
[p.u.] |
Terminal voltage, imaginary component, bus 2 |
Owned by bus object |
Model Equations
Internal Equations
Differential
None.
Algebraic
None.
External Equations
The branch current relation is \(0 = -\mathbf{I} + \mathbf{Y}\mathbf{V}\).
These current contributions are added to the connected bus residuals with positive sign because branch current is oriented entering the bus.
Initialization
The Branch model has no internal state to initialize. During construction or parameter updates, the component computes \(\mathbf{Y}\) from the current parameter values. Terminal current and power monitor values are evaluated from the connected bus voltages when read. Parameter verification enforces the conditions in Parameter Validation.
Monitors
Monitor |
Units |
Description |
Note |
|---|---|---|---|
|
[p.u.] |
Terminal current, real component, bus 1 |
Oriented entering bus 1 |
|
[p.u.] |
Terminal current, imaginary component, bus 1 |
Oriented entering bus 1 |
|
[p.u.] |
Terminal current magnitude, bus 1 |
|
|
[p.u.] |
Active power at bus 1 terminal |
Positive entering bus 1 |
|
[p.u.] |
Reactive power at bus 1 terminal |
Positive entering bus 1 |
|
[p.u.] |
Terminal current, real component, bus 2 |
Oriented entering bus 2 |
|
[p.u.] |
Terminal current, imaginary component, bus 2 |
Oriented entering bus 2 |
|
[p.u.] |
Terminal current magnitude, bus 2 |
|
|
[p.u.] |
Active power at bus 2 terminal |
Positive entering bus 2 |
|
[p.u.] |
Reactive power at bus 2 terminal |
Positive entering bus 2 |
Current magnitudes are:
Complex power at each end is defined as \(S=VI^{\ast}\):