• No results found

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.

Related documents