modelStateOfChargeLogic

State of charge logic for REECC

Information

The pseudo-code for the state of charge current limit in batteries is as follows:

If SOC greater of equal to SOCmax:
   Ipmin = 0;
else:
   Ipmax = 0;
end

The modelling of the state of charge for the REECC electrical controller is based on the following references:

Parameters

TypeNameDefaultDescription
OpenIPSL.Types.PerUnitSOCminMinimum allowable state of charge
OpenIPSL.Types.PerUnitSOCmaxMaximum allowable state of charge

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputSOCState of Charge of the Battery
Modelica.Blocks.Interfaces.RealOutputipmax_SOCMaximum Battery Charge
Modelica.Blocks.Interfaces.RealOutputipmin_SOCMinimum Battery Charge