+ All Categories
Home > Documents > 3. Metode Optimasi HEN (Jangan Dibuka)

3. Metode Optimasi HEN (Jangan Dibuka)

Date post: 02-May-2017
Category:
Upload: juangariando
View: 225 times
Download: 4 times
Share this document with a friend
86
1 OPTI_ENERGY Summer School: Optimization of Energy Systems and Processes Gliwice, 24 – 27 June 2003 METHODS OF ENERGY SYSTEMS OPTIMIZATION Christos A. Frangopoulos National Technical University of Athens Department of Naval Architecture and Marine Engineering
Transcript
Page 1: 3. Metode Optimasi HEN (Jangan Dibuka)

1

OPTI_ENERGYSummer School: Optimization of Energy Systems and ProcessesGliwice, 24 – 27 June 2003

METHODS OF ENERGY SYSTEMS OPTIMIZATION

Christos A. Frangopoulos

National Technical University of AthensDepartment of Naval Architecture and Marine Engineering

Page 2: 3. Metode Optimasi HEN (Jangan Dibuka)

2

C o n t e n t s

METHODS OF ENERGY SYSTEMS OPTIMIZATION

1. INTRODUCTION2. DEFINITION OF OPTIMIZATION3. LEVELS OF OPTIMIZATION OF ENERGY SYSTEMS4. FORMULATION OF THE OPTIMIZATION PROBLEM5 MATHEMATICAL METHODS FOR SOLUTION

OF THE OPTIMIZATION PROBLEM6. SPECIAL METHODS FOR OPTIMIZATION OF ENERGY SYSTEMS7. INTRODUCTION OF ENVIRONMENTAL AND SUSTAINABILITY

CONSIDERATIONS IN ΤΗΕ OPTIMIZATION OFENERGY SYSTEMS

8. SENSITIVITY ANALYSIS9. NUMERICAL EXAMPLES

Page 3: 3. Metode Optimasi HEN (Jangan Dibuka)

3

1. INTRODUCTION

Questions to be answered: Given the energy needs, what is the best type of energy

system to be used? What is the best system configuration (components and their

interconnections)? What are the best technical characteristics of each

component (dimensions, material, capacity, etc.)? What are the best flow rates, pressures and temperatures of

the various working fluids? What is the best operating point of the system at each instant

of time?

Page 4: 3. Metode Optimasi HEN (Jangan Dibuka)

4

1. INTRODUCTION

Questions (continued):

When a number of plants are available to serve a certain region: Which plants should be operated, and at what load under

certain conditions? How should the operation and maintenance of each plant

be scheduled in time?

Page 5: 3. Metode Optimasi HEN (Jangan Dibuka)

5

Procedure to find a rational answer:

Optimization

1. INTRODUCTION

Page 6: 3. Metode Optimasi HEN (Jangan Dibuka)

6

2. DEFINITION OF OPTIMIZATION

Optimizationis the process of finding the conditions,

i.e. the values of variablesthat give the minimum (or maximum) of the

objective function.

Page 7: 3. Metode Optimasi HEN (Jangan Dibuka)

7

3. LEVELS OF OPTIMIZATION OF ENERGY SYSTEMS

Synthesis

Design

Operation

A. Synthesis: components and their interconnections.

 

B. Design: technical characteristics of components and properties of substances at the nominal (design) point.

 

C. Operation: operating properties of components and substances.

Page 8: 3. Metode Optimasi HEN (Jangan Dibuka)

8

The complete optimization problem stated as a question: What is the synthesis of the system, the

design characteristics of the components, and the operating strategy that lead to an overall optimum?

3. LEVELS OF OPTIMIZATION OF ENERGY SYSTEMS

Page 9: 3. Metode Optimasi HEN (Jangan Dibuka)

9

OPTI_ENERGYSummer School: Optimization of Energy Systems and ProcessesGliwice, 24 – 27 June 2003

METHODS OF ENERGY SYSTEMS OPTIMIZATION

4. FORMULATION OF THE OPTIMIZATION PROBLEM

Page 10: 3. Metode Optimasi HEN (Jangan Dibuka)

10

Mathematical formulation of the optimization problem min imize f ( )

xx

subject to the constraints: ih ( ) 0x i = 1, 2, … , m

jg ( ) 0x j = 1, 2, …, p

set of independent variables,

f ( )x objective function,ih ( )x equality constraint functions,

jg ( )x inequality constraint functions.

4.1 Mathematical Statement of the Optimization Problem

(4.1)

(4.3)

with respect to: x = (x1, x2, … , xn) (4.2)

(4.4)

x

