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

TypeNameDefaultDescription
Modelica.Units.SI.EnergyE_nominalnBat*batteryData.E_nominalNominal capacity of all batteries
Modelica.Units.SI.EfficiencyetaChargebatteryData.etaChargeCharge efficiency
Modelica.Units.SI.EfficiencyetaLoadbatteryData.etaLoadLoad efficiency
RealSOC_minbatteryData.SOC_minMinimal accepted charge level
Modelica.Units.SI.PowerPLoad_maxnBat*batteryData.PLoad_maxMaximal discharging power of battery
Modelica.Units.SI.PowerPCharge_maxnBat*batteryData.PCharge_maxMaximal charging power of battery
RealfDisbatteryData.fDisLoss factor of the battery
RealcbatteryData.cCapacity relation available to bound energy
RealkbatteryData.kBattery rate
Reala_mcrbatteryData.a_mcrMaximum charge rate parameter
Modelica.Units.SI.EnergyE_start0
General
BuildingSystems.Technologies.ElectricalStorages.Data.BaseClasses.ElectricBatteryGeneralbatteryDataCharacteristic data of the battery
IntegernBat1Number of batteries
Initialization
RealSOC_start0.5Start charge level of the battery

Components

TypeNameDefaultDescription
BuildingSystems.Interfaces.PowerInputPChargePower of the electrical source
BuildingSystems.Interfaces.PowerInputPLoadPower of the electrical load
Modelica.Blocks.Interfaces.RealOutputSOCState of charge
BuildingSystems.Interfaces.PowerOutputPGridElectricity taken from the grid
Modelica.Units.SI.PowerPChargeEffEffective power of the electrical source
Modelica.Units.SI.PowerPLoadEffEffective power of the electrical load
Modelica.Units.SI.EnergyEAvaAvailable charge of the battery
Modelica.Units.SI.EnergyEBouBound charge of the battery
Modelica.Units.SI.EnergyETotal charge of the battery
Modelica.Units.SI.Energyh1Helping variable 1
Modelica.Units.SI.Energyh2Helping variable 2
Modelica.Units.SI.PowerPNetNet power for charging (> 0.0 W) or discharging (< 0.0 W)
Modelica.Units.SI.EnergyE_chargedTotal energy charged to the battery
Modelica.Units.SI.EnergyE_dischargedTotal 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.