In Fig .1, there are two collection points for electricity flows. The
energy balance in these points is taken into account in Eqs. (37) and
(38). Unmet electricity is defined by the difference between
maximum hourly power allowed to be bought from the grid and
the amount of electricity that must be bought in the time period t,
Eq. (39).