+ All Categories
Home > Documents > Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can...

Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can...

Date post: 18-May-2018
Category:
Upload: buitram
View: 255 times
Download: 2 times
Share this document with a friend
34
Joaquim R. R. A. Martins Multidisciplinary Design Optimization Laboratory http://mdolab.engin.umich.edu / University of Michigan Multidisciplinary Design Optimization 7th International Fab Lab Forum and Symposium on Digital Fabrication Lima, Peru, August 18, 2011 (Remote presentation)
Transcript
Page 1: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Joaquim R. R. A. MartinsMultidisciplinary Design Optimization Laboratory

http://mdolab.engin.umich.edu/University of Michigan

Multidisciplinary Design Optimization

7th International Fab Lab Forum and Symposium on Digital FabricationLima, Peru, August 18, 2011

(Remote presentation)

Page 2: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Sir George Cayley2

Page 3: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

The Dawn of Multidisciplinary Design

[National Air and Space Museum]

3

Page 4: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Current Multidisciplinary Design

[Flight International]

4

Page 5: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

What is Optimization?5

Optimization Problem

minimize f(x)

by varying x ∈ Rn

subject to cj(x) ≥ 0, j = 1, 2, . . . ,m

f : objective function, output (e.g. structural weight).

x : vector of design variables, inputs (e.g. aerodynamic shape); bounds can be

set on these variables.

c : vector of inequality constraints (e.g. structural stresses), may also be

nonlinear and implicit.

