• Keine Ergebnisse gefunden

Hydraulic optimization

N/A
N/A
Protected

Academic year: 2022

Aktie "Hydraulic optimization"

Copied!
26
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

September 13th, 2019, Jorn Baayen, Tjerk Vreeken, & Pierre Archambeau

Optimization methods for hydraulic systems

(2)

Hydraulic optimization

(3)

Hydraulic optimization

3

The movement of water is governed by the Saint-Venant equations, which state that … Δ" ∝ $%

This is nonlinear.

Furthermore, the wave propagation is dominated by both flow velocity & = $/) and water depth

* = H − "-, i.e., & ± /*.

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(4)

Hydraulic optimization

4

Optimizing nonlinear systems, such as those governed by

Δ" ∝ $% is (in general) very hard:

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(5)

Hydraulic optimization

5

Imagine this in 45 weirs times 24 hours is 1080 dimensions …

… a lot of local minima.

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(6)

Solution I: Genetic Algorithms

(7)

Reduced Genetic Algorithms

Idea behind the RGA

7

The RGA

• Uses a metaheuristic approach and a limited number of gate operation moments, with fixed time intervals (larger than the control step)

• Replaces standard GA operators (crossover and mutation) by a new methodology (diversification and intensification)

Details in Vermuyten, Meert, Wolfs, & Willems, Combining Model Predictive Control with a Reduced Genetic Algorithm for Real-Time Flood Control, 2018.

The RGA is easy to code and can be applied to all type of models (conceptual or physically based). Stopping criterion must be defined but usually a maximum number of scenarios is considered.

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(8)

Reduced Genetic Algorithms

RGA operators

8

Creating new random series Mutating series by diversification or intensification source : Vermuyten and al, J. Water Resour. Plann. Manage (2018)

Creation Mutation

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(9)

Reduced Genetic Algorithms

Parameterization used for the benchmarks

Smart Water Solutions | Author: KISTERS AG | Creation date: 2017-04 11

Number of random/mutation 10000/2000 independently of the number of level nodes

Random frequency 8 h

Mutation frequency = Control time step (minimum 1h ; maximum 8h)

Probability diversification/intensification 0.5 Weirs

Lower Limit 0 m³/s

Upper Limit 200 m³/s

Sensitive range 20%

(10)

Solution II: Globalized Interior

Point Method (the “GIP”)

(11)

Globalized Interior Point Method

The idea

13

Details in Baayen, Piovesan, and VanderWees, Continuation method for PDE-constrained global optimization: Analysis and application to the shallow water equations, 2019.

The GIP

• Uses mathematical topology (homotopy) to transfer global optimality of simplified problem to complete nonlinear problem.

• Finds solutions by applying Newton's method to find zeroes of the Lagrangian (the second order method underlying industry standard packages such as IBM CPLEX and MOSEK).

• Produces a certificate that the solution is globally optimal.

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(12)

Outlook

Outlook for the GIP

14

KISTERS Real Time Optimization (RTO) is the first and so far only software implementation of the GIP. It can load existing SOBEK or HEC-RAS models and set up correctly formulated optimization problems automatically.

Collaboration is ongoing between IBM and KISTERS to integrate GIP and CPLEX technology.

KISTERS RTO powered by CPLEX will bring IBM's three decades of mixed integer solver expertise to the technology stack.

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(13)

Comparison

(14)

Benchmark setting

Model

16

Mathematical hydraulic model 1D full Saint-venant Numerical model

spatial scheme Staggered grid finite difference

temporal scheme Euler semi-implicit

friction law Chezy

upstream BC Prescribed hydrograph ; 100 à 300 [m³/s]

downstream BC Optimized hydrograph ; adjustable weir with upper limit 200 [m³/s]

Dimensions of one reach

cross section Rectangular with width = 50 [m]

length 10 [km]

slope 2 [m/km]

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(15)

Benchmark setting

Parameters for 48 hours optimization horizon

Total computation points (level nodes) [16; 32; 64; 128; 256; 512]

Hydraulic time step [5 min; 10 min; 15 min]

Control time step [1 hour; 2 hours; 4 hours; 8 hours]

Adjustable weirs [1; 2; 4; 8; 16] spaced every 10 km

