modelBattery
partial model of a battery
Information
Partial model for an eletrical battery for use in the Kinetic Battery Model (KiBaM) of Manwell and McGowan (J. Manwell, J. McGowan, B.-G. E.I., S. W., and L. A.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Energy | E_nominal | nBat*batteryData.E_nominal | Nominal capacity of all batteries |
| Modelica.Units.SI.Efficiency | etaCharge | batteryData.etaCharge | Charge efficiency |
| Modelica.Units.SI.Efficiency | etaLoad | batteryData.etaLoad | Load efficiency |
| Real | SOC_min | batteryData.SOC_min | Minimal accepted charge level |
| Modelica.Units.SI.Power | PLoad_max | nBat*batteryData.PLoad_max | Maximal discharging power of battery |
| Modelica.Units.SI.Power | PCharge_max | nBat*batteryData.PCharge_max | Maximal charging power of battery |
| Real | fDis | batteryData.fDis | Loss factor of the battery |
| Real | c | batteryData.c | Capacity relation available to bound energy |
| Real | k | batteryData.k | Battery rate |
| Real | a_mcr | batteryData.a_mcr | Maximum charge rate parameter |
| Modelica.Units.SI.Energy | E_start | 0 | |
| General | |||
| BuildingSystems.Technologies.ElectricalStorages.Data.BaseClasses.ElectricBatteryGeneral | batteryData | Characteristic data of the battery | |
| Integer | nBat | 1 | Number of batteries |
| Initialization | |||
| Real | SOC_start | 0.5 | Start charge level of the battery |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| BuildingSystems.Interfaces.PowerInput | PCharge | Power of the electrical source | |
| BuildingSystems.Interfaces.PowerInput | PLoad | Power of the electrical load | |
| Modelica.Blocks.Interfaces.RealOutput | SOC | State of charge | |
| BuildingSystems.Interfaces.PowerOutput | PGrid | Electricity taken from the grid | |
| Modelica.Units.SI.Power | PChargeEff | Effective power of the electrical source | |
| Modelica.Units.SI.Power | PLoadEff | Effective power of the electrical load | |
| Modelica.Units.SI.Energy | EAva | Available charge of the battery | |
| Modelica.Units.SI.Energy | EBou | Bound charge of the battery | |
| Modelica.Units.SI.Energy | E | Total charge of the battery | |
| Modelica.Units.SI.Energy | h1 | Helping variable 1 | |
| Modelica.Units.SI.Energy | h2 | Helping variable 2 | |
| Modelica.Units.SI.Power | PNet | Net power for charging (> 0.0 W) or discharging (< 0.0 W) | |
| Modelica.Units.SI.Energy | E_charged | Total energy charged to the battery | |
| Modelica.Units.SI.Energy | E_discharged | Total energy taken from the battery |
Revisions
-
June 21, 2018, by Christoph Banhardt:
Created BaseClasses for battery model to extend the library to BatterySimple and BatteryComplex. -
November 11, 2017, by Christoph Nytsch-Geusen:
Loss factor to bound energy storage shifted and plausible limitations of PChargeEff and PLoadEff added. -
May 31, 2017, by Christoph Nytsch-Geusen:
Integration of the Kinetic Battery Model. -
June 6, 2016, by Christoph Nytsch-Geusen:
First implementation.