lecturer dung-an wang lecture 2 -...

36
Optimization of Design LecturerDung-An Wang Lecture 2

Upload: lamngoc

Post on 11-Mar-2018

227 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

Optimization of Design

Lecturer:Dung-An WangLecture 2

Page 2: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

2

Lecture outline

Reading: Ch2 of textToday’s lecture Process of transforming the design of a selected system

and/or subsystem into an optimum design problemDESIGN OF A CAN INSULATED SPHERICAL TANK DESIGN

Page 3: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

3

The proper definition and formulation of a problem takeroughly 50 percent of the total effort needed to solve it.

It is critical to follow well-defined procedures forformulating design optimization problems.

Optimum solution will be only as good as theformulation. If we forget to include a critical constraint in the

formulation, the optimum solution will most likely violateit.

If we have too many constraints, or if they areinconsistent, there may be no solution.

Page 4: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

4

THE PROBLEM FORMULATION PROCESS

Translate a descriptive statement of it into a well-defined mathematical statement.

Optimization methods are iterative where the solutionprocess is started by selecting a trial design or a set oftrial designs. The trial designs are analyzed andevaluated, and a new trial design is generated. Thisiterative process is continued until an optimum solutionis reached.

Page 5: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

5

Five-step formulation procedure

Step 1: Project/problem description Step 2: Data and information collection Step 3: Definition of design variables Step 4: Optimization criterion Step 5: Formulation of constraints

Page 6: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

6

Step 1: Project/Problem Description

The statement describes the overall objectives of theproject and the requirements to be met. This is alsocalled the statement of work.

Page 7: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

7

EXAMPLE 2.1 DESIGN OF A CANTILEVER BEAM

Consider the design of a hollow square-cross-sectioncantilever beam to support a load of 20 kN at its end.The beam, made of steel, is 2 m long.

Page 8: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

8

The failure conditions for the beam are as follows: (1) the material should not fail under the action of the

load (2) the deflection of the free end should be no more than

1 cm. The width-to-thickness ratio for the beam shouldbe no more than 8. A minimum-mass beam is desired.

The width and thickness of the beam must be within thefollowing limits:

Page 9: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

9

Step 2: Data and Information Collection

To develop a mathematical formulation for the problem,we need to gather information on material properties,performance requirements, resource limits, cost of rawmaterials, and so forth.

Most problems require the capability to analyze trialdesigns.

Therefore, analysis procedures and analysis tools mustbe identified at this stage.

Page 10: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

10

EXAMPLE 2.2 DATA AND INFORMATION COLLECTIONFOR A CANTILEVER BEAM

The information needed for the cantilever beam designproblem of Example 2.1 includes expressions forbending and shear stresses, and the expression for thedeflection of the free end.

Page 11: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

11

Page 12: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

12

Step 3: Definition of Design Variables

Identify a set of variables that describe the system,called the design variables.

The number of independent design variables gives thedesign degrees of freedom for the problem.

EXAMPLE 2.3 DESIGN VARIABLES FOR A CANTILEVERBEAMw=width (depth) of the section, mm t=wall thickness, mm

Page 13: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

13

Step 4: Optimization Criterion

The criterion must be a scalar function whose numericalvalue can be obtained once a design is specified.

Such a criterion is called an objective function for theoptimum design problem.

A criterion needs to be maximized or minimizeddepending on problem requirements.

A criterion that is to be minimized is usually called acost function.

Page 14: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

14

EXAMPLE 2.4 OPTIMIZATION CRITERION FOR ACANTILEVER BEAM

For the design problem in Example 2.1, the objective isto design a minimum-mass cantilever beam. Since themass is proportional to the cross-sectional area of thebeam, the objective function for the problem is taken asthe cross-sectional area:

Page 15: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

15

Step 5: Formulation of Constraints

All restrictions placed on the design are collectivelycalled constraints.

Many constraint functions have only first-order terms indesign variables. These are called linear constraints.

Linear programming problems have only linearconstraints and objective functions.

More general problems have nonlinear cost and/orconstraint functions. These are called nonlinearprogramming problems.

A design meeting all requirements is called a feasibledesign.

Page 16: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

16

Equality and inequality constraints: (a) Feasible regionfor constraint x1=x2 (line A-B); (b) feasible region forconstraint (line A-B and the region above it).

Page 17: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

17

EXAMPLE 2.5 CONSTRAINTS FOR A CANTILEVERBEAM

Page 18: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

18

Thus the optimization problem is to find w and t tominimize the cost function subject to the eightinequality constraints.

Page 19: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

19

