Sie sind auf Seite 1von 8

Water distribution networks as flexible loads: a

chance-constrained programming approach


Anna Stuhlmacher & Johanna L. Mathieu
Electrical Engineering and Computer Science
University of Michigan, Ann Arbor, MI, USA
{akstuhl, jlmath}@umich.edu

Abstract—There is a greater need for flexibility in the power that PDN voltage constraints are satisfied in the presence of
distribution network (PDN) due to increasing levels of renewable uncertainty, we formulate the problem as a chance-constrained
energy resources. Here, we consider using the water distribution optimization problem and develop a real-time control policy
network (WDN) as a flexible load. We formulate a chance-
constrained multiperiod optimization problem to schedule water that adjusts the water supply pumps’ flow rates (and conse-
distribution pumps subject to WDN and PDN constraints while quently power consumption) from the scheduled operation as
managing power demand forecast uncertainty. To do that, we a function of forecast error when voltage violations happen.
develop a control policy that adjusts the WDN’s operation when The optimization problem determines both the WDN schedule
a PDN constraint violation is present. Since the resulting problem and the control policy parameters.
is nonconvex, we utilize approximation and relaxation techniques
to transform the problem into a convex program and solve via the There are significant bodies of work on optimal WDN
scenario approach. Through detailed case studies, we verify the
performance of the control policy to ensure network constraints operation and optimal PDN operation, see [3], [4] for a review.
are satisfied despite uncertainty. We find that we can successfully There is also substantial work considering chance-constrained
schedule and control the WDN to provide flexibility to the PDN scheduling and control policies to handle uncertainties in
for many realistic water and power demand scenarios. power systems operation [5]–[7]. The number of papers that
Index Terms—chance-constrained optimization, demand re- consider coordinating water and power networks are limited.
sponse, distribution networks, water networks In [8], water network operators respond to signals from
the PDN to consume surplus energy. A water-power flow
problem is developed in [9] and [10], where [9] implements
I. I NTRODUCTION a distributed solution algorithm and [10] proposes controlling
There is increasing interest in optimization and control of irrigation systems to improve energy flexibility. In [11], the
coupled critical infrastructure systems to improve the sys- authors formulate an optimal water pumping problem to
tems’ reliability, operational efficiency, and flexibility [1]. In provide energy flexibility to the power transmission network.
this paper, we explore the intrinsic coupling between power
To the best of our knowledge, optimal planning of a coupled
distribution networks (PDNs) and water distribution networks
WDN-PDN considering uncertainty has not been addressed
(WDNs). These networks are spatially and temporally coupled
except in our preliminary work [12]. In [12], we formulated a
through the power consumption of water pumps and storage
chance-constrained water pumping problem considering water
capabilities of water tanks. PDNs are facing new challenges
demand uncertainty. In contrast, here, we consider power
due to increasing levels of uncertainty from distributed energy
demand uncertainty, leading to a substantially different for-
resources like solar photovoltaics. WDNs are also experiencing
mulation. Moreover, [12] did not include storage tanks, PDN
issues such as increasing water demand and more energy in-
unbalance, or a multiperiod problem, all of which we include
tensive water treatment methods due to a shrinking fresh water
here. Importantly, the control policy in [12] and related work
supply [2]. Currently, the WDN is treated as an uncontrollable
[6], [13] ensures supply and demand are balanced, whereas
load on the electricity network. However, WDN supply pumps
here the control policy determines corrective control actions
and storage tanks can be used as a source of flexibility, helping
that prevent constraint violations.
the PDN manage uncertainty that could lead to constraint
violations. The contributions of this paper are the (1) design of a
The goal of this paper is to develop an approach to sched- corrective control policy that responds to voltage constraint
ule WDN operation given WDN and PDN constraints. This violations in real-time, (2) formulation of a chance-constrained
problem is challenging since both networks include nonlinear optimization problem to choose a pumping schedule and con-
and nonconvex constraints. Additionally, the PDN is subject trol policy parameters considering power demand uncertainty,
to power demand uncertainty at buses with loads. To ensure (3) reformulation of the problem into a chance-constrained
convex quadratically constrained program using relaxations
and approximations, (4) application of the scenario approach
Submitted to the 21st Power Systems Computation Conference (PSCC 2020).
This work was supported by the National Science Foundation Graduate to solve the problem, and (5) assessment of the approach’s
Research Fellowship under Grant No. DGE 1256260. performance through case studies.

21st Power Systems Computation Conference Porto, Portugal — June 29 – July 3, 2020
PSCC 2020
used, such as [15]. In [14], the authors neglect the loss terms
and assume that the voltage unbalance at each bus is small.
Let Φ = {a, b, c} denote the three phases of the network. The
linearized power flow model is [14]
Ytk = Ytn − Mkn Ptn − Nkn Qtn ∀ k ∈ K, t ∈ T , (1)
X
Ptk = PtL,k + Ptn ∀ k ∈ K, t ∈ T , (2)
n∈Ik
X
Qtk = QtL,k + Qtn ∀ k ∈ K, t ∈ T , (3)
n∈Ik

