modelVariableRefEnergyControl

Energy control block that takes the square of the DC voltage as input and calculates reference DC current.

Parameters

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

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputVdcDC Voltage
Modelica.Blocks.Interfaces.RealInputWtotTotal Energy
Modelica.Blocks.Interfaces.RealInputPacAC Active Power
Modelica.Blocks.Interfaces.RealOutputidc_refReference DC Current

Components

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