modelBatteryCtrlGeneral
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Efficiency | DOD_max | ||
| Modelica.Units.NonSI.Energy_kWh | EBat | ||
| Modelica.Units.SI.Efficiency | eta_out | ||
| Modelica.Units.SI.Efficiency | eta_in | ||
| Modelica.Units.SI.Efficiency | eta_d | ||
| Modelica.Units.SI.Efficiency | eta_c | ||
| Real | e_c | ||
| Real | e_d |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput | PInit | Active power flow with battery | |
| Modelica.Blocks.Interfaces.RealInput | SoC | SoC of the battery | |
| Modelica.Blocks.Interfaces.RealOutput | PFinal | Active power flow with grid | |
| Modelica.Blocks.Interfaces.RealOutput | QFinal | Reactive power flow with grid |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Power | P | Power available to be charged/discharged | |
| Modelica.Units.SI.Power | PBat | Actual power flow to/from battery |