modelBatteryChargingLosses
Battery storage including losses due to charging efficiency and self-discharge
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 |
| Real | eta_ch | 0.9 | charging efficiency |
| Real | eta_disch | 0.9 | discharging efficiency |
| Boolean | StatusOn | true | battery system on/off |
| Real | P_Signal | 0 | |
| Real | P_max | 0 | |
| Data in/out | |||
| Boolean | enableOutputWbat | false | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.Pin | Pin1 (from OnePortGrounded) | ||
| 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 |