OpenIPSL.Electrical.Sources.SourceBehindImpedance.BaseClasses

Partial models for controllable sources behind impedance

Information

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

Package Content

Name Description
OpenIPSL.Electrical.Sources.SourceBehindImpedance.BaseClasses.baseVoltageSource baseVoltageSource Base model for voltage sources behind an impedance

OpenIPSL.Electrical.Sources.SourceBehindImpedance.BaseClasses.baseVoltageSource OpenIPSL.Electrical.Sources.SourceBehindImpedance.BaseClasses.baseVoltageSource

Base model for voltage sources behind an impedance

Information

This partial model is used to develop variants of a voltage source with an internal voltage source and internal impedance whose magnitude and angle. The initial values of the internal voltage source magnitude and angle are calculated based on the impedance and power flow data. It is based on [Du2021], with the difference that the internal impedance includes a resistance and not only a reactance.

Extends from OpenIPSL.Electrical.Essentials.pfComponent (Partial model containing all the parameters for entering power flow data).

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:
Voltage Source parameters
M_bVoltage Source base power rating (MVA) [V.A]
R_aInternal source resistance, pu, system base [1]
X_dInternal source d-axis reactance, pu, system base [1]
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
pInstantiation of graphical component PwPin_p
EmagInternal voltage magnitude
EdeltaInternal voltage angle
Emag0Initial value of the internal voltage source magnitude
Eang0Initial value of the internal voltage angle
Automatically generated Thu Feb 26 06:56:10 2026.