26
IENG 217 Cost Estimating for Engineers Project Simulation

IENG 217 Cost Estimating for Engineers

Embed Size (px)

DESCRIPTION

IENG 217 Cost Estimating for Engineers. Project Simulation. A 1 A 2. 10,000. Simulation. Let us arbitrarily pick a value for A 1 and A 2 in the uniform range (5000, 7000). Say A 1 = 5,740 and A 2 = 6,500. A 1 A 2. 5,740 6,500. 10,000. 10,000. Simulation. - PowerPoint PPT Presentation

Citation preview

Page 1: IENG 217 Cost Estimating for Engineers

IENG 217Cost Estimating for

Engineers

Project Simulation

Page 2: IENG 217 Cost Estimating for Engineers

Simulation

A1 A2

10,000

Let us arbitrarily pick a value for A1 and A2 in the uniform range (5000, 7000). Say A1 = 5,740 and A2 = 6,500.

Page 3: IENG 217 Cost Estimating for Engineers

Simulation

A1 A2

10,000

5,740 6,500

10,000

NPW = -10,000 + 5,740(1.15)-1 + 6,500(1.15)-2

= (93.96)

Page 4: IENG 217 Cost Estimating for Engineers

Simulation

A1 A2

10,000

5,740 6,500

10,000

We now have one realization of NPW for a given realization of A1 and A2.

Page 5: IENG 217 Cost Estimating for Engineers

Simulation

A1 A2

10,000

5,740 6,500

10,000

We now have one realization of NPW for a given realization of A1 and A2. Choose 2 new values forA1, A2.

Page 6: IENG 217 Cost Estimating for Engineers

A1 = 6,820 A2 = 6,218

A1 A2

10,000

6,820 6,218

10,000

NPW = -10,000 + 6,820(1.15)-1 + 6,218(1.15)-2

= 632.14

Page 7: IENG 217 Cost Estimating for Engineers

Summary

A1 A2 NPW

5,740 6,500 (93.96)6,820 6,218 632.14

Choose 2 new values.

Page 8: IENG 217 Cost Estimating for Engineers

A1 = 5,273 A2 = 6,422

A1 A2

10,000

5,273 6,422

10,000

NPW = -10,000 + 5,273(1.15)-1 + 6,422(1.15)-2

= (558.83)

Page 9: IENG 217 Cost Estimating for Engineers

Summary

A1 A2 NPW

5,740 6,500 (93.96)6,820 6,218 632.145,273 6,422

(558.83)Choose 2 new values.

Page 10: IENG 217 Cost Estimating for Engineers

Summary

A1 A2 NPW

5,740 6,500 (93.96)6,820 6,218 632.145,273 6,422 (558.83) . . .6,855 5,947 457.66

Page 11: IENG 217 Cost Estimating for Engineers

Simulation

With enough realizations of A1, A2, and NPW, we can begin to get a sense of the distribution of the NPW.

-1,871 0 1,380 NPW

Freq.

Page 12: IENG 217 Cost Estimating for Engineers

Simulation

What we now need is a formal method of selecting random values for A1 and A2 to avoid selection bias.

Page 13: IENG 217 Cost Estimating for Engineers

Simulation

What we now need is a formal method of selecting random values for A1 and A2 to avoid selection bias.

Recall the uniform

5,000 7,000

1/2,000

f(x)

Page 14: IENG 217 Cost Estimating for Engineers

Simulation

The uniform has cumulative distribution given by:

5,000 7,000

1

F(x)

F( x)

0 , x5,000

1 , x7,000

x 5,0002,000

Page 15: IENG 217 Cost Estimating for Engineers

Simulation

Recall that 0 < F(x) < 1. Using modulo arithmetic, it is fairly easy to generate random numbers between 0 and 1 (Rand Function in Excel). Let P be a random variable uniformly from 0 to 1.

P U(0,1)

Page 16: IENG 217 Cost Estimating for Engineers

Simulation

Recall that 0 < F(x) < 1. Using modulo arithmetic, it is fairly easy to generate random numbers between 0 and 1. Let P be a random variable uniformly from 0 to 1.

P U(0,1)Algorithm: 1. Randomly generate P 2. Let P = F(x) 3. Solve for x = F-1(p)

Page 17: IENG 217 Cost Estimating for Engineers

Simulation

1. Randomly generate P U(0,1). P = .7

5,000 7,000

1

F(x)

F( x)x 5,0002,000

5,000 < x < 7,000

Page 18: IENG 217 Cost Estimating for Engineers

Simulation

1. Randomly generate P U(0,1). P = .72. Let P = F(x).

5,000 7,000

1

F(x)

F( x)x 5,0002,000

5,000 < x < 7,000

.7

Page 19: IENG 217 Cost Estimating for Engineers

Simulation

1. Randomly generate P U(0,1). P = .72. Let P = F(x).3. x = F-1(p).

5,000 7,000

1

F(x)

F( x)x 5,0002,000

5,000 < x < 7,000

.7

6,400

Page 20: IENG 217 Cost Estimating for Engineers

Formal Derivation

Recall, for

5,000 7,000

1

F(x)

F( x)x 5,0002,000

5,000 < x < 7,000. Then

P

Px

5 000

7 000 5 000

,

, ,

x 5 000

2 000

,

,

Page 21: IENG 217 Cost Estimating for Engineers

Formal Derivation

Solving for x = F-1(p),

5,000 7,000

1

F(x)

P

x

x P 5 000 2 000, ,

Note: 1. P = 0 x = 5,000

2. P = 1 x = 7,000

Page 22: IENG 217 Cost Estimating for Engineers

Class Problem

You are given the following cash flow diagram. The Ai are iid shifted exponentials with location parameter a = 1,000 and scale parameter = 3,000. The cumulative is then given by

7,000

A1 A2 A3

F x e x( ) ( , )/ , 1 1 000 3 000 , x > 1,000

Page 23: IENG 217 Cost Estimating for Engineers

Class Problem

You are given the first 3 random numbers U(0,1) as follows:

P1 = 0.8

P2 = 0.3

P3 = 0.5

You are to compute one realization for the NPW.MARR = 15%.

7,000

A1 A2 A3

F x e x( ) ( , )/ , 1 1 000 3 000

Page 24: IENG 217 Cost Estimating for Engineers

Class Problem

P1 ex 10003000

ex 10003000

1 P

x 10003000

ln(1 P)

x1,000 3,000 ln(1 P)

Page 25: IENG 217 Cost Estimating for Engineers

Class Problemx1,000 3,000ln(1 P)

A1 = 1,000 - 3000 ln(1 - .8)

= 5,828

A2 = 1,000 - 3000 ln(1 - .3)

= 2,070

A3 = 1,000 - 3000 ln(1 - .5)

= 3,079

Page 26: IENG 217 Cost Estimating for Engineers

Class Problem

7,000

5,8282,0703,079

NPW = -7,000 + 5,828(1.15)-1 + 2,070(1.15)-2 + 3,079(1.15)-3

= 1,657