ss1 - activities

33
SS1 - Activities 1.Single Time Estimate – Exercise from the notes 2. Single Time Estimate – Group Exercise 3. Three Time Estimate – Exercise from the notes 4. Three Time Estimate – Group Exercise 5. Intro to Ch 4

Upload: lavey

Post on 21-Jan-2016

54 views

Category:

Documents


0 download

DESCRIPTION

SS1 - Activities. Single Time Estimate – Exercise from the notes Single Time Estimate – Group Exercise Three Time Estimate – Exercise from the notes Three Time Estimate – Group Exercise Intro to Ch 4. Single Time Estimate – EXE from the notes. DEVELOPING THE NETWORK - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: SS1 - Activities

SS1 - Activities

1.Single Time Estimate – Exercise from the notes

2. Single Time Estimate – Group Exercise 3. Three Time Estimate – Exercise from the

notes4. Three Time Estimate – Group Exercise5. Intro to Ch 4

Page 2: SS1 - Activities

Single Time Estimate – EXE from the notesDEVELOPING THE NETWORK• All activities with no precedences, are placed at the left hand side.

• Subsequent activities are added towards the right, with the arrows indicating the relationship

• The network is presented in the notes. Best is to place one activity (node) at a time, with the arrows always pointing towards the right. Avoid this (arrow between and D and E):

A10

A10

C4

B6

A10

E3

D11

C4

B6

Avoid This

Page 3: SS1 - Activities

Single Time Estimate – EXE from the notesCALCULATING THE

COMPLETION TIME• Unless otherwise

specified, we start at time = 0, ES = 0. First, we start with all activities with no precedences. In this case A. A starts at 0 and is completed at time 10. EF = ES + Activity Time.

A10

E3

D11

C4

B6

G15

F18

0, 10..

..

.. ..ES, EFLS, LF

..

..

..

A10

E3

D11

C4

B6

G15

F18

0, 10..

10, 14..

10, 16.. ..

ES, EFLS, LF

..

..

..

• We move towards the right, activity B.

• There is only one arrow going into B, so it will start at the EF of the predecessor activity. The same for C.

• Calculate the EF for B and C

• We can’t start planning for E, until D is complete.

Page 4: SS1 - Activities

Single Time Estimate – EXE from the notesCALCULATING THE

COMPLETION TIME• Now that D is planned

(largest EF of its predecessors), we can plan E and F. When two or more arrows are going into an activity, pick the largest EF. For both F and E the ES is 27.

A10

E3

D11

C4

B6

G15

F18

0, 10..

10, 14..

10, 16..

16, 27..

ES, EFLS, LF

27..

27..

..

A10

E3

D11

C4

B6

G15

F18

0, 10..

10, 14..

10, 16..

16, 27..

ES, EFLS, LF

27, 30..

27, 45..

45, 60..

• Just as for E and F, G has two predecessors. The largest EF is 45, so that is selected as its ES.

• Finally, the largest EF is 60, so that is the Project’s Completion Time.

Page 5: SS1 - Activities

Single Time Estimate – EXE from the notes

CALCULATING THE CRITICAL PATH

• We start moving backwards by copying the LS = ES and LF =EF for the activity with the largest EF

A10

E3

D11

C4

B6

G15

F18

0, 10..

10, 14..

10, 16..

16, 27..

ES, EFLS, LF

27, 30..

27, 45..

45, 6045, 60

A10

E3

D11

C4

B6

G15

F18

0, 10..

10, 14..

10, 16..

16, 27..

ES, EFLS, LF

27, 30…., 45

27, 45…., 45

45, 6045, 60

• As we move towards the left, when there is a single link going into a node, the LF will be the late start (LS) of the origin point.

Page 6: SS1 - Activities

Single Time Estimate – EXE from the notes

CALCULATING THE CRITICAL PATH

• Calculate the LS by: LS = LF – Activity time A

10

E3

D11

C4

B6

G15

F18

0, 10..

10, 14..

10, 16..

16, 27..

