developing models for optimization lec 5 week 6. example (1) classify the following model

17
Developing models for optimization Lec 5 week 6

Upload: eileen-bradley

Post on 11-Jan-2016

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Developing models for optimization

Lec 5 week 6

Page 2: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Example (1) Classify the following model

Page 3: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Solution

• The model is linear if the ratios

are independent of temperature. • If they are not, then the model is nonlinear.• The model is Unsteady state.• The model is Distributed.

222

2

111

1Cps

handCpsh

Page 4: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Example (2)

• Classify the following equation (y = dependent variable; x, z = independent variables)

Page 5: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Solution

• Linear if vx is independent of vy; otherwise, nonlinear

• Steady state• Distributed

Page 6: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Degree of freedom• The degrees of freedom in a model is the number of variables that can

be specified independently and is defined as follows:

where NF = degrees of freedom Nv = total number of variables involved in the problem.

NE = number of independent equations.

• It is important to eliminate redundant information and equations before any calculations are performed using the developed model.

EvF NNN

Page 7: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Degree of freedom• A degrees-of-freedom analysis separates modeling

problems into three categories:

1. NF = 0: The problem is exactly determined. If NF = 0, then the number of independent equations is equal to the number of process variables and the set of equations may have a unique solution, in which case the problem is not an optimization problem. For a set of linear independent equations, a unique solution exists. If the equations are nonlinear, there may be no real solution or there may be multiple solutions.

Page 8: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Degree of freedom

2. NF > 0: The problem is underdetermined.

If NF > 0, then more process variables exist in the problem than independent equations. The process model is said to be underdetermined.

Page 9: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Degree of freedom

3. NF < 0: The problem is overdetermined.

If NF < 0, fewer process variables exist in the problem than independent equations, and consequently the set of equations has no solutions. The process model is said to be over-determined.

Page 10: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Example:

• the process flow chart for a series of two distillation columns, with mass flows and splits defined by x1 , x2, . . . , x5.

• Write the material balances,

• and show how many independent variable and degree of freedom that the process model comprises .

Page 11: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

There are 3 equations one of them can be obtained by adding the other two, then the over all that we have two equations (NE) and three un known (NV)Then NF = NV-NE = 1For Column (1) NF = 1

Page 12: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

For Column (2) we have three unknown (NV) and only one equation (NE) then the degree of freedom (NF) is two.

And for the two columns there are three degree of freedom

Page 13: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Example (2)• Suppose you want to design a hydrocarbon piping system in a plant

between two points with no change in elevation and want to select the optimum pipe diameter that minimizes the combination of pipe capital costs and pump operating costs. Prepare a model that can be used to carry out the optimization. Identify the independent and dependent variables that affect the optimum operating conditions. Assume the fluid

• properties (p, p) are known and constant, and the value of the pipe length (L) and mass flow rate (m) are specified. In your analysis use the following process variables:

• pipe diameter (D), fluid velocity (v), pressure drop (Ap), friction factor (f).

Page 14: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

The model equations are as follows:

Page 15: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

• The above model have: • NV = 4• NE =3• NF = 1

Page 16: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

Example

• Define how many degree of freedom are there in the next figure

Page 17: Developing models for optimization Lec 5 week 6. Example (1) Classify the following model

solution

With 12 variables and 9 independent linear equality constraints, 3 degrees of freedom exist that can be used to maximize profits.

These degree of freedom can be over comes by assuming some constrians