where Ytk := [Ytk,φ ]φ∈Φ is a 3 × 1 vector of squared voltage


magnitudes at bus k. Similarly, Ptk and Qtk are 3×1 vectors of
Fig. 1. Power (left) and water (right) distribution networks. The dashed lines the real and reactive power flow entering bus k. The matrices
show where the supply pumps are connected in the PDN. Mkn and Nkn are formed from the line impedance matrices.
II. P ROBLEM D ESCRIPTION The set Ik contains all buses that are directly downstream
of bus k. The variables PtL,k := [PL,k,φ t
]φ∈Φ and QtL,k :=
We consider a coupled WDN and PDN where the water t
[QL,k,φ ]φ∈Φ are 3 × 1 vectors of the power demand at bus k,
pumps are loads on the PDN. See Fig. 1 for an example, where the real and reactive power consumed at each phase is
which will be used in our case studies. In this section, we first (
describe how the pumps are scheduled and controlled to satisfy t ρtk,φ + pte,φ , if pump e connected to bus k
PL,k,φ = , (4)
network constraints. Then, we detail the WDN and PDN ρtk,φ , otherwise
models and apply relaxations to make the problem convex. (
t t
We introduce uncertainty and develop the control policy used t ζk,φ + qe,φ , if pump e connected to bus k
QL,k,φ = t
, (5)
to modify pump operation in real-time. Last, we formulate the ζk,φ , otherwise
chance-constrained optimization problem.
∀ k ∈ K, φ ∈ Φ, t ∈ T , where ρtk,φ and ζk,φ
t
are the forecasted
A. Schedule and Real-time Control of WDN Pumps real and reactive net load, i.e., actual load minus distributed
We solve for the WDN operational schedule (i.e., pump generation (which we assume is uncontrollable), at bus k and
flow rates and tank levels) over a scheduling horizon subject phase φ. The variables pte,φ and qe,φ
t
are the real and reactive
to WDN and PDN constraints. We ensure that the network power demands of pump e on phase φ. We model the pumps
constraints are satisfied for the WDN’s scheduled operation as balanced three-phase constant power loads with real-to-
given forecasted water and power demands. The scheduling reactive power ratios of µe .
horizon is a set of discrete periods t ∈ T of duration ∆T . The bus voltages are constrained
Since the consumer power demand is uncertain, some 2 2
Vkmin ≤ Ytk,φ ≤ (Vkmax ) ∀ k ∈ K, φ ∈ Φ, t ∈ T , (6)
forecast errors may cause PDN constraint violations when the
WDN is operated as scheduled. To address this, we develop where Vkmin and Vkmax are the lower and upper voltage limits
a control policy that adjusts the water supply pumps given at bus k. The voltage at the feeder head is regulated to Vset .
power demand forecast errors. Not all power demand forecast We could also include apparent power flow constraints on the
errors require corrective action by the water pumps. In those lines; however, since a voltage limit violation is more likely
cases, the pumps maintain their schedule. We assume that the to occur first, we neglect them.
WDN operator has full knowledge of the PDN and the WDN
operator determines when to use the control policy based on C. Water Distribution Network Model
the realized power demand forecast error at each bus and We consider an urban water distribution network. We as-
phase. Although this assumption may be impractical due to sume the pipes’ water flow does not change direction over
the present lack of communication systems and information the scheduling horizon. This assumption eliminates the need
sharing between WDNs and PDNs, this work provides us for binary variables when modelling pipes without pumps or
insights into the best possible solution without considering valves. It is frequently used in the literature, e.g, in [8], [9],
these challenges. Section II-F develops the control policy and [16]. Note that pumps and valves only allow unidirectional
Section III describes how we jointly optimize the schedule and water flow. As a result, we can represent the WDN as a
control policy parameters. directed graph (N , E) composed of a set of nodes N and
a set of edges E. Each node can be described as a junction
B. Power Distribution Network Model j ∈ J , reservoir j ∈ R, or elevated storage tank j ∈ S, i.e.,
We consider an unbalanced, radial PDN that includes a N = J ∪ R ∪ S. The edges are pipes that connect nodes.
set of buses K to which consumers and water pumps are A pipe may include a pump or a valve, (P ∪ V) ⊆ E. We
connected. We use the 3-phase, linearized, unbalanced model assume a pump’s on/off status is determined in advance of the
presented in [14]; however, other convex formulations could be scheduling problem. The WDN is described by the hydraulic

21st Power Systems Computation Conference Porto, Portugal — June 29 – July 3, 2020
PSCC 2020
head Hjt at node j and the volumetric flow rate xte through the head loss Lte ≥ 0 is a decision variable. While pumps
pipe e. Most urban WDNs are capable of operational control are traditionally modeled with a quadratic pump characteristic
through their SCADA system [17]. We use the same hydraulic curve, we neglect the quadratic term since its contribution
constraints as we did in [12] with several modifications: we is usually very small compared to the linear term [10]. The
include water storage tanks, we add time indexing so we pumps’ flow rates are bounded and nonnegative. The power
can formulate a multiperiod problem, we approximate the consumption of a pump is a function of the head gain and
pump characteristic curve with a linear function, and we use flow rate
the Darcy-Weisbach method instead of the Hazen-Williams
method to model the pipe head loss. The last two modifications pte,φ = -β Ĥet xte ∀ e ∈ P, φ ∈ Φ, t ∈ T , (12)
t
allow us transform the optimization problem into a convex xmin max
e ≤ xe ≤ xe ∀ e ∈ P, t ∈ T , (13)
program.
where xmin and xmax are pump e’s flow rate limits, and β is a
1) Nodes, N : The hydraulic head Hjt is composed of the e e
constant. Note that pte,φ is a quadratic function of the pump’s
pressure head and the elevation h̄j . The node constraints are
flow rate. The control policy described in Section II-F adjusts
t
hmin max
j + h̄j ≤ Hj ≤ hj + h̄j ∀ j ∈ N,t ∈ T , (7) supply pumps drawing from reservoirs not in-line booster
Hjt = h̄j ∀ j ∈ R, t ∈ T , (8) pumps that increase pressure head. To ensure that water supply
X meets water demand, our control policy formulation only
aje xte = dtj ∀ j ∈ J,t ∈ T , (9) applies to pumps bringing water into the network.
e∈E
t t−1 ∆T X D. Deterministic Problem
Hj,out = Hj,out + -aje xte ∀ j ∈ S, t ∈ T , (10)
γj The deterministic problem minimizes the pumps’ electricity
e∈E
cost given the forecasted power demand subject to WDN and
where hminj and hmax
j are the minimum and maximum pressure PDN constraints
heads at node j, dtj is the water consumption at junction j, X
aje is an element in the node-edge incidence matrix describing min F t (x) (D)
x
the connection of nodes and pipes in the network, and γj is t∈T

the cross-sectional area of tank j. In (7), the hydraulic head s.t. (1) − (13),
at each node is bounded. where the decision variables are x = {xte , Hjt , Hj,out t
,
Reservoirs R are treated as an infinite source of water t t t t t
Le , Yk , Pk , Qk , pe,φ }. The electricity consumption cost asso-
with a fixed pressure head. Therefore in (8), without loss of ciated with the pump schedule at time t is
generality, the hydraulic head is set equal to the elevation head.  
For junctions J , (9) enforces that the sum of water flow X X
rates entering and exiting a junction must equal the water F t (x) := πet ∆T pte,φ 
consumption dtj at that junction. e∈P φ∈Φ
For tanks S, we use the same formulation as [8]. We model
where πet is the price of electricity at pump e and time t. We
the hydraulic head going into and out of the tank, Hjt and
t assume that the WDN is a price taker, i.e., the WDN’s power
Hj,out , respectively, and assume the inlet of the water tank
consumption has no impact on electricity prices.
is located at the top of the tank. In (10), the hydraulic head
at the tank outlet is calculated from the hydraulic head at E. Convex Relaxations
the previous time period and the net inflow of the tank. To The WDN constraints are nonconvex due to the pipe head
ensure that the tanks are not simply depleted at the end of the loss (11c) and the pump power consumption (12). Nonconvex
scheduling horizon, we constrain the final tank outlet head problems are difficult to solve and so we use a convex relax-
to be greater than or equal to the initial tank outlet head ation, specifically, we take the convex hull of both quadratic
t=|T | t=0
(i.e., Hj,out ≥ Hj,out ). Similar to (7), the tank outlet head constraints [10]. Equations (11c) and (12) become
is physically bounded by the height and elevation of the tank. 2
2) Pipes, E: The differencePin head between the sending Ĥet ≥ ke xte ∀ e ∈ E \ (P ∪ V), t ∈ T , (14a)
and receiving node, Ĥet = - j∈N aje Hjt , is equal to the Ĥet ≤ b0e + b1e xte ∀ e ∈ E \ (P ∪ V), t ∈ T , (14b)
pipe’s head loss
 0 1 t
 pte,φ ≥ -β Ĥet xte ∀ e ∈ P, φ ∈ Φ, t ∈ T , (15a)
 - me + me xe ∀ e ∈ P, (11a)
