OpenIPSL.Electrical.Sources

Models that represent ideal sources (voltage, current)

Information

Extends from Modelica.Icons.SourcesPackage (Icon for packages containing sources).

Package Content

Name Description
OpenIPSL.Electrical.Sources.VoltageSourceReImInput VoltageSourceReImInput Ideal voltage source with user defined real and imaginary parts of the voltage phasor
OpenIPSL.Electrical.Sources.CurrentSourceReImInput CurrentSourceReImInput Ideal current source with user defined real and imaginary parts of the current phasor
OpenIPSL.Electrical.Sources.SourceBehindImpedance SourceBehindImpedance Generic models of controllable sources behind impedances

OpenIPSL.Electrical.Sources.VoltageSourceReImInput OpenIPSL.Electrical.Sources.VoltageSourceReImInput

Ideal voltage source with user defined real and imaginary parts of the voltage phasor

Information

This model allows the user to specify the voltage real and imaginary part of the voltage phasor of an ideal voltage source.

The value of each part of the phasor have to be provided through sources from Modelica.Blocks.Sources with Real valued interfaces to be connected to the vRe and vIm real interfaces.

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:
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
p 
vReReal part of voltage phasor
vImImaginary part of voltage Phasor

OpenIPSL.Electrical.Sources.CurrentSourceReImInput OpenIPSL.Electrical.Sources.CurrentSourceReImInput

Ideal current source with user defined real and imaginary parts of the current phasor

Information

This model allows the user to specify the voltage real and imaginary part of the voltage phasor of an ideal voltage source.

The value of each part of the phasor have to be provided through sources from Modelica.Blocks.Sources with Real valued interfaces to be connected to the vRe and vIm real interfaces.

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:
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
p 
iReReal Part of voltage phasor
iImImaginary Part of Voltage Phasor
Automatically generated Thu Feb 26 06:56:10 2026.