Page 11: 3. Metode Optimasi HEN (Jangan Dibuka)

11

Alternative expression:

, ,min f ( , , )v w z

v w z

v set of independent variables for operation optimization,w set of independent variables for design optimization,z set of independent variables for synthesis optimization.

Design optimization:

Operation optimization:

d,min f ( , )v w

v w

opmin f ( )v

v

4.1 Mathematical Statement of the Optimization Problem

(4.1)'

( , , )x v w z (4.5)

Page 12: 3. Metode Optimasi HEN (Jangan Dibuka)

12

Maximization is also covered by the preceding formulation since:

min f ( ) max f ( ) x x

x x

4.1 Mathematical Statement of the Optimization Problem

(4.6)

Page 13: 3. Metode Optimasi HEN (Jangan Dibuka)

13

4.2 Objective Functions

Examples:• minimization of weight of the system,• minimization of size of the system,• maximization of efficiency, • minimization of fuel consumption,• minimization of exergy destruction,• maximization of the net power density,• minimization of emitted pollutants,• minimization of life cycle cost (LCC) of the system,• maximization of the internal rate of return (IRR),• minimization of the payback period (PBP), • etc.

Page 14: 3. Metode Optimasi HEN (Jangan Dibuka)

14

Multiobjective optimization: An attempt to take two or more objectives into consideration simultaneously.

4.2 Objective Functions

Page 15: 3. Metode Optimasi HEN (Jangan Dibuka)

15

Quantities appearing in theequality and inequality constraints:• parameters• independent variables• dependent variables

4.2 Independent Variables

Page 16: 3. Metode Optimasi HEN (Jangan Dibuka)

16

4.3 Equality and Inequality Constraints

Equality Constraints:model of the components and of the system.

Inequality Constraints:imposed by safety and operability requirements.

Page 17: 3. Metode Optimasi HEN (Jangan Dibuka)

17

OPTI_ENERGYSummer School: Optimization of Energy Systems and ProcessesGliwice, 24 – 27 June 2003

METHODS OF ENERGY SYSTEMS OPTIMIZATION

5. MATHEMATICAL METHODSFOR SOLUTION

OF THE OPTIMIZATION PROBLEM

Page 18: 3. Metode Optimasi HEN (Jangan Dibuka)

18

• Constrained and unconstrained programming• Search and calculus (or gradient) methods• Linear, nonlinear, geometric and quadratic programming• Integer- and real-valued programming• Mixed integer linear programming (MILP)• Mixed integer nonlinear programming (MINLP)• Deterministic and stochastic Programming• Separable programming:• Single and multiobjective programming• Dynamic programming and calculus of variations• Genetic Algorithms• Simulated Annealing • Other methods

5.1 Classes of Mathematical Optimization Methods

Page 19: 3. Metode Optimasi HEN (Jangan Dibuka)

19

5.2 Basic Principles of Calculus Methods

5.2.1 Single-variable optimization

A 1.

.

.

..

A 2

A 3

B 1

B 2

xa b

f(x)A 1 , A 2 , A 3 : Relative maxima A 2 : Global maximum B 1 , B 2 : Relative minima

B 1 : Global minimum

Fig. 5.1. Local and global optimum points of a multimodal function.

Page 20: 3. Metode Optimasi HEN (Jangan Dibuka)

20

5.2.1 Single-variable optimization

Theorem 1: Necessary condition.

Necessary condition for x* to be a local minimum or maximum of f(x) on the open interval (a, b) is that

f '(x*) 0 (5.5)

If Eq. (5.5) is satisfied, then x* is a stationary point of f(x), i.e. a minimum, a maximum or an inflection point.

Page 21: 3. Metode Optimasi HEN (Jangan Dibuka)

21

f(x)

x

global minimum

inflection point

local minimum

global maximum

5.2.1 Single-variable optimization

Fig. 5.2. Stationary points.

Page 22: 3. Metode Optimasi HEN (Jangan Dibuka)

22

Theorem 2: Sufficient condition.

Let all the derivatives of a function up to order (n-1) be equal to zeroand that the nth order derivative is nonzero:

5.2.1 Single-variable optimization

(n 1)f '(x*) f ''(x*) ... f (x*) 0 (n)f (x*) 0 (5.6)

where

n(n)

nd f (x)f (x)

dx (5.7)

If n is odd, then x* is a point of inflection.If n is even, then x* is a local optimum. Moreover:

If (n)f (x*) 0 , then x* is a local minimum.

(n)f (x*) 0If , then x* is a local maximum.

Page 23: 3. Metode Optimasi HEN (Jangan Dibuka)

23

5.2.2 Multi-variable optimization with no constraints