DESIGN OF A CAN

Page 20: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

20

STEP 1: PROJECT/PROBLEM DESCRIPTION

The purpose of this project is to design a can to hold atleast 400 ml of liquid.

The cans will be produced in the billions, so it isdesirable to minimize their manufacturing costs. Sincecost can be directly related to the surface area of thesheet metal used, it is reasonable to minimize theamount of sheet metal required.

Fabrication, handling, aesthetics, and shippingconsiderations impose the following restrictions on thesize of the can: The diameter should be no more than 8 cm and no less

than 3.5 cm, whereas the height should be no more than18 cm and no less than 8 cm.

Page 21: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

21

STEP 2: DATA AND INFORMATION COLLECTION

Material Fabrication, handling, aesthetics, and shipping

considerations

Page 22: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

22

STEP 3: DEFINITION OF DESIGN VARIABLES

Page 23: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

23

STEP 4: OPTIMIZATION CRITERION

Page 24: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

24

STEP 5: FORMULATION OF CONSTRAINTS

There are four constraints in Eqs. (c). Thus, the problem has two design variables and a total

of five inequality constraints.

Page 25: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

25

INSULATED SPHERICAL TANK DESIGN

Page 26: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

26

STEP 1: PROJECT/PROBLEM DESCRIPTION

The goal of this project is to choose an insulationthickness t to minimize the life-cycle cooling cost for aspherical tank.

The cooling costs include installing and running therefrigeration equipment, and installing the insulation.

Assume a 10-year life, a 10 percent annual interestrate, and no salvage value.

The tank has already been designed having r (m) as itsradius.

Page 27: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

27

STEP 2: DATA AND INFORMATION COLLECTION

To calculate the volume of the insulation material, werequire the surface area of the spherical tank, which isgiven as

To calculate the capacity of the refrigeration equipmentand the cost of its operation, we need to calculate theannual heat gain G, which is

Page 28: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

28

where ΔT is the average difference between theinternal and external temperatures in Kelvin

c1 is the thermal resistivity per unit thickness in Kelvin-meter per Watt

t is the insulation thickness in meters.ΔT can be estimated from the historical data for

temperatures in the region in which the tank is to beused.

Let c2 = the insulation cost per cubic meter ($/m3), c3= the cost of the refrigeration equipment per Watt-hourof capacity ($/Wh), and c4=the annual cost of runningthe refrigeration equipment per Watt-hour ($/Wh).

Page 29: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

29

STEP 3: DEFINITION OF DESIGN VARIABLES

t = insulation thickness, m

Page 30: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

30

STEP 4: OPTIMIZATION CRITERION

The goal is to minimize the life-cycle cooling cost ofrefrigeration for the spherical tank over 10 years.

The life-cycle cost has three components: insulation,refrigeration equipment, and operations for 10 years.Once the annual operations cost has been converted tothe present cost, the total cost is given as

where uspwf (0.1, 10)=6.14457 is the uniform seriespresent worth factor, calculated using the equation

where i is the rate of return per dollar per period and nis the number of periods

Page 31: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

31

STEP 5: FORMULATION OF CONSTRAINTS

Although no constraints are indicated in the problemstatement, it is important to require that the insulationthickness be non-negative (i.e., t greater than 0).

However, strict inequalities cannot be treatedmathematically or numerically in the solution processbecause they give an open feasible set

Therefore, a more realistic constraint is

tmin is the smallest insulation thickness available on themarket.

Page 32: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

32

Intermediate formulation

A summary of the problem formulation for the designoptimization of insulation for a spherical tank

Page 33: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

33

Final formulation

Page 34: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

34

Standard design optimization model

Page 35: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

35

The number of independent equality constraints mustbe less than, or at the most equal to, the number ofdesign variables (i.e., p <= n),

When p < n, the optimum solution for the problem ispossible.

When p=n, no optimization of the system is necessarybecause the roots of the equality constraints are theonly candidate points for optimum design.

When p > n, we have an overdetermined system ofequations. No solution for the design problem ispossible and the problem formulation needs to beclosely reexamined.

Page 36: Lecturer Dung-An Wang Lecture 2 - 國立中興大學web.nchu.edu.tw/~daw/Teaching/Optimization/Handouts/lecture2.pdf · The information needed for the cantilever beam design ... deflection

36

An inequality constraint gj(x) <=0 is said to be active ata design point x* if it is satisfied at equality (i.e.,gj(x*)=0.

An inequality constraint gj(x) <= 0 is said to be inactiveat a design point x* if it is strictly satisfied (i.e., gj(x*) <0).