This model illustrates a data center with DC and AC load. The
electrical supply is from a grid, from wind turbines and from PV.
The battery is charged during the night and discharged during the
day in such a way that it is fully charged and discharged. This
control logic is implemented using a finite state machine inside
the model con.
lat as this is now
obtained from the weather data reader.