Optimal Design and Dispatch of A System of Diesel Generators, Photovoltaics and Batteries For Remote Locations
Optimal Design and Dispatch of A System of Diesel Generators, Photovoltaics and Batteries For Remote Locations
M. Scioletti · A. Newman
Department of Mechanical Engineering, Colorado School of Mines, Golden, CO 80401
E-mail: [email protected], E-mail: [email protected]
J. Goodman
School of Chemical and Biomolecular Engineering, Georgia Institute of Technology, Atlanta,
GA 30332
E-mail: [email protected]
A. Zolan
Department of Mechanical Engineering, University of Texas at Austin, Austin, TX 78712
E-mail: [email protected]
S. Ley↵er
Mathematics and Computer Science Division, Argonne National Laboratory, Lemont, IL
60439 E-mail: ley↵[email protected]
2 Scioletti et al.
zon with hourly time fidelity. A MIP with wind power, batteries, and genera-
tors [16] produces results comparable to HOMER’s; however, it fails to address
the complexities associated with battery modeling and solves the problem in
two steps: (i) design solutions result from running the MIP for a curtailed time
horizon and then (ii) dispatch solutions follow for the entire year given design
from (i). A linear program solves a year-long problem at hourly time fidelity
to understand the operating relationships between the technologies within a
hybrid system over a 20-year ownership timeline [33]; but, the model considers
identical 24-hour demand periods for the entire year and lacks battery mod-
eling detail. Given the unpredictability of renewable energy, [10] presents a
stochastic model to account for the variations in windspeed by solving a year-
long problem decomposed into day-long, i.e., 24-hour, sub-problems; however,
the authors fix technologies in their hybrid system with the goal of optimiz-
ing the sizing of an energy storage system, which could consist of batteries,
flywheels, and supercapacitators [9]. Alternately, [46] develops a nonconvex
mixed-integer, nonlinear program (MINLP) to describe the design and dis-
patch of a distributed combined heat and power generation system using Solid
Oxide Fuel Cells (SOFC), PV, and batteries for commercial buildings for a
time horizon of one year (8,760 hours). Due to the complexities of modeling
SOFCs, the authors do not attempt to model batteries or PV in detail. By
developing a convex under-estimation of the MINLP through a linearization
technique for bi- and tri-linear terms, the authors present a MIP that, with
the help of a bounding algorithm which takes days to run, solves year-long
instances to a gap less than 8%.
Through the use of a heuristic, which serves to provide the solver with
an initial feasible solution and linearizations, which include exact and con-
vex under-estimation techniques, our research contributes to the literature by
solving the design and dispatch problem to within 5% of optimality given a
candidate set of technologies in a matter of hours for a year-long demand fore-
cast with hourly fidelity. Attributes that di↵erentiate our model from those
in the literature include: (i) nonlinearities associated with modeling battery
discharge and lifetime; (ii) realistic procurement technology sets with varying
sizes and quantities, i.e., a design; and (iii) an unbiased dispatch strategy re-
flective of demand in each time period. Without loss of generality, we apply
our model to forward operating bases (FOBs), though it could also be used in
a variety of other microgrid situations.
2 Model
Our model includes two types of variables: design and dispatch, i.e., the levels
at which the procured technologies operate to meet a prescribed demand profile
for one year at an hourly time fidelity. We minimize procurement, fuel, and
lifecycle costs subject to load, capacity and system interoperability constraints.
A hybrid system incurs capital costs that originate from commercial prices and
availability, and operational costs, including those for fuel. We assume that the
hybrid system operates independently of a commercial grid (see Figure 1) and
can consist of multiple component sizes within each technology and/or of more
than one of the same size technology. PV panels form an array, while generators
are located adjacent to each other. Batteries of like type comprise a bank that
operates as a single unit to preclude modeling individual cells, which would
increase the size of the problem. PV technologies first connect to a DC-to-DC
converter for the purpose of maximum power point tracking, which links to
a bi-directional converter, while battery technologies connect directly to the
bi-directional converter. Generator technologies connect directly to the AC
bus, which connects to the power demand. We only implicitly model the bus
system and the bi-directional converter through their efficiencies.
The model acquires technologies and then assigns a fraction of the load
to each in order to supply enough power to meet the demand in each time
period. To allow for the acquisition of a variety of generator types, we do not
constrain generators to equally share the load or to operate in droop. Power
from the generators both meets demand and charges the battery so long as the
generator operates within bounds prescribed by the manufacturer. We model
the lifetime of the generator by counting the number of hours it is in operation.
A generator’s fuel consumption is related quadratically to its power output,
but manufacturer data often implies a linear relationship (see Figure 2), in
which the intercept is greater than zero.
Aside from the load, charging the batteries is the only power draw on the
system. Batteries provide power to meet the load, but are also employed as a
reserve for the renewable technologies. We do not allow a battery to charge and
discharge in the same time period. Power output from a battery is a function of
the nonlinear relationship between current and voltage; models that consider
this relationship are more accurate than those that do not for many battery
chemistries [51]. The current depends on a battery’s SOC. Batteries show a
rate-capacity e↵ect, in which the available capacity based on the SOC decreases
with higher current draw.
Figure 3a displays battery voltage as a function of SOC for a fixed discharge
and charge current [1]. By slightly restricting the SOC operating range, we
can model the voltage using a linear relationship between SOC and current.
Common to most batteries is a rate-capacity e↵ect, which implies that as the
magnitude of the discharge current increases, the available capacity decreases.
Peukert’s equation is often used to describe this behavior [24]. This concept is
also employed by [39]’s kinetic energy battery model, which relates the change
in capacity to the charge and discharge rates using a two-tank model. While
the rate-capacity e↵ect is nonlinear over a large current range, especially at
high currents, our hourly time step allows us to use a linear approximation
over the relevant current range (see Figure 3b).
charge and out gassing of lead-acid batteries [11, 22], and performance as a
function of temperature [30, 11, 22].
A battery’s lifetime is a function of how it operates and the SOC level at
the time of use [28, 40, 35, 34, 26, 56]. In Figure 4a, we present three di↵erent
use profiles: (A), (B), and (C). Regime (A) shows full discharge and charge
cycles, (B) depicts short charge and discharge cycles at a high SOC, and (C)
depicts short charge and discharge cycles at a low SOC. Given identical charge
throughput, life expectancy decreasing by regime is generally: (B), (A), and
(C). A cycle counting method would not distinguish between these cases as
each small charge and discharge would count as a full cycle. Instead of counting
cycles as defined by current reversal, we present an amp-hour (Ah) assessment
method (see Figure 4b); that is, we sum the total amount of current (Ah) that
passes through the battery for both charge and discharge. The quotient of this
value and twice the reference capacity yields the fraction of a cycle completed.
certain set elements, which are listed in each definition. A plus sign (+) sig-
nifies power going into a technology, while a minus sign ( ) indicates power
leaving. The units of each parameter and variable are provided in brackets
after its definition. We use the term “twins” to denote a tuple or a multiple
of a certain technology type to distinguish the operational patterns of and,
hence, wear on each unit.
Sets
Timing Parameters
Technology Parameters
Generator Parameters
afg , bfg , cfg fuel consumption coefficients for generator g [ Wgal gal gal
2h , W h , h ]
PV Parameters
W
st power output of technology type s in time period t [ panel ]
n̄s maximum allowable number of PV panels of technology type
s [panels]
Battery Parameters
where, for our application, the above parameter values are computed as:
iL
b = 0 8b 2 B
cref
iU
b = b
8b 2 B
cb + ⌧
iL+
b = 0 8b 2 B
cref
iU
b
+
= b
8b 2 B
c+
b
10 Scioletti et al.
Continuous Variables
Generator Variables
Battery Variables
soc
Bbkt state of charge of battery type b, twin k in time period
t [fraction]
+
Ibkt , Ibkt battery b, twin k current for charge and discharge,
respectively, in time period t [A]
soc
Vbkt battery b, twin k voltage in time period t [V]
Generator Variables
Battery Variables
+
Bbkt 1 if battery type b, twin k is charging in time period t,
0 otherwise
Bbkt 1 if battery type b, twin k is discharging in time period
t, 0 otherwise
Hybrid Power System Design and Dispatch 11
Problem (P)
(see §2.3.1 Objective Function)
Minimize
0 1
X X X X X X f
c̃j Wjk + c s Xs + ⌫ @ "j Ljk + t F̃t
A (1)
j2J k2J˜j s2S j2J k2J˜j t2T
subject to
X X XX X
+ PV
⌘j Pjkt Pbkt + Pst (1 + k̄)dP
t 8t 2 T (2a)
j2J k2J˜j b2B k2B̃b s2S
XX X X X
soc
⌘b p̄b Bbkt + p̄g Ggkt Pgkt ks PV
Pst 8t 2 T (2b)
b2B k2B̃b g2G k2G̃g s2S
X X
F̃t ⌧ (afg (Pgkt )2 + bfg Pgkt + cfg Ggkt ) 8t 2 T (3b)
g2G k2G̃g
+ soc +
Pbkt = Vbkt Ibkt 8b 2 B, k 2 B̃b , t 2 T (5a)
soc
Pbkt = Vbkt Ibkt 8b 2 B, k 2 B̃b , t 2 T (5b)
12 Scioletti et al.
soc
sb Wbk Bbkt s̄b Wbk 8b 2 B, k 2 B̃b , t 2 T (5d)
soc soc
Bbkt Bb,k 1,t + (1 Wbk ) 8b 2 B, k 2 B̃b , t 2 T : k > 1 (5e)
soc soc
Bbkt Bb,k 1,t (1 Wbk ) 8b 2 B, k 2 B̃b , t 2 T : k > 1 (5f)
soc
Vbkt = avb Bbk,t
soc
1
+
+ bvb (Bbkt + Bbkt ) + iavg int +
b rb (Bbkt Bbkt )
8b 2 B, k 2 B̃b , t 2 T : t > 1 (5g)
Ibkt iU soc
b Bbk,t 1 8b 2 B, k 2 B̃b , t 2T :t>1 (5j)
iL
b Bbkt Ibkt iU
b Bbkt 8b 2 B, k 2 B̃b , t 2 T (5k)
iL+ +
b Bbkt +
Ibkt iU + +
b Bbkt 8b 2 B, k 2 B̃b , t 2 T (5l)
+
Bbkt + Bbkt Wbk 8b 2 B, k 2 B̃b , t 2 T (5m)
+
Bbkt + Bb0 k0 t 1 8b, b0 2 B; k, k 0 2 B̃b ; t 2 T : b 6= b0 , k 6= k 0 (5n)
X
Lgk ⌧ Ggkt 8g 2 G, k 2 G̃g (6a)
t2T
!
X +
Ibkt + Ibkt
Lbk ⌧ (asoc
b dsoc soc
b Bbk,t 1) 8b 2 B, k 2 B̂b (6b)
t 2 2cref
b
¯lj
Ljk Wjk 8j 2 J , k 2 J˜j (6c)
⌫
Hybrid Power System Design and Dispatch 13
+
Pjkt , Pjkt 0 8j 2 J , k 2 J˜j , t 2 T (7a)
Ljk 0 8j 2 J , k 2 J˜j (7b)
F̃t 0 t2T (7c)
PV
Pst 0 8s 2 S, t 2 T (7d)
soc + soc
Bbkt , Ibkt , Ibkt , Vbkt 0 8b 2 B, k 2 B̃b , t 2 T (7e)
Xs 0 integer 8s 2 S (7f)
The objective function (1), minimizes the sum of four terms: (i) the cost as-
sociated with procuring various battery and generator technologies; (ii) the
cost associated with procuring various PV panels; (iii) an arbitrarily weighted
measure of the life cycles used by each technology over the total length of
operation; and (iv) a weighted measure of the cost of fuel. Our application
pertains to forward operating bases with a maximum lifetime of one year. To
reconcile time horizon lengths of other than a year, we apply the parameter
⌫, which adjusts operational costs accordingly.
Constraint (2a) ensures that the hourly dispatch strategy meets demand. The
first term represents the power from the generators and batteries, accounting
for power system losses; the second term captures the power to charge the
batteries, and the third term reflects the contributions of PV power. The
14 Scioletti et al.
right-hand side is the product of the forecasted demand for the time period
and an overage load factor. Due to the intermittence of solar power, constraint
(2b) enforces “spinning reserves,” which ensure that a backup power source,
either batteries and/or generators, is available to meet a fraction of the load
supplied by PV. Constraint (2c) breaks symmetry and forces the procurement
of twins of technology j to occur in a fixed order [54]. These constraints do
not guarantee a decrease in computation time in every instance we solve, but
they do tend to minimize long solution times (see Section 4).
2.3.4 PV Operations
We limit the PV output power per panel to st in constraint (4a). The an-
ticipated solar panel output results from a PVWatts simulation run a priori,
which accounts for performance characteristics such as location, panel effi-
ciency, tilt, and angle. Constraint (4b) limits the number of panels considered
for procurement given the expected land area available.
Constraints (5a) and (5b) represent the nonlinear relationship between voltage,
current, and the power associated with charging and discharging the battery,
respectively. Constraint (5c) updates the battery SOC, which is a function of
its previous SOC and the discharge and charge currents. An efficiency parame-
ter associated with the second term signifies that when the battery charges, the
state of charge receives a fraction of the incoming power due to the conversion
from AC to DC power. For time period t = 1, the constraint is:
!
soc 0 ⌘b+ Ibkt
+
Ibkt
Bbkt = bb Wbk + ⌧ 8b 2 B, k 2 B̃b , t = 1 (8)
cref
b
constraints are redundant and may be removed. Constraint (5g) models the
battery voltage as a function of its previous state of charge and the direction
of current flow, which, for state of charge levels between a certain range, is
linear (see Figure 3a).
Constraints (5h) and (5i) bound the net power flow of each battery per
time period, while constraints (5j) through (5l) similarly constrain current
flow. For time period t = 1, constraint (5j) is:
Ibkt iU 0
b bb Bbkt 8b 2 B, k 2 B̃b , t = 1 (9)
Constraints (5m) and (5n) prevent simultaneous charge and discharge for
a given battery, and for di↵erent battery-twin combinations, respectively.
2.3.6 Lifecycle
Finally, constraints (7a) - (7e) ensure that the appropriate variables in our
formulation assume continuous, non-negative values. Constraints (7f) - (7i)
enforce integer and binary restrictions, as appropriate.
2.4 Linearization
Model (P) is nonlinear in that there is one quadratic term (see constraint
(3b)), and bilinear terms exist within constraints (5a), (5b), and (6b). To
increase tractability of the corresponding model instances, we present (U ), a
linearization of (P) which corresponds to an under-estimation of the original
problem.
We can approximate a quadratic function by using piecewise linear func-
tions; however, in our case, the data provided by the manufacturers corre-
sponds to a line (see Figure 2), so we set afg equal to 0, thereby eliminating
the quadratic term. The bilinear terms assume one of two forms: (i) the prod-
uct of a binary variable and a continuous variable, and (ii) the product of two
continuous variables. We provide an exact method to linearize the former, and
use a convex under-estimation technique for the latter. We do not explicitly
16 Scioletti et al.
present the constraints for the case in which t = 1 because the only di↵erence
is that for this case, b0b replaces Bbk,t
soc
1 (which occurs when t > 1).
Substituting the voltage constraint (5g) directly into the power constraints
(5a) and (5b), we obtain:
✓ ◆
+ + avg int + +
Pbkt = avb Bbk,t
soc v
1 + bb (Bbkt + Bbkt ) + ib rb (Bbkt Bbkt ) Ibkt
We can simplify equations (10) and (11) by distributing the respective cur-
rent variable and removing the irrelevant charge or discharge binary variable
in each equation. For example, if a battery is charging during a time period,
it cannot be discharging, so we remove the discharge binary variables Bbkt .
+
Pbkt = avb Bbk,t
soc +
1 Ibkt + (bvb + iavg int + +
b rb )Bbkt Ibkt
We distribute the terms on the right hand side of the lifecycle constraint
(6b) to identify bilinear terms consisting of SOC and current:
+ +
!
X asoc
b Ibkt dsoc soc
b Bbk,t 1 Ibkt + asoc
b Ibkt dsoc soc
b Bbk,t 1 Ibkt
Lbk ⌧
t 2 2cref
b
8b 2 B, k 2 B̂b (14)
Auxiliary Variables
Equations (12), (13), and (14) contain two sets of bi-linear terms, for each
of which we define a nonnegative continuous variable:
+
Ybkt , Ybkt battery b, twin k exact linearization variable representing
the product of a binary and continuous variable for charge
and discharge, respectively, in time period t [A]
+
Zbkt , Zbkt battery b, twin k linear approximation variable representing
the product of two continuous variables for charge and
discharge, respectively, in time period t [A]
Hybrid Power System Design and Dispatch 17
+ +
Ybkt , Ybkt , Zbkt , Zbkt 0 8b 2 B, k 2 B̃b , t 2 T (15)
+ + +
Ybkt = Bbkt Ibkt 8b 2 B, k 2 B̃b , t 2 T (16)
Ybkt = Bbkt Ibkt 8b 2 B, k 2 B̃b , t 2 T (17)
+ soc +
Zbkt = Bbk,t 1 Ibkt 8b 2 B, k 2 B̃b , t 2 T : t > 1 (18)
soc
Zbkt = Bbk,t 1 Ibkt 8b 2 B, k 2 B̃b , t 2 T : t > 1 (19)
We then substitute these variables directly into (12), (13), and (14):
+
Pbkt +
= avb Zbkt + (bvb + iavg int +
b rb )Ybkt 8b 2 B, k 2 B̃b , t 2 T (20)
Pbkt = avb Zbkt + (bvb iavg int
b rb )Ybkt 8b 2 B, k 2 B̃b , t 2 T (21)
!
X asoc +
dsoc + soc
dsoc
b Ibkt b Zbkt + ab Ibkt b Zbkt
Lbk ⌧
t 2 2cref
b
8b 2 B, k 2 B̃b (22)
!
X asoc +
dsoc +
b Ibkt b Zbkt
Lbk ⌧ 8b 2 B, k 2 B̃b (23)
t 2 cref
b
+ +
All constraints involving bilinear terms contain Ybkt , Ybkt , Zbkt , and/or
Zbkt . We execute an exact technique to linearize the bilinearities associated
+
with Ybkt and Ybkt ; we invoke an approximation to eliminate the nonlinearities
+
associated with Zbkt and Zbkt .
18 Scioletti et al.
iL+ + + U+ +
b Bbkt Ybkt ib Bbkt 8b 2 B, k 2 B̃b , t 2 T (24a)
iL
b Bbkt Ybkt iU
b Bbkt 8b 2 B, k 2 B̃b , t 2 T (24b)
We can further constrain Ybkt by the upper bound on the battery’s dis-
soc
charge current and the SOC, because Bbkt Bbkt 8b 2 B, k 2 B̃b , t 2 T
when the battery is discharging, i.e., Bbkt = 1; this tightens the upper bound
imposed by constraint (24b). If the battery is not discharging, then Bbkt = 0,
which forces Ybkt = 0.
Ybkt iU soc
b Bbk,t 1 8b 2 B, k 2 B̃b , t 2 T : t > 1 (24c)
Note that constraint (24c) is similar to (5j). We do not further constrain
+
Ybkt because, for the parameters in our application, i.e., iU +
b , the bound is
sufficiently tight.
+
We then relate Ybkt and Ybkt to the respective current variable using an
+
exact relationship. For example, when a battery charges, Bbkt is 1, which
+ + + + U+ +
implies that Ibkt = Ybkt . If Bbkt is 0, Ybkt is 0 by (24a), and ib Ibkt iU
b
+
(which is redundant). The same logic holds for the discharge case.
iU +
b (1
+
Bbkt +
) Ibkt +
Ybkt iU +
b (1
+
Bbkt ) 8b 2 B, k 2 B̃b , t 2 T (24d)
iU
b (1 Bbkt ) Ibkt Ybkt iU
b (1 Bbkt ) 8b 2 B, k 2 B̃b , t 2 T (24e)
By substituting constraints (24a) through (24e) for constraints (16) and
+
(17) and adding nonnegativity of Ybkt , Ybkt , we achieve an exact reformulation
of the product of a binary and continuous variable.
+
Zbkt iU + soc
b Bbk,t 1
+
+ s̄b Ibkt s̄b iU
b
+
8b 2 B, k 2 B̃b , t 2 T : t > 1 (25a)
+
Zbkt iL+ soc +
b Bbk,t 1 + sb Ibkt sb iL+b 8b 2 B, k 2 B̃b , t 2 T : t > 1 (25b)
+
Zbkt iU + soc +
b Bbk,t 1 + sb Ibkt s b iU
b
+
8b 2 B, k 2 B̃b , t 2 T : t > 1 (25c)
+
Zbkt iL+ soc +
b Bbk,t 1 + s̄b Ibkt s̄b iL+
b 8b 2 B, k 2 B̃b , t 2 T : t > 1 (25d)
Hybrid Power System Design and Dispatch 19
Zbkt iU soc
b Bbk,t 1 + s̄b Ibkt s̄b iU
b 8b 2 B, k 2 B̃b , t 2 T : t > 1 (25e)
Zbkt iL b
soc
Bbk,t 1 + sb Ibkt s b iLb 8b 2 B, k 2 B̃b , t 2 T : t > 1 (25f)
U soc U
Zbkt ib Bbk,t 1 + sb Ibkt s b ib 8b 2 B, k 2 B̃b , t 2 T : t > 1 (25g)
Zbkt iLb
soc
Bbk,t 1 + s̄b Ibkt s̄b iLb 8b 2 B, k 2 B̃b , t 2 T : t > 1 (25h)
Thus, (U ) removes constraints (5a), (5b), (5g), and (6b) and replaces them
with constraints (20) through (25h), and adds a non-negativity constraint
(15). The quality of solutions from (U ), compared to (P), is directly related
+
to the tightness of the convexified bounds for Zbkt and Zbkt (see Section 4.4),
which are a function of sb , s̄b , ib , ib , ib , and iU
L+ U + L
b and originate from the
rate-capacity e↵ect of the battery (see constraints (5j) through (5l)).
3 Heuristics
To reduce the size of the problem, we limit generator technologies and num-
ber of twins, i.e., the cardinality of sets G̃g , using Algorithm 1. Similarly, we
limit the number of battery technologies, i.e., the cardinality of B̃b , using Al-
gorithm 2. We fix the cardinality of the sets of generators rated less than
20 Scioletti et al.
4 Numerical Results
FOBs (Table 1), which are critical to the Department of Defense’s ability to
deploy combat forces throughout the world and numbered over 700 during the
peak of the Afghanistan and Iraq wars [52], would benefit from hybrid power
22 Scioletti et al.
Input: Purchase decision; net load (PV output Given the state of batteries,
subtracted from load) for all t; initial state of each calculate the upper bound on t ! t+1
battery; T (horizon period). their charge and discharge.
t ! 1.
Dispatch the
No No Are spinning reserve Yes assets as Yes
requirements met under
previously
the given power flow?
determined.
Output: Infeasible solution.
Output: Dispatch
solution and cost.
1
Fig. 5: Heuristic H determines a myopic dispatch strategy for a given
design decision.
because currently, power planning is not optimized for efficiency [55]. Mili-
tary commanders prioritize power reliability over energy efficiency and fuel
consumption, which is problematic because resupply operations are danger-
ous and expensive. In this subsection, we present instance-specific parameters
including demand data; technology data, which considers procurement quan-
tities; and a description that details how power flows from the hybrid system
to meet demand.
Characteristic Requirement
Personnel <150 People
Land Area (n̄s ) <100m by 100m (flat surface)
Infrastructure Type <8 tents (200 by 400 )
Peak Power Demand (max dP
t ) <300kW
Time Horizon (|T |) one year (|T |=8,760 hrs)
4.1.1 Demand
Table 2: Generator technology characteristics used. (See Section 2.2 for defi-
nitions and units.)
PV
Batteries
b2B p̄b c̃b "b l̄b ⌘b+ ⌘b rbint avb bvb cref
b cb c+
b asoc
b dsoc
b
b1 250,000 $125,000 1 1,647 0.95 0.95 0.00336 10.62 214.69 1129 0.0401 3 0.801 -0.801
b2 200,000 $100,000 1 1,647 0.95 0.95 0.0042 10.62 214.69 904 0.0401 3 0.801 -0.801
b3 150,000 $75,000 1 1,647 0.95 0.95 0.0056 10.62 214.69 678 0.0401 3 0.801 -0.801
b4 100,000 $50,000 1 1,647 0.95 0.95 0.0084 10.62 214.69 452 0.0401 3 0.801 -0.801
b5 50,000 $25,000 1 1,647 0.95 0.95 0.01679 10.62 214.69 226 0.0401 3 0.801 -0.801
b6 25,000 $12,500 1 1,647 0.95 0.95 0.03358 10.62 214.69 113 0.0401 3 0.801 -0.801
Hybrid Power System Design and Dispatch 25
Power System
We assume that the hybrid system connects to the power demand through
the Power Distribution Illumination System Electrical (PDISE), which has an
internal bus capable of system frequency regulation. PDISE is the principal
distribution system of the U.S. Army and is compatible with military generator
sets from 5kW to 200kW [4, 5, 7]. Preliminary simulation runs have shown
our results to be feasible from a power flow standpoint.
Table 4: Cardinality of sets G̃g and B̃b using Algorithm 1 and Algorithm 2,
respectively (see Section 2.2 for definitions).
Instance |G̃g1 | |G̃g2 | |G̃g3 | |G̃g4 | |B̃b1 | |B̃b2 | |B̃b3 | |B̃b4 | |B̃b5 | |B̃b6 |
Bagram 2 2 2 2 0 1 1 1 0 0
Bamako 1 2 2 2 0 0 0 1 1 1
Boston 3 2 2 2 1 1 1 0 0 0
Brazzaville 0 1 1 1 0 0 0 0 1 1
Buenos Aires 2 2 2 2 0 0 1 1 1 0
Dili 0 1 1 1 0 0 0 0 1 1
Dushanbe 2 2 2 2 0 1 1 1 0 0
Gangneung 3 2 2 2 0 1 1 1 0 0
Istanbul 2 2 2 2 0 1 1 1 0 0
Kuwait 2 2 2 2 0 0 1 1 1 0
Mexico City 1 2 2 2 0 0 0 1 1 1
San Salvador 0 1 1 1 0 0 0 0 1 1
Springfield 3 2 2 2 1 1 1 0 0 0
Tallinn 3 2 2 2 1 1 1 0 0 0
We attempt to solve (P) for a smaller time horizon of 24 hours using existing
MINLP solvers at their default settings that accept models coded in GAMS
version 24.1.3 [21], which include BARON version 12.5 [50] and Couenne
(Couenne Library 0.4) [18], as well as the open-source solver BONMIN (BON-
MIN Library 1.7) [20]. BONMIN solves a continuous nonlinear program at
each node of the search tree, while BARON attempts to underestimate the
objective function. Couenne, similarly, uses linear relaxations to bound the
26 Scioletti et al.
problem. Any feasible solution to (P) provides an upper bound to the prob-
lem. We set termination conditions as the minimum of a 5% optimality gap
and a time limit of three hours per instance.
Table 5: The size of (P) for a time horizon of one day (|T |=24) over all
instances ranges based on the set of technologies. “Maximum” represents the
instances that consider the highest number of technologies, while “Minimum”
depicts the contrary.
Constraints Variables
Linear Nonlinear Continuous Binary
Maximum 2,145 504 1,176 491
Minimum 834 336 638 198
The nonconvexity of (P) challenges these solvers (Table 6). BARON solves
(P) for four of the fourteen instances within the prescribed criteria, while
BONMIN solves only two given the same criteria. Interestingly, the former
solver provides tighter gaps than the latter, despite the latter being only a
local solver and therefore providing only local lower bounds. Couenne yields
feasible solutions for all instances, but none within the desired gap. By con-
trast, when we solve (U ) for |T | = 24 hours, we obtain solutions to all fourteen
instances within the desired gap in less than one second. Seeding (P) with the
procurement decision from (U ) and solving with any of the three pieces of
nonlinear software we use did not improve performance; seeding the nonlin-
ear model with more than the procurement decision from the linear model
renders the constraints associated with battery state-of-charge relationships
and battery lifecycle infeasible. The poor performance of these MINLP solvers
on the majority of these small instances suggests that (P) is not a tractable
formulation; therefore, we instead focus our e↵orts on (U ).
4.3 Solving (U )
Our model (U ) is a MIP for which we solve all fourteen instances using
CPLEX version 12.5.1.0 [2], a commercial state-of-the-art solver that employs
the branch-and-bound algorithm coupled with heuristics to improve the best
integer solution and cuts to improve bounds. We also employ our own heuris-
tics (see Section 3), the purpose of which is to provide our linear-integer solver
with a “warm start”; however, because they do so in a myopic manner, not
having clairvoyance regarding the variability in the load still allows us to pro-
duce solutions within approximately 5% of optimality with designs that can
be implemented in the field, thus mitigating the potential, detrimental e↵ects
on our solution of not having solved a stochastic model.
Because operational decisions at the beginning of the year likely have little
impact on those at the end of the year, we attempt to reduce model size
Hybrid Power System Design and Dispatch 27
Table 6: Solutions from (P) for each instance given a shortened time horizon
(|T | = 24 hrs). Termination criteria: min(3 hours, optimality gap 5%).
†Model did not find a feasible solution.
by aggregating instances into three-hour and twelve-hour time periods for all
14 locations with demand, PV power output per system, and fuel cost by
period set to the mean of each time period. However, because these decisions
are strongly linked by the design, the aggregated scenarios produce solutions
insufficiently robust to handle di↵erent operating circumstances at di↵erent
times of the year. Specifically, these solutions are associated with designs that
tend to have less battery capacity when compared to those obtained when
solving for hourly dispatch. Optimized dispatch with one-hour time periods
uses the battery to balance load while running diesel generators at or near the
rated capacity; however, longer time periods limit the battery’s maximum rate
of charge or discharge over a single time period, which curtails the battery
utility overall. Furthermore, the model sees less variability and lower peaks
with the aggregated values, which can favor designs with diminished diesel
and battery capacity that would be infeasible under problems with hourly
time periods. Therefore, we consider all 8,760 hours in our instances, which
yields large problems (see Table 7), and an incentive to develop strategies to
expedite solutions.
To this end, we use the non-default CPLEX setting “Threads 15” to facil-
itate concurrent optimization and “MemoryEmphasis 1,” which attempts to
reduce the memory storage requirements of the problem. We set branching
priorities based on complexity in the following, decreasing order: battery pro-
curement and generator procurement by rated power. Similar to (P), we set
an optimality gap termination condition of 5%; however, we set the time limit
to ten hours, because the year-long time horizon greatly increases the size of
the problem compared to (P).
28 Scioletti et al.
Constraints Variables
Linear Continuous Binary
Bagram 1,375,333 499,347 175,214
Bamako 1,340,290 499,346 175,214
Boston 1,778,296 621,995 262,821
Brazzaville 700,806 280,334 70,086
Buenos Aires 1,375,333 499,347 175,214
Dili 700,806 280,334 70,086
Dushanbe 1,375,333 499,347 175,214
Gangneung 1,778,296 621,995 262,821
Istanbul 1,375,333 499,347 175,214
Kuwait 1,375,333 499,347 175,214
Mexico City 1,340,290 499,346 175,214
San Salvador 700,806 280,334 70,086
Springfield 1,778,296 621,995 262,821
Tallinn 1,778,296 621,995 262,821
With the heuristic, we are able to find solutions using model (U ) for all
instances within a 5% optimality gap in three hours or fewer; results are re-
ported using the symmetry-breaking constraints (3e), (5e), and (5f); while
their e↵ect on performance is not uniform, we retain these redundant con-
straints to minimize long solve times. Table 8 displays solutions and solve
times for the fourteen instances with and without a warm start; those with a
higher maximum demand take longer to solve because the number of allowable
procurement decisions is greater (see Table 4).
Table 8: Solutions from (U ) for each instance (|T | = 8,760 hrs). Termination criteria: min(10 hours, optimality gap 5%)
(see Section 2.2 for definitions).
OBJ Value1 Fuel Use Gap Time Procurement2 Gen Total3 Max Demand4 Heuristic5
($) (gal) (%) (hrs:min) (kW) (kW) (hrs:min)
Bagram 2,092,916 29,048 4.93 6:31 g1 ,g1 ,g2 ,g3 ,g4 ,g4 ,b2 ,s1 305 240 1:31
Bamako 1,062,946 13,789 5.00 3:01 g1 ,g4 ,b4 ,s1 115 125 1:55
Boston 3,536,683 56,192 3.34 8:24 g1 ,g1 ,g1 ,g4 ,b3 ,s1 315 334 0:11
Brazzaville 1,270,267 17,677 3.28 0:47 g2 ,g4 ,b5 ,s1 75 84 3:09
Buenos Aires 1,678,616 24,015 4.98 7:27 g1 ,g1 ,b3 ,s1 200 185 0:10
Dili 1,478,706 22,133 4.89 0:36 g2 ,b5 ,s1 60 87 0:17
Dushanbe 2,205,276 31,652 3.53 7:57 g1 ,g2 ,g3 ,g4 ,g4 ,b2 ,s1 220 231 0:18
Gangneung 2,654,282 40,560 4.97 6:00 g1 ,g1 ,g1 ,b2 ,s1 300 255 0:17
Istanbul 2,243,992 33,530 3.99 5:51 g1 ,g1 ,g4 ,b2 ,s1 215 213 0:17
Kuwait 1,690,109 24,322 4.45 4:10 g1 ,g4 ,b3 ,s1 115 148 0:17
Mexico City 1,178,090 15,811 4.88 7:40 g1 ,g4 ,b4 ,s1 115 122 0:39
San Salvador 980,405 12,940 1.95 1:03 g2 ,g4 ,b5 ,s1 75 87 0:09
Springfield 2,655,202 39,569 2.69 7:50 g1 ,g1 ,g2 ,g4 ,b1 ,s1 275 315 0:18
Tallinn 4,047,348 64,557 3.24 6:12 g1 ,g1 ,g1 ,g4 ,b3 ,s1 315 309 0:17
1 OBJ Value: represents sum of lifecycle, fuel, and procurement costs; see Expression 1.
2 Procurement: note s1 represents 75 panels. Common to all instances is the purchase of the maximum number of solar panels.
3 Gen Total represents the sum of the power ratings for all procured generators in kW:
X X
p̄g Wgk .
g2G k2G̃g
4 max
Max Demand is the maximum demand in kW per time period per instance over the year-long time horizon: t2T
(1 + k̄)dP
t [kW].
5 Heuristic represents computation time to solve (U ) with a “warm start.”
solar panels reduce the e↵ective demand, but we limit their procurement due
to the large area they occupy. Generally, the restrictions on the number of
panels limit the total PV output to a fraction of an instance’s peak demand so
PV rarely provides more power than demanded, thus increasing the necessity
for generators.
Generators operating at less than 30% of their rated power use more fuel
and require more maintenance. Our solutions demonstrate that generators
operate at close to their rated power whenever possible. Figure 7 depicts the
quotient of the total number of hours a generator operates at greater than 30%
of its capacity and the total number of hours it operates cumulatively over the
time horizon. On average throughout all instances, generators operate at or
above 30% of their rated power more than 96% of the time. The model chooses
to procure batteries for all cases.
shifting allows both generators to operate at high efficiency, which reduces fuel
consumption and demonstrates the usefulness of the battery in this situation.
Table 9: Fuel consumption results for (U ) resulting from three procurement options, which include (i) a hybrid system (generator, PV, and
battery), (ii) a generator-only system, and (iii) a generator- and PV-only system, for each instance (|T | = 8,760 hrs). Termination criteria:
min(10 hours, optimality gap 5%).
+
Pbkt , Pbkt power into and out of battery b, twin k, in time period t,
respectively, computed from a dispatch solution obtained
from (U )
+
P̂bkt , P̂bkt power computed via nonlinear constraints (12) and (13),
respectively, into and out of battery b, twin k, in time
+
period t given values of Ibkt and Ibkt , respectively, and
soc
Bbk,t 1 obtained from (U )
+
bkt , bkt the di↵erence between the actual power into and out of
battery b, twin k, in time period t as modeled in (U ) (see
constraints (20) and (21)), respectively, and the
corresponding theoretical power as modeled in (P) [kW]
dˆpbk the sum over the time horizon of the quotient of the
di↵erence between the total amount of battery b, twin k
power over-estimated and the total amount
underestimated, and the demand converted to [kW] [%]
X✓ + ◆
dˆpbk = bkt bkt
100% 8b 2 B, k 2 B̃b (28)
t2T
dP
t
l L̂bk
bk = 100% 8b 2 B, k 2 B̃b (29)
Lbk
The results given in Table 10 demonstrate that across all fourteen instances,
relative to a corresponding, hypothetical solution from (P): (i) our model over-
estimates Pbkt by as much as 2.8kW per time period, but this is less than 5% of
+
the average demand; (ii) our model under-estimates Pbkt by as much as 1kW;
32 Scioletti et al.
and (iii) the combination of (i) and (ii) over the time horizon contributes to less
than 0.02% of the total demand summed over the time horizon. It is possible
that changes to the dispatch in one time period a↵ect dispatch in subsequent
time periods and, hence, the quality of our approximations; however, we seek
a dispatch solution at hourly time fidelity, which assumes a steady-state de-
mand and implies that small perturbations due to approximation error are not
particularly consequential. Lastly, (iv) our model over-approximates lifecycles
consumed by roughly 25%. This is acceptable because lifecycles provide only
a small contribution to the objective function value; furthermore, this over-
approximation results in a conservative assessment, which is desirable to o↵set
our omission of temperature e↵ects, which may age the battery more rapidly
than estimated in a solution to (U ).
The approximation error of our model results from the bounds correspond-
+
ing to the linearization associated with auxiliary variables Zbkt and Zbkt . Our
+
model seeks to minimize Zbkt as a means to conserve power generated either
to enter the battery or for direct use in meeting demand. On the other hand,
the higher the value of Zbkt , the more power we are able to withdraw from the
battery. The tightness of the coefficients on the variables on the right hand
+
side of constraints (25a) and (25b) in the case of Zbkt , and of constraints (25g)
and (25h) in the case of Zbkt , a↵ects the accuracy of the approximation. We do
note, however, that for all instances, the procurement strategy we obtain from
solving (U ) yields a feasible completion to the resulting mixed integer nonlin-
ear problem for a 24-hour instance. Longer horizons result in tractability (but
not necessarily feasibility) issues.
Table 10: An analysis of the linearized constraints in (U ) versus the nonlinear constraints in (P).
Positive values represent an over-estimation, while negative values represent an under-estimation.
Percent of Lifecycle
Purchased Discharge2 Charge3
max max + Demand4 Approximation5
Battery1 ( b2B,k2 ) ( b2B,k2 bkt ) max
B̃ ,t2T bkt
b B̃ ,t2T
b ( max dˆp )
b2B,k2B̃b bk
( b2B,k2 l )
B̃ bkb
Bagram b2 2.30 -0.80 0.031 90
Bamako b4 1.15 -0.40 0.050 99
Boston b3 1.73 -0.60 0.004 70
Brazzaville b5 0.58 -0.20 0.005 71
Buenos Aires b3 1.73 -0.60 0.030 76
Dili b5 0.57 -0.20 -0.004 69
Dushanbe b2 2.23 -0.80 0.010 67
Gangneung b2 2.33 -0.80 0.023 72
Istanbul b2 2.31 -0.80 0.024 74
Kuwait b3 1.73 -0.60 0.033 78
Mexico City b4 1.16 -0.40 0.025 79
San Salvador b5 0.57 -0.20 0.006 71
Springfield b1 2.89 -1.00 0.021 71
Tallinn b3 1.74 -0.60 0.013 76
1 Purchased Battery details the type of battery purchased as part of the procurement solution for each instance.
2 Discharge represents the difference between the actual and theoretical power discharged by the battery in kWs (over-approximation 0) per
Equation (26).
3 Charge represents the difference between the actual and theoretical power received by the battery in kWs (under-approximation 0) per Equation
(27).
4 Percent of Demand is the sum of the quotient of the difference of total amount of batter power over-estimated minus the total amount underesti-
mated and the demand over the time horizon per Equation (28).
5 Lifecycle Approximation represents the quotient of the theoretical and actual total lifecycles per Equation (29).
Hybrid Power System Design and Dispatch 33
5 Conclusions
Acknowledgements The authors would like to thank Dr. Mark Spector, Office of Naval
Research (ONR) for full support of this research e↵ort under contract award #N000141310839.
We appreciate the consult of Dr. Paul Kohl of Georgia Tech, on whom we relied on heav-
ily for battery expertise. We are also grateful to Evan Jones and Kimberly Fowler, Pacific
Northwest National Lab (PNNL), for providing the FOB load data from EnergyPlus. Thanks
is due to Gavin Goodall for his help in conducting model runs. Lastly, we acknowledge the
support of the National Renewable Energy Lab (NREL) for its involvement in this project,
particularly in addressing PV applications and specifically to Stephen Frank for helpful
comments on prior versions of this paper.
Hybrid Power System Design and Dispatch 35
References
Appendix
else if PVt + Gent > Loadt + BInt then . max charge battery
PV
Pst st Xs 8s 2 S; Pbt 0
+ P
Pbt BInt ; Pgt Loadt + BInt PVt
g2Ĝ
else if PVt + Gent > Loadt then . charge battery
PV
Pst st Xs 8s 2 S; Pbt 0
+
Pbt PVt + Gent Loadt ; Pgt p̄g Ggt 8g 2 Ĝ
else . discharge battery
PV (Loadt PVt Gent ) +
Pst st Xs 8s 2 S; Pbt ; Pbt 0
⌘b
Pgt p̄g Ggt 8g 2 Ĝ
+
soc soc Pbt Pbt
Bbt Bb,t 1 + ref avg int ref avg int
cb (av B soc +bv
b b,t 1 b
+ib rb ) cb (av B soc +bv
b b,t 1 b
ib rb )
. update battery SOC
t t+1 . continue until time horizon completed or infeasible
P V 8s 2 S, t 2 T ; P + 8t 2 T ; P
return Pst bt bt 8t 2 T ; Pgt 8g 2 Ĝ, t 2 T ;
soc 8t 2 T ; G
Bbt gt 8g 2 Ĝ, t 2 T . calculate cost
This material is based upon work supported by the U.S. Department of Energy, Office of Science, under contract
number DE-AC02-06CH11357.
The submitted manuscript has been created by UChicago Argonne, LLC, Operator of Argonne National Laboratory
(“Argonne”). Argonne, a U.S. Department of Energy Office of Science laboratory, is operated under Contract No.
DE-AC02-06CH11357. The U.S. Government retains for itself, and others acting on its behalf, a paid-up
nonexclusive, irrevocable worldwide license in said article to reproduce, prepare derivative works, distribute copies
to the public, and perform publicly and display publicly, by or on behalf of the Government. The Department of
Energy will provide public access to these results of federally sponsored research in accordance with the DOE
Public Access Plan. http://energy.gov/downloads/doe-public-access-plan.