Definitions

First derivatives of a function f(x) of n variables:

1 2 n

f f ff , , ,

x x x

x x xx

(5.8)

Matrix of second partial derivatives of f(x) (Hessian matrix):

2 2 2

21 2 1 n1

2 2 2

2 2f 2 1 2 n2

2 2 2

2n 1 n 2 n

f f fx x x xx

f f fF H f x x x xx

f f fx x x x x

x x x

(5.9)

Page 24: 3. Metode Optimasi HEN (Jangan Dibuka)

24

Principal minor of order k of a symmetric matrix nn is the matrix,which is derived if the last n-k lines and columns of the initial matrix are deleted. It is symbolized by

5.2.2 Multi-variable optimization with no constraints

Definitions (continued)

kA

Every nn matrix has n principal minors.

Page 25: 3. Metode Optimasi HEN (Jangan Dibuka)

25

Theorem 3: Necessary conditions.

Necessary conditions for an interior point x* of the n-dimensional space

5.2.2 Multi-variable optimization with no constraints

nR to be a local minimum or maximum of f(x) is that

f 0 x

and 2 f x is positive semidefinite.

(5.10)

(5.11)

If Eq. (5.10) is satisfied, then x* is a minimum, maximum or saddle point.

Page 26: 3. Metode Optimasi HEN (Jangan Dibuka)

26

5.2.2 Multi-variable optimization with no constraints

f(x 1 ,x 2)

x 2

x 1

x*

Fig. 5.3. Saddle point: x*.

Page 27: 3. Metode Optimasi HEN (Jangan Dibuka)

27

5.2.2 Multi-variable optimization with no constraints

Theorem 4: Sufficient conditions.

If an interior point x* of the space nR satisfies Eq. (5.10) and

2 f x is positive (or negative) definite,

then x* is a local minimum (or maximum) of f (x).

Page 28: 3. Metode Optimasi HEN (Jangan Dibuka)

28

5.2.3 Multi-variable optimization with equality constraints

(Lagrange theory)

Statement of the optimization problem:

min fx

x

subject to ih 0, i 1, 2, , m x

(5.12a)

(5.12b)

Lagrangian function: m

i ii 1

L , f h

x λ x x (5.13)

Lagrange multipliers: 1 2 m, , , λ

Page 29: 3. Metode Optimasi HEN (Jangan Dibuka)

29

5.2.3 Multi-variable optimization with equality constraints

(Lagrange theory)

Necessary conditions: L , 0 x x λ

L , 0 λ x λ

(5.14a)

(5.14b)

The system of Eq. (5.14) consists of n+m equations.Its solution gives the values of the n+m unknown x* and λ*.

Sufficient conditions:

Similar as in Theorem 4, where 2 L , x x λ

instead of 2 f x

is used,

Page 30: 3. Metode Optimasi HEN (Jangan Dibuka)

30

5.2.4 The general optimization problem

(Kuhn - Tucker theory)

Presented in the complete text.

Page 31: 3. Metode Optimasi HEN (Jangan Dibuka)

31

5.3 Nonlinear Programming Methods

5.3.1 Single-variable nonlinear programming methods

Golden section search

f(x)

xa bx 1 x 2

L 0

τL 0

τL 0(1-τ)L 0

(1-τ)L 0

x 3

τ 2 L 0

τ

1-τ

1 5τ 0,61803...2

Golden section ratio:

Fig. 5.4. Golden section search.

Page 32: 3. Metode Optimasi HEN (Jangan Dibuka)

32

Golden section search

Length of the initial interval containing the optimum point:

L0 = b – a

The function f(x) is evaluated at the two points:

1 0x α 1 τ L

2 0x α τ L

(5.19a)

(5.19b)

If f(x1) < f(x2), then x* is located in the interval (a, x2).

If f(x1) ≥ f(x2), then x* is located in the interval (x1, b).

Length of the new interval: 1 2 1 0L x a b x = τ L

Page 33: 3. Metode Optimasi HEN (Jangan Dibuka)

33

Golden section search

Length of the interval of uncertainty after N iterations: N

N 0L τ L (5.21)

Number of iterations needed for a satisfactory interval of uncertainty, LN:

N 0n L LN

n τ

(5.22)

Convergence criteria:

maxN N

N 1L ε

N 1 N 2f x f x ε

(i)

(ii)

(iii)

Page 34: 3. Metode Optimasi HEN (Jangan Dibuka)

34

Newton – Raphson method

Series of trial points:

kk 1 k

k

f xx x

f x

(5.23)

x*

f'(x)

x

x 1

x 2x 3