pte,φ fe0 + fe1 xte

≤ -β ∀ e ∈ P, φ ∈ Φ, t ∈ T , (15b)

Ĥet = Lte ∀ e ∈ V, (11b)
 2 where coefficients b0e and b1e provide an upper limit on head
ke xte ∀ e ∈ E \ (P ∪ V), (11c)

loss, and fe0 and fe1 provide an upper limit on pump power
∀ t ∈ T , where m0e and m1e are pump curve coefficients, and ke consumption. By replacing (11c) and (12) with (14a)-(15b),
is the resistance coefficient. The first case corresponds to pipes (D) becomes a convex quadratically constrained program. An
containing a fixed speed pump, the second to pipes containing advantage of implementing a convex hull relaxation is that
a pressure reducing valve, and the third case to pipes without extreme points of the convex hull are often in the original
a pump or valve. For pipes with pressure reducing valves, nonconvex set [10]. Since the cost of pumping is minimized

21st Power Systems Computation Conference Porto, Portugal — June 29 – July 3, 2020
PSCC 2020
in (D), the convex hull relaxation of (12) will be tight at Lte , Ytk , Ptk , Qtk , pte,φ , Cet }. Then the stochastic inequality con-
the optimum whenever we want to reduce the pump power straints can be written compactly as f (x1 , ρ) e ≤ 0 and
consumption, e.g., when there would be minimum voltage transformed into a chance-constraint
limit violations. In [10], the authors used a quasi-convex hull
e ≤ 0) ≥ 1 − ,
P (f (x1 , ρ) (20)
relaxation for (11c) (they did not assume flow direction) and
found the relaxation was tight at the optimum in their case where the constraints must jointly hold for a probability of
study. at least 1 − , where  is a user-selected violation level.
F. Compensating Power Demand Uncertainty Then, the chance-constrained problem to choose the scheduled
WDN operation and control policy parameters over a planning
Next, we consider uncertainty in consumer power demand; horizon is
we denote ρetk,φ as the change in power demand from the X
forecast at bus k and phase φ. We formulate a control policy min F t (x1 ) + gJ t
to adjust the pumps’ flow rates from the scheduled operation x1 , J t t∈T
as a function of the demand forecast errors. Since we do not s.t. (1) − (11b), (13) − (15b), (20), (MICP)
want to use the control policy for uncertainty realizations that ||C t ||2F ≤ J t ∀t∈T,
do not lead to constraint violations, we introduce an auxiliary
binary variable set ∈ {0, 1} that equals 1 when a minimum where gJ t is the flexibility cost at time t and g is a weighting
or maximum voltage limit violation would occur given the coefficient. The flexibility cost models the cost associated with
scheduled pump power consumption and the power demand adjusting pumps from their schedule in real-time (e.g., wear
uncertainty realization at time t and tear on WDN components). To prevent control actions

min 2 t t t max 2 that are unnecessarily large, we minimize the magnitude of all
0 if (Vk ) ≤ Ŷk,φ (ρe , p ) ≤ (Vk )

parameters in the control policy. This is achieved by setting the
t
se = ∀ k ∈ K, φ ∈ Φ (16) variable J t equal to the Frobenius norm squared of the control

1 otherwise
policy parameter matrix at time t. The resulting problem is a
mixed-integer random convex program.
where Ŷtk,φ (ρet , pt ) is the voltage magnitude squared at bus k
and phase φ given the power demand forecast errors ρet := III. S OLUTION A PPROACH
ρtk,φ ]k∈K,φ∈Φ and the scheduled pump power consumption
[e To solve the chance-constrained problem, we use the convex
pt := [pte,φ ]e∈P,φ∈Φ . Eqn. (16) can be reformulated scenario approach [18], which solves the problem robustly for
2 a set of scenarios. The number of scenarios required for proba-
Ŷtk,φ (ρet , pt ) − Vkmin ≥ −M set ∀ k ∈ K, φ ∈ Φ, (17) bilistic guarantees is a function of the user-selected maximum
2
(Vkmax ) − Ŷtk,φ (ρet , pt ) ≥ −M set ∀ k ∈ K, φ ∈ Φ, (18) violation level  and confidence level ψ. While there exist
scenario approaches tailored to mixed integer random convex
∀ t ∈ T , where coefficient M > 0 is sufficiently large to
programs, e.g., [19], [20], these methods require significantly
ensure that when the left side of (17) or (18) is negative (i.e., a
more scenarios than the convex scenario approach in addition
voltage violation occurs), the inequality is satisfied only when
to requiring a more computationally intensive mixed-integer
set equals 1.
solver. To simplify the formulation, we remove the binary
The control policy changes the pumps’ flow rates from the
variable set and apply the control policy to all scenarios,
schedule by
i.e., (17)-(19) in the chance constraint (20) is replaced with
ete = set Cet ρet
x ∀ e ∈ P, t ∈ T , (19)
ete = Cet ρet
x ∀ e ∈ P, t ∈ T .
where ete
x is a random variable and Cet
is a decision variable,
specifically, a control policy parameter row vector that relates The simplified formulation, referred to as (CP), is a chance-
the power demand forecast error at bus k and phase φ to a constrained convex quadratically constrained program and so
change in pump e’s flow rate. Despite the pump flow rate the convex scenario approach can be applied. The required
adjustments, the pumps and tanks must provide the same number of scenarios N for user-selected  and ψ is [18]
 
amount of water to the network. In our formulation, the tanks 2 1
are not explicitly controlled, but compensate for the deviation N≥ ln + δ , (21)
 ψ
between the supply and demand of water.
where δ is the number of decision variables. In Section IV-B1,
G. Chance-constrained Optimization Problem we verify the performance of (CP) against (MICP).
We can write the stochastic counterparts of the deter-
IV. C ASE S TUDY
ministic equality constraints (1)-(5), (8)-(11b) and inequality
constraints (6)-(7), (13)-(15b) using (e· ) to denote deviations A. Set Up
in variables due to power demand uncertainty. The complete The WDN has 2 fixed speed pumps, 2 reservoirs, 2 pressure
set of stochastic constraints also includes the control policy reducing valves, 8 junctions, and 11 pipes. We use the same
constraints (17)-(19). The decision variables in the chance- WDN as [12] with some modifications. Specifically, we add a
constrained optimization problem are x1 = {xte , Hjt , Hj,out
t
, cylindrical storage tank upstream of junction 1, with a diameter

21st Power Systems Computation Conference Porto, Portugal — June 29 – July 3, 2020
PSCC 2020
TABLE I TABLE II
C ASE S TUDIES N UMBER OF S CENARIOS N EEDED FOR S CENARIO A PPROACH
Case # of Add Capacitive Demand Multipliers User-selected Parameters Number of Periods |T |
Periods Load? Water Power  (%) ψ (%) 1 3
A 1 No 1.00 1.50 10 10−3 2145 6065
B 1 Yes 1.00 1.50 5 10−3 4289 12128
C 3 No [1.00,1.00,1.00] [1.50,1.50,1.50] 3 10−3 7148 20214
D 3 No [1.00,0.85,0.65] [1.50,1.45,1.35]
TABLE III
C OMPARISON OF MICP AND CP SOLVER SOLUTIONS
Problem Time (s) Total Cost Electricity Cost ($) Flexibility Cost
(MICP) 74488.43 25.805 25.071 0.734
of 25 m and a height of 30 m. The elevations at junction 6 and (CP) 0.27 25.805 25.069 0.736
the reservoir upstream of pump 1 are 10 m, and the minimum
pressure heads at junctions 7 and 8 are 20 m. The pump curve
B. Results
coefficients are m0e=1 = 75 m and m1e=1 = 0.005 mh2 for
pump 1, and m0e=2 = 90 m and m1e=2 = 0.001 mh2 for pump 2. 1) MICP versus CP: First, we explore the effect of remov-
The pipe parameters from [21] are used to calculate the Darcy- ing the binary variables set from our formulation. In the (CP)
Weisbach resistance coefficients ke , see [22] for details. We formulation, we apply the control policy to every scenario.
set β equal to 2.322 × 10−3 kW/CMH · m. Table III shows the results from (MICP) and (CP) for Case A
with N = 100 randomly generated scenarios Pand σ = 4%.
For the PDN, the IEEE 13-bus feeder topology is used.
Since g is 1, the flexibility cost is defined as t ||C t ||2F . The
Pumps 1 and 2 are connected to buses 10 and 4, respectively.
solutions are essentially identical but (CP) takes significantly
The load and line parameters are from [23]. The distributed
less time. However, there are cases in which we would expect
load along the line from bus 1 to 6 is placed at bus 1.
the formulations to produce different solutions, for example,
The minimum and maximum voltage limits are 0.95 pu and
those in which use of the control policy when the system
1.05 pu, respectively. We set the real-to-reactive pump power
does not need it would cause constraint violations. Further,
ratio to µe = 3, i.e., a 0.949 lagging power factor. For each
different ways of representing the cost of flexibility could lead
pump, there are 17 control policy parameters that correspond
to different solutions from (CP) and (MICP).
to each bus and phase where a load is present. We assume
that all loads are wye-connected and constant power with a 2) Convex Scenario Approach: Next, we apply the convex
0.9 lagging power factor. We ignore the voltage regulator and scenario approach to (CP) for each of the cases in Table I.
shunt admittance. We assume that the switch is closed and The results are shown in Table IV for each case, σ, and . We
we do not model the transformer between buses 4 and 5. list the electricity and flexibility costs separately. As expected,
Also, we set the voltage at the feeder head equal to 4.16 when  is reduced, the total cost increases. Additionally, there
kV line-to-neutral. The price of electricity is fixed for all is less chance of constraint violations when σ is small resulting
periods at $100/MWh. The weighting coefficient g is set to in smaller control policy parameters. For example, in Case D
1 $ · kW2 /CMH2 , and we explore how changing g effects the with σ = 3% and  = 10%, it is cheaper to schedule the WDN
solution. operation to satisfy the PDN constraints for all scenarios than
to schedule the WDN at a cheaper operation point and use the
We explore four cases, see Table I. The cases vary in number control policy to shift pumping in real-time. In Case D with
of periods and demand multipliers, which are used to modify σ = 3% and  = 5% or 3%, the flexibility costs round to
the nominal water and/or power demand uniformly across all zero but are non-zero because a small amount of flexibility is
junctions and/or buses. The entries of the demand multiplier needed to manage the additional scenarios.
vectors corresponds to different periods. In Cases A, C, and The solver computation times are reported in Table IV. As
D the PDN operates close to the minimum voltage limit. In the number of periods increases, there is a significant increase
Case B we add capacitive load, specifically, 500 kVAr at in time and memory. We attempted a scheduling problem
k = 3, φ = b and at k = 6, φ = {a, b, c} and 600 kVAr with 6 periods; however, for violation levels smaller than
at k = 10, φ = b, which increases the voltage and makes the  = 10%, we had memory storage errors. This problem could
system operate close to the maximum voltage limits. partially be addressed with more efficient coding and/or using
Table II lists the number of scenarios needed for the case methods to speed up the solver. We are currently exploring
studies. We use a Gaussian probability distribution that is ways to make the approach scalable to large networks and
truncated 3 standard deviations from the mean to randomly longer time horizons.
generate independent power demand forecast error realizations Table IV also includes the empirical violation probabilities.
for all buses and phases that have loads. The forecast error ρetk,φ For each case, σ, and , we test the optimal schedule and
for bus k, phase φ, and time t has a mean of 0 and standard control policy parameters on 100,000 independent randomly
deviation of σ × ρtk,φ where σ is a percentage. generated scenarios and report the percent of scenarios for
We solve the (MICP) and (CP) problems using the JuMP which there is at least one constraint violation. We compute
package in Julia with the GUROBI solver [24]. The optimiza- the empirical violation probabilities two ways: general refers
tion problems are solved on a 64-bit Intel i7 dual core CPU to the violation probability computed for the case in which the
at 3.40 GHz and 16 GB of RAM. control policy is applied to all scenarios and selected refers

