4.2 Model
4.2.2 Unique solvability
In the following, we are concerned with solving the constrained nonlinear system CNS(πΊπ ).
Definition 4.3 (CNS(πΊπ ))
Given a semi-passive network πΊπ , we define CNS(πΊπ ) as a constrained nonlinear system
containing constraints ((2.1), (2.7), (4.1)) and set βπ = 0. They are summarized as
βοΈ πβπΏβ(π) ππβ βοΈ πβπΏ+(π) ππβ π·π = 0 for all π β π©π β {π , π‘}, βοΈ π=(π,π)βπ ππβ βοΈ π=(π,π)βπ ππ+ ππ β π·π = 0 for all π β {π , π‘}, βπβ βπ = πππππ‘|ππ| β ππsgn(ππ)π2π= 0 for all π = (π, π) β ππ , βπ = 0 β« βͺ βͺ βͺ βͺ βͺ βͺ βͺ βͺ βͺ β¬ βͺ βͺ βͺ βͺ βͺ βͺ βͺ βͺ βͺ β (CNS(πΊπ ))
As we discussed above, the head variables βπappear pairwise in CNS(πΊπ ). To eliminate solutions
which have the same value of ππ, we fix βπ = 0. It follows then βπ β βπ = βπ
for every node π β π©π , which means that the value of βπis the head difference between node π
and node π .
Consider a semi-passive subnetwork in the entire water supply network again. To operate the water supply network means to find a feasible configuration of pumps and valves. However, the semi-passive subnetwork does not contain any pump and valve which we can control. From the natural point of view, if the network operates with ππ = π0π for a constant π0π β R, there
has to be a unique solution for CNS(πΊπ ). We verify this mathematically with the following
theorem.
Theorem 4.4 (Unique Solvability of CNS(πΊπ ))
For a given semi-passive subnetwork πΊπ and any constant π0π β R, CNS(πΊπ ) has a unique solution
with ππ = π0π . Furthermore, for every node π there exists a continuous, decreasing or constant
function
s i j t i' j'
Figure 4.2:A semi-passive subnetwork in tree structure
which maps the inflow ππ into node π from the remaining graph to the head βπ at node π; for every
arc π there exists a continuous function
ππ: R β R with ππ= ππ(ππ )
which maps the inflow ππ into node π from the remaining graph to the flow ππthrough pipe π.
The function ππis either constant or monotonic. To be increasing or decreasing depends on the
definition of the direction for positive flow.
Proof. Let πΊπ be the given semi-passive subnetwork with π := |ππ | , π := |π©π |. Since πΊπ is
connected we have π β₯ π β 1 which is equivalent to π β π + 1 β₯ 0. Define π₯ := π β π + 1 then we have π₯ β N0, π₯ β₯ 0. Note that for connected graph, π₯ denotes the number of cycles.
Now we want to prove that all semi-passive subnetworks with π β π + 1 = π₯ = 0, 1, 2, . . . possess the properties with mathematical induction over π₯.
The first step is to prove the theorem is true for the case π₯ = 0. Consider the subnetworks with
π β π + 1 = π₯ = 0, i.e., π = πβ1. In this case the graph is a tree, see e.g., Figure 4.2. For every
arc π β ππ , removing π yields two disjoint connected graphs: the left graph πΊππ= (π©ππ, πππ)
with π β π©π
πand the right graph πΊππ = (π©ππ, πππ). For every arc π, we discuss first how the
value of ππdepends on ππ . Since the graph has a tree structure, this is a unique path from π to π‘. For every arc π in this graph there are two cases:
β’ Arc π is not on the path from π to π‘, see e.g., arc π = πβ²πβ²in Figure 4.2. Due to flow balance,
the flow on arc π, i.e., from πβ²to πβ² has to be equal to the total demand of all nodes of πΊπ π. It follows that ππ= βοΈ πβπ©π π π·π=: π·ππ.
Flow ππis a constant since π·ππis a constant.
β’ Arc π is an arc on the path from π to π‘, see e.g., arc π = ππ in Figure 4.2. The left graph πΊπ π
has inflow ππ and total demand π·ππ :=
βοΈ
πβπ©π
ππ·π, the remaining flow from πΊ π πwhich
flows from π to π is then
4.2 Model Note that we may define the flow direction from π to π to be the positive direction, then we would have
ππ= β(ππ β π·ππ).
Obviously, for both cases there exists a function ππfor every arc π which fulfills the correspond-
ing properties.
Now we discuss how the value of βπ depends on ππ . For every node π β π© , there is a unique
path from π to π since πΊπ is a tree. Let the path be π0, π1, . . . , ππwith π0 = π , ππ = π and π β N. The arcs on the path are ππ = (ππβ1, ππ)for all π β {1, . . . , π}. Moreover, we can split
the set π := {1, . . . , π} into two sets π1and π2so that π1βͺ π2 = πand π1β© π2= β and for
every π β π1it holds π‘ β πΊπππ and for every π β π2it holds π‘ β πΊ π
ππ. The function ππ can be
represented as βπ = βπβ 0 = β(βπ β βπ) = β(οΈ (βπ β βπ1) + (βπ1 β βπ2) + . . . + (βππβ1β βπ))οΈ = β π βοΈ π=1 πππsgn(πππ)π 2 ππ = β(βοΈ πβπ1 πππsgn(π· π ππ)(π· π ππ) 2 β β constant + βοΈ πβπ2 πππsgn(ππ β π· π ππ)(ππ β π· π ππ) 2 β β increasing function of ππ ) =: ππ(ππ ).
Note that ππis a decreasing function if π2 ΜΈ= β or a constant function otherwise.
Setting ππ = π0π yields the unique solution of CNS(πΊπ ). Until now we proved that the
theorem is true for π₯ = π β π + 1 = 0, i.e., for all graphs with π = π β 1. Suppose that the theorem is true for all graphs with π₯ = π, i.e., π = π β 1 + π, π β N0. We need only to prove
that the theorem is also true for all graphs with π₯ = π + 1, i.e., π = (π β 1 + π) + 1 = π + π. Let πΊπ be a semi-passive subnetwork of type π = π + π, then πΊπ contains at least one circle
since connected networks are circle-free if and only if π = π β 1.
In general, π does not have to be contained in a cycle, see e.g., Figure 4.4. All neighboring arcs (π , π π)to π are not contained in a circle, for π = 1, . . . , ππ, ππis a constant with ππβ₯ 1.
Consider all possible paths from π to π‘. All of these contain exactly one of the arcs (π , π π)for π = 1, . . . , ππ. Without loss of generality, (π , π 1)is contained in path(s) from π to π‘. Since
every (π , π π)is not contained in a cycle, the flow π(π ,π π)can be calculated to be a fixed value
as we have shown during proving the case of π₯ = 0. For any π ΜΈ= 1, removing (π , π π)leads to
two subgraphs. The subgraphs which contains node π πcontains neither π nor π‘. All flow and
head variables can be solved trivially. After we remove all arcs (π , π π)with π ΜΈ= 1, node π is
connected only to (π , π 1). Now we remove arc (π , π 1)and set π 1to be the new inflow note with
ππ 1 = ππ β π(π ,π 1)so that we generate an equivalent new CNS problem. Note that we moved
the inflow node from π to π 1. After doing the procedure above recursively, we will move inflow
s s1
q
(a) A network with circles
s s1
qs - q q
(b) Remove an arc to reduce a circle
Figure 4.3:Semi-passive subnetworks
Now we need only to discuss the case that π is contained in a cycle. See an example in Figure 4.3a, from π there is an arc π = (π , π 1)contained in a circle.
For any given network πΊπ as shown in Figure 4.3a, we construct an auxiliary network πΊππ as
shown in Figure 4.3b by β’ removing arc (π , π 1),
β’ setting the demand of (the original) π‘ for πΊπ in πΊππ to be π· β ππ with total demand π·,
β’ setting π for πΊπ as π for πΊππ with inflow ππ β πby introducing new variable π with π β R
and setting π 1 as π‘ for πΊππ with inflow π.
Note that πΊπ
π is still connected since (π , π 1)is contained in a circle. For any given ππ β R
(inflow of π in πΊ), πΊπ
π is a semi-passive subnetwork of type π = π + π β 1 with inflow ππ β π.
With the induction hypothesis, for the head βπ
π 1 at π 1in πΊ
π
π there exists a function ππ π1 with
βππ 1 = ππ π
1(ππ β π)which is a continuous, decreasing or constant function. With π = (π , π 1)in
πΊ, let ππbe the pressure loss function of pipe π in πΊ, then we have βπ 1 = βππ(ππ). For π β R
a given constant, let ππ β πbe the inflow into π for πΊππ . The unique solution of CNS(πΊππ ) is
equivalent to a solution of CNS(πΊπ ) if and only if βππ 1 = ππ π
1(ππ β π) = βππ(π) = βπ 1 and ππ= π.
For a given ππ the value of π satisfies
πΉ (π) := ππ π1(ππ β π) + ππ(π) = 0. Since ππ
π 1is a continuous, constant or decreasing function, then for a fixed given ππ , π
π
π 1(ππ β π)
4.2 Model s t s2 s1 s3
Figure 4.4:No neighboring arcs of π contained in a circle
strictly increasing function, then πΉ is a continuous, strictly increasing function of π. Because of limπββπΉ (π) = βand limπβββπΉ (π) = ββ, πΉ (π) = 0 has one and only one solution. Note
that πΉ has an inverse function πΉβ1which is also a continuous and increasing function. We
now set π := πΉβ1(0), the unique solution of CNS(πΊπ
π ) with inflow ππ β πand ππ= πis the
unique solution of CNS(πΊπ ) with inflow ππ .
Consider the function πΉ again. Since ππ π 1 and π
πboth have inverse functions, there exists a
function Β―π such that
ππ = (ππ π1)
β1(βπ
π(π)) + π =: Β―π (π),
where Β―π is a continuous, increasing function that maps π to ππ and has the inverse function
Β―
πβ1. For π with πΉ (π) = 0 it follows ππ β π = (ππ π1)
β1
(βππ( Β―πβ1(ππ ))) =: Λπ (ππ ).
Function Λπis then a continuous, increasing function that maps ππ to ππ β π.
From our induction hypothesis, for every node π in πΊπ
π there exists πππthat maps ππ β πto βπ,
then ππ := πππβ Λπ maps ππ to βπ which is continuous, decreasing or constant. Analogously, for
every arc π in πΊπ
π there exists πππthat maps ππ β πto ππwhich is continuous, either constant
or monotonic. Then the function ππ:= πππβ Λπ has the same property as πππ.
For the arc π = (π , π 1)which is not contained in πΊππ , the function Β―πβ1which maps ππ to ππ
is continuous, increasing. Again, setting ππ = π0π yields the unique solution. 2
Until now we know that for a given semi-passive subnetwork πΊπ with ππ = π0π β R and βπ = π»π β R, where ππ and π»π are constants, we can solve CNS(πΊπ ) first and then add π»π to βπfor all nodes π to get the unique potential solution. The potential solution is a solution for
the subnetwork if it fulfills all constraints (4.2). Otherwise there exists no solution. Note that increasing π»π may turn a violated potential solution into a solution, when ππ is fixed. Only
with appropriate flow at the inflow node πΊπ we will have at most one solution, this is why we
Assume that all functions ππ and ππin Theorem 4.4 are known for a semi-passive network πΊπ .
All constraints ((2.1), (2.7), (4.1), (4.2)) related to πΊπ in the entire MINLP can be replaced by βπ + ππ(ππ )
β β
=βπ
> π»π0 (4.3)
for all junctions π in πΊπ , the single constraint for the flow
ππ + ππ‘= π·. (4.4)
and the single constraint for the head
βπ β βπ‘+ ππ‘(ππ ) = 0. (4.5)
Note that there are only three variables ππ , ππ‘and βπ in ((4.3), (4.4), (4.5)) which also appear
in the constraints related to the remaining graph. To solve the MINLP, we do not have to know the value of ππfor all arcs π in πΊπ if there are no other constraints on these variables.
Detection of redundant constraints In the entire MINLP every variable is bounded. Let [πminπ , πmax
π ]be the domain of ππ . For every node π, ππis a continuous, decreasing or constant
function. Hence it follows that
ππ(πmaxπ ) β€ ππ(ππ ) β€ ππ(πminπ ).
Note that ππ(πmaxπ )and ππ(πminπ )are constants which can be obtained by solving CNS(πΊπ )
with ππ = πmaxπ or ππ = πminπ . The fulfillment of constraint (4.5) implies a lower bound of βπ
by
βπ = βπ‘β ππ‘(ππ )
β₯ βπ‘β ππ‘(πminπ )
β₯ π»π‘0β ππ‘(πminπ ).
With βπ β₯ π»π 0, the constant max{π»π 0, π»π‘0β ππ‘(πminπ )}is a lower bound of βπ . With this, for
every node π β π© \{π , π‘}, a lower bound of βπcan be found by
βπ = βπ + ππ(ππ ) β₯ βπ + ππ(πmaxπ ) β₯ max{π»π 0, π»π‘0β ππ‘(πminπ )} + ππ(πmaxπ )
β β
=: Β―π»π
.
As Β―π»π is a constant, we can compare it with π»π0. It is clear that for every node π β π©π \{π , π‘},
the constraint βπ + ππ(ππ ) β β =βπ > π»π0 of type (4.3) is redundant if Β― π»π β₯ π»π0.