Fig. 5.5. Newton – Raphson method (convergence).

Page 35: 3. Metode Optimasi HEN (Jangan Dibuka)

35

Newton – Raphson method

k 1 1f x ε

Convergence criteria:

(i)

(ii)

(iii)

k 1 k 2x x ε

k 1 k 3f x f x ε

Page 36: 3. Metode Optimasi HEN (Jangan Dibuka)

36

Newton – Raphson method

f'(x)

xx 1 x 2 x 3x 0x*

Fig. 5.6. Divergence of Newton – Raphson method.

Page 37: 3. Metode Optimasi HEN (Jangan Dibuka)

37

Modified Regula Falsi method (MRF)

f '(x)

x

a 0 a 1 a 2=a 3

b 0=b 1=b 2b 3

Fig. 5.7. Modified Regula Falsi method.

Initial points a0 and b0 are determined such that:

0 0f a f b 0

Then it is

0 0a x b

x*

Page 38: 3. Metode Optimasi HEN (Jangan Dibuka)

38

Modified Regula Falsi method (MRF)

Convergence criteria:

(i)

(ii)

(iii)

n 1 1f x ε

n 1 n 1 2b a ε

n 1 n 3f x f x ε

Page 39: 3. Metode Optimasi HEN (Jangan Dibuka)

39

5.3.2 Multi-variable nonlinear programming methods

Two of the most successful methods for energy systems optimization:

Generalized Reduced Gradient method (GRG)

Sequential Quadratic Programming (SQP)

Page 40: 3. Metode Optimasi HEN (Jangan Dibuka)

40

Generalized Reduced Gradient method (GRG)

It is based on the idea that, if an optimization problem has n independent variables x and m equality constraints, then, at least in theory, the system of m equations can be solved for m of the independent variables.

Thus, the number of independent variables is reduced to n-m, the dimensionality of the optimization problem is decreased and the solution is facilitated.

Page 41: 3. Metode Optimasi HEN (Jangan Dibuka)

41

Sequential Quadratic Programming (SQP)

A quadratic programming problem consists ofa quadratic objective function and linear constraints.

Due to the linear constraints, the space of feasible solutions is convex, and consequently the local optimum is also global optimum.

For the same reasons, the necessary optimality conditions are also sufficient.

Since the objective function is of second degree (quadratic) and the constraints are linear, the necessary conditions lead to a system of linear equations, which is solved easily.

The SQP approach tries to exploit these special features.It proceeds with a sequential approximation of the real problem with a quadratic problem.

Page 42: 3. Metode Optimasi HEN (Jangan Dibuka)

42

5.4 Decomposition

An optimization problem is of separable form, if it can be written in the form

K

k kk 1

min f ( ) f ( )

xx x (5.31a)

subject to k k( ) 0h x k = 1, 2, …, K (5.31b)

k k( ) 0g x k = 1, 2, …, K (5.31c)

where the set x is partitioned into k disjoint sets:

1 2 k K, , ..., , ...,x x x x x (5.32)

Page 43: 3. Metode Optimasi HEN (Jangan Dibuka)

43

A separable problem can be decomposed into K separate subproblems:

5.4 Decomposition

kk kmin f ( )

xx

subject to k k( ) 0h x

k k( ) 0g x

(5.33a)

(5.33b)

(5.33c)

Each subproblem is solved independently from the other subproblems. The solution thus obtained is the solution of the initial problem too.

Page 44: 3. Metode Optimasi HEN (Jangan Dibuka)

44

5.5 Procedure for Solution of the Problem by a Mathematical Optimization Algorithm

Structure of the computer programfor the solution of the optimization problem

Main program: It reads the values of the parameters, the initial values of the independent variables and the lower and upper bounds on the constraint functions. It calls the optimization algorithm.

Simulation package: It evaluates the dependent variables and the objective function. It is called by the optimization algorithm.

Constraints subroutine: It determines the values of the inequality constraint functions. It is called by the optimization algorithm.

Optimization algorithm: Starting from the given initial point, it searches for the optimum. It prints intermediate and final results, messages regarding convergence, number of function evaluation, etc.

Page 45: 3. Metode Optimasi HEN (Jangan Dibuka)

45

Searching for the global optimum

(a) The user may solve the problem repeatedly starting from different points in the domain where x is defined. Of course, there is no guarantee that the global optimum is reached.

(b) A coarse search of the domain is first conducted by, e.g., a genetic algorithm. Then, the points with the most promising values of the objective function are used as starting points with a nonlinear programming algorithm in order to determine the optimum point accurately. This approach has a high probability for locating the global optimum.

5.5 Procedure for Solution of the Problem by a Mathematical Optimization Algorithm

