modelBaseREGC

Base renewable generator/converter for PSSE models

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

Information

This component is the base class for the inverter components from the InverterInterface sub-package.

The modelling of such devices is based, mainly, on the following reference:

Parameters

TypeNameDefaultDescription
Power flow data
OpenIPSL.Types.ApparentPowerM_bSysData.S_bMachine base power
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
Input Parameters
Modelica.Units.SI.TimeTg0.02Converter time constant
Modelica.Units.SI.TimeAgingrrpwr10Low Voltage Power Logic (LVPL) ramp rate limit
OpenIPSL.Types.PerUnitBrkpt0.9LVPL characteristic voltage 2
OpenIPSL.Types.PerUnitZerox0.5LVPL characteristic voltage 1
OpenIPSL.Types.PerUnitLvpl11.22LVPL gain
OpenIPSL.Types.PerUnitVolim1.2Voltage limit for high voltage reactive current management
OpenIPSL.Types.PerUnitlvpnt10.8High voltage point for low voltage active current management
OpenIPSL.Types.PerUnitlvpnt00.4Low voltage point for low voltage active current management
OpenIPSL.Types.PerUnitIolim-1.3Current limit for high voltage reactive current management (specified as a negative value)
Modelica.Units.SI.TimeTfltr0.02Voltage filter time constant for low voltage active current management
RealKhv0.7Overvoltage compensation gain used in the high voltage reactive current management
Modelica.Units.SI.TimeAgingIqrmax9999Upper limit on rate of change for reactive current
Modelica.Units.SI.TimeAgingIqrmin-9999Lower limit on rate of change for reactive current
Controls
BooleanLvplswtrueEnable (true) or disable (false) low voltage power logic.

Connectors

TypeNameDefaultDescription
OpenIPSL.Interfaces.PwPinp
Modelica.Blocks.Interfaces.RealInputIqcmdImaginary Command Current
Modelica.Blocks.Interfaces.RealInputIpcmdReal Command Current
Modelica.Blocks.Interfaces.RealOutputIQ0Initial Reactive Power
Modelica.Blocks.Interfaces.RealOutputIP0Initial Active Power
Modelica.Blocks.Interfaces.RealOutputV_0Initial Terminal Voltage Magnitude
Modelica.Blocks.Interfaces.RealOutputq_0Initial Reactive Power
Modelica.Blocks.Interfaces.RealOutputp_0Initial Active Power
Modelica.Blocks.Interfaces.RealOutputV_tTerminal Voltage Magnitude
Modelica.Blocks.Interfaces.RealOutputPgenActive Power injection
Modelica.Blocks.Interfaces.RealOutputQgenReactive Power injection

Components

TypeNameDefaultDescription
OpenIPSL.Electrical.SystemBaseSysData (from pfComponent)Must add this line in all models