21st Power Systems Computation Conference Porto, Portugal — June 29 – July 3, 2020
PSCC 2020
TABLE IV
S CENARIO APPROACH RESULTS
Electricity Flexibility Comp. Empirical Violation
Case σ  Cost Cost Time Probability (%)
(%) (%) ($) (s) General Selected
A 3 10 24.03 0.288 18.39 0.035 0.035
5 24.04 0.287 40.46 0.035 0.035
3 24.23 0.802 54.64 0.015 0.015
4 10 25.67 1.146 15.15 0.119 0.101
5 25.67 1.146 30.04 0.119 0.101
3 25.04 3.000 46.23 0.019 0.019
B 3 10 23.73 0.023 22.94 0.484 0.000
5 23.75 0.058 32.83 0.111 0.000
3 23.75 0.058 68.43 0.091 0.000
4 10 23.95 0.402 16.69 0.290 0.039
5 23.97 0.569 38.28 0.209 0.044
3 24.00 0.935 72.81 0.186 0.030
5 10 24.07 1.257 19.53 0.512 0.321
5 24.32 2.051 36.20 0.340 0.242 Fig. 2. 3-phase PDN voltage profile for the optimal scheduled WDN operation
3 25.01 4.271 59.70 0.196 0.127 in Case A (σ = 4%,  = 3%). The marker size at each bus and phase is scaled
C 3 10 71.75 1.162 654.82 0.123 0.123 according to the magnitude of the pump’s control policy parameters, where the
5 72.18 1.520 1717.05 0.082 0.082 top plot shows the magnitude of the negative control policy parameters and the
3 73.04 2.337 3200.44 0.029 0.029 bottom plot shows the the magnitude of the positive control policy parameters.
4 10 76.73 3.234 667.88 0.246 0.229 The magnitudes of the negative/positive control policy parameters show which
5 76.06 5.301 1525.91 0.139 0.137 buses and phases are most/least likely to cause voltage limit violations.
3 75.00 9.356 2299.50 0.055 0.055
D 3 10 59.18 0.000 581.89 0.069 0.025
5 59.19 0.000 1820.04 0.004 0.004
3 59.19 0.000 2641.91 0.004 0.004
4 10 59.24 0.002 749.27 0.055 0.047
5 59.33 0.007 1330.84 0.034 0.029
3 59.46 0.321 3021.37 0.010 0.009