Page 46: 3. Metode Optimasi HEN (Jangan Dibuka)

46

5.6 Multilevel Optimization

In multilevel optimization, the problem is reformulated as a set of subproblems and a coordination problem, which preserves the coupling among the subproblems.

Multilevel optimization can be combined with decomposition either of the system into subsystems or of the whole period of operation into a series of time intervals or both.

Example: synthesis-design-operation optimization of an energy system under time-varying conditions.

Page 47: 3. Metode Optimasi HEN (Jangan Dibuka)

47

Overall objective function:

5.6 Multilevel Optimization

,min f ( , )

x zx z (5.34)

wherex set of independent variables for operation,z set of independent variables for synthesis and

design. Objective function for each time interval:

kk kmin ( )

xx (5.35) k = 1, 2, …, K

Page 48: 3. Metode Optimasi HEN (Jangan Dibuka)

48

5.6 Multilevel Optimization

First - level problem

For a fixed set z* ,Find *

kx that minimizes k k( , *) x z k = 1, 2, …, K ,

Second-level problem

Find a new z* which minimizes f ( *, )x z

where x* is the optimal solution of the first-level problem.

The procedure is repeated until convergence is achieved.

Page 49: 3. Metode Optimasi HEN (Jangan Dibuka)

49

5.7 Modular Simulation and Optimization

Optimizer

1w 1

2w 2

3w 3

4w 4

p 1

p 2

p 3

p 4

y 1

y 2

y 3

y 4

y 1i

y 2i

y 3i

y 4i

x 1

x 2

x 3

x 4

yp

Common blockof parameters

Common block ofdependent variables

Fig. 5.8. Structure of the computer program formodular simulation and optimization.

1-4: Simulation andlocal optimizationmodules.

Page 50: 3. Metode Optimasi HEN (Jangan Dibuka)

50

5.7 Modular Simulation and Optimization

Simulation model for each module:

r r ri r r ri( , ), ( , ) y Y x y w W x y

where xr set of independent variables of module r,

yri set of input dependent variables (coming from other modules),

yr set of output dependent variables of module r, i.e., of dependent variables which are used also by the simulation models of other modules or by the optimization algorithm,

wr set of dependent variables appearing in the simulation model of module r only.

Page 51: 3. Metode Optimasi HEN (Jangan Dibuka)

51

  5.8 Parallel Processing

Parallel computers: multiple processing units combined in an organized way such that multiple independent computations for the same problem can be performed concurrently.

Parallel processing can solve the optimization problem at a fraction of the time.

Modular approach and decomposition with parallel processing:• Simulation and/or optimization of modules or subsystems are

performed on parallel processors.• The coordinating optimization problem is solved by the main

processor.

Multilevel optimization:• Level A on parallel processors.• Level B on the main processor.

Page 52: 3. Metode Optimasi HEN (Jangan Dibuka)

52

OPTI_ENERGYSummer School: Optimization of Energy Systems and ProcessesGliwice, 24 – 27 June 2003

METHODS OF ENERGY SYSTEMS OPTIMIZATION

6. SPECIAL METHODS FOROPTIMIZATION OF ENERGY SYSTEMS

Page 53: 3. Metode Optimasi HEN (Jangan Dibuka)

53

6.1 Methods for Optimization of Heat Exchanger Networks(HEN)

Statement of the HEN synthesis problem:

A set of hot process streams (HP) to be cooled, and a set of cold process streams (CP) to be heated are given. Each hot and cold process stream has a specified heat capacity flowrate while their inlet and outlet temperature can be specified exactly or given as inequalities. A set of hot utilities (HU) and a set of cold utilities (CU) along with their corresponding temperatures are also provided. Determine the heat exchanger network with the least total annualized cost.

Page 54: 3. Metode Optimasi HEN (Jangan Dibuka)

54

6.1 Methods for Optimization of HEN

The solution of the optimization problem provides the

• hot and cold utilities required,• stream matches and the number of heat exchangers,• heat load of each heat exchanger,• network configuration with flowrates and temperatures of

all streams, and• areas of heat exchangers.

Page 55: 3. Metode Optimasi HEN (Jangan Dibuka)

55

6.1 Methods for Optimization of HEN

Classes of methods for solution of the problem:

a. Heuristic methods

b. Search methods

c. Pinch method

d. Mathematical programming methodse. Artificial Intelligence methods

Page 56: 3. Metode Optimasi HEN (Jangan Dibuka)

56

6.2 The First Thermoeconomic Optimization Method

