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:
- Siemens: "PSS®E Model Library" [PSSE-MODELS],
- WECC: "Battery Storage Dynamic Modeling Guideline" [WECCBattery].
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OpenIPSL.Types.PerUnit | SOCmin | Minimum allowable state of charge | |
| OpenIPSL.Types.PerUnit | SOCmax | Maximum allowable state of charge |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | SOC | State of Charge of the Battery | |
| Modelica.Blocks.Interfaces.RealOutput | ipmax_SOC | Maximum Battery Charge | |
| Modelica.Blocks.Interfaces.RealOutput | ipmin_SOC | Minimum Battery Charge |