horizon the SGD uses the SGA optimization com-
putes for each of its connected consumers as well
as for the generators it can control (e.g. a diesel
generator, opposed to a photovoltaic panel that
generates power according to solar irradiance) a
control signal, while it has to satisfy the power
inflow/outflow the SGD imposes on the single
SGA. The nature of these control signals depend
on the nature of the consumers and generators.
For deferrable loads with a fixed operation pat-
tern, binary signals decide about whether the load
is turned on or off in a certain used-defined time
window of the time-discrete prognosis horizon.
For energy-control loads and controllable gener-
ators a binary variable controls whether the ma-
chine is turned on or off during a certain user-
defined time window of the prognosis horizon,
while a continuous variable decides about the
power with which the machine shall run (tak-
ing into account the machine’s technical opera-
tion range). For profile-type loads, a continuous
variable decides about dimming (again within the
loads technical limits) while in case of insufficient
power supply or a low battery a binary variable
may switch the profile load off in every time in-
terval. Also, consumers may be associated a pri-
ority such that the demands of high priority con-
sumers are satisfied prior to those of low prior-
ity, which may in extreme cases be completely
switched off by the optimization. When neglect-
ing transmission losses between the SGA and its
connected components (which are spatially close
to the SGA), the resulting optimization problem
has the form of a mixed integer linear program
(MILP), which can be solved efficiently on an em-
bedded computer even for realistic problem di-
mension.
In the end, we are able to separate the two opti-
mization problems to two categories: The SGA op-
timization is modeled as a mixed integer linear pro-
gramming (MILP) problem, which is solved by the
CBC solver (CBC, 2012). The SGD optimization
is modeled as a nonlinear programming (NLP) prob-
lem, which is solved by the Ipopt solver (Ipopt, 2012).
This split into a purely continuous optimization model
for the SGD and a mixed integer linear program for
the SGA has several advantages. Firstly, it avoids
solving a large mixed-integer nonlinear program that
otherwise would guide all consumers and generators
in the entire SoftGrid including the SGAs and their
components. Moreover, since the optimal guidance
for an SGA’s components is done locally, i.e. solved
on the SGA’s embedded hardware, the system is more
robust towards failure in the computation or in the
computing hardware: even if the dispatcher or a sin-
gle SGA fails to deliver results, the other problems
may still be solved independently.
5 SIMULATION RESULTS
In order to verify the concept and find out appropriate
system configuration parameters, different scenarios
have been tested. Fig. 7 shows the stand-alone mode
of a single SGA. This example shows a household
with typical home appliances like television, refriger-
ator and washing machine. In this case, the refrigera-
tor is a fixed-profile consumer, which needs to operate
all time, while the washing machine is a deferrable
consumer, which can be scheduled to operate in an
appropriate time window to gain certain flexibility.
The operation of LED and television are simulated by
stochastic time series, and the expectations are passed
to the optimization model as prognoses. Fig. 8 shows
the electrical appliances’ behavior for one day. It can
be seen that the SGA can satisfy the user demand by
allocate the power properly. Under the guidance of
the optimization in the SGA, the washing machine is
turned on at noon, when the electricity supply is suffi-
cient due to the high solar irradiance thus large photo-
voltaic power generation and electricity consumption
peak has not arrived yet. In order to check the robust-
ness of the optimization model, a series of tests are
carried out using different time series. In our tests,
the optimization algorithm shows very good perfor-
mance to keep the user demands satisfied. Only in
very few occasions, some LEDs are dimmed in order
to save energy.
Figure 7: Test Scenario 1: Stand-alone SGA with Fixed-
profile and Time-deferrable Consumers.
As introduced in Section 2, SoftGrid has two-level
control architecture. Fig. 9 shows an example with
three SGAs and one SGD. In this case, no external
SoftGrid:AGreenFieldApproachofFutureSmartGrid
9