Thermoeconomics is a technique, which combines thermodynamic and economic analysis for the evaluation, improvement and optimization of thermal systems.  Initiators of the first method: Tribus, Evans, El-Sayed Two basic concepts are introduced: exergy and internal economy.  The balance between thermodynamic measures and capital expenditures is an economic feature, which applies to the complex plant as a whole and to each of its components individually.

Page 57: 3. Metode Optimasi HEN (Jangan Dibuka)

57

6.3 The Functional Approach

6.3.1 Concepts and definitions

System: a set of interrelated units, of which no unit is unrelated to any other unit.

 Unit: a piece or complex of apparatus serving to perform one

particular function. Function: a definite end or purpose of the unit or of the system as a

whole.  Functional Analysis: the formal, documented determination of the

functions of the system as a whole and of each unit individually.

Page 58: 3. Metode Optimasi HEN (Jangan Dibuka)

58

6.3.2 The Functional diagram of a system

Functional diagram

A picture of a system, which is composed primarily of the units represented by small geometrical figures, and lines connecting the units, which represent the relations between units or between the system and the environment, as they are established by the distribution of functions (i.e. “services” or “products”).

Page 59: 3. Metode Optimasi HEN (Jangan Dibuka)

59

6.3.2 The Functional diagram of a system

r

r''ry

r'ry r'''ry

ry

Fig. 6.1. Unit r of a system

ry : the product (function) of unit r

Page 60: 3. Metode Optimasi HEN (Jangan Dibuka)

60

6.3.2 The Functional diagram of a system

...

r

r'ry r''ry

ry

ry

r r 'y r r ''y ...

Figure 6.2. Junction. Figure 6.3. Branching point.

R

r ' r rr ' 0

y y

R

r r r 'r ' 0

y y

Page 61: 3. Metode Optimasi HEN (Jangan Dibuka)

61

6.3.3 Economic Functional Analysis

Total cost for construction and operation of the system(benefits, e.g. revenue from products, are taken into consideration as negative costs):

r 0k r r 0r r k r

F Z (6.3)

Capital cost

Costs of resources and services, as well as penalties for hazards caused to the environment

Revenue from productsor services

Units: monetary or physical (e.g., energy, exergy): “physical economics.”

Page 62: 3. Metode Optimasi HEN (Jangan Dibuka)

62

6.3.3 Thermoeconomic Functional Analysis

Cost rates in case of steady-state operation:

r 0k r r 0r r k r

F Z (6.4)

r r r r rZ Z ( , y ) Z x

0k r 0k r 0k r 0 kΓ Γ (y ) Γ

r 0 r 0 r 0 r 0Γ Γ (y ) Γ

F F( , ) F x y

(6.5a) It is:

(6.5b)

(6.5c)

(6.5d)

r r 0k r 0k r r 0 r 0r r k r

F( , ) Z ( , y ) (y ) (y ) x y x (6.6)

Page 63: 3. Metode Optimasi HEN (Jangan Dibuka)

63

6.3.3 Thermoeconomic Functional Analysis

Mathematical functions derived by the analysis of the system:

r r ' r r ' r ' r ' r r 'y Y ( , y ) Y x r′ = 1, 2, …, R r = 0, 1, 2,..., R

Interconnections between units or between a unit and the environment:

(6.7)

R

r r r 'r ' 0

y y

r = 1, 2, …, R (6.8)

For a quantitatively fixed product: r 0 r 0ˆy y (6.9)

Cost balance for break-even operation (no profit-no loss): R

r r r ' r ' r r rr ' 0

C Z c y c y

r = 1, 2, …, R (6.10)

Page 64: 3. Metode Optimasi HEN (Jangan Dibuka)

64

6.3.4 Functional Optimization

Optimization objective:

r r 0k r 0k r r 0 r 0r r k r

min F Z ( , y ) (y ) (y ) x (6.11)

Lagrangian:

r 0k r r 0 r r ' r r ' r r ' r r r ' rr r k r r ' r r r '

L Z (Y y ) ( y y ) (6.12)

First order necessary conditions for an extremum:

L( , ,λ) 0 x x y L( , ,λ) 0 y x y λL( , ,λ) 0 x y (6.13)

Page 65: 3. Metode Optimasi HEN (Jangan Dibuka)

65

r r ' rr r '

L 0y

6.3.4 Functional Optimization

Then, the Lagrangian is written:

r r r 0k r 0k r 0k r r 0 r 0 r 0r r k r

L ( y ) ( y ) ( y )

(6.14)

(6.15)

where R

r r r ' r r ' rr ' 0

Z Y

r = 1, 2, …, R (6.16)

Page 66: 3. Metode Optimasi HEN (Jangan Dibuka)

