modelActivePowerControl

Active power control block takes the AC active power reference as input and provides reference AC d-axis current

Parameters

TypeNameDefaultDescription
PI Controller Parameters
RealkkGain
Modelica.Units.SI.TimeTTime Constant (T>0 required)
Modelica.Blocks.Types.InitinitTypeinitTypeType of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output)
Realx_start0Initial or guess value of state
Realy_start0Initial value of output

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputPac_refReference AC Active Power
Modelica.Blocks.Interfaces.RealInputPacAC Active Power
Modelica.Blocks.Interfaces.RealInputVgdAC Voltage of the d-axis
Modelica.Blocks.Interfaces.RealOutputigd_refReference AC current of the d-axis

Components

TypeNameDefaultDescription
Modelica.Blocks.Math.Addadd
OpenIPSL.NonElectrical.Nonlinear.Div0blockdiv0block
Modelica.Blocks.Continuous.PIPI