modelConstantRefEnergyControl
Energy control block for constant reference input that calculates reference DC current.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| PI Controller Parameters | |||
| Real | k | 1 | Gain |
| Modelica.Units.SI.Time | T | Time Constant (T>0 required) | |
| Modelica.Blocks.Types.Init | initType | Modelica.Blocks.Types.Init.NoInit | Type of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output) |
| Real | x_start | 0 | Initial or guess value of state |
| Real | y_start | 0 | Initial value of output |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | Vdc | DC Voltage | |
| Modelica.Blocks.Interfaces.RealInput | Wtot | Total Energy | |
| Modelica.Blocks.Interfaces.RealInput | Pac | AC Active Power | |
| Modelica.Blocks.Interfaces.RealOutput | idc_ref | Reference DC Current | |
| Modelica.Blocks.Interfaces.RealInput | Wref | Energy Reference |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Add | add | Addition | |
| OpenIPSL.NonElectrical.Nonlinear.Div0block | div0block | Division | |
| Modelica.Blocks.Continuous.PI | PI | PI Controller | |
| Modelica.Blocks.Math.Add | add1 | Addition |