to the violation probability computed for the case in which


the control policy is applied only when needed (i.e., there is a
voltage constraint violation). Therefore, the general violation
probabilities correspond to the problem actually solved with
the convex scenario approach, whereas the selected violation
probabilities correspond to the more realistic case. Note that
the general violation probability is always greater than or
equal to its corresponding selected violation probability since Fig. 3. Pump and tank schedules for the scenario approach versus the
deterministic approach for (a) Case C, σ = 4%,  = 3%, and (b) Case D,
applying the control policy when it is not needed can result in a σ = 4%,  = 3%. The edges of light/dark blue bands show the largest/average
constraint violation. Also note that all empirical violation prob- pump and tank adjustments from the scenario approach’s schedule made by
abilities are significantly less than the user-selected violation the control policy.
level, which is typical for problems solved with the scenario
approach [25]. If we had chosen a more atypical probability is close to the minimum voltage limit on phase c and we
distribution from which to draw scenarios, we would have observe that the negative control policy parameters are largest
achieved less conservative results. on phase c. In Case B (not shown), phase b is close to the
Next, we investigate how the location of the forecast error maximum voltage limit and phase a is close to the minimum
impacts the control policy parameters. Fig. 2 shows the relative voltage limit. The negative control policy parameters are
magnitude of the negative and positive control policy param- largest on phase b, followed by those on phase a.
eters associated with each bus and phase in Case A. We show Fig. 3 shows how considering uncertainty affects the optimal
the positive and negative control policy parameters separately pump and tank schedule, specifically, it shows the optimal
since they serve different purposes. A negative control policy decisions from the scenario approach versus the deterministic
parameter reduces a pump’s flow rate and power consumption approach for Cases C and D. The scenario approach decisions
given an increase in load. Therefore, the negative control vary more over the scheduling horizon since they are co-
policy parameters serve to correct voltage limit violations and optimized with the control policy parameters. The edges of the
the positive control policy parameters serve to balance water light and dark blue bands show the largest and average pump
supply and demand. The magnitudes of the negative control and tank adjustments from the scenario approach’s schedule
policy parameters show which buses/phases are most likely made by the control policy in the presence of a voltage
to cause voltage limit violations, and the magnitudes of the violation (in computing the largest/average we exclude adjust-
positive control policy parameters show which buses/phases ments that violate constraints). In this case, the bands extend
are least likely to cause voltage limit violations. The PDN downward from the scheduled operation since the bus voltages