MDO Lab [http://mdolab.utias.utoronto.ca] 3

Page 6: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Conventional vs. Optimal Design Process

6

baseline design usually requires some engineering intuition and represents an initial idea. In

the conventional design process this baseline design is analyzed in some way to determine

its performance. This could involve numerical modeling or actual building and testing. The

design is then evaluated based on the results and the designer then decides whether the

design is good enough or not. If the answer is no — which is likely to be the case for at

least the first few iterations — the designer will change the design based on its intuition,

experience or trade studies. When the design is satisfactory, the designer will arrive at the

final design.

For more complex engineering systems, there are multiple levels and thus cycles in the

design process. In aircraft design, these would correspond to the preliminary, conceptual

and detailed design stages.

The design optimization process can be pictured using the same flow chart, with mod-

ifications to some of the blocks. Instead of having the option to build a prototype, the

analysis step must be completely numerical and must not involve any input from the de-

signer. The evaluation of the design is strictly based on numerical values for the objective to

be minimized and the constraints that need to be satisfied. When a rigorous optimization

algorithm is used, the decision to finalize the design is made only when the current design

satisfies the necessary optimality conditions that ensure that no other design “close by” is

better. The changes in the design are made automatically by the optimization algorithm

and do not require the intervention of the designer. On the other hand, the designer must

decide in advance which parameters can be changed. In the design optimization process, it

is crucial that the designer formulate the optimization problem well. We will now discuss

the components of this formulation in more detail: the objective function, the constraints,

and the design variables.

Baseline

designSpecifications

Analyze or

experiment

Evaluate

performance

Change

design

Is the design

good?

Final design

No

Yes

Baseline

designSpecifications

Analyze

Evaluate

objective and

constraints

Change

design

Is the design

optimal?

Final design

No

Yes

Figure 1.1: Conventional (left) versus optimal (right) design process

12

baseline design usually requires some engineering intuition and represents an initial idea. In

the conventional design process this baseline design is analyzed in some way to determine

its performance. This could involve numerical modeling or actual building and testing. The

design is then evaluated based on the results and the designer then decides whether the

design is good enough or not. If the answer is no — which is likely to be the case for at

least the first few iterations — the designer will change the design based on its intuition,

experience or trade studies. When the design is satisfactory, the designer will arrive at the

final design.

For more complex engineering systems, there are multiple levels and thus cycles in the

design process. In aircraft design, these would correspond to the preliminary, conceptual

and detailed design stages.

The design optimization process can be pictured using the same flow chart, with mod-

ifications to some of the blocks. Instead of having the option to build a prototype, the

analysis step must be completely numerical and must not involve any input from the de-

signer. The evaluation of the design is strictly based on numerical values for the objective to

be minimized and the constraints that need to be satisfied. When a rigorous optimization

algorithm is used, the decision to finalize the design is made only when the current design

satisfies the necessary optimality conditions that ensure that no other design “close by” is

better. The changes in the design are made automatically by the optimization algorithm

and do not require the intervention of the designer. On the other hand, the designer must

decide in advance which parameters can be changed. In the design optimization process, it

is crucial that the designer formulate the optimization problem well. We will now discuss

the components of this formulation in more detail: the objective function, the constraints,

and the design variables.

Baseline

designSpecifications

Analyze or

experiment

Evaluate

performance

Change

design

Is the design

good?

Final design

No

Yes

Baseline

designSpecifications

Analyze

Evaluate

objective and

constraints

Change

design

Is the design

optimal?

Final design

No

Yes

Figure 1.1: Conventional (left) versus optimal (right) design process

12

Page 7: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Numerical OptimizationA Simple Example

minimize f(x) = 4x21 − x1 − x2 − 2.5

by varying x1, x2

subject to c1(x) = x22 − 1.5x2

1 + 2x1 − 1 ≥ 0,

c2(x) = x22 + 2x2

1 − 2x1 − 4.25 ≤ 0,

-2 -1 0 1 2

-2

-1

0

1

2

MDO Lab [http://mdolab.utias.utoronto.ca] 4

A Simple Example

minimize f(x) = 4x21 − x1 − x2 − 2.5

by varying x1, x2

subject to c1(x) = x22 − 1.5x2

1 + 2x1 − 1 ≥ 0,

c2(x) = x22 + 2x2

1 − 2x1 − 4.25 ≤ 0,

-2 -1 0 1 2

-2

-1

0

1

2

MDO Lab [http://mdolab.utias.utoronto.ca] 4

Page 8: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

MDO: A Wing Design Example

Aerodynamics: Panel code computes induced drag. Variables: wing twist and angle of attackStructures: Beam finite-element model of the spar that computes the displacements and stresses. Variables: element thicknesses

0 2 4 6 8 10 12 14 16 18−2

02

46

810

−1012

y (m)

x (m)

z (m

)Maximize:

Example: Trade-off Between Aerodynamics and Structures

OptimizationStructural

OptimizationAerodynamic

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 10

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

Spanwise coordinate, y/b

Lift

Aerodynamic optimum (elliptical distribution)

Aero!structural optimum (maximum range)

Student Version of MATLAB

Aerodynamic Analysis

Optimizer

Structural Analysis

Minimizing drag and weight sequentially does

not lead to the true optimum.

A more representative objective function for

aircraft would be

Range ∝ L

Dln

�Wi

Wf

�.

Optimize aerodynamic shape and structural

variables simultaneously.

The result a better overall design that

represents a compromise between

disciplines.

MDO Lab [http://mdolab.utias.utoronto.ca] 6

Page 9: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Aerostructural Coupling — Boeing 787

[airliners.net]

9

Page 10: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Aerostructural Coupling — Boeing 787

[airliners.net]

9

Page 11: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Sequential Optimization

The final result is always an elliptic lift distribution

Structural

Optimizationmax Rangew.r.t. thicknessess.t. stress constraints

forcesdrag

displacementsweight

Aerodynamic

Optimizationmax Rangew.r.t. twists.t. lift = weight

Page 12: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

A Sound MDO ApproachThe multidisciplinary feasible (MDF) method

Aerodynamics

Structures

Optimizermax Rangew.r.t. sweep, twist, thicknessess.t. stress constraints

drag,lift forces

displacements

sweep, thicknessessweep, twist

weight, stresses

coupled sensitivities

Page 13: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Sequential Optimization vs. MDO

[Chittick and Martins, Structural and Multidisciplinary Optimization, 2008]

12

!10 !8 !6 !4 !2 0 20

0.05

0.1

0.15

0.2

0.25

3000 3000 3000

40004000 4000

50005000 5000

60006000 6000

7000

Jig Twist (degrees)

Thic

kness

(m

)

Range (km)

Sequential

MDO

Stress constraint

Aerodynamic optima

Page 14: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

13

Page 15: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Sequential Optimization vs. MDF

0 2 4 6 8 10 12 14 16 18 20

1

2

3

4

5

6x 104

Spanwise Distance (m) − [Root at left, Tip at right]

Lift

(N)

Elliptical DistributionMDFSequential

1

Page 16: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Optimization Methods

Engineering intuition

Page 17: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Optimization Methods: Gradient-Free

Genetic algorithms

Example 6.3: Minimization of the Rosenbrock Function Using a Genetic Algorithm

Figure 6.5: Genetic algorithm with bit

representation

Figure 6.6: Genetic algorithm with real number

representation

J.R.R.A.Martins • A Short Course on MDO • http://mdolab.utias.utoronto.ca 231

Nelder-Mead simplex

Example 6.1: Minimization of the Rosenbrock Function Using Nelder–Meade

J.R.R.A.Martins • A Short Course on MDO • http://mdolab.utias.utoronto.ca 214

Page 18: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Optimization Methods: Gradient-Based

Steepest descent (1st order) BFGS (2nd order)Figure 3.6: Solution path of the steepest descent and conjugate gradient methods

J.R.R.A.Martins • A Short Course on MDO • http://mdolab.utias.utoronto.ca 90

Figure 3.7: Solution path of the modified Newton and BFGS methods

J.R.R.A.Martins • A Short Course on MDO • http://mdolab.utias.utoronto.ca 91

Page 19: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Optimization: Gradient-Based vs. Not18

Page 20: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Optimization: Gradient-Based vs. Not18

Page 21: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Optimization: Gradient-Based vs. Not18

Page 22: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Optimization: Gradient-Based vs. Not18

Page 23: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

The Case for Efficient Sensitivity Analysis

• By default, most gradient-based optimizers use finite differences

•When using finite differences with large numbers of design variables, sensitivity analysis is the bottleneck

• Accurate sensitivities needed for convergence

19

Optimizer

Converged?

Line search

Search direction Analysis

Sensitivity Analysis

x0

x∗

x

Page 24: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Finite differences: very popular, easy to implement, but can be very inaccurate; need to run analysis for each design variable

Complex-step method: accurate, easy to implement and maintain; need to run analysis for each design variable

Automatic differentiation: automatic implementation, accurate; cost can be independent of the number of design variables

(Semi-)Analytic Methods: efficient and accurate, long development time; cost can be independent of the number of design variables

Sensitivity Analysis Methods20

f(x + ih) = f(x) + ihf �(x)− h2 f ��(x)2!

− ih3 f ���(x)3!

+ . . .

⇒ f �(x) =Im [f(x + ih)]

h+ h2 f ���(x)

3!+ . . .

⇒ f �(x) ≈ Im [f(x + ih)]h

Joaquim R. R. A. Martins (UTIAS) http://mdolab.utias.utoronto.ca 1 / 5

f �(x) ≈ f(x + h)− f(x)h

f(x + ih) = f(x) + ihf �(x)− h2 f ��(x)2!

− ih3 f ���(x)3!

+ . . .

⇒ f �(x) =Im [f(x + ih)]

h+ h2 f ���(x)

3!+ . . .

⇒ f �(x) ≈ Im [f(x + ih)]h

Joaquim R. R. A. Martins (UTIAS) http://mdolab.utias.utoronto.ca 1 / 5

[Martins, Alonso and Sturdza, ACM TOMS, 2003]

Page 25: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Finite differences: very popular, easy to implement, but can be very inaccurate; need to run analysis for each design variable

Complex-step method: accurate, easy to implement and maintain; need to run analysis for each design variable

Automatic differentiation: automatic implementation, accurate; cost can be independent of the number of design variables

(Semi-)Analytic Methods: efficient and accurate, long development time; cost can be independent of the number of design variables

Sensitivity Analysis Methods20

f(x + ih) = f(x) + ihf �(x)− h2 f ��(x)2!

− ih3 f ���(x)3!

+ . . .

⇒ f �(x) =Im [f(x + ih)]

h+ h2 f ���(x)

3!+ . . .

⇒ f �(x) ≈ Im [f(x + ih)]h

Joaquim R. R. A. Martins (UTIAS) http://mdolab.utias.utoronto.ca 1 / 5

f �(x) ≈ f(x + h)− f(x)h

f(x + ih) = f(x) + ihf �(x)− h2 f ��(x)2!

− ih3 f ���(x)3!

+ . . .

⇒ f �(x) =Im [f(x + ih)]

h+ h2 f ���(x)

3!+ . . .

⇒ f �(x) ≈ Im [f(x + ih)]h

Joaquim R. R. A. Martins (UTIAS) http://mdolab.utias.utoronto.ca 1 / 5

[Martins, Alonso and Sturdza, ACM TOMS, 2003]

Page 26: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

f(x + ih) = f(x) + ihf �(x)− h2 f ��(x)2!

− ih3 f ���(x)3!

+ . . .

⇒ f �(x) =Im [f(x + ih)]

h+ h2 f ���(x)

3!+ . . .

⇒ f �(x) ≈ Im [f(x + ih)]h

Joaquim R. R. A. Martins (UTIAS) http://mdolab.utias.utoronto.ca 1 / 4

Complex-Step Derivative ApproximationLike finite differences, can be derived from a Taylor series expansion, but use a complex step instead of a a real one:

• No subtractive cancellation

• Numerically exact for small enough step

[Martins, Alonso and Sturdza, ACM TOMS, 2003]

21

Page 27: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

f(x + ih) = f(x) + ihf �(x)− h2 f ��(x)2!

− ih3 f ���(x)3!

+ . . .

⇒ f �(x) =Im [f(x + ih)]

h+ h2 f ���(x)

3!+ . . .

⇒ f �(x) ≈ Im [f(x + ih)]h

Joaquim R. R. A. Martins (UTIAS) http://mdolab.utias.utoronto.ca 1 / 4

Complex-Step Derivative ApproximationLike finite differences, can be derived from a Taylor series expansion, but use a complex step instead of a a real one:

• No subtractive cancellation

• Numerically exact for small enough step

[Martins, Alonso and Sturdza, ACM TOMS, 2003]

21

Page 28: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

f(x + ih) = f(x) + ihf �(x)− h2 f ��(x)2!

− ih3 f ���(x)3!

+ . . .

⇒ f �(x) =Im [f(x + ih)]

h+ h2 f ���(x)

3!+ . . .

⇒ f �(x) ≈ Im [f(x + ih)]h

Joaquim R. R. A. Martins (UTIAS) http://mdolab.utias.utoronto.ca 1 / 4

Complex-Step Derivative ApproximationLike finite differences, can be derived from a Taylor series expansion, but use a complex step instead of a a real one:

• No subtractive cancellation

• Numerically exact for small enough step

[Martins, Alonso and Sturdza, ACM TOMS, 2003]

21

Page 29: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Aircraft Design for Minimum Environmental Impact

TextText

(Henderson, Perez, Martins, 2009)

Page 30: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Single Objective Optimization

Cost Fuel Burn LTO NOx

Page 31: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Results for Increasing Fuel Prices

Evaluated at US $1.50

Evaluated at US $15.00

24

Page 32: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Multi-Objective Optimization

Page 33: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Wind Turbine Blade Design Optimization(Kenway and Martins, 2008)

Page 34: Multidisciplinary Design Optimization Design Optimization ... (e.g. aerodynamic shape); bounds can be ... Aerostructural Coupling — Boeing 787

Wind Turbine Blade Design Optimization(Kenway and Martins, 2008)


Recommended