Line Types
The currently implemented line types are
Detailed Line Type Documentation
PowerDynamics.AbstractLine
— TypeAbstract base type for all lines
PowerDynamics.PiModelLine
— Type PiModelLine(from, to, y, y_shunt_km, y_shunt_mk)
A line modelled according to the PI-Model.
See also the Chapter 2 in Göran Andersson, Power System Analysis, Lecture 227-0526-00, ITET ETH Zurich, 2012
Arguments
from
: nodek
to
: nodem
y
: admittance of line betweenk
andm
y_shunt_km
: shunt admittance at the end connected to nodek
y_shunt_mk
: shunt admittance at the end connected to nodem
t_km
: transformer ratio at the end connected to nodek
t_mk
: transformer ratio at the end connected to nodem
Assumptions:
- the line admittance is symmetric
PowerDynamics.RLLine
— TypeRLLine(; from, to, R, L, ω0)
dynamic line with series resistance R and series inductance L.
When setting initial conditions for this line type be aware that every line carries four variables. The first two for the current from source to destination and the second from destination to source. Since isrcdst = - idstsrc, the inital condtions need to be chosen as negatives of each other as well, i.e. ic[1:2] == -ic[3:4].
Keyword Arguments
from
: start node of the lineto
: end node of the lineR
: series resistance RL
: series inductance Lω0
: rated frequency in [rad/s] of the power grid, often $2π50$Hz
Mathematical Representation
Using RLLine
for the line from
–to
applies Eqn. (2) from Brouillon, J. S., Colombino, M., Groß, D., & Dörfler, F. (2018). The effect of transmission-line dynamics on a globally synchronizing controller for power inverters. In 2018 European Control Conference (ECC) (pp. 2242-2247). IEEE.
PowerDynamics.StaticLine
— Type StaticLine(from, to, Y)
A static model that represents a line with an admittance Y.
Arguments
from
: start nodeto
: end nodeY
: scalar admittance of line betweenfrom
andto
PowerDynamics.Transformer
— Type Transformer(from, to, y, t_ratio)
assuming an ideal transformer in series with an admittance. The representation uses the Π model.
Mathematical Representation
The voltage transforms as:
\[ u_{to} = t_{ratio} u_{from}\]
Arguments
from
: start nodeto
: end nodey
: transformer admittancet_ratio
: transformation ration
Assumptions
The admittance is here taken to be on the high-voltage side.