ES, EFLS, LF

27, 3042, 45

27, 4527, 45

45, 6045, 60

A10

E3

D11

C4

B6

G15

F18

0, 10..

10, 14..

10, 16..

16, 27…., 27

ES, EFLS, LF

27, 3042, 45

27, 4527, 45

45, 6045, 60

• As we move towards the left, when there are 2 or more links going into a node, the LF will be the smallest LS of the alternative origin points.

Page 7: SS1 - Activities

Single Time Estimate – EXE from the notes

CALCULATING THE CRITICAL PATH

• Finish all LS and LFA10

E3

D11

C4

B6

G15

F18

0, 100, 10

10, 1423, 27

10, 1610, 16

16, 2716, 27

ES, EFLS, LF

27, 3042, 45

27, 4527, 45

45, 6045, 60

• Determine the Slack for each activity. Slack = LF – EF (or LS – ES).SA = 0

SB = 0

SC = 13

SD = 0

SE = 15

SF = 0

SG = 0

All the activities with the slack of 0 represent a single pathTherefore there is one critical path

CP = A – B – D – F - G

Page 8: SS1 - Activities

SS1 - Activities1. Single Time Estimate – Exercise from the

notes

2.Single Time Estimate – Group Exercise

3. Three Time Estimate – Exercise from the notes

4. Three Time Estimate – Group Exercise5. Intro to Ch 4

Page 9: SS1 - Activities

Single Time Estimate – GROUP EXE

DATA

Activity Time PrecA 4 -B 2 AC 4 AD 3 AE 7 B, CF 6 D, EG 5 EH 2 F, G

• Try solving it before looking at the solution.

Page 10: SS1 - Activities

Single Time Estimate – GROUP EXE

DEVELOPING THE NETWORK• All activities with no

precedences, are placed at the left hand side.

• Subsequent activities are added towards the right, with the arrows indicating the relationship

• Next one

A4

A4

D4

B2

C2

A4

D4

B2

C2

E7

Page 11: SS1 - Activities

Sin

gle

Tim

e E

stim

ate

– G

RO

UP

EX

EDEVELOPING THE NETWORK• Final Network

A4

G5

E7

D3

B2

H2

F6

C4

CALCULATING THE COMPLETION TIME

• For activity A, ES= 0 and EF = 4 A

4

G5

E7

D3

B2

H2

F6

0, 4

ES, EFLS, LF

C4

Page 12: SS1 - Activities

Single Time Estimate – GROUP EXE

COMPLETION TIME • ES for B, C, and D is 4 as they

have only one precedence

• Calculate EF for all activities by ES + Activity time

A4

G5

E7

D3

B2

H2

F6

0, 4…

4, 7…

4, 6…

ES, EFLS, LF

C4

4, 8…

Page 13: SS1 - Activities

COMPLETION TIME• We can’t plan for F (we do not

have the EF of E)

• Let’s plan for E. There are 2 predecessors B and C, so the largest EF from B and C, which is 8.

• Calculate EF for E.

A4

G5

E7

D3

B2

H2

F6

0, 4…

4, 7…

4, 6… 8, 15

ES, EFLS, LF

C4

4, 8…

F6

15, 21…

• Now we plan for F. F has two predecessors, E and D

• Largest EF from predecessors is 15

• For F, ES = 15 and EF = 21

E7

D3

8, 15…

4, 7…

Sin

gle

Tim

e E

stim

ate

– G

RO

UP

EX

E

Page 14: SS1 - Activities

Single Time Estimate – GROUP EXE

COMPLETION TIME• Plan G and H

• Project Completion time is 23. A4

G5

E7

D3

B2

H2

F6

0, 4…

4, 7…

4, 6… 8, 15

ES, EFLS, LF

15, 21…

15, 20…

21, 23…

C4

4, 8…

Page 15: SS1 - Activities

Single Time Estimate – GROUP EXE

CRITICAL PATH• Move ES and EF to LS and LF

for activity with largest EF (completion time)

A4

G5

E7

