Algorithmic System Design under Consideration of Dynamic Processes
Vom Fachbereich Maschinenbau an der Technischen Universit¨atDarmstadt zur Erlangung des akademischen Grades eines Doktors der Ingenieurwissenschaften (Dr.-Ing.)
genehmigte Dissertation
vorgelegt von
Dipl.-Phys. Lena Charlotte Altherr
aus Karlsruhe
Berichterstatter: Prof. Dr.-Ing. Peter F. Pelz Mitberichterstatter: Prof. Dr. rer. nat. Ulf Lorenz Tag der Einreichung: 19.04.2016 Tag der m¨undlichen Pr¨ufung: 24.05.2016
Darmstadt 2016
D 17
Vorwort des Herausgebers
Kontext Die Produkt- und Systementwicklung hat die Aufgabe technische Systeme so zu gestalten, dass eine gewünschte Systemfunktion erfüllt wird. Mögliche System- funktionen sind z.B. Schwingungen zu dämpfen, Wasser in einem Siedlungsgebiet zu verteilen oder die Kühlung eines Rechenzentrums. Wir Ingenieure reduzieren dabei die Komplexität eines Systems, indem wir dieses gedanklich in überschaubare Baugruppen oder Komponenten zerlegen und diese für sich in Robustheit und Effizienz verbessern. In der Kriegsführung wurde dieses Prinzip bereits 500 v. Chr. als „Teile und herrsche Prinzip“ durch Meister Sun in seinem Buch „Die Kunst der Kriegsführung“ beschrieben. Das Denken in Schnitten ist wesentlich für das Verständnis von Systemen: „Das wichtigste Werkzeug des Ingenieurs ist die Schere“. Das Zusammenwirken der Komponenten führt anschließend zu der gewünschten Systemfunktion. Während die Funktion eines technischen Systems i.d.R. nicht verhan- delbar ist, ist jedoch verhandelbar mit welchem Aufwand diese erfüllt wird und mit welcher Verfügbarkeit sie gewährleistet wird. Aufwand und Verfügbarkeit sind dabei gegensätzlich. Der Aufwand bemisst z.B. die Emission von Kohlendioxid, den Energieverbrauch, den Materialverbrauch, … die „total cost of ownership“. Die Verfügbarkeit bemisst die Ausfallzeiten, Lebensdauer oder Laufleistung. Die Gesell- schaft stellt sich zunehmend die Frage, wie eine Funktion bei minimalem Aufwand und maximaler Verfügbarkeit realisiert werden kann.
Die Methode Die Antwort auf die oben genannte Frage besteht darin, nicht nur nach dem Prinzip „Teile und herrsche“ einzelne Komponenten des Gesamtsystems isoliert zu optimie- ren, sondern deren Zusammenspiel zu berücksichtigen. Das Spielfeld für den Entwurf der Kühlung eines Rechenzentrums besteht z.B. aus Rohrleitungen, Pumpen unter- schiedlicher Größe, Ventilen und Wärmetauschern. Für ein optimales Gesamtsystem ist es Aufgabe, die Komponenten aus dem Spielfeld so anzuordnen, zu verschalten und zu betreiben, dass die Funktion mit minimalem (Energie-)Aufwand und maximaler Verfügbarkeit erfüllt werden kann. Für einfache Systeme gelingt dem Planer die optimale Systemsynthese, für größere Systeme ist dies ohne algorithmische Hilfe unmöglich. Der Grund liegt in der für den Menschen unüberschaubaren Zahl möglicher Entschei- dungen. Die hinter den Entscheidungen steckenden Fragen sind immer diskret, d.h. der Art „Komponente A oder B?“. Bei einer Verschaltung von 6 Komponenten eines Pumpensystems sind bereits über 5000 Systemvarianten möglich. Motivation des Technical Operations Research (TOR) ist es, Algorithmen als Entscheidungsunter- stützung zu nutzen, um optimale Systeme zu planen und zu betreiben. Der TOR-Ansatz wurde für quasistationäre und quasistatische Probleme in den vergangenen vier Jahren an der TU Darmstadt entwickelt und erfolgreich zur Struk- turierung von Fluidfördereinrichtungen (Booster-Station) angewendet. Der TOR-
I Ansatz wurde bisher nicht auf zeitvariante Probleme angewendet. Zeitvariante Prob- leme treten jedoch immer auf, wenn die Verfügbarkeit von Systemen im algorith- mischen Entwurfsprozess antizipiert werden soll. Dabei geht es um die Antizipation von Systemdegradation durch mechanische und/oder chemische Alterung.
Die Forschungsfrage Frau Altherr erweitert den TOR-Ansatz auf zeitvariante Probleme und zeigt dessen Anwendung am Beispiel eines hydraulischen Systems. Hierbei ist neu, dass die durch den späteren Betrieb zu erwartende Systemdegradation eines jeden möglichen Systemvorschlags bereits in der Entwicklungsphase antizipiert werden kann. Dadurch können Betriebs- und Wartungskosten vorausgesagt und minimiert werden und durch eine optimale Betriebs- und Wartungsstrategie die Verfügbarkeit des Systems garantiert werden. Insgesamt ergibt sich ein mehrstufiges Optimierungsproblem, welches sich nicht direkt mit Standardsoftware lösen lässt. Während sich die erste Stufe des Optimierungsmodells durch eine sehr hohe kombinatorische Lösungsvielfalt bei schon wenigen zur Verfügung stehenden Komponenten auszeichnet, muss in der zweiten Stufe komplexe nichtlineare Physik berücksichtigt werden. Frau Altherr stellt sich in der Arbeit zwei Aufgaben, eine technologische und eine methodische. Methodisch lotet sie diskrete Optimierungsmethoden zur Strukturie- rung von zeitvarianten Systemen aus, die durch Zeitglieder bis maximal erster Ord- nung beschrieben werden. Damit lässt sich die Systemdegradation durch mechani- schen und chemischen Verschleiß, sowie das zeitvariante Verhalten von Speicher- elementen gleichermaßen behandeln. Technologisch wendet Frau Altherr gemischt-ganzzahlige lineare Programmierung an, um die Abtriebsseite eines hydrostatischen Getriebes algorithmisch zu strukturieren. Wesentliche Fragen sind hierbei die physikalische Modellierung, die Darstellung des Optimierungsproblems als mathematisches Programm, und dessen algorithmische Behandlung zur Lösungsfindung. Frau Altherr setzt hierzu einerseits auf Heuristiken zum schnelleren Auffinden sinnvoller Topologien, andererseits auf mathematische Dekomposition zur Bewertung des dynamischen Verschleiß- und Wartungsverlaufs.
Ergebnisse Mit den von Frau Altherr vorgestellten Modellen und Algorithmen ist es möglich, Systemstrukturen zu finden, die eine 16-fach höhere Lebensdauer als ein konven- tioneller Systementwurf aufweisen. Wird die erwartete Lebensdauer maximiert, entstehen Systeme mit aktiver Redundanz. Die redundanten Komponenten werden genutzt, um die Last intelligent zu verteilen und damit das Gesamtsystem langlebiger zu machen, bei minimal möglichem Mehrinvest. Nachteil der entstehenden Systeme kann ihre höhere Komplexität sein, wodurch der Aufwand steigt. Frau Altherr zeigt, wie zusätzlich eine auf realistische Bedingungen zugeschnittene Abwägung zwischen Aufwand und Verfügbarkeit bereitgestellt werden kann. Dazu erweitert sie das vorgestellte Grundmodell um die Betrachtung von Wartungsarbeiten.
II Verschlissene Komponenten können zu bestimmten Wartungszeitpunkten aus- getauscht werden, so dass das System weiter seine Funktion erfüllen kann. Die Wartungsintervalle führen zu mehrstufigen mathematischen Programmen, deren algorithmische Behandlung neue Herausforderungen schafft. Frau Altherr entwickelt eine Primalheuristik, die bei der gegebenen kombinatorischen Vielfalt verschiedenster Systemaufbauten dennoch schnell zu sinnvollen Topologie- vorschlägen gelangt. Grundlage ist die Idee, sich zunächst auf serien-parallele Verschaltungen der Komponenten zu konzentrieren, da diese mittels Konstruktions- vorschriften systematisch aufgestellt werden können. Das Gesamtnetzwerk des hydro- statischen Getriebes wird in der entwickelten Heuristik anschließend als Kombination vierer serien-paralleler Teilnetzwerke aufgebaut. Frau Altherr implementiert eine Nachbarschaftsssuche, welche aus-gehend von einer validen Lösung den Raum der diskreten Systemstrukturen systematisch durchsucht. Diese Lokale Suche wird von Frau Altherr in die Metaheuristik Simulated Annealing eingebettet, sodass einem Verharren des Algorithmus in lokalen Optima entgegengewirkt werden kann. Zum Auffinden einer optimalen Betriebs- und Wartungsstrategie und von dualen Schran- ken implementiert Frau Altherr Dynamische Programmierung und ein Langrange- Dekompositions-Verfahren.
Innovation Durch die Arbeit wird eine neue Dimension der Strukturoptimierung aufgezeigt. Man wird in Zukunft bei der Gestaltung von Systemstrukturen neben der reinen Funktions- erfüllung deutlich besseren Zugang zu Sekundärkriterien wie Lebensdauer und Verfügbarkeitsgarantien erhalten. Die vorliegende Schrift beinhaltete folgende Inhalte und Teile . Darstellung des TOR-Gesamtgedankens über die gesamte Schrift hinweg . Erstellung eines physikalisch hinterlegten technischen Optimierungsmodells, welches neben der Fluidmechanik Verschleiß kodiert und Wartungs- optimierung auf formaler Ebene ermöglicht . Aufbau eines Gesamtkonzepts von hochformaler mathematischer Modellierung über heuristische Lösungsfindung plus Optimalitäts- abschätzungen über duale Schranken in einem bislang eher schwer zugänglichen Bereich der technischen Systeme Die Optimierung technischer Systeme an der Schnittstelle von Mathematik, Informatik und Ingenieurwesen wird sowohl gründlich als auch anschaulich und nachvollziehbar dargestellt. Ich bin der Überzeugung, dass die vorliegende Arbeit die algorithmische Herangehensweise zum Lösen von Nachhaltigkeitsproblemen verschiedener Art nachhaltig beeinflussen wird.
Peter Pelz, Darmstadt, am 22.08.2016
III
Vorwort
Ich m¨ochte allen danken, die zum Gelingen dieser Arbeit beigetragen haben. Mein besonderer Dank hierbei gilt: Prof. Dr.-Ing. Peter F. Pelz, der mir f¨urdie Durchf¨uhrungdieser Arbeit vollste Unterst¨utzungzukommen ließ und mir durch seine interessante Aufgabenstellung interdisziplin¨aresForschen an der Schnittstelle zwischen Ingenieurwissenschaften und Mathematik erm¨oglicht hat. Prof. Dr. Ulf Lorenz f¨urdie Zweitkorrektur und die sehr gute fachliche Betreuung des mathematischen Aspekts dieser Arbeit. Durch inhaltliche Diskussionen mit ihm hat meine Arbeit an thematischer Vielfalt gewonnen. Dem Leiter der Gruppe Technische Optimierung, Thorsten Ederer, f¨urdie Durch- sicht dieser Arbeit und die große Unterst¨utzungbei fachlichen und praktischen Fragen. Dem gesamten Team der Gruppe Technische Optimierung: Philipp P¨ottgen,Mar- lene Utz und Jan Wolf, die mir in Gespr¨achen stets hilfreiche Anregungen geben konnten. Allen Kollegen und Studierenden am Institut f¨urFluidsystemtechnik, die zum Entstehen dieser Arbeit beigetragen haben. Insbesondere danke ich Angela Verg´e, die durch ihr gemeinsam mit Prof. Pelz entwickeltes Modell zum Verschleiß von Ventilen durch str¨omungsbedingten Materialabtrag einen wichtigen Beitrag zu dieser Arbeit geleistet hat. Ganz besonderer Dank gilt meinen Eltern, meiner Oma und meinem Partner Patrick. Ich m¨ochte ihnen an dieser Stelle von ganzem Herzen f¨urihre bedin- gungslose Unterst¨utzungdanken.
Lena Altherr Eppelheim, im April 2016
V
Abstract
It is common practice to optimize technical components in terms of their charac- teristics, such as energy efficiency or durability. However, even highly optimized components can lead to inefficient or unstable system structures if their interaction is not taken into account. Considering systems instead of components opens up further potential for optimization. However, the increased potential is accompanied by an increased level of complexity. This work was written as part of the Collaborative Research Centre 805, whose aim is to control uncertainty in load-carrying structures. In this context, the question of finding an optimal system structure has been investigated for a truss topology demonstrator. This dissertation examines the issue of structural uncertainty for a hydraulic system. The structure of a hydrostatic transmission system whose components are sub- ject to erosive wear is optimized via Mixed-Integer Linear Programming. Espe- cially system synthesis problems in which dynamic processes like wear have to be modeled can often not be solved by standard discrete optimization techniques. This work exploits their specific problem structure to derive primal solutions and dual bounds. The optimization problem is based on the graph representation of the system syn- thesis problem. In case of a series-parallel network, all possible system graphs can be represented by trees without internal nodes of degree 2 (series-reduced trees). This work shows how the approach can be applied to a non-series-parallel net- work by using problem-specific knowledge to divide the graph into series-parallel subgraphs. In this way, the tree representation can still be exploited to elegantly traverse the solution space of discrete structure decisions using a local search. Based on a combination of simulated annealing and dynamic programming, a pri- mal heuristic is developed that allows to find good solutions to the optimization problem when commercial solvers cannot find any feasible solution in reasonable time. By applying Bellman’s principle of optimality, an optimal maintenance plan in case of wear induced component failures is derived. Dual decomposition is imple- mented to decouple the sequence of operation intervals in between service points, and to derive replacement costs by dual bounds. By means of the models and algorithms developed, wear-related maintenance costs and downtime of a possible system layout can be anticipated in the early phase of structure determination. This thesis thereby lays a foundation for the control of structural uncertainty in real systems.
VII
Zusammenfassung
Nach Stand von Wissenschaft und Technik werden Komponenten hinsichtlich ihrer Eigenschaften, wie Lebensdauer oder Energieeffizienz optimiert. Allerdings k¨onnen selbst hervorragende Komponenten zu ineffizienten oder instabilen Systemen f¨uhren, wenn ihr Zusammenspiel nur unzureichend ber¨ucksichtigt wird. Eine Systembetra- chtung schafft ein gr¨oßeresOptimierungspotential — dem erh¨ohten Potential steht jedoch auch ein erh¨ohter Komplexit¨atsgradgegen¨uber. Durch die Kombinatio- nen unterschiedlicher Komponenten zu Systemen existiert eine Vielzahl m¨oglicher Strukturen, wodurch sich eine kombinatorische Explosion des L¨osungsraumsergibt. Die vorliegende Arbeit ist im Rahmen des Sonderforschungsbereichs 805 entstanden, dessen Ziel die Beherrschung von Unsicherheit in lasttragenden Systemen ist. Die Frage nach der optimalen Struktur eines Systems wurde in diesem Zusammenhang bereits f¨urden Fall eines Stabwerk-Demonstrators untersucht. Diese Arbeit zeigt anhand eines realen Systems aus dem Bereich der Hydraulik, wie Strukturunsicher- heit durch Antizipation in der Entwicklungsphase beherrscht werden kann. Ein hydrostatisches Getriebe, dessen Komponenten Verschleiß ausgesetzt sind, wird mittels gemischt-ganzzahliger linearer Programmierung optimal strukturiert. Das zugeh¨orige Optimierungsmodell basiert auf der Graph-Darstellung des Struk- turfindungsproblems. Diese ist im Falle eines serien-parallelen Netzwerkes durch B¨aumeohne innere Knoten des Grads zwei darstellbar. Die Arbeit zeigt f¨urden all- gemeineren Fall eines nicht serien-parallelen Netzwerkes, wie sich diese Darstellung durch Unterteilung des Graphen in serien-parallele Teilgraphen dennoch nutzen l¨asst,um in einer Lokalen Suche im L¨osungsraumder diskreten Strukturentschei- dungen valide Topologievorschl¨agezu erhalten. Gerade Strukturfindungsprobleme, in denen zus¨atzlich dynamische Prozesse wie Verschleiß abgebildet werden sollen, k¨onnen mit Standardsolvern oft nicht in ange- messener Zeit global optimal gel¨ostwerden. Die vorliegende Arbeit nutzt die spezielle Struktur solcher Probleme, um mittels Dekompositionsverfahren primale L¨osungenund duale Schranken abzuleiten. Durch eine Primalheuristik, die auf der Metaheuristik Simulated Annealing basiert, k¨onnenauch dann gute L¨osungenf¨ur das Optimierungsproblem gefunden werden, wenn kommerzielle Solver ¨uberhaupt keine zul¨assige L¨osungin annehmbarer Zeit finden. M¨ogliche Systemstrukturen werden dabei durch Dynamische Optimierung bewertet. Unter Ausnutzung des Bellman’schen Optimalit¨atsprinzipswird durch R¨uckw¨artsrekursion eine optimale Wartungsstrategie bei Verschleißprozessen berechnet. Uber¨ duale Dekomposition werden zudem zur Absch¨atzungder Ersatzteilkosten duale Schranken abgeleitet. Mittels der vorgestellten Modelle und den entwickelten Algorithmen lassen sich verschleißbedingte Wartungskosten und Ausfallzeiten einer Systemvariante bereits in der fr¨uhenPhase der Strukturfindung antizipieren. Diese Dissertation legt damit den Grundstein zur Beherrschung von Strukturunsicherheit in realen Systemen.
IX
Contents
List of Figures XIII
Symbol Directory XV
1 Introduction 1 1.1 The TOR Ansatz ...... 1
2 Mathematical Basics 5 2.1 Mixed-Integer Programming ...... 5 2.2 Primal, Dual, and the Optimality Gap ...... 6 2.3 Solving to Global Optimality ...... 7
3 Optimization of Technical Systems 9 3.1 Optimization of Fluid Systems ...... 9 3.2 Special Problem Structure of System Synthesis Problems ...... 11
4 Wear Processes and Algorithmic System Design 13 4.1 Mathematical Optimization Model for the Hydrostatic Transmission System ...... 13 4.2 Extension of the Model ...... 17
5 Topology Optimization 21 5.1 Superstructures of Possible Layouts ...... 21 5.2 Number of Possible Topology Options ...... 21 5.3 Topology Options for the Hydrostatic Transmission System . . . . . 24 5.3.1 Series-Parallel Networks ...... 26 5.4 Local Search for System Topologies ...... 29 5.4.1 Neighborhood Function ...... 31 5.5 Simulated Annealing ...... 36 5.6 Implementation and Benchmarks ...... 38
6 Dynamic Programming 41 6.1 Fundamentals ...... 41 6.2 Application to Dynamic Decision Problems ...... 42 6.3 Algorithmic Operations ...... 45 6.3.1 Benchmarks ...... 48
XI Contents
7 Dual Bounds via Lagrangean Relaxation 51 7.1 Basics of Lagrangean Relaxation ...... 51 7.1.1 Subgradient Method ...... 53 7.2 Lagrangean Decomposition ...... 54 7.3 Wear-Induced Component Replacement ...... 56 7.3.1 Dual Decomposition Approach ...... 56 7.3.2 Verification For Small Test Cases ...... 58 7.3.3 Benchmarks ...... 60
8 Conclusion and Outlook 65
Bibliography 67
XII List of Figures
1.1 TOR pyramid illustrating the seven steps of the TOR ansatz. . . .3
2.1 Convex and non-convex sets...... 7
3.1 Problem Structure for a system synthesis problem...... 10 3.2 Problem Structure for a system synthesis problem considering dy- namic processes ...... 11
4.1 Details on the hydrostatic transmission system...... 15 4.2 Optimal topology of the hydrostatic transmission system for a max- imum lifespan ...... 17 4.3 Optimal system structures for the hydrostatic transmission system. 20
5.1 Exemplary system topologies for a hydrostatic transmission system. 24 5.2 Runtimes of the commercial solver IBM ILOG CPLEX for the prob- lem of finding an optimal system structure for the hydrostatic trans- mission system...... 25 5.3 Graph of the hydrostatic transmission system considering only open valves in each load case...... 27 5.4 Graph representing superstructure of all considered system layouts. 28 5.5 Series-parallel networks of order 1 to 4...... 29 5.6 Exemplary executions of the swap neighborhood function...... 32 5.7 Exemplary executions of the replace neighborhood function. . . . . 33 5.8 Exemplary executions of the switch neighborhood function...... 34 5.9 Exemplary executions of the add neighborhood function...... 34 5.10 Exemplary executions of the delete neighborhood function...... 35 5.11 Progress of the solution quality obtained via simulated annealing for 10 operation intervals...... 38 5.12 Results for the simulated annealing heuristic for the case of three operation intervals...... 39
6.1 Basic structure for deterministic dynamic programming...... 43 6.2 Structure of a dynamic program representing a decision problem containing 3 wear levels and 2 valves, and start of the solution pro- cedure...... 45 6.3 Second step of the solution procedure in the dynamic program. . . . 46
XIII List of Figures
6.4 The dynamic optimization yields an optimal policy from stage 0 to stage T ...... 47 6.5 Runtime of the dynamic programming algorithm for the test case of four valves...... 49 6.6 Run time of the dynamic program for 10 service intervals for different numbers of valves and different numbers of levels...... 49
7.1 Graphical interpretation of the Lagrangean relaxation...... 52 7.2 Graphical interpretation of the Lagrangean decomposition. . . . . 55 7.3 Evolution of wear, and replacement strategy for a simple test case with one valve...... 60 7.4 Evolution of the dual bound with the number of iterations for dif- ferent test cases...... 62 7.5 Evolution of the dual bound for two valves and different numbers of operation intervals...... 63
XIV Symbol Directory
Symbols are listed in the first column, and are described in the second column. The third column gives the corresponding dimension if it can be stated, with the base factors length L, mass M, and time T . Symbol Description Dimension A Coefficient matrix of a general optimization prob- lem. 2 Apiston Piston area. L
αvi,vj Binary variable indicating whether valve (vi, vj) is shut or open. b Right-hand vector of a general optimization prob- lem. bi,j Binary variable indicating whether a component (i, j) is purchased or not. c Coefficient vector of objective function. c(k) Control parameter of simulated annealing algo- rithm in iteration k. Cinvest Investment costs. Cmaint Maintenance costs.
Cvi,vj Price of valve (vi, vj). cV Volume fraction of suspended solids. d Valve diameter. L E Set of edges of a graph. Ej Energy of a state j in the Metropolis algorithm. −2 Fl Required piston force in load case l. MLT fn(sn) Contribution of stages n, n+1,...,N to the objec- tive function of a dynamic optimization problem if system starts in state sn at stage n. G Graph. G(V,E) Graph with vertices V and edges E. Gl Graph for load case l. g Subgradient of the Lagrangean function. g(k) Subgradient of the Lagrangean function in itera- tion k of the subgradient method. (i, j) Edge of a graph. k Iteration number.
XV Symbol Directory
kB Boltzmann constant. −1 l,vi,vj Reciprocal time constant for wear of valve (vi, vj) T K depending on operating parameters of load case l. l Load case index. L Set of load case indices. L(λ) Lagrangean function. λ Vector of Lagrange multipliers. λ(0) Initial vector of Lagrange multipliers in the first iteration of the subgradient method. λ(k) Vector of Lagrange multipliers in iteration k of the subgradient method. µ(k) Step size in iteration k of the subgradient method. n Index for stages in a dynamic optimization prob- lem. N Number of stages in a dynamic optimization prob- lem. p Pressure. L−1MT −2 −1 −2 pmax Upper bound for pressure. L MT ∆p Pressure decrease. L−1MT −2 π Circle constant. Π Combinatorial optimization problem. Powerset. QP Volume flow. L3T −1 3 −1 Qmax Upper bound for volume flow. L T
rs,vi,vj Binary variable indicating if valve (vi, vj) is re- placed at maintenance point s. R The set of real numbers. ρ Oil density. ML−3 s Operation interval index. sbest Current best solution found by Simulated Anneal- ing. sinitial Initial solution the Simulated Annealing algorithm is provided with. sn Current state for stage n in a dynamic optimiza- tion problem. Sn Set of reachable states for stage n in a dynamic optimization problem. s˜, t˜ Terminals of a graph. t Time step. T Index for last operation interval. T1,...,T4 The four series-reduced trees representing the valve system. tl Duration of load case l. T
XVI Symbol Directory
trn(sn, xn) Transformation function of a dynamic optimiza- tion problem which maps the current state and decision to a new state sn+1. umax Maximum valve lift. L u Valve lift. L V Set of vertices of a graph. Set of edges (v , v ) representing valves in a graph Vl i j Gl corresponding to load case l. prop Set of edges representing proportional valves. V Set of edges representing proportional valves of Vprop,l graph Gl. −1 v˜l Required piston velocity in load case l. LT (vi, vj) Edge representing a valve. wmax Upper bound for the accumulated wear. L ws,vi,vj Wear of the control edge of a proportional valve L (vi, vj) that is accumulated until the end of oper- ation interval s. begin ws,vi,vj Accumulated wear of the control edge of a propor- L tional valve (vi, vj) present at the start of operation interval s. end ws,vi,vj Accumulated wear of the control edge of a propor- L tional valve (vi, vj) present at the end of operation interval s.
∆wvi,vj Wear of the control edge of a proportional valve L (vi, vj). x Vector of all decision variables of a general opti- mization problem. x∗ Optimal solution to a general optimization prob- lem. ys,vi,vj Auxiliary variable for each coupling constraint L that represents the common value of the coupled variables for valve (vi, vj) in operation interval s. yˆs,vi,vj Average of the variables decoupled by Lagrangean L decomposition for valve (vi, vj) in operation inter- val s. z Objective value of a general optimization problem. z∗ Optimal objective value of a general optimization problem. zdual Dual bound. zLD Dual bound obtained by Lagrangean decomposi- tion. zLP Dual bound obtained by LP relaxation. zLR Dual bound obtained by Lagrangean relaxation. zprimal Primal bound.
XVII Symbol Directory
zSim.Ann. Objective value obtained by Simulated Annealing. zub General upper bound on the objective value. Z The set of integers. ζ Pressure loss coefficient.
XVIII 1 Introduction
It is common practice to optimize technical components in terms of their charac- teristics, such as energy efficiency or durability. However, even highly optimized components can lead to an inefficient or unstable system structure if their interac- tion is not taken into account. Considering systems instead of components opens up further potential for optimization. A holistic approach for the design of technical systems is pursued by the Technical Operations Research (TOR) Ansatz [PLL14] which is outlined in this chapter and which is the basis of this thesis. The TOR Ansatz has been successfully applied to various technical systems, e.g., to find the optimal design of booster stations [Alt+16], ventilation systems [Sch+], or heating systems [P¨ot+15b].Especially in the context of uncertainty, e.g., due to unexpected component failures or uncertainties in the expected load, the optimal system topology is often unclear. TOR has also been successfully applied in these cases. For a booster station, an optimization model was developed that anticipates future downtime costs due to stochastic failures [Alt+15b], while uncertainty in the expected load profile was considered in [P¨ot+15a]. In this thesis, the application of TOR to a technical system in the context of the Collaborative Research Centre 805 – Control of Uncertainty in Load-Carrying Structures in Mechanical Engineering is investigated: The task is to find the optimal topology and operation of a hydrostatic transmission system. Possible layout options consist of different switch and proportional valves and all of their possible connections. Since it has been found for hydraulic valves that a contamination of the hydraulic fluid by solid particles is the main cause of failure [Sch04], the focus in this application example lies on the dynamic process of erosive wear of the system components.
1.1 The TOR Ansatz
When determining a reasonable system structure, i.e., finding the right selection and arrangement of components, so that the desired task can be fulfilled, the designer has to make several discrete decisions: “Should I buy this component or another one?”, “Should I buy one, two or three (possibly redundant) components?”,
1 1 Introduction
“How should the components be connected?”, ... Even for what seems to be a relatively small amount of possible component options, these decisions lead to a multitude of possible system structures, also known as combinatorial explosion.
Computer support is however often only used in the form of simulations of pre- determined single system structures. Whenever discrete decisions come into play, standard gradient based optimization techniques can only be applied if one enu- merates all possible options and optimizes each one separately - an approach that is not feasible in practical system design, since the number of possible design options can quickly reach magnitudes of thousands.
In contrast, the TOR Ansatz aims at considering a superset of possible system structures simultaneously. Instead of performing parameter optimization for spe- cific, pre-defined system structures, the structure itself is already put in question. The system designer is supported by algorithms known from the field of discrete optimization, that find the optimal topology option and its optimal operation in the plurality of possible system variations.
TOR provides a systematic guideline for the optimal design of technical systems. Fig. 1.1 schematically depicts the single steps. The first step is to clarify the basic task of the system. Technical requirements are determined by the specification of a load profile that has to be satisfied. Subsequently, the system designer has to specify his objective which is always subjective. His goal may be to find a system topology, which fulfills the required function and incurs lowest possible investment costs. He could however also prefer a system structure that requires the lowest energy consumption during the expected runtime of the system. Combinations of different, possibly opposite objectives are also conceivable, e.g., when consid- ering the conflict of additional investment costs versus possibly increased system availability.
The third step is the determination of the degrees of freedom of the topology optimization. This includes answering the following questions: “Out of which kit of optional components will the optimization algorithm be free to choose?”, “Do we e.g., consider different pump types or only equal pump types but different models?”, “What design alternatives are imaginable?”, “What degree of freedom is there in linking the optional components?”, “Are only series or parallel connections possible or do we want to consider all possible connections?” In this step, the physical relationships of the system are modeled. This includes characteristic curves of all of the optional components, as well as system wide conservation laws. By concluding this step, all necessary input data for the topology optimization is set.
In a further step, a Mixed-Integer Nonlinear Optimization Problem (MINLP) is created. This MINLP is piecewisely linearized to obtain a Mixed-Integer Lin- ear Optimization Problem (MILP). It contains not only continuous variables, but also integer variables that represent the discrete structure decisions. The decision
2 Technical Operations Research - TOR 1.1 The TOR Ansatz
1. WHAT IS THE TASK?
2. WHAT IS THE OBJECTIVE?
3. WHAT ARE THE DEGREES OF FREEDOM?
4. OPTIMIZE!
5. VERIFY!
6. VALIDATE!
7. REALIZE!
20. NovemberFigure 2013 1.1 | FAA –Forschung TOR | Prof. pyramid Dr.-Ing. Peter illustrating Pelz, PD Dr. Ulf theLorenz seven| TOR steps of the2 TOR ansatz. whether a particular component is ideally be installed or not, can e.g., be inte- grated into the optimization model by a binary variable. Section 2 gives a short overview of the mathematical basics. Once, an optimal system structure has been found, the underlying optimization model has to be verified, i.e., it has to be checked whether the relevant functional relations in the system were represented correctly and whether the model was solved numerically correctly. If this is the case, validation can take place, i.e., checking to what extent the model and its detail are suitable for the description of the relevant physical behavior and dependencies. This can e.g., be done by numerical simulations where the found optimal system structure is fixed. If possible, the optimization results can also be validated by comparison with measurements on real systems. For the case of a booster station, an experimental validation in [Alt+16] showed that in the worst case the predicted energy consumption of an optimal system topology only differed by 10% from the found optimum.
3 1 Introduction
4 2 Mathematical Basics
Many real-world optimization problems consist of a mixture of discrete decisions and physical relationships that are described by continuous variables. In the case of algorithmic system design, discrete decisions arise from investment decisions and e.g., from shutting and opening shift valves during operation. Continuous variables describe physical quantities in the system like pressure or volume flow, and continuous operation parameters like the valve lift of a proportional valve or the rotational speed of a pump. Such problems can be modeled by mixed-integer linear programs which will be briefly introduced in this section. A standard reference is [Sch98]. The outline given in this chapter follows the short introduction of [F¨ug+10].
2.1 Mixed-Integer Programming
A Mixed-Integer Linear Problem (MILP) is a mathematical optimization problem consisting of a set of variables, and a set of linear constraints on these variables. Furthermore, a set of integrality constraints on some of the variables is given, spec- ifying that these variables must assume integer values. Goal of the optimization is to find realizations of the variables that satisfy both the linear and the integral- ity constraints and minimize or maximize a given linear objective function (e.g. min cT x). A maximization problem can be easily transformed into a minimiza- tion problem by multiplying the objective function by 1. All definitions and theorems can also be easily transferred. Therefore, in this− work, we will focus on minimization problems. This leads to the following formal notation for a MILP:
min cT x s.t. Ax b (2.1) ≤ x Zp Rn−p. ∈ × where A Qm×n, b Qm, c Qn with m, n, p N, p n is the input data ∈ ∈ ∈ ∈ ≤ describing a certain instance. If a vector x Zp Rn−p satisfies Ax b it is called a feasible solution for Problem 2.1. Solving∈ Problem× 2.1 to global optimality≤ means to find a feasible solution x∗ Zp Rn−p that minimizes the objective function ∈ × such that for any other feasible solutionx ˆ Zp Rn−p it holds cT x∗ cT xˆ. ∈ × ≤
5 2 Mathematical Basics 2.2 Primal, Dual, and the Optimality Gap
In some cases, solving an optimization problem to global optimality is not possible within reasonable time. In this case, one would want to conclude how far away the best solution found so far is from the global optimum. By tackling the problem from two sides, the primal and the dual, a so-called optimality gap can be derived. It allows to assess the difference between the incumbent best known solution and a value that bounds this best possible solution.
At the primal side one is interested in finding feasible solutions within a short amount of time. Common primal methods which have been used in a broad field of applications are meta-heuristics like genetic algorithms, tabu search or simu- lated annealing. While having the ability of finding good solutions quickly, it is in principle not possible to guarantee global optimality or derive the size of the optimality gap. This is where the dual side comes into play.
The main strategy of dual methods is to relax the original Problem 2.1 such that it can be solved more efficiently. Some “hard” constraints of the problem are dropped and it is solved to global optimality. Since all feasible solutions to the original Problem 2.1 are also feasible solutions of the relaxed Problem 2.2, this gives a ∗ lower bound zdual on an optimal objective value z of the original Problem.
A general strategy in mixed-integer programming is to relax the integrality condi- tion and solve the corresponding linear programming (LP) relaxation:
min cT x s.t. Ax b (2.2) ≤ x Rn. ∈ The set of feasible solutions to an LP is a polyhedron, which can be described by an intersection of a finite set of halfspaces, i.e., it is a convex subset of Rn, c.f. Fig. 2.1. A polyhedron can also be described by the Minkowski sum of a convex hull of finitely many points and a cone of finitely many rays. The convex hull conv(M) of a subset M of Rn is the smallest possible convex set that contains M, namely the intersection of all convex sets containing M.
Due to the convexity of the feasible set and the linearity of the objective function the optimal solution to Problem 2.2 – if it exists – can always be found on a corner of the polyhedron, i.e., on an extremal point of the convex hull. Problem 2.2 can be solved to global optimality by a linear programming algorithm, such as the simplex algorithm of Dantzig [Dan51]. It will either return a verified global optimal solution (which does not have to be unique), or verify that the optimization problem is unbounded (i.e., the direction of the objective function follows the direction of the cone) or infeasible (i.e., the polyhedron is an empty set).
6 2.3 Solving to Global Optimality
CONVEX SET NON-CONVEX SET
CONVEX POLYTOPE CONVEX POLYHEDRON = POLYTOPE + CONE
Figure 2.1 – Convex and non-convex sets. For every pair of points within a convex set, every point on the straight line segment that joins the pair of points is also within the region. A polytope is a bounded polyhedron. A polyhedron can be described by the sum of a polytope and a cone.
We have seen that the objective value of each dual solution zdual is a lower bound to the global optimal solution z∗ of the original problem. On the other hand, the objective value zprimal of each feasible solution of the primal problem is an upper bound to the global optimal solution:
z z∗ z (2.3) dual ≤ ≤ primal
This allows us to define the optimality gap as follows:
z z gap := primal − dual . (2.4) zdual
It measures the distance between primal and dual bound, however we cannot derive where the global optimal solution z∗ lies in respect to both bounds. Our goal is therefor to improve dual as well as primal bound until we reach an optimality gap of (almost) zero.
2.3 Solving to Global Optimality
If one can show that the optimality gap is zero, one has found a global optimal solution to the MILP 2.1. Therefore, it is necessary to improve both primal and dual solutions.
7 2 Mathematical Basics
The lower dual bound can be tightened by iteratively reintroducing the dropped constraints into the LP relaxation. One way of doing so is to add hyperplanes in order to separate the integer hull of the feasible set of the original problem from the optimal solution to the LP relaxation. Finding such cutting planes can however be very challenging. One can find numerous approaches in literature, some of which are of general purpose and can be applied to general mixed-integer problems (such as Gomory cuts [Gom60]), while others make use of the special problem structure (e.g. the first cutting planes introduced by Dantzig et. al. for the traveling salesman problem [DFJ54]). Another way of improving the dual bound by reintroducing integer constraints is branching. If the optimal solution of the LP relaxation is fractional and therefor not a feasible solution to the original problem, one can find an index i with i p ≤ such thatx ˆi R Z. We create two new subproblems by copying the original LP ∈ \ relaxation twice and adding the two additional constraints xi xˆi and xi xˆi , respectively. Each of the two new subproblems must then be solved≤ b c separately≥ d ande both objective values must be compared in order to find the gobal optimum. With this strategy, we can remove the fractional solution vector from the feasible sets of the subproblems, however at the price of creating two problems out of one. When solving the new subproblems, some of the variables with integer constraints can again become fractional, which leads to a rapidly growing tree of open subproblems, where the original LP relaxation without additional constraints is the root node. In order to find the best lower bound, which corresponds to the global optimal solution of the original MILP, one would have to solve all subproblems and compare their objective value. Luckily, in three cases further branching at a node is not necessary and therefor parts of the tree can be pruned:
If the corresponding LP of a node in the tree is infeasible, all descendants • are also infeasible. If the corresponding LP solution is feasible to the original MILP. • If the objective value of the corresponding LP of a node is greater-or-equal to • the objective value of the current best feasible solution to the original MILP.
The latter explains why employing heuristics to obtain good feasible solutions early is important. Both approaches of branching and cutting are combined in a method known as branch-and-cut which is the foundation of almost any successful MILP solver. Cut- ting planes are generated and used to tighten the LP relaxations in the tree. These can either be global cuts which are satisfied by all feasible integer solutions, or local cuts, that are only satisfied by all solutions from the currently considered subtree. If no more “useful” cuts are found, branching is carried out and the tree is pruned whenever possible.
8 3 Optimization of Technical Systems
The process of designing a technical system comprises the establishment of the layout, functionalities, as well as the used components. Empirical studies show that these initial decisions determine 70 to 80% of the total costs that occur during the total lifespan of the system [VDI03]. Besides investment and operation costs, maintenance and downtime costs during the expected planning horizon should be considered. This chapter provides an overview of optimization techniques that have been applied for the optimization of the design and operation of fluid systems in the context of discrete decisions.
3.1 Optimization of Fluid Systems
In recent years there have been a series of works that deal with the optimization of flow networks, e.g., with the optimization of water supply networks [MGM12]. The general mathematical problem underlying beneath the task of finding an op- timal system design and its optimal operation is challenging, not only because it contains both continuous and discrete variables. In addition, the networks can become large and temporal couplings over the planning period can occur. To find a reasonable compromise between model accuracy and solubility it is important to develop appropriate models and algorithms to solve these problems.
The optimal control task of a water network with continuous control variables is considered in [Kol12] where gradient-based optimization techniques are used to calculate the optimal control with fast algorithms. In general, the optimal operation of a water distribution network is a mixed-integer nonlinear program: Binary variables represent the switching of valves or pumps while the physical constraints and component characteristics are nonlinear and often nonconvex.
The problem of finding energy optimal settings of components within a network with a given layout has, e.g., been investigated in [Mar+12]. The authors use MILP techniques to solve control problems that include both continuous and dis- crete control variables. The model formulations contain nonlinearities and partial differential equations which are discretized and piecewise linearly approximated to make them accessible for MILP Algorithmics. The resulting MILP could be solved to global optimality. For solving operational planning tasks for a given network
9 3 Optimization of Technical Systems
sc. 1
sc. 2
sc. 3
sc. 4 FIRST STAGE FIRST VARIABLES
SECOND STAGE VARIABLES
Figure 3.1 – Problem Structure for a system synthesis problem. Binary first stage variables indicate the investment decisions, e.g. if a pump has been bought or not. Second stage variables for all load scenarios are coupled to the first stage variables. topology, decomposition methods like discrete dynamic programming, see, e.g., [ZS89], or Generalized Benders Decomposition [VA15] have been applied.
Besides the optimal control, also the optimal design of water distribution networks has been studied by several authors. It has to be noted that the literature in this context defines the term “design” in a special way. In the water distribution network community, the terms “design” and “layout” are used to distinguish two different optimization problems [DCS13]: While the layout problem deals with finding an optimal network topology, the design problem is to find the material and diameter of each pipe in a network with a given topology so that the total cost is minimized without violating any hydraulic constraints.
Traditionally, first, the layout of the pipe network is determined and taken as fixed during the process of component sizing [Raa11], p. 87. However, even the resulting pipe sizing problem was shown to be NP-hard [YTB84]. Several (meta-)heuristics like Simulated Annealing Tabu Search or Genetic algorithms have been applied to this problem, i.e., to the optimal assignment of discrete diameters to a given pipe topology. A good overview can be found in [DCS13]. Bragalli et al. [Bra+15] propose a solution method for the problem of finding the optimal size of pipe diameters of a water distribution network that uses a nonconvex continuous NLP (nonlinear programming) relaxation and a MINLP search.
Finding the optimal layout of a fluid system has been investigated by F¨ugenschuh et al. [FHM14] on the application example of sticky separation in waste paper processing. The authors present a MINLP for the simultaneous selection of the network’s topology and the optimal settings of each separator for the steady state.
10 3.2 Special Problem Structure of System Synthesis Problems
t = 1
t = 2
t = 3
t = 4 FIRST STAGE FIRST VARIABLES
SECOND STAGE VARIABLES
Figure 3.2 – Problem Structure for a system synthesis problem considering dy- namic processes. Binary first stage variables indicate the investment decisions. Second stage variables for all time steps are coupled to the first stage variables. Additional constraints link neighboring time steps (here blue colored)
Numerical results are obtained via different types of piecewise linearization of the nonlinearities and the use of MILP solvers.
The approach of piecewise linearization was also followed in [Alt+17a] where the optimal topology and settings for a ventilation system were found. Several load scenarios in steady state were considered. While the approach of linearization allows to use fast MILP solvers, it also introduces additional integer variables. Because of the special problem structure of system synthesis problems, see Section 3.2, additional integer variables have to be introduced for each load scenario that is considered. With the help of affinity laws derived from similarity theory, the amount of additional integer variables could be decreased.
3.2 Special Problem Structure of System Synthesis Problems
When modeling the optimization problem of finding the optimal system structure for a given load profile via MILP, a special problem structure arises: Binary so- called first stage variables indicate whether a component is part of the system or not. Whenever an optional component is not bought, it cannot be used to satisfy the required load scenarios. Therefore, all second stage variables describing the operation of the optional components must be coupled with the first-stage decision. This results in the problem structure that can be seen in Fig. 3.1.
11 3 Optimization of Technical Systems
The right hand side of this MILP contains different load requirements depending on the considered scenario. If one, e.g., considers two distinct load cases, the right side consists of two columns. The first stage variables which indicate whether a component is purchased or not take the same value in all load scenarios, as they represent decisions that have to be made once. In contrast, second stage variables can take different values in the different load cases and are dependent on the first stage variables. E.g., the volume flow through a pipe can only take a value unequal to zero, if this pipe is bought. For each scenario new columns with second stage variables are added. If second stage variables belong to different distinct load scenarios, they have no influence on each other and are not coupled. This results in the block structure as shown in Fig. 3.1. This structure changes if dynamic processes are investigated, e.g., by the consideration of accumulators or erosive wear. In this case, a block has to be added to the optimization model for each time step considered. The individual blocks in the matrix are coupled in between subsequent time steps, as are the dynamic processes, c.f. Fig. 3.2. The methods used in this thesis take advantage of this special problem structure when solving the related optimization problem.
12 4 Wear Processes and Algorithmic System Design
Given a specific load profile, it is often unclear which system structure is the optimal one, especially regarding expected costs due to failure and maintenance. Optimizing the layout and operation of a technical system can increase its lifespan considerably [VPP14]. Dispersion of load between multiple components might be favorable considering the expected time until the individual components have to be replaced. Thus, investing in more components than necessary can be beneficial regarding the availability of a system in between maintenance points. However, this also increases the complexity of the system. This can not only lead to higher investment costs, but also to additional effort in maintenance and operation, and to a higher probability for stochastic failures. In this chapter, an optimal system topology for a hydrostatic transmission system is found, taking into account the wear of its components and the resulting costs for replacements. The following formulation for the mathematical optimization model can also be found in the publications [Ver+16; Alt+15a; Alt+17b].
4.1 Mathematical Optimization Model for the Hydrostatic Transmission System
Finding the optimal design of the hydrostatic transmission system is a mixed- integer optimization problem consisting of two stages: First, find an investment decision in a set of up to four optional valves and their optimal topology. Secondly, find operating settings for the system given a specific load profile while taking into account the wear of each proportional valve. The quality of each topology option is determined by its ability to satisfy the load requirements and by the resulting wear of its components during operation.
According to the TOR approach the first step in finding an optimal system struc- ture is to define the required task. In this example, the hydrostatic transmission system has to satisfy two different load scenarios: One for moving its piston out- wards and one for moving it inwards, cf. Fig. 4.1(b). These two predefined scenar- ios are specified by velocity and force requirements for the piston. To satisfy these
13 4 Wear and Algorithmic System Design requirements, oil flow and pressure in the system have to be controlled by propor- tional and shift valves. For this application example we consider the construction kit in Fig. 4.1(a) of optional components to choose from. Available are up to four proportional and up to four shift valves and all their possible connections.
All possible designs for the hydrostatic transmission system are given by the com- plete graph G = (N,E). Its edges E represent the technical components of the system: one edge corresponds to the piston of the transmission system, while the other edges represent optional proportional and shift valves, and the possible pipes between them. The nodes N represent connection points between the compo- nents. Two distinct nodes s, t N represent a steady pressure source and the { } ∈ tank of the system. A binary first stage variable bi,j for each optional component (i, j) E indicates whether it is purchased (bi,j = 1) or not (bi,j = 0). The second stage∈ variables represent the system state during operation: All edges can convey a quasi-stationary flow Qi,j, whose sign determines the flow direction. A positive value of Qi,j represents flow from node i to node j, while a negative value repre- sents flow in the opposite direction. The nodes N of the graph can be regarded as measuring points with a certain pressure.
The graph is copied for each load case l L = 1, 2 : Based on the first stage ∈ { } decision made for the original graph G, graph G1 = (N1,E1) represents the op- eration of the purchased components when the piston is moving out, while graph G2 = (N2,E2) represents the operation for it moving in. Binary second stage vari- ables αl,vi,vj for each valve edge (vi, vj) in the set of valves l Gl allow to block purchased connections by shutting a valve during operation.V Pipe⊆ edges cannot be deactived.
Assuming incompressibility of the hydraulic fluid, we require the conservation of volume flow Q in each node n in each load case l:
n N , l L : Q = Q . (4.1) ∀ ∈ l ∀ ∈ l,i,n l,n,j (l,i,nX) ∈ El (l,n,jX) ∈ El
To enable the shutting of valves (v , v ) during operation in load case l, the i j ∈ Vl volume flow Ql,vi,vj is coupled with the binary open/shut indicator αl,vi,vj :
(v , v ) , l L : Q Q α , (4.2) ∀ i j ∈ Vl ∀ ∈ l,vi,vj ≤ max · l,vi,vj Q Q α . (4.3) l,vi,vj ≥ − max · l,vi,vj
Other physical relationships to be modeled are the hydraulic resistance laws. The pressure propagates along each edge, if components are connected:
(i, j) , l L : p p = ∆p . (4.4) ∀ ∈ El \Vl ∀ ∈ l,i − l,j i,j
14 4.1 Mathematical Optimization Model
PISTON 퐹표푢푡
푣표푢푡
퐹푖푛 CONSTRUCTION KIT OF 푣푖푛 DIFFERENT A B VALVES
P T
STEADY PRESSURE TANK SOURCE
(a) Design Problem: The construction kit consists of four proportional and four shift valves. Which combination results in the best system?
퐹
RUNNING-IN
FORCE TIME RUNNING-OUT
푣
RUNNING-IN
TIME VELOCITY RUNNING-OUT
(b) Load profile: The piston has to move outwards and inwards with a certain velocity against a specified force.
Figure 4.1 – Details on the hydrostatic transmission system. Figures taken from the joint publication [Alt+15b]
15 4 Wear and Algorithmic System Design
For closed valves, this propagation does not hold. We model this on/off constraint via the big-M formulation:
(v , v ) , l L : p p ∆p + p (1 α ), (4.5) ∀ i j ∈ Vl ∀ ∈ l,vi − l,vj ≤ vi,vj max · − l,vi,vj p p ∆p p (1 α ). (4.6) l,vi − l,vj ≥ vi,vj − max · − l,vi,vj
The pressure decrease ∆pi,j depends on the considered component (i, j). For open shift valves, ∆pi,j = 0 is assumed. For proportional valves, the resulting pressure decrease depends nonlinearly on the valve lift ul,vi,vj and on the volume flow Ql,vi,vj . This pressure decrease is described by a one-dimensional model:
2 ∆pl,vi,vj (vi, vj) prop,l, l L : Ql,vi,vj = · ζ d ul,vi,vj , (4.7) ∀ ∈ V ∀ ∈ s ρ · · · where prop,l is the set of proportional valves, ρ is the oil density, ζ is the pressure loss coefficient,V and d is the valve’s diameter. The system has to fulfill the load in each load case l L. The volume flow and the ∈ pressure decrease along the edge (pi, pj) representing the piston of the transmission system have to satisfy
l L : Q =v ˜ A , (4.8) ∀ ∈ l,pi,pj l · piston Fl pl,pi pl,pj = , (4.9) − Apiston wherev ˜l is the required velocity of the piston in load case l, Apiston is the area of the piston, and Fl is the required force in load case l. Regarding hydraulic valves, it has been found that the contamination of the hy- draulic fluid with solid particles is the most important cause of failure [Sch04].
According to [Alt+15a] the wear ∆wvi,vj of the control edge of a proportional valve (vi, vj) in load case l can be calculated by
1 ∆w = u exp t 1 . (4.10) l,vi,vj l,vi,vj · −3 ·Kl,vi,vj · l − where = (∆p , u , u , d, ρ, c ) depends on operating parameters Kl,vi,vj K l,vi,vj l,vi,vj max V such as the pressure loss ∆p, the valve lift u, the maximum valve lift umax, the valve’s diameter d, the oil density ρ and the volume fraction of suspended solids cV . With this dependency, we can calculate the wear of each bought valve for a specific loading case l with length tl. To do so within the MILP, all of the above mentioned nonlinear equations were approximated by piecewise linear functions [VAN10]. For the optimal design of the hydrostatic transmission system one can imagine several objective functions, out of which some have been investigated in [Ver+16].
16 4.2 Extension of the Model
RUNNING OUT RUNNING IN
Figure 4.2 – Optimal topology if we maximize the run time of the system before the first component has to be replaced. Result of this objective is a system with hot redundancy. Load sharing allows to distribute the wear among the components. Figure taken from joint publication [Ver+16].
E.g, one could minimize the initial investment costs. In this case, the solution of the optimization problem will constitute a system consisting of the cheapest components that in principle satisfies the load requirements, however fails often due to worn out components that have to be replaced. Another reasonable approach is to maximize the expected failure free time of the system, i.e. the time until the first component has to be replaced. To do so, the following objective [Ver+16] can be considered:
min max ∆w(∆pl,vi,vj , ul,vi,vj , umax, d, ρ, cV ) . (4.11) (v ,v )∈V i j ∈ !! Xl L
The optimal solution corresponding to this approach, constitutes a complex system with multiple components and possibly hot redundancy, since the wear resulting from the load can be distributed among the components. Fig. 4.2 shows the solution for the considered application example.
4.2 Extension of the Model
When designing a technical system, one would like to prevent system failures. At the same time, the maintenance of the system should often ideally be limited to
17 4 Wear and Algorithmic System Design pre-defined periods. I.e., one wants the system to satisfy load requirements until the first maintenance point is reached, and worn or broken parts and components can be replaced. To make it possible to anticipate maintenance costs given such a maintenance strategy, the model formulation presented in the last section 4.1 was extended. The goal is to find an optimal system structure that balances two diverse objectives: An increase in availability by introducing redundancy can lead to a decreased maintenance effort due to wear. However, the system becomes more complex and more costly. If one wants to balance initial investment and maintenance costs during the ex- pected operating time of the system, several equations and second stage variables have to be added to the basic model. The first additional second stage variable ws,vi,vj is the wear of a valve (vi, vj) accumulated at the end of operation interval s. This accumulated wear can only be unequal to zero if the valve has been bought:
(v , v ) V, s = 2, ,T : w w b , (4.12) ∀ i j ∈ ∀ ··· s,vi,vj ≤ max · vi,vj where wmax is an upper bound for the accumulated wear. If the wear of a valve has reached this bound, the valve has to be replaced. The next additional equation describes the coupling of valve wear in between sub- sequent operation intervals:
(v , v ) V, s = 2, ,T : w = w − + ∆w , (4.13) ∀ i j ∈ ∀ ··· s,vi,vj s 1,vi,vj s,vi,vj where ∆ws,vi,vj the additional wear resulting from operating the valve in the current interval s. This additional wear in interval s is given by
1 ∆w = u exp t 1 . (4.14) s,i,j l,i,j · −3 ·Kl,i,j · l − XlinL
To account for replacement costs, new second stage variables r 0, 1 are in- s,vi,vj ∈ { } troduced indicating if valve (vi, vj) is replaced at maintenance point s (rs,vi,vj = 1), or not (rs,vi,vj = 0). These second stage variables have to be coupled to the first stage variables. A valve can only be replaced, if it has been bought (bvi,vj = 1):
(v , v ) V, s = 1, ,T : r b . (4.15) ∀ i j ∈ ∀ ··· s,vi,vj ≤ vi,vj
If a valve (vi, vj) is replaced at the end of operating interval s, the wear accumulated until the end of this operating interval is set to zero:
(v , v ) V, s = 1, ,T : w w (1 r ). (4.16) ∀ i j ∈ ∀ ··· s,vi,vj ≤ max − s,vi,vj
18 4.2 Extension of the Model
In this case, Eq. 4.13 is no longer valid. Therefore, we replace it by an off/on- constraint via a big-M formulation:
(v , v ) V, s = 2, ,T : w w − + ∆w , ∀ i j ∈ ∀ ··· s,vi,vj ≤ s 1,vi,vj s,vi,vj (vi, vj) V, s = 2, ,T : ws,vi,vj ws−1,vi,vj + ∆ws,vi,vj wmax rs,vi,vj . ∀ ∈ ∀ ··· ≥ − · (4.17)
To find an optimal trade-off, the objective function of the extended optimization model now calculates the overall lifetime costs. It accounts for initial investment costs Cinvest and maintenance costs Cmaint due to replacements of worn out valves:
min z = Cinvest + Cmaint (4.18) = b C + r , (4.19) vi,vj · vi,vj s,vi,vj (vi,vjX)∈V (vi,vjX)∈V,s∈S where bvi,vj = 1 if a valve (vi, vj) is bought, and Cvi,vj is the price for this valve. rs,vi,vj is a binary variable indicating if valve (vi, vj) is replaced at the end of operation interval s.
When considering only the first part of this objective, the investment costs, the optimal solution corresponds to the smallest possible system built with the cheapest components, regardless of the downtime of the system because components have to be replaced. When considering only the second part of this objective, the costs for replacements of worn components, a very complex system with lots of hot redundancy evolves, since wear resulting from the load can be distributed among more components. The availability of the system increases, however as do the initial investment costs. Combining both parts allow us to find a trade-off between the two extremes.
Fig. 4.3 shows optimal topologies for the hydrostatic transmission system obtained with the above described objective function. Depending on the number of service points considered in the optimization model, the optimal system structure changes. When considering only one operating interval (i.e., we do not consider any service point and there is no possibility to replace components) the smallest possible system layout consisting of two proportional and two shift valves is chosen. This layout also corresponds to the layout with the lowest investment costs. The required load requirements during the operation interval are satisfied. The wear level of the valves does not reach the upper limit.
For two operating intervals we find a different optimal topology: the two shift valves are replaced by proportional valves even though they were considered twice as expensive as the switch valves. The wear can now be distributed among two proportional valves in each load case, a replacement of a valve at the maintenance point is not necessary.
19 4 Wear andOptimale Algorithmic Struktur System Design
■ Lastzyklen pro Wartungsintervall: 200 000
1 2 3 OPERATING INTERVALS
2. Juli 2015 | Prof. Dr.-Ing- Peter Pelz| Auslegung eines hydrostatischen Getriebes | Lucas Farnetane 14 Figure 4.3 – Optimal system structures for the hydrostatic transmission system. Depending on the number of operating intervals considered a differ- ent optimal system structure is found. Figure taken from the joint publication [Alt+15b]
If a third operation interval is considered, an optimal topology option consists of three proportional and two shift valves. In contrast to the smallest possible system consisting of two switch and two proportional valves, during the outwards- movement of the piston the throttling is executed via a parallel connection of two proportional valves instead one. This hot spare allows to distribute the wear among two components. As a result, the lifespan of these two valves is made more compatible with the time in between service points. Yet, for an extended operation of three operation intervals, three replacements due to worn off components have to be made: One of the proportional valves in the parallel connection has to be replaced once. The single proportional valve on the left has to be replaced twice. Since it throttles the pressure during the inward movement of the piston and their is no hot redundancy, it suffers from a high wear. One of the other two proportional valves has to be replaced one time. The presented optimization model allows to find an optimal system structure for a specific technical system with a maintenance plan, given deterministic wear of the components. It can in principle be applied to other technical systems, since boundary conditions, like the number of loading cycles per interval, can be adapted. For the consideration of further service points, new second stage variables have to be added to the model. The worst case runtime for solving such an optimization model increases exponentially with the number of operating intervals. While this chapter focused on modeling aspects, the next chapters show how decomposition techniques can be applied to solve the problem for a larger number of service intervals.
20 5 Topology Optimization
5.1 Superstructures of Possible Layouts
Optimizing the topology of a technical system requires to describe all possible topology options. This superstructure of possible layouts can be represented by a complete graph G = (E,V ) where each vertex v in the set of vertices V corresponds to an optional component and each edge in the set of edges E to an optional connection between two optional components. As can be seen in Tables 5.1 and 5.2, the number of possible system topologies increases sharply with the number of optional components. This is especially the case for the application example of the hydrostatic transmission system where we consider a set of eight optional components. Moreover, the number of possible subgraphs cannot be restricted to series-parallel subgraphs for this system, but can contain cycles. The combinatorics resulting from the complete graph of all system structures make the problem of finding an optimal topology and operation strategy difficult to manage. In this work, we follow an approach that separates the investment decision from the subsequent operation decision. I.e., first, we find a good proposal for the first stage variables that represent if components are bought or not and how they are connected. Secondly, we find a good operation strategy for this topology option. Fig. 5.1 shows exemplary system topologies for the hydrostatic transmission sys- tem. The task of the topology optimization is to find the optimal layout of valves, i.e., how many should be bought and how should they be connected.
5.2 Number of Possible Topology Options
All possible topology options can be represented by one “supergraph” that com- bines all the graphs representing single topology options. This supergraph depends on the specific optimization problem: for the case of booster stations, it can be reasonable to restrict it to series-parallel connections of a given set of optional pumps. The number of series-parallel graphs for n components is shown in Table 5.1. One can see, that even for this special case of only series-parallel connections,
21 5 Topology Optimization
Number of nodes Number of graphs 1 1 2 2 3 8 4 52 5 472 6 5504 7 78416 8 1320064 9 25637824 10 564275648 11 13879795712 12 377332365568 13 11234698041088 14 363581406419456 15 12707452084972544
Table 5.1 – Number of series-parallel graphs with n labeled edges. Also called yoke- chains by Cayley and MacMahon [Slo]. In this representation, each component of the fluid system is represented by a labeled edge. the number of possible topology options still grows rapidly with the number of components.
For the case of the hydrostatic transmission system, a restriction to only series- parallel networks is not possible. The number of possible topology options for this case can be deduced as follows: Given a set of n optional distinguishable components (valves), the piston, a sink (tank) and a source (pump). The number of possible subsystems that can be built of n optional components and of the piston equals the number of connected labeled graphs with n + 1 nodes which is given in Table 5.2. Each of these subsystems can be connected to the source and the sink in different ways. While a direct connection of the piston to the tank or the source is not considered, the other n nodes can be connected to the source and the sink as follows:
n • Connect n 1 components to the source and 1 to the sink. There are 1 = n choices for− the component that is connected to the sink. n • Connect n 2 components to the source and 2 to the sink. There are 2 choices for− the component that is connected to the sink. n • Connect n 3 components to the source and 3 to the sink. There are 3 choices for− the component connected to the sink. • ...
22 5.2 Number of Possible Topology Options
Number of nodes Number of graphs 1 1 2 1 3 4 4 38 5 728 6 26704 7 1866256 8 251548592 9 66296291072 10 34496488594816 11 35641657548953344 12 73354596206766622208 13 301272202649664088951808 14 2471648811030443735290891264 15 40527680937730480234609755344896
Table 5.2 – Number of connected graphs with n labeled nodes, c.f. [Bon15]. Each node represents one component of the fluid system.
The number of possible choices to connect k out of n components to the sink equals n the number of k-combinations, i.e., k . The number of possibilities to partition the set of components into a set of components connected to the sink and another set connected to the source can be computed by the Stirling number of the second kind. It yields the number of ways to partition a set of n objects into k non-empty n subsets and is denoted by k . For k = 2, it can be calculated via the explicit formula [Sha68] { }
n 1 2 2 = ( 1)2−j jn. (5.1) 2 2! − j j=0 n o X With this relation the number of possible topology options for the application example of the hydrostatic transmission system can be computed. Given eight optional components and the piston, we have 66296291072 possible graphs, cf. Table 5.2, that can be connected to source and sink in
8 1 2 2 = ( 1)2−j j8 = 127 (5.2) 2 2! − j j=0 X different ways. This accounts to 66296291072 127 = 8419628966144 possible sys- tems. An enumeration of all of them seems hardly· like a suitable way to determine the optimal one.
23 5 Topology Optimization
Figure 5.1 – Exemplary system topologies for a hydrostatic transmission system consisting of different connections of proportional and switch valves
5.3 Topology Options for the Hydrostatic Transmission System
The graph in Fig. 5.4 shows the undirected graph of all possible connections in between optional components of the hydrostatic transmission system considered in this work. Series connections must only be considered for proportional valves: While throttling the pressure via two or more proportional valves might be bene- ficial, a series connection of switch valves is not reasonable.
In this exemplary case the set of optional components consists of four proportional and four switch valves out of which up to four can be chosen, respectively. Fig. 5.2 shows runtimes of the commercial solver IBM ILOG CPLEX for the problem of finding an optimal system structure, given specific load requirements and a number of service intervals. Whenever the run time exceeded 24 hours, the computation was stopped and the best solution found so far was saved. As can be seen, the run times are in the order of hours even for small instances. Many of the problems could not be solved within 24 hours at all. Therefore, this work investigates the development of efficient primal heuristics for determining the system structure.
As can be seen in Fig. 5.1 possible system layouts for the hydrostatic transmission system are not necessarily series-parallel, c.f. Section 5.3.1, but can contain cycles. Therefore, the generation of only series-parallel networks in a primal heuristic like in [Utz14] is not possible. However, if one looks at each of the two loading cases of moving the piston in and out separately, hydraulic fluid flowing in cycles within one load case is not desirable and a series-parallel topology is favored. This is achieved in reality by blocking specific edges via the proportional and shift valves during each of the two loading cases, cf. Fig. 5.3. This results in a series-parallel
24 5.3 Topology Options for the Hydrostatic Transmission System
TOPT TFEAS 105 TIME LIMIT EXCEEDED
104
103 RUNTIME in s 102
1 2 3 4 5 7 9 11 # OPERATION INTERVALS
Figure 5.2 – Runtimes of the commercial solver IBM ILOG CPLEX for the problem of finding an optimal system structure for the hydrostatic transmis- sion system consisting of up to eight valves. Given is a specific load requirement and a number of service intervals. The runtime until a first primal solution is found, is denoted by TFEAS and the runtime until the global optimal solution is found is denoted by TOPT. For bars that reach the time limit, no solution could be found within 24 hours. The computations were executed at the Lichtenberg High Per- formance Computer of TU Darmstadt, by using Intel Xeon compute nodes x86-64 (AVX2) with a base frequency of 2.5 GHz, and CPLEX version 12.6.1 with up to 4 threads.
25 5 Topology Optimization system of open valves for each loading case. This property is used in the developed primal heuristic. When finding good primal solutions to the valve topology the idea is as follows: 1.) Find a good series-parallel layout of proportional valves for each loading case. 2.) Combine the two graphs. 3.) Add shift valves where necessary. To guarantee that each load case can be satisfied with the combined graph, each path from the pump to the piston and each path from the piston to the tank must be blockable, even though some of the proportional valves may be open during both load cases of moving in and moving out. The algorithm to determine where to put additional shift valves is as follows:
Data: Two series-parallel graphs G1 = (V1,E1),G2 = (V2,E2) for loading cases l1 and l2. Components are represented by the graphs’ nodes, connections between the components are represented by the graphs’ edges. PV1 V1 and PV2 V2 are the sets of nodes that are proportional⊆ valves and PV⊆ is their union. Result: Valid joined graph G. Join set of nodes and set of edges: V = V1 V2, E = E1 E2; for each edge (i, j) E do ∪ ∪ ∈ if ((i, j) / E1 E2) and (i, j / PV (PV1 PV2)) then add shift∈ valve∩ sv: V := V ∈ sv \; ∩ add corresponding edges: E∪:= { E} (i, sv), (sv, j) ; remove obsolete edge: E := E (∪i, {j) ; } \{ } end end Algorithm 1: Building one valid graph from two series-parallel graphs. The two series-parallel graphs for each loading case consist themselves of two series- parallel graphs connected in series to the piston, cf. Fig. 5.3. MacMahon [Mac90] showed that these series-parallel graphs can be represented by so-called series- reduced trees which will be outlined in the next chapter.
5.3.1 Series-Parallel Networks
Often, not all subgraphs of the complete graph of optional components are valid solutions for the system structure. If one can restrict the optimization problem to a special kind of graph structure, the resulting combinatorics become more manageable. The idea in the developed primal heuristic is to find series parallel graphs for each load case, and combine them to a valid system for both load cases. Series parallel graphs are a special class of graphs that can be used to model certain types of electric networks [Duf65]. They have attained special interest, because a number of standard graph problems that are NP-complete for general graphs are solvable in linear time on series parallel graphs [TNS82].
26 5.3 Topology Options for the Hydrostatic Transmission System
RUNNING OUT
P K P
2
TREE 1 TREE 2
RUNNING IN
P K P
2 3 4 TREE 3 TREE 4
Figure 5.3 – The graph of the hydrostatic transmission system is not series-parallel. However, for the two distinct load cases of moving the piston in and out, a series-parallel topology is achieved via the blocking of valves. While proportional valves serve to throttle the pressure, the job of the available switch valves is to make sure that no unwanted flows of the hydrostatic fluid occur. If we consider for each load case only open valves, the resulting network for a single load case can be represented by a serial connection of a series-parallel network of valves, the piston and another series-parallel network. The single series parallel net- works are represented by series reduced trees in the developed primal heuristic. Four trees represent a topology option that is combined to a valid system structure by Algorithm 1.
27 5 Topology Optimization