21st Power Systems Computation Conference Porto, Portugal — June 29 – July 3, 2020
PSCC 2020
Fig. 4. Change in pump flow rates for Case A (σ = 4%,  = 3%) and Case
B (σ = 5%,  = 3%) for scenarios in the test set requiring the control policy.

Fig. 5. PDN voltage profile for a power demand scenario before (Scheduled)
are near the minimum voltage limit and the control policy is and after (Corrected) use of the control policy. Top: Case A (σ = 4%,  =
working to raise the voltage levels by decreasing pumping. 3%). Bottom: Case B (σ = 5%,  = 3%).
For Case D, the bands are smaller since the pump and tank
schedule is more conservative and less real-time control is
required. Specifically, pumping is shifted to periods 2 and 3
when there is less power demand.
Fig. 4 shows the pump adjustments made by the control
policy in the presence of a voltage violation for Cases A and B.
For each scenario, we indicate whether the network constraints
were satisfied after implementing the pump adjustment. The
scenarios for Case A are in the lower right quadrant because
the network experiences minimum voltage limit violations. Fig. 6. Comparison of scheduled electricity cost and flexibility as the
weighting coefficient g varies, for Case C, σ = 4%,  = 10%.
Consequently, the pump power consumption is reduced in
order to raise the voltage levels. The scenarios for Case B are
energy minimization problem. While their proof does not
in the upper right quadrant because the network experiences
extend to meshed networks that contain valves, our case study
maximum voltage limit violations and pump power consump-
solutions appear unique and optimal when we test many
tion needs to increase.
solver initialization points. Additionally, the heads found in
Fig. 5 shows how the control policy corrects voltage devi-
the relaxed problem are always less than or equal to the
ations. For Cases A and B, we compare the voltage profile
recovered heads. Since we are primarily concerned with head
associated with a power demand scenario before and after the
lower limits, we can be certain that the recovered heads are
control policy adjusts the pump operation. The voltage profile
feasible. Lastly, we find that the voltage difference between
associated with the schedule is outside of the voltage limits.
the linearized unbalanced power flow and the ac power flow
Once the pumps are adjusted, the voltage profile is within the
is minimal, e.g., for Case B, σ = 5%,  = 3%, the largest
voltage limits. The insets zoom in on the critical voltages.
difference is 0.34%.
The coefficient g determines the relative cost of the schedule
versus the cost of the real-time control actions. Fig. 6 shows
V. C ONCLUSION
how the scheduled electricity cost and flexibility change as we
vary g. The best choice of g would be a function of the real In this paper, we explored using the WDN to provide load
cost to WDN operators of changing pump schedules, and is a flexibility for the PDN. We formulated a chance-constrained
topic for future research. water pumping problem subject to WDN and PDN constraints,
Finally, we evaluate our WDN relaxations and PDN ap- and including power demand uncertainty. We utilized cor-
proximations. We find that, in our case study, the pump power rective control to adjust the pumps’ flow rates to respond
consumption relaxation is tight for cases close to the minimum to PDN demand uncertainty in real-time. We applied the
voltage limit, i.e., Cases A, C, and D. In Case B, the pump convex scenario approach and found that we were able to
power consumption is increased above the convex hull’s lower successfully schedule and control the pumps to respond to
bound in order to fix the overvoltages. Additionally, the pipe voltage violations in the PDN. A drawback to this approach is
head loss relaxation is not tight; however, we are able to the time needed to solve this problem when scaling to larger
recover the actual heads from the pump flow rates. In [26], networks and longer optimization horizons. In future work,
the authors prove uniqueness of the water flow equations for we plan to improve the scalability of this approach through
several network configurations. Given the pump flow rates, use of distributed optimization methods. Additionally, we will
the authors recover the head values by solving a convex consider multiple sources of uncertainty.

