modelBatteryIdeal
Ideal battery storage with no losses
Extends from ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.OnePortGroundedInit.
Information
The model is according to the paper "Battery behavior prediction and battery working states analysis of a hybrid solar–wind power generation system" by Zhou et al.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | Vnom (from OnePortGroundedInit) | 110e3 | Nominal phase-to-phase RMS voltage |
| Real | C_nom | 5000 | usable battery capacity in Wh |
| Boolean | StatusOn | true | battery system on/off |
| Data in/out | |||
| Boolean | enableOutputWbat | false | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.Pin | Pin1 (from OnePortGrounded) | ||
| Modelica.Blocks.Interfaces.RealInput | P_batIn | input signal for battery charging power | |
| Modelica.Blocks.Interfaces.RealOutput | W_batOut | SOC*C_nom | output signal for energy level of battery in Wh |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.ComplexVoltage | v (from OnePortGrounded) | ||
| Modelica.SIunits.ComplexCurrent | i (from OnePortGrounded) | ||
| SI.ActivePower | P (from OnePortGrounded) | Consumed Active Power | |
| SI.ReactivePower | Q (from OnePortGrounded) | Reactive Power | |
| SI.Voltage | V (from OnePortGrounded) | Voltage RMS phase-to-neutral | |
| SI.Voltage | Vpeak (from OnePortGrounded) | Voltage peak phase-to-neutral | |
| SI.Voltage | Vpp (from OnePortGrounded) | Voltage RMS phase-to-phase | |
| SI.Current | I (from OnePortGrounded) | Current RMS | |
| SI.Current | Ipeak (from OnePortGrounded) | Current peak | |
| SI.Angle | Vangle (from OnePortGrounded) | Voltage phase | |
| SI.Angle | Iangle (from OnePortGrounded) | Current phase | |
| SI.Angle | phi (from OnePortGrounded) | Phase shift between voltage and current | |
| Real | P_bat | battery charging power | |
| Real | SOC | state of charge |