OpenIPSL.Electrical.Sources.SourceBehindImpedance.VoltageSources

Voltage sources behind an impedance, controllable and uncontrollable

Information

Extends from Modelica.Icons.VariantsPackage (Icon for package containing variants).

Package Content

Name Description
OpenIPSL.Electrical.Sources.SourceBehindImpedance.VoltageSources.VSource VSource Generic voltage source behind an internal impedance
OpenIPSL.Electrical.Sources.SourceBehindImpedance.VoltageSources.VSourceIO VSourceIO Generic voltage source behind an internal impedance with inputs that vary the internal source magnitude and angle from steady state

OpenIPSL.Electrical.Sources.SourceBehindImpedance.VoltageSources.VSource OpenIPSL.Electrical.Sources.SourceBehindImpedance.VoltageSources.VSource

Generic voltage source behind an internal impedance

Information

This model provides a voltage source with an internal (constant) voltage source and internal impedance.

See the documentation of BaseClasses.baseVoltageSource for more information.

Extends from BaseClasses.baseVoltageSource (Base model for voltage sources behind an impedance).

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]

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

OpenIPSL.Electrical.Sources.SourceBehindImpedance.VoltageSources.VSourceIO OpenIPSL.Electrical.Sources.SourceBehindImpedance.VoltageSources.VSourceIO

Generic voltage source behind an internal impedance with inputs that vary the internal source magnitude and angle from steady state

Information

The purpose of this model is to support the development of Grid-Forming Inverter models as described in [Du2021]. The model provides a voltage source with an internal voltage source and internal impedance whose magnitude and angle can be varied via inputs starting from their initial values.

See the documentation of BaseClasses.baseVoltageSource for more information.

Extends from BaseClasses.baseVoltageSource (Base model for voltage sources behind an impedance).

Parameters

NameDescription
useEphasorInternalAsInputIf true, the values of E0 and delta0 are computed internally and used as the start value of the input, requiring only a deviation \Delta E and \Delta delta to be supplied. If false, the magnitude E and angle delta must be supplied, including the correct value of E0 and delta0 needed for proper initialization.
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]

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
uDEmagInput to vary the voltage magnitude of the voltage source
uDEangInput to vary the angle of the voltage source
Automatically generated Thu Feb 26 06:56:10 2026.