21st Power Systems Computation Conference Porto, Portugal — June 29 – July 3, 2020
PSCC 2020
R EFERENCES [13] L. Roald, G. Andersson, S. Misra, M. Chertkov, and S. Backhaus,
“Optimal power flow with wind power control and limited expected
risk of overloads,” in Power Systems Computation Conference, 2016.
[1] E. Dall’Anese, P. Mancarella, and A. Monti, “Unlocking flexibility: [14] D. B. Arnold, M. Sankur, R. Dobbe, K. Brady, D. S. Callaway, and
integrated optimization and control of multienergy systems,” IEEE A. Von Meier, “Optimal dispatch of reactive power for voltage regulation
Power Energy Mag., vol. 15, no. 1, pp. 43–52, 2017. and balancing in unbalanced distribution systems,” in IEEE Power and
[2] International Energy Agency, World energy outlook 2016, Paris, 2016. Energy Society General Meeting, 2016.
[3] H. Mala-Jetmarova, N. Sultanova, and D. Savic, “Lost in optimisation [15] L. Gan and S. H. Low, “Convex relaxations and linear approximation
of water distribution systems? A literature review of system operation,” for optimal power flow in multiphase radial networks,” in Power Systems
Environmental Modelling and Software, vol. 93, pp. 209–254, 2017. Computation Conference, 2014.
[4] D. K. Molzahn and I. A. Hiskens, “A survey of relaxations and [16] D. Fooladivanda and J. A. Taylor, “Energy-optimal pump scheduling
approximations of the power flow equations,” Foundations and Trends and water flow,” IEEE Trans. Control Netw. Syst., vol. 5, no. 3, pp.
in Electric Energy Systems, 2019. 1016–1026, Sept 2018.
[17] D. Denig-Chakroff, “Reducing electricity used for water production:
[5] E. Dall’Anese, K. Baker, and T. Summers, “Chance-constrained ac
questions state commissions should ask regulated utilities,” Water Re-
optimal power flow for distribution systems with renewables,” IEEE
search and Policy, Tech. Rep., 2008.
Trans. Power Syst., vol. 32, no. 5, pp. 3427–3438, 2017.
[18] M. C. Campi, S. Garatti, and M. Prandini, “The scenario approach for
[6] M. Vrakopoulou, B. Li, and J. L. Mathieu, “Chance constrained reserve systems and control design,” Annual Reviews in Control, vol. 33, no. 2,
scheduling using uncertain controllable loads part I: formulation and pp. 149–157, 2009.
scenario-based analysis,” IEEE Trans. Smart Grid, vol. 10, no. 2, pp. [19] S. Grammatico, X. Zhang, K. Margellos, P. Goulart, and J. Lygeros, “A
1608–1617, 2019. scenario approach for non-convex control design,” IEEE Trans. Autom.
[7] L. Roald, S. Misra, T. Krause, and G. Andersson, “Corrective control to Control, vol. 61, no. 2, pp. 334–345, 2016.
handle forecast uncertainty: a chance constrained optimal power flow,” [20] M. C. Campi, S. Garatti, and F. A. Ramponi, “A general scenario theory
IEEE Trans. Power Syst., vol. 32, no. 2, pp. 1626–1637, 2017. for nonconvex optimization and decision making,” IEEE Trans. Autom.
[8] D. Fooladivanda, A. D. Dominguez-Garcia, and P. Sauer, “Utilization of Control, vol. 63, no. 12, pp. 4067–4078, 2018.
water supply networks for harvesting renewable energy,” IEEE Trans. [21] D. Cohen, U. Shamir, and G. Sinai, “Optimal operation of multi-quality
Control Netw. Syst., vol. 6, no. 2, pp. 763 – 774, 2019. water supply systems-II: the Q-H model,” Eng. Opt., vol. 32, no. 6, pp.
[9] A. Zamzam, E. Dall’Anese, C. Zhao, J. Taylor, and N. Sidiropoulos, 687–719, 2000.
“Optimal water-power flow problem: formulation and distributed optimal [22] P. R. Bhave and R. Gupta, Analysis of water distribution networks.
solution,” IEEE Trans. Control Netw. Syst., vol. 6, no. 1, pp. 37–47, 2019. Oxford, U.K.: Alpha Science International Ltd., 2006.
[10] Q. Li, S. Yu, A. Al-Sumaiti, and K. Turitsyn, “Micro water-energy nexus: [23] W. H. Kersting, “Radial distribution test feeders,” in IEEE Power Eng.
optimal demand-side management and quasi-convex hull relaxation,” Soc. Winter Meet., vol. 2, 2001, pp. 908–912.
IEEE Trans. Control Netw. Syst., vol. 6, no. 4, pp. 1313–1322, 2019. [24] Gurobi optimizer 8.1. [Online]. Available: http://www.gurobi.com
[11] K. Oikonomou and M. Parvania, “Optimal coordination of water dis- [25] M. Vrakopoulou, K. Margellos, J. Lygeros, and G. Andersson, “A prob-
tribution energy flexibility with power systems operation,” IEEE Trans. abilistic framework for reserve scheduling and N−1 security assessment
Smart Grid, vol. 10, no. 1, pp. 1101–1110, 2019. of systems with high wind power penetration,” IEEE Trans. Power Syst.,
[12] A. Stuhlmacher and J. L. Mathieu, “Chance-constrained water pumping vol. 28, no. 4, pp. 3885–3896, 2013.
to support the power distribution network,” in North American Power [26] M. Singh and V. Kekatos, “On the flow problem in water distribution
Symposium, 2019. networks: Uniqueness and solvers,” 2019, arXiv:1901.03676.

21st Power Systems Computation Conference Porto, Portugal — June 29 – July 3, 2020
PSCC 2020

Das könnte Ihnen auch gefallen