modelBatterySimple
Extends from BaseClasses.Battery (partial model of a battery).
Information
Model for an eletrical battery based on the Kinetic Battery Model (KiBaM) of Manwell and McGowan (J. Manwell, J. McGowan, B.-G. E.I., S. W., and L. A., Evaluation of battery models for wind/hybrid power system simulation, in Proceedings of the 5th European Wind Energy Association Conference (EWEC 94), 1994, pp. 1182-1187.).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Energy | E_nominal (from Battery) | nBat*batteryData.E_nominal | Nominal capacity of all batteries |
| Modelica.Units.SI.Efficiency | etaCharge (from Battery) | batteryData.etaCharge | Charge efficiency |
| Modelica.Units.SI.Efficiency | etaLoad (from Battery) | batteryData.etaLoad | Load efficiency |
| Real | SOC_min (from Battery) | batteryData.SOC_min | Minimal accepted charge level |
| Modelica.Units.SI.Power | PLoad_max (from Battery) | nBat*batteryData.PLoad_max | Maximal discharging power of battery |
| Modelica.Units.SI.Power | PCharge_max (from Battery) | nBat*batteryData.PCharge_max | Maximal charging power of battery |
| Real | fDis (from Battery) | batteryData.fDis | Loss factor of the battery |
| Real | c (from Battery) | batteryData.c | Capacity relation available to bound energy |
| Real | k (from Battery) | batteryData.k | Battery rate |
| Real | a_mcr (from Battery) | batteryData.a_mcr | Maximum charge rate parameter |
| Modelica.Units.SI.Energy | E_start (from Battery) | 0 | |
| General | |||
| BuildingSystems.Technologies.ElectricalStorages.Data.BaseClasses.ElectricBatteryGeneral | batteryData (from Battery) | Characteristic data of the battery | |
| Integer | nBat (from Battery) | 1 | Number of batteries |
| Initialization | |||
| Real | SOC_start (from Battery) | 0.5 | Start charge level of the battery |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BuildingSystems.Interfaces.PowerInput | PCharge (from Battery) | Power of the electrical source | |
| BuildingSystems.Interfaces.PowerInput | PLoad (from Battery) | Power of the electrical load | |
| Modelica.Blocks.Interfaces.RealOutput | SOC (from Battery) | State of charge | |
| BuildingSystems.Interfaces.PowerOutput | PGrid (from Battery) | Electricity taken from the grid |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Power | PChargeEff (from Battery) | Effective power of the electrical source | |
| Modelica.Units.SI.Power | PLoadEff (from Battery) | Effective power of the electrical load | |
| Modelica.Units.SI.Energy | EAva (from Battery) | Available charge of the battery | |
| Modelica.Units.SI.Energy | EBou (from Battery) | Bound charge of the battery | |
| Modelica.Units.SI.Energy | E (from Battery) | Total charge of the battery | |
| Modelica.Units.SI.Energy | h1 (from Battery) | Helping variable 1 | |
| Modelica.Units.SI.Energy | h2 (from Battery) | Helping variable 2 | |
| Modelica.Units.SI.Power | PNet (from Battery) | Net power for charging (> 0.0 W) or discharging (< 0.0 W) | |
| Modelica.Units.SI.Energy | E_charged (from Battery) | Total energy charged to the battery | |
| Modelica.Units.SI.Energy | E_discharged (from Battery) | Total energy taken from the battery |
Revisions
-
June 22, 2018, by Christoph Banhardt:
Created BatterySimple from BaseClasses.Battery. -
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.