D3

B2

H2

F6

0, 4…

4, 7…

4, 6… 8, 15

ES, EFLS, LF

15, 21…

15, 20…

21, 2321, 23

C4

4, 8…

• Moving towards the left.

• Only one going into F, from activity H, so its LF is same as the LS of H

H2

F6

15, 21…, 21

21, 2321, 23

• For F,• LS = LF – Activity Time

F6

15, 2115, 21

Page 16: SS1 - Activities

Single Time Estimate – GROUP EXE

CRITICAL PATH• G and D can be planned in the

same manner.

• As we move left, there are 2 going into E, activities F and G. The smallest LS is 15.

A4

G5

E7

D3

B2

H2

F6

0, 4…

4, 712, 15

4, 6… 8, 15

…, 15

ES, EFLS, LF

15, 2115, 21

15, 2016, 21

21, 2321, 23

C4

4, 8…

• Calculate LS for activity E

• As we move left, only one activity going into B and C, activity E with LS of 8, therefore LF = 8 for both B and C.

E7

B2

4, 66, 8 8, 15

8, 15

C4

4, 84, 8

Page 17: SS1 - Activities

Single Time Estimate – GROUP EXE

CRITICAL PATH• Finished with all calculations

A4

G5

E7

D3

B2

H2

F6

0, 40, 4

4, 712, 15

4, 66, 8 8, 15

8, 15

ES, EFLS, LF

15, 2115, 21

15, 2016, 21

21, 2321, 23

C4

4, 84, 8

• Determine the Slack for each activity. Slack = LF – EF (or LS – ES).SA = 0

SB = 2

SC = 0

SD = 8

SE = 0

SF = 0

SG = 1

SH = 0

All the activities with the slack of 0 represent a single pathTherefore there is one critical path

CP = A – C – E – F - H

Page 18: SS1 - Activities

SS1 - Activities1. Single Time Estimate – Exercise from the

notes2. Single Time Estimate – Group Exercise

3.Three Time Estimate – Exercise from the notes

4. Three Time Estimate – Group Exercise5. Intro to Ch 4

Page 19: SS1 - Activities

Three Time Estimate – EXE from the Notes

INTRODUCTION

Single Time PM procedures are used when there is a good understanding of the activity times (we are confident in our time estimate).

Three time estimates PM procedures are used when activities are new or problematic. For example, activities dealing with many people may have lots of variability.

The idea here is that each activity has 3 times estimates,- Optimistic –fastest we can get the activity completed. Best case scenario

Kj- Most likely – reasonable amount of time (largest probability)

Lj- Pessimistic – worst case scenario Nj

For example, writing customer requirements for software X. In the best case, 2 weeks, most likely 5 weeks, and in the worst case, 11 weeks.

The first step of the process is to generate Mj. Mj is the mean time for each activity.

Mj = (Kj + 4 * Lj + Nj ) / 6. Note the 4 and 6 are constants and do not change.For the above example Mj = (2 weeks + 4 * 5 weeks + 11 weeks) / 6 = 5.5 weeks

Page 20: SS1 - Activities

Three Time Estimate – EXE from the Notes

PROCESS

- Calculate Mj for all activities.

- Note Table 3.3 of the notes has all the Mj’s already calculated.

- Draw the network, calculate the completion time, and the critical path as previously described. See Figure 3.5 from the notes.

- Note in this case there are 2 activities with no predecessors, P and Q. Both go in the left hand side of the paper. Then the process is the same. Having more than one start activity is common, multiple activities can be started simultaneously if they are independent. For example researching on the library and researching on the web.

P5.2

R6.0

Q7.0

Page 21: SS1 - Activities

Three Time Estimate – EXE from the Notes

COMMENTS

- This process allows us to understand the probabilities of completing the project for some range of times.

- In terms of managerial importance, we can find out what is the probability we will finish the project by an important time. For a toy manufacturer, what is the probability of delivering all toy shipments by Nov 10. If we are not at 90% or more, we may need to get some help.

