.Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Battery

Information

Simple model of a battery.

This model takes as an input the power to be extracted from the AC line and stored in the battery (if P > 0) or to be fed into the AC line after being extracted from the battery. The actual power stored or extracted in the battery differs from P due to AC/DC conversion losses and battery charge and discharge efficiencies.

The output connector SOC is the state of charge of the battery. This model does not enforce that the state of charge is between zero and one. However, each time the state of charge crosses zero or one, a warning will be written to the simulation log file. The model also does not limit the current through the battery. The user should provide a control so that only a reasonable amount of power is exchanged, and that the state of charge remains between zero and one.

Revisions


Generated at 2024-12-25T19:25:50Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos