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

TypeNameDefaultDescription
SI.VoltageVnom (from OnePortGroundedInit)110e3Nominal phase-to-phase RMS voltage
RealC_nom5000usable battery capacity in Wh
Realeta_ch0.9charging efficiency
Realeta_disch0.9discharging efficiency
BooleanStatusOntruebattery system on/off
RealP_Signal0
RealP_max0
Data in/out
BooleanenableOutputWbatfalse

Connectors

TypeNameDefaultDescription
ModPowerSystems.Base.Interfaces.ComplexPhasor.SinglePhase.PinPin1 (from OnePortGrounded)
Modelica.Blocks.Interfaces.RealOutputW_batOutSOC*C_nomoutput signal for energy level of battery in Wh

Components

TypeNameDefaultDescription
Modelica.SIunits.ComplexVoltagev (from OnePortGrounded)
Modelica.SIunits.ComplexCurrenti (from OnePortGrounded)
SI.ActivePowerP (from OnePortGrounded)Consumed Active Power
SI.ReactivePowerQ (from OnePortGrounded)Reactive Power
SI.VoltageV (from OnePortGrounded)Voltage RMS phase-to-neutral
SI.VoltageVpeak (from OnePortGrounded)Voltage peak phase-to-neutral
SI.VoltageVpp (from OnePortGrounded)Voltage RMS phase-to-phase
SI.CurrentI (from OnePortGrounded)Current RMS
SI.CurrentIpeak (from OnePortGrounded)Current peak
SI.AngleVangle (from OnePortGrounded)Voltage phase
SI.AngleIangle (from OnePortGrounded)Current phase
SI.Anglephi (from OnePortGrounded)Phase shift between voltage and current
RealP_Batbattery charging power
RealSOCstate of charge