modelVariableRefEnergyControl
Energy control block that takes the square of the DC voltage as input and calculates reference DC current.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| PI Controller Parameters | |||
| Real | k | Gain | |
| Modelica.Units.SI.Time | T | Time Constant (T>0 required) | |
| Modelica.Blocks.Types.Init | initType | Modelica.Blocks.Types.Init.InitialOutput | Type of initialization (1: no init, 2: steady state, 3: initial state, 4: initial output) |
| Real | x_start | 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Add | add | ||
| OpenIPSL.NonElectrical.Nonlinear.Div0block | div0block | ||
| Modelica.Blocks.Continuous.PI | PI | ||
| Modelica.Blocks.Math.Product | product1 | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Math.Add | add1 |