-
Notifications
You must be signed in to change notification settings - Fork 113
modelref
Common Parameters: u, name
Available models: Line
Group ACLine
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
idx of from bus | IdxParam | ||||
|
idx of to bus | IdxParam | ||||
|
Sn | Power rating | 100 | NumParam | non_zero | |
|
f | rated frequency | 60 | NumParam | ||
|
Vn1 | AC voltage rating | 110 | NumParam | non_zero | |
|
Vn2 | rated voltage of bus2 | 110 | NumParam | non_zero | |
|
r | connection line resistance | 0 | NumParam | ||
|
x | connection line reactance | 0.000 | NumParam | ||
|
shared shunt susceptance | 0 | NumParam | |||
|
shared shunt conductance | 0 | NumParam | |||
|
b1 | from-side susceptance | 0 | NumParam | ||
|
g1 | from-side conductance | 0 | NumParam | ||
|
b2 | to-side susceptance | 0 | NumParam | ||
|
g2 | to-side conductance | 0 | NumParam | ||
|
transformer branch flag | 0 | NumParam | |||
|
tap | transformer branch tap ratio | 1 | NumParam | ||
|
Ο | transformer branch phase shift in rad | 0 | NumParam | ||
|
owner code | IdxParam | ||||
|
x coordinates | DataParam | ||||
|
y coordinates | DataParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
a1 | phase angle of the from bus | |||
|
a2 | phase angle of the to bus | |||
|
v1 | voltage magnitude of the from bus | |||
|
v2 | voltage magnitude of the to bus |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
a1 | ExtAlgeb | |
|
a2 | ExtAlgeb | |
|
v1 | ExtAlgeb | |
|
v2 | ExtAlgeb |
Services
Name | Symbol | Equation | Type |
---|---|---|---|
|
gh | 0.5gβ +β g1 | ConstService |
|
bh | 0.5bβ +β b1 | ConstService |
|
gk | 0.5gβ +β g2 | ConstService |
|
bk | 0.5bβ +β b2 | ConstService |
|
yh | u(ibh+gh) | ConstService |
|
yk | u(ibk+gk) | ConstService |
|
yhk | ConstService | |
|
ghk | reβ(yhk) | ConstService |
|
bhk | imβ(yhk) | ConstService |
Common Parameters: u, name
Common Variables: a, v
Available models: Bus
Group ACTopology
AC Bus model developed using the symbolic framework Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
Vn | AC voltage rating | 110 | kV | NumParam | non_zero |
|
Vmax | Voltage upper limit | 1.100 | p.u. | NumParam | |
|
Vmin | Voltage lower limit | 0.900 | p.u. | NumParam | |
|
V0 | initial voltage magnitude | 1 | p.u. | NumParam | non_zero |
|
ΞΈ0 | initial voltage phase angle | 0 | rad | NumParam | |
|
x coordinate (longitude) | 0 | DataParam | |||
|
y coordinate (latitude) | 0 | DataParam | |||
|
Area code | IdxParam | ||||
|
Zone code | IdxParam | ||||
|
Owner code | IdxParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
ΞΈ | ΞΈ0(1βflatstart)β +β 1.0β β β 10β ββ 8flatstart | voltage angle | rad | v_str |
|
V | V0(1βflatstart)β +β flatstart | voltage magnitude | p.u. | v_str |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
ΞΈ | 0 | Algeb |
|
V | 0 | Algeb |
Exciter group for synchronous generators.
Common Parameters: u, name
Common Variables: vout
Available models: EXDC2
Group Exciter
EXDC2 model. Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
Synchronous generator idx | IdxParam | mandatory | |||
|
TR | Sensing time constant | 1 | p.u. | NumParam | |
|
TA | Lag time constant in anti-windup lag | 0.040 | p.u. | NumParam | |
|
TC | Lead time constant in lead-lag | 1 | p.u. | NumParam | |
|
TB | Lag time constant in lead-lag | 1 | p.u. | NumParam | |
|
TE | Exciter integrator time constant | 0.800 | p.u. | NumParam | |
|
TF1 | Feedback washout time constant | 1 | p.u. | NumParam | non_zero |
|
KF1 | Feedback washout gain | 0.030 | p.u. | NumParam | |
|
KA | Gain in anti-windup lag TF | 40 | p.u. | NumParam | |
|
KE | Gain added to saturation | 1 | p.u. | NumParam | |
|
VRMAX | Maximum excitation limit | 7.300 | p.u. | NumParam | |
|
VRMIN | Minimum excitation limit | -7.300 | p.u. | NumParam | |
|
E1 | First saturation point | 0 | p.u. | NumParam | |
|
SE1 | Value at first saturation point | 0 | p.u. | NumParam | |
|
E2 | Second saturation point | 0 | p.u. | NumParam | |
|
SE2 | Value at second saturation point | 0 | p.u. | NumParam | |
|
Ae | Gain in saturation | 0 | p.u. | NumParam | |
|
Be | Exponential coefficient in saturation | 0 | p.u. | NumParam | |
|
Sm | Rated power from generator | MVA | ExtParam | ||
|
Vm | Rated voltage from generator | kV | ExtParam | ||
|
bus | Bus idx of the generators | ExtParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
Vp | vf0 | Voltage after saturation feedback, before speed term | p.u. | v_str |
|
xβ²LS | 1.0V | State in lag transfer function | v_str | |
|
xβ²LL | Vi | State in lead-lag transfer function | v_str | |
|
xβ²LA | KAyLL | State in lag transfer function | v_str | |
|
xβ²W | Vp | State in washout filter | v_str | |
|
Ο | Generator speed | |||
|
vout | vf0 | Exciter final output voltage | v_str | |
|
Se | Se0 | Saturation output | p.u. | v_str |
|
Vref | Vref0 | Reference voltage input | p.u. | v_str |
|
Vi | Vb0 | Total input voltages | p.u. | v_str |
|
yLL | Vi | Output of lead-lag transfer function | v_str | |
|
yW | 0 | Output of washout filter | v_str | |
|
vf | Excitation field voltage to generator | |||
|
ΞΈ | Bus voltage phase angle | |||
|
V | Bus voltage magnitude |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
Vp | State | |
|
xβ²LS | State | |
|
xβ²LL | State | |
|
xβ²LA | State | |
|
xβ²W | State | |
|
Ο | 0 | ExtState |
|
vout | VpΟβ ββ vout | Algeb |
|
Se | AeeBevoutβ ββ Se | Algeb |
|
Vref | Vref0β ββ Vref | Algeb |
|
Vi | β ββ Viβ +β Vrefβ ββ xβ²LSβ ββ yW | Algeb |
|
yLL | Algeb | |
|
yW | (KF1/TF1)W(Vpβxβ²W)β ββ yW | Algeb |
|
vf | u(βvf0+vout) | ExtAlgeb |
|
ΞΈ | 0 | ExtAlgeb |
|
V | 0 | ExtAlgeb |
Services
Name | Symbol | Equation | Type |
---|---|---|---|
|
Se0 | AeeBevf0 | ConstService |
|
Vr0 | vf0(KE+Se0) | ConstService |
|
Vb0 | ConstService | |
|
Vref0 | Vβ +β Vb0 | ConstService |
|
(KF1/TF1)W | ConstService |
Discrete
Name | Symbol | Type |
---|---|---|
|
limLA | AntiWindupLimiter |
Static generator group for power flow calculation
Common Parameters: u, name, p0, q0
Common Variables: p, q, a, v
Group StaticGen
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
Sn | Power rating | 100 | NumParam | non_zero | |
|
Vn | AC voltage rating | 110 | NumParam | non_zero | |
|
the idx of the installed bus | IdxParam | ||||
|
the idx of remotely controlled bus | IdxParam | ||||
|
p0 | active power set point in system base | 0 | p.u. | NumParam | |
|
q0 | reactive power set point in system base | 0 | p.u. | NumParam | |
|
pmax | maximum active power in system base | 999 | p.u. | NumParam | |
|
pmin | minimum active power in system base | -1 | p.u. | NumParam | |
|
qmax | maximim reactive power in system base | 999 | p.u. | NumParam | |
|
qmin | minimum reactive power in system base | -999 | p.u. | NumParam | |
|
v0 | voltage set point | 1 | NumParam | ||
|
vmax | maximum voltage voltage | 1.400 | NumParam | ||
|
vmin | minimum allowed voltage | 0.600 | NumParam | ||
|
ra | armature resistance | 0.010 | NumParam | ||
|
xs | armature reactance | 0.300 | NumParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
p | p0 | actual active power generation | p.u. | v_str |
|
q | q0 | actual reactive power generation | p.u. | v_str |
|
ΞΈ | ||||
|
V | v0 | v_str,v_setter |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
p | u(βp+p0) | Algeb |
|
q | u(ziqlim(βV+v0)+zlqlim(βq+qmin)+zuqlim(βq+qmax)) | Algeb |
|
ΞΈ | β ββ pu | ExtAlgeb |
|
V | β ββ qu | ExtAlgeb |
Discrete
Name | Symbol | Type |
---|---|---|
|
qlim | SortedLimiter |
Group StaticGen
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
Sn | Power rating | 100 | NumParam | non_zero | |
|
Vn | AC voltage rating | 110 | NumParam | non_zero | |
|
the idx of the installed bus | IdxParam | ||||
|
the idx of remotely controlled bus | IdxParam | ||||
|
p0 | active power set point in system base | 0 | p.u. | NumParam | |
|
q0 | reactive power set point in system base | 0 | p.u. | NumParam | |
|
pmax | maximum active power in system base | 999 | p.u. | NumParam | |
|
pmin | minimum active power in system base | -1 | p.u. | NumParam | |
|
qmax | maximim reactive power in system base | 999 | p.u. | NumParam | |
|
qmin | minimum reactive power in system base | -999 | p.u. | NumParam | |
|
v0 | voltage set point | 1 | NumParam | ||
|
vmax | maximum voltage voltage | 1.400 | NumParam | ||
|
vmin | minimum allowed voltage | 0.600 | NumParam | ||
|
ra | armature resistance | 0.010 | NumParam | ||
|
xs | armature reactance | 0.300 | NumParam | ||
|
ΞΈ0 | reference angle set point | 0 | NumParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
p | p0 | actual active power generation | p.u. | v_str |
|
q | q0 | actual reactive power generation | p.u. | v_str |
|
ΞΈ | ΞΈ0 | v_str,v_setter | ||
|
V | v0 | v_str,v_setter |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
p | u(ziplim(βΞΈ+ΞΈ0)+zlplim(βp+pmin)+zuplim(βp+pmax)) | Algeb |
|
q | u(ziqlim(βV+v0)+zlqlim(βq+qmin)+zuqlim(βq+qmax)) | Algeb |
|
ΞΈ | β ββ pu | ExtAlgeb |
|
V | β ββ qu | ExtAlgeb |
Discrete
Name | Symbol | Type |
---|---|---|
|
qlim | SortedLimiter |
|
plim | SortedLimiter |
Static load group.
Common Parameters: u, name
Available models: PQ
Group StaticLoad
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
linked bus idx | IdxParam | mandatory | |||
|
Vn | AC voltage rating | 110 | kV | NumParam | non_zero |
|
p0 | active power load in system base | 0 | p.u. | NumParam | |
|
q0 | reactive power load in system base | 0 | p.u. | NumParam | |
|
vmax | max voltage before switching to impedance | 1.100 | NumParam | ||
|
vmin | min voltage before switching to impedance | 0.900 | NumParam | ||
|
owner idx | IdxParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
ΞΈ | ||||
|
V |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
ΞΈ | ExtAlgeb | |
|
V | ExtAlgeb |
Services
Name | Symbol | Equation | Type |
---|---|---|---|
|
Req | ConstService | |
|
Xeq | ConstService |
Discrete
Name | Symbol | Type |
---|---|---|
|
vcmp | Limiter |
Static shunt compensator group.
Common Parameters: u, name
Available models: Shunt
Group StaticShunt
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
idx of connected bus | IdxParam | ||||
|
Sn | Power rating | 100 | NumParam | non_zero | |
|
Vn | AC voltage rating | 110 | NumParam | non_zero | |
|
g | shunt conductance (real part) | 0 | NumParam | y | |
|
b | shunt susceptance (positive as capatance) | 0 | NumParam | y | |
|
f | rated frequency | 60 | NumParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
ΞΈ | ||||
|
V |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
ΞΈ | V2g | ExtAlgeb |
|
V | β ββ V2b | ExtAlgeb |
Synchronous generator group.
Common Parameters: u, name, Sn, Vn, fn, bus
Common Variables: omega, delta, tm, vf
Available models: GENCLS, GENROU
Group SynGen
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
interface bus id | IdxParam | mandatory | |||
|
static generator index | IdxParam | mandatory | |||
|
center of inertia index | IdxParam | ||||
|
Sn | Power rating | 100 | NumParam | ||
|
Vn | AC voltage rating | 110 | NumParam | ||
|
f | rated frequency | 60 | NumParam | ||
|
D | Damping coefficient | 0 | NumParam | power | |
|
M | machine start up time (2H) | 6 | NumParam | non_zero,power | |
|
ra | armature resistance | 0 | NumParam | z | |
|
xl | leakage reactance | 0 | NumParam | z | |
|
xq | q-axis synchronous reactance | 1.700 | NumParam | z | |
|
kp | active power feedback gain | 0 | NumParam | ||
|
kw | speed feedback gain | 0 | NumParam | ||
|
S1.0 | first saturation factor | 0 | NumParam | ||
|
S1.2 | second saturation factor | 1 | NumParam | non_zero |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
Ξ΄ | Ξ΄0 | v_str | ||
|
Ο | u | v_str | ||
|
Id | Id0 | v_str | ||
|
Iq | Iq0 | v_str | ||
|
Vd | Vd0 | v_str | ||
|
Vq | Vq0 | v_str | ||
|
Οm | Οm0 | mechanical torque | v_str,v_setter | |
|
Οe | P0 | electric torque | v_str,v_setter | |
|
vf | vf0 | v_str,v_setter | ||
|
Οd | Οd0 | v_str | ||
|
Οq | Οq0 | v_str | ||
|
ΞΈ | Bus voltage phase angle | |||
|
V | Bus voltage magnitude |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
Ξ΄ | 2Οfu(Οβ1) | State |
|
Ο | State | |
|
Id | Idxqβ +β Οdβ ββ vf | Algeb |
|
Iq | Iqxqβ +β Οq | Algeb |
|
Vd | Vsinβ(Ξ΄βΞΈ)β ββ Vd | Algeb |
|
Vq | Vcosβ(Ξ΄βΞΈ)β ββ Vq | Algeb |
|
Οm | β ββ Οmβ +β Οm0 | Algeb |
|
Οe | β ββ IdΟqβ +β IqΟdβ ββ Οe | Algeb |
|
vf | β ββ vfβ +β vf0 | Algeb |
|
Οd | β ββ Οdβ +β u(Iqra+Vq) | Algeb |
|
Οq | Οqβ +β u(Idra+Vd) | Algeb |
|
ΞΈ | β ββ u(IdVd+IqVq) | ExtAlgeb |
|
V | β ββ u(IdVqβIqVd) | ExtAlgeb |
Services
Name | Symbol | Equation | Type |
---|---|---|---|
|
Vc | VeiΞΈ | ConstService |
|
S | P0β ββ iQ0 | ConstService |
|
Ic | ConstService | |
|
E | Ic(ra+ixq)β +β Vc | ConstService |
|
Ξ΄c | ConstService | |
|
Ξ΄0 | uimβ(Ξ΄c) | ConstService |
|
Vdq | Vcueβ ββ Ξ΄cβ +β 0.5iΟ | ConstService |
|
Idq | Icueβ ββ Ξ΄cβ +β 0.5iΟ | ConstService |
|
Id0 | reβ(Idq) | ConstService |
|
Iq0 | imβ(Idq) | ConstService |
|
Vd0 | reβ(Vdq) | ConstService |
|
Vq0 | imβ(Vdq) | ConstService |
|
Οm0 | u(Id0(Id0ra+Vd0)+Iq0(Iq0ra+Vq0)) | ConstService |
|
Οd0 | Iq0rauβ +β Vq0 | ConstService |
|
Οq0 | β ββ Id0rauβ ββ Vd0 | ConstService |
|
vf0 | Id0xqβ +β Iq0raβ +β Vq0 | ConstService |
Group SynGen
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
interface bus id | IdxParam | mandatory | |||
|
static generator index | IdxParam | mandatory | |||
|
center of inertia index | IdxParam | ||||
|
Sn | Power rating | 100 | NumParam | ||
|
Vn | AC voltage rating | 110 | NumParam | ||
|
f | rated frequency | 60 | NumParam | ||
|
D | Damping coefficient | 0 | NumParam | power | |
|
M | machine start up time (2H) | 6 | NumParam | non_zero,power | |
|
ra | armature resistance | 0 | NumParam | z | |
|
xl | leakage reactance | 0 | NumParam | z | |
|
xq | q-axis synchronous reactance | 1.700 | NumParam | z | |
|
kp | active power feedback gain | 0 | NumParam | ||
|
kw | speed feedback gain | 0 | NumParam | ||
|
S1.0 | first saturation factor | 0 | NumParam | ||
|
S1.2 | second saturation factor | 1 | NumParam | non_zero | |
|
xd | d-axis synchronous reactance | 1.900 | NumParam | z | |
|
xβ²d | d-axis transient reactance | 0.302 | NumParam | z | |
|
xβ²β²d | d-axis sub-transient reactance | 0.204 | NumParam | z | |
|
xβ²q | q-axis transient reactance | 0.500 | NumParam | z | |
|
xβ²β²q | q-axis sub-transient reactance | 0.300 | NumParam | z | |
|
Tβ²d0 | d-axis transient time constant | 8 | NumParam | ||
|
Tβ²β²d0 | d-axis sub-transient time constant | 0.040 | NumParam | ||
|
Tβ²q0 | q-axis transient time constant | 0.800 | NumParam | ||
|
Tβ²β²q0 | q-axis sub-transient time constant | 0.020 | NumParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
Ξ΄ | Ξ΄0 | v_str | ||
|
Ο | u | v_str | ||
|
eβ²q | eβ²q0 | v_str | ||
|
eβ²d | eβ²d0 | v_str | ||
|
eβ³d | eβ³d0 | v_str | ||
|
eβ³q | eβ³q0 | v_str | ||
|
Id | Id0 | v_str | ||
|
Iq | Iq0 | v_str | ||
|
Vd | Vd0 | v_str | ||
|
Vq | Vq0 | v_str | ||
|
Οm | Οm0 | mechanical torque | v_str,v_setter | |
|
Οe | P0 | electric torque | v_str,v_setter | |
|
vf | vf0 | v_str,v_setter | ||
|
Οd | Οd0 | v_str | ||
|
Οq | Οq0 | v_str | ||
|
Οaq | Οaq0 | q-axis air gap flux | v_str | |
|
Οad | Οad0 | d-axis air gap flux | v_str | |
|
Οa | absβ(Οa0,βdq) | air gap flux magnitude | v_str | |
|
Se(|Οa|) | Se0 | saturation output | v_str | |
|
ΞΈ | Bus voltage phase angle | |||
|
V | Bus voltage magnitude |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
Ξ΄ | 2Οfu(Οβ1) | State |
|
Ο | State | |
|
eβ²q | State | |
|
eβ²d | State | |
|
eβ³d | State | |
|
eβ³q | State | |
|
Id | Idxβ²β²dβ ββ Ξ³d1eβ²qβ +β Οdβ ββ eβ³d(1βΞ³d1) | Algeb |
|
Iq | Iqxβ²β²qβ +β Ξ³q1eβ²dβ +β Οqβ ββ eβ³q(1βΞ³q1) | Algeb |
|
Vd | Vsinβ(Ξ΄βΞΈ)β ββ Vd | Algeb |
|
Vq | Vcosβ(Ξ΄βΞΈ)β ββ Vq | Algeb |
|
Οm | β ββ Οmβ +β Οm0 | Algeb |
|
Οe | β ββ IdΟqβ +β IqΟdβ ββ Οe | Algeb |
|
vf | β ββ vfβ +β vf0 | Algeb |
|
Οd | β ββ Οdβ +β u(Iqra+Vq) | Algeb |
|
Οq | Οqβ +β u(Idra+Vd) | Algeb |
|
Οaq | Iqxβ²β²qβ +β Οqβ ββ Οaq | Algeb |
|
Οad | Ξ³d1eβ²qβ +β Ξ³d2eβ³d(xβ²dβxl)β ββ Οad | Algeb |
|
Οa | Algeb | |
|
Se(|Οa|) | Algeb | |
|
ΞΈ | β ββ u(IdVd+IqVq) | ExtAlgeb |
|
V | β ββ u(IdVqβIqVd) | ExtAlgeb |
Services
Name | Symbol | Equation | Type |
---|---|---|---|
|
Ξ³d1 | ConstService | |
|
Ξ³q1 | ConstService | |
|
Ξ³d2 | ConstService | |
|
Ξ³q2 | ConstService | |
|
Ξ³qd | ConstService | |
|
Sa | ConstService | |
|
SA | ConstService | |
|
SB | 30.0S1.2(Saβ1)2((Sa>0)+(Sa<0)) | ConstService |
|
Vc | VeiΞΈ | ConstService |
|
S | P0β ββ iQ0 | ConstService |
|
Zs | raβ +β ixβ²β²d | ConstService |
|
It | ConstService | |
|
Is | ConstService | |
|
Οa0 | IsZs | ConstService |
|
ΞΈΟa0 | argβ(Οa0) | ConstService |
|
|Οa0| | absβ(Οa0) | ConstService |
|
ΞΈIt0 | argβ(It) | ConstService |
|
ΞΈΟaIt | β ββ ΞΈIt0β +β ΞΈΟa0 | ConstService |
|
Se0 | ConstService | |
|
a | Se0Ξ³qd|Οa0|β +β |Οa0| | ConstService |
|
b | (xβ²β²qβxq)absβ(It) | ConstService |
|
Ξ΄0 | ConstService | |
|
Tdq | β ββ isinβ(Ξ΄0)β +β cosβ(Ξ΄0) | ConstService |
|
Οa0,βdq | TdqΟa0 | ConstService |
|
It,βdq | conjβ(ItTdq) | ConstService |
|
Οad0 | reβ(Οa0,βdq) | ConstService |
|
Οaq0 | imβ(Οa0,βdq) | ConstService |
|
Id0 | imβ(It,βdq) | ConstService |
|
Iq0 | reβ(It,βdq) | ConstService |
|
Vd0 | β ββ Id0raβ +β Iq0xβ²β²qβ ββ Οaq0 | ConstService |
|
Vq0 | β ββ Id0xβ²β²dβ ββ Iq0raβ +β Οad0 | ConstService |
|
Οm0 | u(Id0(Id0ra+Vd0)+Iq0(Iq0ra+Vq0)) | ConstService |
|
vf0 | Id0(βxβ²β²d+xβ²d)β +β Id0(βxβ²d+xd)β +β Se0Οad0β +β Οad0 | ConstService |
|
Οd0 | Iq0rauβ +β Vq0 | ConstService |
|
Οq0 | β ββ Id0rauβ ββ Vd0 | ConstService |
|
eβ²q0 | Id0Ξ³d1(xβ²dβxd)β ββ Id0Ξ³d2(βxβ²d+xd)(xβ²dβxl)β ββ Se0Οad0β +β vf0 | ConstService |
|
eβ²d0 | Iq0Ξ³q1(βxβ²q+xq)β +β Iq0Ξ³q2xβ²q(βxβ²q+xq)β +β Iq0Ξ³q2xl(xβ²qβxq)β +β Se0Ξ³qdΟaq0 | ConstService |
|
eβ³d0 | Id0Ξ³d1(xβ²dβxd)β ββ Id0(xβ²dβxl)(βΞ³d2xβ²d+Ξ³d2xd+1)β ββ Se0Οad0β +β vf0 | ConstService |
|
eβ³q0 | Iq0Ξ³q1(xβ²qβxq)β +β Iq0Ξ³q2xβ²q(xβ²qβxq)β +β Iq0Ξ³q2xl(βxβ²q+xq)β ββ Iq0xβ²qβ +β Iq0xlβ ββ Se0Ξ³qdΟaq0 | ConstService |
Discrete
Name | Symbol | Type |
---|---|---|
|
Slt | LessThan |
Turbine governor group for synchronous generator.
Common Parameters: u, name
Common Variables: pout
Group TurbineGov
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
Synchronous generator idx | IdxParam | mandatory | |||
|
R | Speed regulation gain under machine base | 0.050 | p.u. | NumParam | ipower |
|
Οref0 | Base speed reference | 1 | p.u. | NumParam | |
|
pmax | Maximum power output | 999 | p.u. | NumParam | power |
|
pmin | Minimum power output | 0 | p.u. | NumParam | power |
|
Ldb | Deadband lower limit | -0.000 | p.u. | NumParam | |
|
Udb | Deadband upper limit | 0.000 | p.u. | NumParam | |
|
Cdb | Deadband neutral value | 0 | p.u. | NumParam | |
|
T1 | Transient gain time | 0.200 | NumParam | ||
|
T2 | Governor time constant | 10 | NumParam | ||
|
Sm | Rated power from generator | MVA | ExtParam | ||
|
Vm | Rated voltage from generator | kV | ExtParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
xβ²ll | ΟdmG | State in lead-lag transfer function | v_str | |
|
Ο | Generator speed | p.u. | ||
|
Pout | Οm0 | Turbine final output power | v_str | |
|
Οref | Οref0 | Speed reference variable | v_str | |
|
Οdev | 0 | Generator speed deviation before dead band (positive for under speed) | v_str | |
|
Οdm | 0 | Measured speed deviation after dead band | v_str | |
|
ΟdmG | 0 | Speed deviation after dead band after gain | v_str | |
|
yll | ΟdmG | Output of lead-lag transfer function | v_str | |
|
Pnl | Οm0 | Power output before hard limiter | v_str | |
|
Οm | Mechanical power to generator |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
xβ²ll | State | |
|
Ο | 0 | ExtState |
|
Pout | Pnlziplimβ ββ Poutβ +β pmaxzuplimβ +β pminzlplim | Algeb |
|
Οref | Οref0β ββ Οref | Algeb |
|
Οdev | β ββ Οβ ββ Οdevβ +β Οref | Algeb |
|
Οdm | Ldbzlrwdbβ +β Udbzurwdbβ +β Οdev(1βziwdb)β ββ Οdm | Algeb |
|
ΟdmG | GΟdmβ ββ ΟdmG | Algeb |
|
yll | Algeb | |
|
Pnl | β ββ Pnlβ +β Οm0β +β yll | Algeb |
|
Οm | u(PoutβΟm0) | ExtAlgeb |
Services
Name | Symbol | Equation | Type |
---|---|---|---|
|
G | ConstService |
Discrete
Name | Symbol | Type |
---|---|---|
|
wdb | DeadBand |
|
plim | HardLimiter |
Group TurbineGov
TGOV1 model. Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
Synchronous generator idx | IdxParam | mandatory | |||
|
R | Speed regulation gain under machine base | 0.050 | p.u. | NumParam | ipower |
|
Οref0 | Base speed reference | 1 | p.u. | NumParam | |
|
Vmax | Maximum valve position | 1.200 | p.u. | NumParam | power |
|
Vmin | Minimum valve position | 0 | p.u. | NumParam | power |
|
T1 | Valve time constant | 0.100 | NumParam | ||
|
T2 | Lead-lag lead time constant | 0.200 | NumParam | ||
|
T3 | Lead-lag lag time constant | 10 | NumParam | ||
|
Dt | Turbine damping coefficient | 0 | NumParam | power | |
|
Sm | Rated power from generator | MVA | ExtParam | ||
|
Vm | Rated voltage from generator | kV | ExtParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
xβ²LAG | Pd | State in lag transfer function | v_str | |
|
xβ²LL | xβ²LAG | State in lead-lag transfer function | v_str | |
|
Ο | Generator speed | p.u. | ||
|
Pout | Οm0 | Turbine final output power | v_str | |
|
Οref | Οref0 | Speed reference variable | v_str | |
|
Pref | RΟm0 | Reference power input | v_str | |
|
Οdev | 0 | Generator under speed | p.u. | v_str |
|
Pd | Οm0 | Pref plus under speed times gain | p.u. | v_str |
|
yLL | xβ²LAG | Lead-lag Output | v_str | |
|
Οm | Mechanical power to generator |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
xβ²LAG | State | |
|
xβ²LL | State | |
|
Ο | 0 | ExtState |
|
Pout | DtΟdevβ ββ Poutβ +β yLL | Algeb |
|
Οref | Οref0β ββ Οref | Algeb |
|
Pref | β ββ Prefβ +β RΟm0 | Algeb |
|
Οdev | β ββ Οβ ββ Οdevβ +β Οref | Algeb |
|
Pd | G(Pref+Οdev)β ββ Pd | Algeb |
|
yLL | Algeb | |
|
Οm | u(PoutβΟm0) | ExtAlgeb |
Services
Name | Symbol | Equation | Type |
---|---|---|---|
|
G | ConstService |
Discrete
Name | Symbol | Type |
---|---|---|
|
limlag | AntiWindupLimiter |
Common Parameters: u, name
Available models: Area, Toggler, PI2
Group Undefined
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
RefParam | |||||
|
RefParam | |||||
|
ExtParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
a | ||||
|
v |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
a | 0 | ExtAlgeb |
|
v | 0 | ExtAlgeb |
Group Undefined
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
Model or Group of the device with this timer | DataParam | mandatory | |||
|
Idx of the device with this timer | IdxParam | mandatory | |||
|
switch time for connection status | -1 | TimerParam | mandatory |
Group Undefined
Parameters
Name | Symbol | Description | Default | Unit | Type | Properties |
---|---|---|---|---|---|---|
|
u | connection status | 1 | bool | NumParam | |
|
name | device name | DataParam | |||
|
NumParam | |||||
|
NumParam | |||||
|
NumParam | |||||
|
NumParam |
Variables
Name | Symbol | Initial Value | Description | Unit | Properties |
---|---|---|---|---|---|
|
uin | 0 | v_str | ||
|
x | 0.05 | v_str | ||
|
y | 0.05 | v_str | ||
|
w | 0.05 | v_str |
Equations
Name | Symbol | Equation (x'=f or g=0) | Type |
---|---|---|---|
|
uin | $\begin{cases} 0 & \text{for}\: t_{dae} \leq 0 \\1 & \text{for}\: t_{dae} \leq 2 \\-1 & \text{for}\: t_{dae} < 6 \\1 & \text{otherwise} \end{cases}$ | State |
|
x | KiuinziHL | State |
|
y | Kpuinβ +β xβ ββ y | Algeb |
|
w | WmaxzuHLβ +β WminzlHLβ ββ wβ +β yziHL | Algeb |
Discrete
Name | Symbol | Type |
---|---|---|
|
HL | HardLimiter |