- Clearly, PM focuses on the Critical Path and, similarly, these probabilities are “based” on the CP.

PROCESS

Calculate the variance ( s2j ) for each activity in the CP. If there is more than one CP, calculate the variance for all act ivies in each CP.

s2j = [ ( Nj – Kj ) / 6 ] 2

The variance of the activity in the previous page: [ (11 – 2) / 6] 2 = 2.25

Page 22: SS1 - Activities

Three Time Estimate – EXE from the Notes

NOTES EXAMPLE

The CP for the example in the notes is: Q-R-T-W-X. Completion Time = 42.9

Table 3.3 has all the variances.

The idea is that the project behaves like Normal Variable, with mean 42.9

- We now add, those variance to determine the variance of the Critical Path

s2cp = Sum of the variance for all activities in the CPfor the example in the notes2.78 + 0.44 + 11.11 + 2.78 + 0.25 = 17.36

- TWO corrections to the Notes. > Page 4, step 4a. Instead of a box, it should be a

square root symbol. > Table 3.1 is now Appendix A at the end of the

Notes.

42.9

Page 23: SS1 - Activities

Three Time Estimate – EXE from the Notes

NOTES EXAMPLE

We can now answer probability questions.Let’s look at Completing the project in 45 days or less? P(X<=45)

Graph to the right demonstrates the idea.

So we first calculate the Z value

U is the time we are looking for.

Z = (U – CT) / square root of (17.36) = (45 – 42.9)/ 4.17 = 2.1/4.17 = 0.50 (round to 2 decimals).Look at the Appendix at the end of the Course Notes. The left side of each column has the Z value. Get the closest Z in the table and look at the probability to the right. The probability at Z = 0.5 is 0.758 or 75.8%

What if we want to know the probability the project will take 45 days or more? P(X>45)?Note that P(X>45) = 1 – P(X<=45) and Appendix A only has P(X<=U),So the answer is 1 – 75.8% = 24.2%

42.9

45

Page 24: SS1 - Activities

Three Time Estimate – EXE from the Notes

NOTES EXAMPLE

Finally, probability for time intervals.Between 40 and 52 days. P(40 < X <=52)?

We need to find two probability values. One for 40 and one for 52.

P(40 < X <=52) = P(X<=52) – P(X<=40). See the graphs below to get the idea.

52

40

minus

5240

equals

All calculations are in the notes

P(X<=52)

P(X<=40) P(40 < X <=52)

Page 25: SS1 - Activities

SS1 - Activities1. Single Time Estimate – Exercise from the

notes2. Single Time Estimate – Group Exercise 3. Three Time Estimate – Exercise from the

notes

4.Three Time Estimate – Group Exercise

5. Intro to Ch 4

Page 26: SS1 - Activities

Three Time Estimate – GROUP EXE

DATA

Activity K L N PrecA 1 3 5 -B 1 2 3 AC 1 2 3 AD 2 3 4 B, CE 3 4 11 B, CF 3 4 5 CG 1 4 6 FH 2 4 5 E, D

• Try solving it before looking at the solution.

Page 27: SS1 - Activities

Th

ree T

ime E

s ti m

ate

– G

RO

UP

EX

E

Calculating the Mj’s

Activity K L N Mj PrecA 1 3 5 3 -B 1 2 3 2 AC 1 2 3 2 AD 2 3 4 3 B, CE 3 4 11 5 B, CF 3 4 5 4 CG 1 4 6 3.83 FH 2 4 5 3.83 E, D

The network and CT. CT = 13.83

A3

H3.83

D3

E5

B2

G3.83F

4

0, 3…

5, 9…

3, 5… 5, 8

9, 12.83…

10, 13.83…

5, 10…

C2

3, 5…

Page 28: SS1 - Activities

Th

ree T

ime E

s ti m

ate

– G

RO

UP

EX

E

Note we have multiple end activities. Having multiple ending activities is common (multiple project outputs that are independent of each other).

Given there are two activities at the end, we use as LF, the largest of the 2.

