Example1.Base.Plants

Models of plants (generator units) for simulation and linearization

Information

Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).

Package Content

Name Description
Example1.Base.Plants.Figures Figures These models are not to be used for any purpose other than presenting figures in documentation.
Example1.Base.Plants.Gen Gen Generator with AVR and PSS
Example1.Base.Plants.GenIO GenIO Generator with AVR and PSS and input/output interfaces for linearization
Example1.Base.Plants.inf inf Infinite bus wrapper
Example1.Base.Plants.Tests Tests Test models for plant models

Example1.Base.Plants.Gen Example1.Base.Plants.Gen

Generator with AVR and PSS

Information

Generator model with exciter and PSS for simulation purposes. To be compared with: Example1.Base.Plants.GenIO

Extends from OpenIPSL.Interfaces.Generator (Interface for a generator which provides the PwPin).

Parameters

NameDescription
Power flow data
S_bSystem base power [V.A]
V_bBase voltage of the bus [V]
fnSystem frequency [Hz]
P_0Initial active power [W]
Q_0Initial reactive power [var]
v_0Initial voltage magnitude [1]
angle_0Initial voltage angle [rad]
displayPFDisplay power flow:
PSS
KwStabilizer gain (pu/pu)
TwWash-out time constant (s)
T1First stabilizer time constant (s)
T2Second stabilizer time constant (s)
T3Third stabilizer time constant (s)
T4Fourth stabilizer time constant (s)
AVR
vfmaxmax lim.
vfminmin lim.
K0regulator gain
Parameter mask
enableS_bEnable S_b in parameter list
enableV_bEnable V_b in parameter list
enablefnEnable fn in parameter list
enableP_0Enable P_0 in parameter list
enableQ_0Enable Q_0 in parameter list
enablev_0Enable v_0 in parameter list
enableangle_0Enable angle_0 in parameter list
enabledisplayPFEnable displayPF in parameter list

Connectors

NameDescription
pwPin 

Example1.Base.Plants.GenIO Example1.Base.Plants.GenIO

Generator with AVR and PSS and input/output interfaces for linearization

Information

Model includes inputs using interfaces using input blocks from Modelica.Blocks.Interfaces.RealInput and output interfaces using blocks from Modelica.Blocks.Interfaces.RealOuput.



Reference

SMIB PSAT, d_kundur2.mdl, PSAT

Last update

June 24, 2022

Author

Luigi Vanfretti

Contact

luigi.vanfretti@gmail.com

Extends from OpenIPSL.Interfaces.Generator (Interface for a generator which provides the PwPin).

Parameters

NameDescription
Power flow data
S_bSystem base power [V.A]
V_bBase voltage of the bus [V]
fnSystem frequency [Hz]
P_0Initial active power [W]
Q_0Initial reactive power [var]
v_0Initial voltage magnitude [1]
angle_0Initial voltage angle [rad]
displayPFDisplay power flow:
PSS
KwStabilizer gain (pu/pu)
TwWash-out time constant (s)
T1First stabilizer time constant (s)
T2Second stabilizer time constant (s)
T3Third stabilizer time constant (s)
T4Fourth stabilizer time constant (s)
AVR
vfmaxmax lim.
vfminmin lim.
K0regulator gain
Parameter mask
enableS_bEnable S_b in parameter list
enableV_bEnable V_b in parameter list
enablefnEnable fn in parameter list
enableP_0Enable P_0 in parameter list
enableQ_0Enable Q_0 in parameter list
enablev_0Enable v_0 in parameter list
enableangle_0Enable angle_0 in parameter list
enabledisplayPFEnable displayPF in parameter list

Connectors

NameDescription
pwPin 
uPSS 
upm 
uvsAVR 
AVRout 
AVRin 

Example1.Base.Plants.inf Example1.Base.Plants.inf

Infinite bus wrapper

Information

Extends from OpenIPSL.Interfaces.Generator (Interface for a generator which provides the PwPin).

Parameters

NameDescription
Power flow data
S_bSystem base power [V.A]
V_bBase voltage of the bus [V]
fnSystem frequency [Hz]
P_0Initial active power [W]
Q_0Initial reactive power [var]
v_0Initial voltage magnitude [1]
angle_0Initial voltage angle [rad]
displayPFDisplay power flow:
Parameter mask
enableS_bEnable S_b in parameter list
enableV_bEnable V_b in parameter list
enablefnEnable fn in parameter list
enableP_0Enable P_0 in parameter list
enableQ_0Enable Q_0 in parameter list
enablev_0Enable v_0 in parameter list
enableangle_0Enable angle_0 in parameter list
enabledisplayPFEnable displayPF in parameter list

Connectors

NameDescription
pwPin 
Automatically generated Wed Mar 13 11:30:33 2024.