Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.

Slides:



Advertisements
Similar presentations
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Advertisements

Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Advanced Topics in Algorithms and Data Structures Lecture 7.2, page 1 Merging two upper hulls Suppose, UH ( S 2 ) has s points given in an array according.
Types of Algorithms.
Data Mining Classification: Alternative Techniques
MIT and James Orlin © Dynamic Programming 1 –Recursion –Principle of Optimality.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Greedy Algorithms Be greedy! always make the choice that looks best at the moment. Local optimization. Not always yielding a globally optimal solution.
Deterministic Dynamic Programming.  Dynamic programming is a widely-used mathematical technique for solving problems that can be divided into stages.
Optimization of thermal processes
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
1.2 Row Reduction and Echelon Forms
Linear Equations in Linear Algebra
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
ECE 667 Synthesis and Verification of Digital Systems
ECE 331 – Digital System Design
Hardness Results for Problems P: Class of “easy to solve” problems Absolute hardness results Relative hardness results –Reduction technique.
Prénom Nom Document Analysis: Linear Discrimination Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
3 -1 Chapter 3 The Greedy Method 3 -2 The greedy method Suppose that a problem can be solved by a sequence of decisions. The greedy method has that each.
MIT and James Orlin © Dynamic Programming 2 –Review –More examples.
Scheduling Algorithms for Wireless Ad-Hoc Sensor Networks Department of Electrical Engineering California Institute of Technology. [Cedric Florens, Robert.
Approximation Algorithms
Data Flow Analysis Compiler Design Nov. 8, 2005.
D Nagesh Kumar, IIScOptimization Methods: M5L4 1 Dynamic Programming Other Topics.
Hardness Results for Problems P: Class of “easy to solve” problems Absolute hardness results Relative hardness results –Reduction technique.
Chapter 10 Dynamic Programming. 2 Agenda for This Week Dynamic Programming –Definition –Recursive Nature of Computations in DP –Forward and Backward Recursion.
Hardness Results for Problems
MIT and James Orlin © Chapter 3. The simplex algorithm Putting Linear Programs into standard form Introduction to Simplex Algorithm.
Sequential circuit design
NetworkModel-1 Network Optimization Models. NetworkModel-2 Network Terminology A network consists of a set of nodes and arcs. The arcs may have some flow.
Max-flow/min-cut theorem Theorem: For each network with one source and one sink, the maximum flow from the source to the destination is equal to the minimal.
1 Shortest Path Calculations in Graphs Prof. S. M. Lee Department of Computer Science.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Design and Analysis of Algorithms Lecture Dynamic programming Alexander Kolesnikov DEPARTMENT OF COMPUTER SCIENCE UNIVERSITY OF JOENSUU JOENSUU,
© The McGraw-Hill Companies, Inc., Chapter 3 The Greedy Method.
Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery.
Fundamentals of Algorithms MCS - 2 Lecture # 7
Dynamic Programming Key characteristic of a Dynamic Program: Breaking up a large, unwieldy problem into a series of smaller, more tractable problems. Shortest.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
Section 4-1: Introduction to Linear Systems. To understand and solve linear systems.
1 1 Slide © 2000 South-Western College Publishing/ITP Slides Prepared by JOHN LOUCKS.
1 Lesson 8: Basic Monte Carlo integration We begin the 2 nd phase of our course: Study of general mathematics of MC We begin the 2 nd phase of our course:
D Nagesh Kumar, IIScOptimization Methods: M5L2 1 Dynamic Programming Recursive Equations.
CS 312: Algorithm Design & Analysis Lecture #24: Optimality, Gene Sequence Alignment This work is licensed under a Creative Commons Attribution-Share Alike.
Dynamic Programming Applications Lecture 6 Infinite Horizon.
Dynamic Programming Discrete time frame Multi-stage decision problem Solves backwards.
ELEC692 VLSI Signal Processing Architecture Lecture 3
Tuesday, April 30 Dynamic Programming – Recursion – Principle of Optimality Handouts: Lecture Notes.
D Nagesh Kumar, IIScOptimization Methods: M6L5 1 Dynamic Programming Applications Capacity Expansion.
1 Inventory Control with Time-Varying Demand. 2  Week 1Introduction to Production Planning and Inventory Control  Week 2Inventory Control – Deterministic.
Thursday, May 2 Dynamic Programming – Review – More examples Handouts: Lecture Notes.
Eastern Mediterranean University Department Of Industrial Engineering Deterministic Dynamic Programming presented by: Ziad El Masri Supervisor: Prof. Dr.
D Nagesh Kumar, IIScOptimization Methods: M5L1 1 Dynamic Programming Introduction.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Introduction and Preliminaries D Nagesh Kumar, IISc Water Resources Planning and Management: M4L1 Dynamic Programming and Applications.
TU/e Algorithms (2IL15) – Lecture 3 1 DYNAMIC PROGRAMMING
COSC 3101A - Design and Analysis of Algorithms 14 NP-Completeness.
1 Dynamic Programming Chapter 3. Learning Objectives 2 After completing this chapter, students will be able to: 1.Understand the overall approach of dynamic.
Dynamic Programming - DP December 18, 2014 Operation Research -RG 753.
Lesson 8: Basic Monte Carlo integration
Copyright © Cengage Learning. All rights reserved.
Dynamic Programming General Idea
Unit 4: Dynamic Programming
ECE 667 Synthesis and Verification of Digital Systems
Technology Mapping I based on tree covering
Dynamic Programming General Idea
Dynamic Programming 動態規劃
Presentation transcript:

Optimization of thermal processes2007/2008 Optimization of thermal processes Maciej Marek Czestochowa University of Technology Institute of Thermal Machinery Lecture 11

Optimization of thermal processes2007/2008 Overview of the lecture Introduction to dynamic programming Multistage decision problems Objective function in multistage problem Transformation of nonserial problems into serial ones Types of multistage decision problems Suboptimization and principle of optimality

Optimization of thermal processes2007/2008 Dynamic programming - introduction Route map (find the shortest path from 1 to 6): Greedy algorithm (local optimum solution) Distance: 24 Optimum path Distance: 21 Distance from 4 to 6 Apparently, the greedy algorithm is not the best solution. Let’s find a better way.

Optimization of thermal processes2007/2008 Dynamic programming - introduction Combinatoric approach : let’s check all possible paths from 1 to 5 and choose the shortest. Path no. Nodes Distance There can be quite a lot paths in general. Is there a better way?

Optimization of thermal processes2007/2008 Dynamic programming - introduction It turns out that it’s better to start with the analysis from the destination point (contrary to the greedy algorithm discussed at the beginning). Thus, the idea is to start with node 6 and backtrack. Let’s denote: Minimal distance from node m to the destination Distance from node m to n The fundamental relation is: m n n+i... Continue optimal policy 9

Optimization of thermal processes2007/2008 Dynamic programming - introduction Start at the destinationBacktrack to 5 Only one path from 5 to 6 Backtrack to 4 Two paths possible: from 4 to 5 from 4 to 6 Take the minimum In a similiar way, we bactrack to previous nodes. 9

Optimization of thermal processes2007/2008 Dynamic programming - introduction And now, we move forward again. 9

Optimization of thermal processes2007/2008 Dynamic programming - introduction And the path is really optimal solution: 5612 No other choice In this approach we don’t have to consider all possible paths. We can rely on the principle of optimality stated by Bellman: An optimal policy has the property that whatever the initial state and initial decisions are, the remaining decisions must constitute an optimal policy with regard to the state resulting from the first decision. This is the foundation of dynamic programming. 9

Optimization of thermal processes2007/2008 Multistage decision problems Dynamic programming is a technique devised for optimization of multistage decision problems. It was developed by Richard Bellman in the early 1950s. Richard Bellman ( ) Multistage decision problem – example (serial system) heater reactor Distillation tower temperatureReaction rate Number of trays inflow outflow Choose the optimal values to minimize the cost of the process

Optimization of thermal processes2007/2008 Multistage decision problem (initial value problem) n-1n12 i Stage nStage n-1Stage iStage 2Stage 1... Dynamical programming decomposes a multistage decision problem (N- -variable problem) as a sequence of single-stage decision problems (N single-variable problems) The decomposition has to be done carefully, though (see the introduction) Why the stages are labeled in decreasing order? inputoutput

Optimization of thermal processes2007/2008 Multistage decision problem (initial value problem) Stage transformation function InputOutput Decision Return Input state variablesOutput state variables Component of the objective function Single-stage decision problem In a sequence of these blocks: Design equations

Optimization of thermal processes2007/2008 n-1n12 i... output Objective function in multistage problem Whether a given multistage problem can be solved by dynamic programming depends on the nature of the objective function: Since the method works as a decomposition technique, it requires the separability and monotonicity of the objective function What does it mean?

Optimization of thermal processes2007/2008 Objective function in multistage problem Separability means that the objective function may be represented as the composition of the indivual stage returns. For instance: Additive objective function Multiplicative objective function The objective function is said to be monotonic if for all values of a and b that make: the following inequality is satisfied: Fortunetely, this conditions are satisfied is for many practical problems

Optimization of thermal processes2007/2008 Conversion to a serial system – steam power plant Pump Feed Water heater Boiler Super heater Steam turbine Electric generator Nonserial system Loop (some steam is taken to heat the feedwater) PumpBoiler and turbine system Electric generator Serial system The new serial system consists of only three components. This procedure can be extended to convert multistage system with more than one loop to equivalent serial system. What is the drawback of this procedure?

Optimization of thermal processes2007/2008 Types of multistage decision problems n-1n12i... Given input Initial value problem n-1n12 i... Given output Final value problem For both input and output specified, the problem is called boundary value problem

Optimization of thermal processes2007/2008 Statement of dynamic programming problem which optimizes Find and satisfies the design equations To solve this problem with dynamic programming we make use of the principle of optimality and suboptimization.

First, we suboptimize the last component, as it has no effect on the previous ones. According to principle of optimality we select x 1 such that R 1 is an optimum for the input s 2 irrespective of what happens to other stages: Optimization of thermal processes2007/2008 Suboptimization Suppose we have a system with three components: 12 3 and the objective is to minimize the function: Design equations Optimum

According to the principle of optimality, we can replace the term with the optimum value from the previous suboptimization: Optimization of thermal processes2007/2008 Suboptimization Next we suboptimize the two last components: 12 3 Design equations Optimum Optimization with respect to only one variable – x 2 or

Optimization of thermal processes2007/2008 Suboptimization And finally, we suboptimize the three last components: 12 3 Design equations Optimum Using again the principle of optimality: The value of s 4 is known, so this problem can be explicitly solved. Then we can find the remaining decision variables.

Optimization of thermal processes2007/2008 Thank you for your attention