… total of 360 combinations

level

upstream discharge optimized discharge internal discharge

10 km

10 km

1 reach / 1 weir

2 reaches / 2 weirs

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(16)

Benchmark setting

Optimization objective

18

Tracking problem: The optimization objective is to steer the water levels just upstream and downstream of a reach to the reference value.

Both optimization algorithms were seeded with constant 100 m3/s weir flow hydrographs.

The benchmarks were run (repeatedly - min 10x) on an Amazon Web Services "c x4large" node:

- 16 Intel Xeon processors @ 3.0 GHz.

- 32 GB RAM.

- Ubuntu Linux 18.04.3 LTS.

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(17)

Benchmark results

Illustration of results for a single level lode per reach

19

In the specific case n level nodes and n weirs:

• Only one level node exists per reach

• The constraints are linear (mass balance)

• The objective function is quadratic

The problem admits an obvious optimal solution

• The input signal is damped by the first reach

• All weirs work at full capacity (200 m³/s) for twice as long as the input signal

• The output hydrograph is then repeated indefinitely without damping

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

(18)

Benchmark results – Tracking error

20 Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

RTO RGA

(19)

Benchmark results – Tracking error

21 Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

RTO RGA

(20)

Benchmark results – Wall time

22 Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

RTO RGA

(21)

Benchmark results – Wall time

23 Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

RTO RGA

(22)

Benchmark results

24 Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

72 combinations for 16 weirs – sorted by (nb level nodes ; hydraulic dt ; control time step)

(23)

Benchmark results

25 Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

72 combinations for 1 weir – sorted by (nb level nodes ; hydraulic dt ; control time step)

(24)

Conclusions

26

The results show a clear complementarity. The continuation method produces significantly better solutions, but requires more computation time than the reduced genetic algorithm.

Notes:

- The problem formulation used for the benchmark has a single, global optimum. The RGA solutions are therefore nor global, nor local minima.

- The source code of our RGA implementation is available for review.

- Access to the KISTERS Real Time Optimization REST API may be requested for purposes of independent result verification.

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09

Reduced genetic algorithm Continuation method

Solution optimality Suboptimal Globally optimal

Solution determinism Non-deterministic Deterministic

Computation time Low Moderate

(25)

Recommendations

Hydraulic Optimization | Author: Jorn Baayen & Pierre Archambeau | Creation date: 2019-09 27

Our results lead to the recommendation that:

- GIP be used for mission-critical applications, such as real-time flood control:

Who would trade CPU time for flood damage?

- GIP be used for hydropower optimization:

In our world, every megawatt of renewable energy is needed.

- RGA be used for exploratory desk studies, where user interaction and fast results are needed.

(26)

File name:

Creation date:

Presentation date:

Author:

Speaker:

KISTERS Nederland B.V.

St Jacobsstraat 123-135 NL-3511 BP Utrecht Phone +31 6 33881175 jorn.baayen@kisters-bv.nl

http://water.kisters.eu Jorn Baayen

Jorn Baayen, Tjerk Vreken, Pierre Archambeau 2019-09

Referenzen

ÄHNLICHE DOKUMENTE

- scientific qualification for research and research-guided teaching in the subject area to be filled, appropriate international experience and sufficient exposure to

1: The simulated flood event 2005 in the hydraulic model: (a) existing bridge construction with filled chan- nel and overflowed bed load, (b) pressurised bridge deck and lifted

The pump cycle is controlled by the manipulation of the inner tubing pressure p it [Pa] acting on the reciprocating piston through the power fluid.. The intake chamber pressure

Due to these problems the basic idea is to find a mathematical relationship between the skin factor, the effective wellbore radius and the grid block geometry to estimate the

Hydraulic fracturing, or fracking, refers to two processes used to extract natural gas trapped in shale formations.. The first step is to drill down to the sedimentary rocks,

[r]

Gefahr für Leib und Leben besteht, wenn sich unter dem angehobenen Aggregat Personen befinden; sich beim Einstellen oder Verladen des Aggregats im Gefahrenbereich

99-37 14.3.2008 N82h, N92h TYÖNTÖVARSI BALL-. HITCH JA PIDIN