66

The necessary conditions lead to:

6.3.4 Functional Optimization

rr

0 x

rr

r

Γλy

0k r0k r

0k ry

r 0r 0

r 0y

(6.17a)

(6.17b)

(6.17c)

(6.17d)

Lagrange multipliers as economic indicators: marginal price(cost or revenue) of the corresponding function (product) y.

Page 67: 3. Metode Optimasi HEN (Jangan Dibuka)

67

6.3.5 Complete functional decomposition

If the sets of decision variables xr are required, then complete decomposition is applicable and the subsystems correspond to the units and junctions of the system:

q = R (6.18)

Sub-problem of each unit r:

r r 0 x

r r ' r ' r ' r r 'Y ( , y ) y 0 x

rr

r

Γλy

(6.19a)

(6.19b)

(6.19c)

Page 68: 3. Metode Optimasi HEN (Jangan Dibuka)

68

Local optimization problem:

6.3.5 Complete functional decomposition

r

R

r r r ' r r ' rr ' 0

min Z Y

x(6.20a)

subject to the constraints

r ' r r ' r r ry Y ( , y ) x (6.20b)

The solution of the system of Eqs. (6.19) gives the optimum values of the independent variables and the Lagrange multipliers.

Page 69: 3. Metode Optimasi HEN (Jangan Dibuka)

69

6.3.6 Partial functional decomposition

If the sets rx

are not disjoint, but it is possible to formulate larger sets

νx which are disjoint, then partial functional decomposition is applicable.

Necessary conditions: ν ν 0 x

where ν rr

(6.21)

(6.22)

The summation in Eq. (6.22) is considered over those unitsand junctions, which belong to the subsystem ν

The solution of the system of Eqs. (6.21), (6.19b,c) gives the optimum values of the independent variables and the Lagrange multipliers.

Page 70: 3. Metode Optimasi HEN (Jangan Dibuka)

70

6.4 Artificial Intelligence Techniques

Real-world problems are often not “textbook” problems: though the goals may be well defined,

• data are often incomplete and expressed in qualitative instead of quantitative form;

• the constraints are weak or even vague.

In order to help the engineer in handling these cases, new procedures have been developed under the general denomination of

• “expert systems” or

• “artificial intelligence”.

Page 71: 3. Metode Optimasi HEN (Jangan Dibuka)

71

OPTI_ENERGYSummer School: Optimization of Energy Systems and ProcessesGliwice, 24 – 27 June 2003

7.INTRODUCTION OF ENVIRONMENTAL AND

SUSTAINABILITY CONSIDERATIONSIN ΤΗΕ OPTIMIZATIONOF ENERGY SYSTEMS

METHODS OF ENERGY SYSTEMS OPTIMIZATION

Page 72: 3. Metode Optimasi HEN (Jangan Dibuka)

72

7.1 Principal Concerns

1. Scarcity of natural resources,

2. Degradation of the natural environment,

3. Social implications of the energy system,

both positive (e.g. job creation, general welfare)

and negative (effects on human health).

Aspects to be considered:

Approaches: a. Sustainability indicators,

b. Total cost function.

Page 73: 3. Metode Optimasi HEN (Jangan Dibuka)

73

7.2 The New Objective

the eth environmental and social cost due to construction and operation of the system

e

Total cost = Internal general cost + Internal environmental cost

+ External environmental cost

Another expression:

r 0k r e r 0r r k e r

min F Z (7.1)

(7.2)

7.2.1 Total cost function

Page 74: 3. Metode Optimasi HEN (Jangan Dibuka)

74

Scarcity of resources

A quantity of raw material extracted today has two consequences:

(a) it will not be available for future generations,

(b) it will cause future generations to spend more energyfor extracting the remaining quantities of thesame material.

 Current market prices do not, in general, account for long-term local or global scarcity or the ensuing difficulties and costs of extraction that such scarcity may cause.

7.2.2 Cost of resources

Page 75: 3. Metode Optimasi HEN (Jangan Dibuka)

75

General cost function:

An example of cost function:

where

7.2.2 Cost of resources

0k r 0k r 0k rΓ Γ (y )

0k r p0k r s0k r 0k r 0k rΓ f f c y

(6.5b)

(7.3)

0k rc unit cost (e.g. market price) of resource 0k r

p0k rf pollution penalty factor for resource

s0k rf scarcity factor for resource

0k r

0k r

Page 76: 3. Metode Optimasi HEN (Jangan Dibuka)

76

e e eΓ Γ (p )General cost function:

An example of cost function: e pe e eΓ f c p

pe an appropriate measure of pollution,

