modelbaseVoltageSource

Base model for voltage sources behind an impedance

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

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.

Parameters

TypeNameDefaultDescription
Power flow data
Types.ApparentPowerS_b (from pfComponent)SysData.S_bSystem base power
Types.VoltageV_b (from pfComponent)400e3Base voltage of the bus
Types.Frequencyfn (from pfComponent)SysData.fnSystem frequency
Types.ActivePowerP_0 (from pfComponent)1e6Initial active power
Types.ReactivePowerQ_0 (from pfComponent)0Initial reactive power
Types.PerUnitv_0 (from pfComponent)1Initial voltage magnitude
Types.Angleangle_0 (from pfComponent)0Initial voltage angle
BooleandisplayPF (from pfComponent)falseDisplay power flow:
Parameter mask
BooleanenableS_b (from pfComponent)falseEnable S_b in parameter list
BooleanenableV_b (from pfComponent)falseEnable V_b in parameter list
Booleanenablefn (from pfComponent)falseEnable fn in parameter list
BooleanenableP_0 (from pfComponent)falseEnable P_0 in parameter list
BooleanenableQ_0 (from pfComponent)falseEnable Q_0 in parameter list
Booleanenablev_0 (from pfComponent)falseEnable v_0 in parameter list
Booleanenableangle_0 (from pfComponent)falseEnable angle_0 in parameter list
BooleanenabledisplayPF (from pfComponent)falseEnable displayPF in parameter list
Voltage Source parameters
OpenIPSL.Types.ApparentPowerM_bSysData.S_bVoltage Source base power rating (MVA)
OpenIPSL.Types.PerUnitR_a1e-3Internal source resistance, pu, system base
OpenIPSL.Types.PerUnitX_d0.2Internal source d-axis reactance, pu, system base

Connectors

TypeNameDefaultDescription
OpenIPSL.Interfaces.PwPin_ppInstantiation of graphical component PwPin_p
RealOutputEmagInternal voltage magnitude
RealOutputEdeltaInternal voltage angle
RealOutputEmag0Initial value of the internal voltage source magnitude
RealOutputEang0Initial value of the internal voltage angle

Components

TypeNameDefaultDescription
OpenIPSL.Electrical.SystemBaseSysData
OpenIPSL.Types.PerUnitVBus voltage magnitude
OpenIPSL.Types.AngleanglevBus voltage angle
OpenIPSL.Types.PerUnitPActive power (system base)
OpenIPSL.Types.PerUnitQReactive power (system base)
OpenIPSL.Types.AngledeltaInternal voltage source angle
OpenIPSL.Types.PerUnitEInternal voltage source magnitude