A3

H3.83

D3

E5

B2

G3.83F

4

0, 30, 3

5, 96, 10

3, 53, 5 5, 8

7, 10

9, 12.8310, 13.83

10, 13.8310, 13.83

5, 105, 10

C2

3, 53, 5

SlacksSA = 0

SB = 0

SC = 0

SD = 2

SE = 0

SF = 1

SG = 1

SH = 0

In this case, the activities with the slack of 0 represent two pathsTherefore there are 2 critical path

CP = A – C – E – H and A – B – E - H

Correction

Page 29: SS1 - Activities

PROCESS

- Need to calculate the variances for all activities in both CP.

- The variance are:A 0.44B 0.11C 0.11E 1.78H 0.25

s2ABEH = 0.44 + 0.11 + 1.78 + 0.25 = 2.58

s2ACEH = 0.44 + 0.11 + 1.78 + 0.25 = 2.58

In cases where the variances are different, pick the largest.

Three Time Estimate – GROUP EXE

Page 30: SS1 - Activities

PROCESS

So we can now calculate probabilities.- What about completing the project in less than 20 days? P(X<=20)

Z = (20 – 13.83) / square root (2.58) = 6.17 / 1.61 = 3.84. The closest Z value is 3.85. P(Z) = 0.99994, = 99.9%So we are pretty sure we will be done before time 20.

- What about taking 12 days or more? P( X > 12)P( X > 12) = 1 – P(X >= 12)Z = (12 – 13.83) / square root (2.58) = -1.83/1.61 = - 1.14. The closest Z is –1.15, with a probability of 12.5%. But remember this

probability id for P(X <= 12), not what we are looking for. To get our answer:

P( X > 12) = 1 – P(X >= 12) = 1 – 12.5% = 87.5%.

- Finally, what about between 12 and 15? P(12 < X <=15) P(12 < X <=15) = P( X <=15) – P(X<=12) = P( X <=15) – 12.5%

Calculate P( X <=15) Z = (15 – 13.83) / square root (2.58) = 1.17 / 1.61 = 0.73. The closest Z is 0.75, with a probability of 77.3%So the probability is: 77.3% - 12.5% = 64.8%

Three Time Estimate – GROUP EXE

Page 31: SS1 - Activities

SS1 - Activities1. Single Time Estimate – Exercise from the

notes2. Single Time Estimate – Group Exercise 3. Three Time Estimate – Exercise from the

notes4. Three Time Estimate – Group Exercise

5.Intro to Ch 4

Page 32: SS1 - Activities

Intro to Forecasting

• Forecasting is a vital activity as is will directly affect multiple operations functions. Forecasts will drive the inventories we will stock, the capacity we will keep, products we will design,…

• Forecasting is difficult and 99.99999% of the cases wrong. Objective is to minimize how wrong we are. Complex and simple math model, expert systems, and others are used to predict the future.

• For example, we are now in a recession and most forecasts predict the slow economy will continue. This is translated into company forecasts for their products. Ford recently announced the shutting down of assembly lines and 35,000 layoffs. This is capacity reduction related to a forecast that predicts slow sales and therefore the need to reduce capacity. These reductions have an effect downstream and it affects local Mfg like Delphi and Yazaki who make car components, and further to those that supply Delphi and Yazaki.

• Section 4.1. Product demand is made of three components, trend, season, and random. An example was given in class, forecasting for a gas station. They used data from the previous weeks plus data from last year. Factors like seasons (summer is driving season) play a role in the demand for gasoline, and therefore how much they needed to buy. Price also is a factor in how much the will sell. Note that errors in both direction cause problems, if we plan for less than demand, we will loose business. I we plan for more than demand, we will carry extra inventories (a cost).

• Seasons drive capacity plans for travel, toy production, ski production, clothing, …

• Most other info is on the notes. Check out the Delphi method in section 4.2

Page 33: SS1 - Activities

Thanks for your time.

Hope this helps.

Visit me during office hours if you have any questions (or by appointment)