modelBattery
Test model for battery
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This model illustrates use of a battery connected to an DC voltage source and a constant load. The battery is charged every night at 23:00 until it is full. At 14:00, it is discharged until it is empty. This control is implemented using a finite state machine. The charging and discharging power is assumed to be controlled to a constant value of 10,000 Watts.
Components
Revisions
-
April 6, 2016, by Michael Wetter:
ReplacedModelica_StateGraph2withModelica.StateGraph. This is for issue 504. -
January 10, 2013, by Michael Wetter:
First implementation.