ce unit environmental and social cost, due to the pollutant e,

fpe pollution penalty factor for the pollutant e.

where

7.2.3 Pollution measures and costs

(7.4)

(7.5)

Page 77: 3. Metode Optimasi HEN (Jangan Dibuka)

77

7.2.3 Pollution measures and costs

Examples of pollution measures pe :

• quantity of the pollutant (e.g. kg of CO2),

• exergy content of the pollutant,

• entropy increased of the environment due to the pollutant,

• etc.

Page 78: 3. Metode Optimasi HEN (Jangan Dibuka)

78

Approaches to estimate the environmental and social cost due to pollution:

(i) Indirect methods: Measure the value of goods not traded in formal markets (e.g. life, scenic and recreational goods).

(ii) Direct methods (damage cost): Measure goods for which economic costs can be readily assessed (e.g. value of agricultural products, or the cost of repairing damaged goods).

(iii) Proxy methods (avoidable cost): Measure the costs of avoiding the initiating insult.

7.2.3 Pollution measures and costs

Page 79: 3. Metode Optimasi HEN (Jangan Dibuka)

79

Lack of sufficient data, limited epistemological position and other difficulties may cause an uncertainty in the numerical results obtained.

However, an attempt to derive reasonable figures and take these into consideration in the analysis and optimization makes far more sense than to ignore external effects of energy systems.

Urging

7.2.3 Pollution measures and costs

Page 80: 3. Metode Optimasi HEN (Jangan Dibuka)

80

OPTI_ENERGYSummer School: Optimization of Energy Systems and ProcessesGliwice, 24 – 27 June 2003

8. SENSITIVITY ANALYSIS

METHODS OF ENERGY SYSTEMS OPTIMIZATION

Page 81: 3. Metode Optimasi HEN (Jangan Dibuka)

81

8.1 Sensitivity Analysis with respect to the Parameters

Simply called sensitivity analysis or parametric analysis

A. Preparation of graphs

The optimization problem is solved for several values of a single parameter, while the values of the other parameters are kept constant.Then, graphs are drawn, which show the optimal values of the independent variables and of the objective function as functions of the particular parameter.

Page 82: 3. Metode Optimasi HEN (Jangan Dibuka)

82

B. Evaluation of the uncertainty of the objective function

8.1 Sensitivity Analysis with respect to the Parameters

Uncertainty of the objective function due to the uncertainty of a parameter:

jj

FF pp

(8.1)

Maximum uncertainty of the objective functiondue to the uncertainties of a set of parameters:

max jj j

FF pp

(8.2)

The most probable uncertainty of the objective functiondue to the uncertainties of a set of parameters:

2

prob jj j

FF pp

(8.3)

Page 83: 3. Metode Optimasi HEN (Jangan Dibuka)

83

8.1 Sensitivity Analysis with respect to the Parameters

C. Evaluation of certain Lagrange multipliers

If the constraints of the optimization problem are written in the form

k kg px

j jh px (8.4a)

where pj, pk are parameters, then the Lagrangian is written

j j j k k kj k

L F λ p h μ p g x x x (8.5)

(8.4b)

Page 84: 3. Metode Optimasi HEN (Jangan Dibuka)

84

It is: j kj k

L Lλ , μp p

8.1 Sensitivity Analysis with respect to the Parameters

At the optimum point, for the pj’s and those of the pk’sfor which Eq. (8.4b) is valid as equality, it is

j j k k

L F L F,p p p p

Equations (8.6) and (8.7) result in

j kj k

F Fλ , μp p

(8.6)

(8.7)

(8.8)

Consequently: the Lagrange multipliers expressthe uncertainty of the objective function.

Page 85: 3. Metode Optimasi HEN (Jangan Dibuka)

85

8.1 Sensitivity Analysis with respect to the Parameters

If the sensitivity analysis reveals that the optimal solution is very sensitive with respect to a parameter, then one or more of the following actions may be necessary:

• attempt for a more accurate estimation of the parameter (decrease of the uncertainty of the parameter),

• modifications in the design of the system with the scope of reducing the uncertainty,

• changes in decisions regarding the use of (physical and economic) resources for the construction and operation of the system.

A careful sensitivity analysis may prove more useful than the solution of the optimization problem itself.

Page 86: 3. Metode Optimasi HEN (Jangan Dibuka)

86

8.2 Sensitivity Analysis of the Objective Functionwith respect to the Independent Variables

The sensitivity of the optimum solution with respect to the independent variable xi is revealed by the values of the following derivatives at the optimum point:

j

i i

xf, j i

x x

xx

x

or with the differences

j

i i

xfx x

xx

x


Recommended