1 5. M ONTE C ARLO B ASED CPM Objective: To understand how to apply the Monte Carlo based CPM method to planning construction projects that are subject.

Slides:



Advertisements
Similar presentations
Chapter 7 Project Management
Advertisements

Chapter 17 Project Management McGraw-Hill/Irwin
CHAPTER 17 Project Management.
Project Management and scheduling Objectives of project scheduling Network analysis Scheduling techniques.
Operations Management Session 27: Project Management.
Terminology Project: Combination of activities that have to be carried out in a certain order Activity: Anything that uses up time and resources CPM: „Critical.
SE503 Advanced Project Management Dr. Ahmed Sameh, Ph.D. Professor, CS & IS Project Uncertainty Management.
Project Scheduling: Networks, Duration Estimation, and Critical Path
Chapters 8, 9, and 10 Design Stage 1 Preconstruction Stage 2: Procurement Conceptual Planning Stage3: Construction Stage 4: Project Close-out.
1 4. C RITICAL P ATH B ASED T IME A NALYSIS Objective: To learn the principles of activity network based preliminary time analysis, calculating: –project.
Project Scheduling. SEEM Project Scheduling (PS) To determine the schedules to perform the various activities (tasks) required to complete the project,
Full Monte Cost and Schedule Risk Analysis
Engineering Economic Analysis Canadian Edition
Copyright © 2009 T.L. Martin & Associates Inc. Chapter 2 Key CPM Scheduling Terms.
Project Management An interrelated set of activities with definite starting and ending points, which results in a unique outcome for a specific allocation.
Project Scheduling Professor Stephen Lawrence Leeds School of Business University of Colorado Boulder, CO
Chapter 6 The Normal Distribution and Other Continuous Distributions
© 2000 by Prentice-Hall Inc Russell/Taylor Oper Mgt 3/e Chapter 6 Project Management.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved.
Chapter 5 Continuous Random Variables and Probability Distributions
Lecture II-2: Probability Review
Hydrologic Statistics
1 5. P RECEDENCE N ETWORK D EVELOPMENT AND A NALYSIS Objective: To understand the principles of developing precedence networks and using them as the basis.
8-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Project Management Chapter 8.
1 DATA DESCRIPTION. 2 Units l Unit: entity we are studying, subject if human being l Each unit/subject has certain parameters, e.g., a student (subject)
Real-World Project Management Chapter 13. Characteristics of Project Management Unique one-time focus –Difficulties arise from originality Subject to.
Continuous Probability Distributions  Continuous Random Variable  A random variable whose space (set of possible values) is an entire interval of numbers.
1 7. R EPETITIVE C ONSTRUCTION Objective: To understand how production and production rates are affected by repetition of tasks, and to learn how to plan.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 1 – Slide 1 of 34 Chapter 11 Section 1 Random Variables.
Using Probability and Discrete Probability Distributions
Module 1: Statistical Issues in Micro simulation Paul Sousa.
Engineering Economic Analysis Canadian Edition
“WHY ARE PROJECTS ALWAYS LATE?” (“and what can the Project Manager DO about that?) Craig Henderson, MBA, PMP ARVEST Bank Operations.
To Accompany Russell and Taylor, Operations Management, 4th Edition,  2003 Prentice-Hall, Inc. All rights reserved. Chapter 17 Project Management Part.
1 Project Planning, Scheduling and Control Project – a set of partially ordered, interrelated activities that must be completed to achieve a goal.
Project Management (專案管理)
Project Management Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
8-1 Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall Project Management Chapter 8.
1 3. M ODELING U NCERTAINTY IN C ONSTRUCTION Objective: To develop an understanding of the impact of uncertainty on the performance of a project, and to.
11/02/09 Chapter 7-Project Planning 1 Elements of Project Planning  Divide project into tasks, tasks into subtasks, subtasks into...  Estimate duration.
Copyright 2012 John Wiley & Sons, Inc. Chapter 8 Scheduling.
Project Planning and Budgeting Recall the four stages Project Definition and Conceptualization Project Planning and Budgeting Project Execution and Control.
Introduction to Probabilistic Analysis Introduction to Probabilistic Analysis The third phase of the cycle incorporates uncertainty into the analysis.
PERT/Activity Diagrams, Completion Probability and the Z Score
Basic Business Statistics
Chapter 20 Statistical Considerations Lecture Slides The McGraw-Hill Companies © 2012.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 6-1 Chapter 6 The Normal Distribution and Other Continuous Distributions Basic Business.
Project Planning & Scheduling What is a “project”? Objectives and tradeoffs Planning and Control in Projects Scheduling Methods Constant-Time Networks.
Theoretical distributions: the Normal distribution.
Scheduling Scheduling : is the process of converting a project action plan into an operating time table. Why scheduling ? To answer the following questions:
PROJECT MANAGEMENT.
Project Management (專案管理)
Project Management Chapter Topics
Chapter 17 Project Management McGraw-Hill/Irwin
Project Planning & Scheduling
Project Management (PERT/CPM) PREPARED BY CH. AVINASH
deterministic Fixed and known in advance, representing a
PERT and CPM.
Project Planning & Scheduling
Project Management and scheduling
Project Planning and Scheduling
PROJECT MANAGEMENT WITH CPM/PERT.
Project Planning and Budgeting
CPM, PERT & Schedule Risk Analysis in Construction
Project Scheduling: networks, duration estimation, and critical path
Project Scheduling Basics Activity on Node Precedence Diagrams
Chapter 16 – Project Management
AOA A style of project network diagram in which arrows
Presentation transcript:

1 5. M ONTE C ARLO B ASED CPM Objective: To understand how to apply the Monte Carlo based CPM method to planning construction projects that are subject to uncertainty: Summary: Part I: General Principles 5.1 Introduction 5.2 Monte Carlo Sampling 5.3 Application to a Construction Problem

2 Part II: P3 Monte Carlo Related Issues 5.4 The Use of Lead and Lag Times 5.5 Total Float Calculations 5.6 Probabilistic & Conditional Activity Branches 5.7 Duration Distribution Types 5.8 Correlated Activity Durations

3 Part I: General Principles 5.1 I NTRODUCTION Monte Carlo is a statistical method that allows a sample of possible project outcomes to be made. The probability of sampling an outcome is equal to the probability of it occurring in the actual project. Some characteristics: –its accuracy increases with the number of samples made; –it is computationally expensive, but well within the capabilities of today’s desktop computers; –the method is very flexible, allowing many real-world factors to be included in the analysis.

4 It is used in similar situations to PERT: –when there is a lot of uncertainty about activity durations; –when there is a lot to be lost by finishing late (or by missing out on large bonuses for early completion). Its advantages over PERT are: –much more accurate; –much more flexible: measures variance on floats (as well as project duration); measures probability of alternative paths becoming critical; can be extended to take account of correlation between the durations of different activities; can be extended to allow for exclusive activity branching.

5 Fig. 5-1: Observed Frequency Distribution Observed Frequency on Site Activity duration M ONTE C ARLO S AMPLING For each cycle through a Monte Carlo analysis, we need to randomly select a duration for every activity. The probability of selecting a duration should match the likelihood of its occurrence on site: most likely duration T = 27 days Observations from similar past activities can be plotted on a frequency chart Observations from similar past activities can be plotted on a frequency chart

6 Fig. 5-2: Converting a Frequency Distribution to a PDF Frequency Distribution Activity duration The frequency distribution can be converted (automatically by the computer) into a probability density function (to give a continuous distribution): –not necessary, but can give more accurate results for larger numbers of observations. For example, if the distribution approximates a Normal distribution, then can calculate: sample mean: sample standard deviation: For example, if the distribution approximates a Normal distribution, then can calculate: sample mean: sample standard deviation: Probability Density Function (pdf)

7 Fig. 5-3: Converting to the Cumulative Distribution (a) frequency to cumulative frequency distribution A good method of sampling from a frequency distribution, or a probability density function, is the inverse transform method (ITM) (automatic by computer). STEP 1: convert the frequency distribution to its cumulative frequency distribution: Frequency Distribution Activity duration Activity duration Cumulative Frequency Distribution Total = 8 observations

8 Fig. 5-3: Converting to the Cumulative Distribution (b) probability density to cumulative probability function Activity duration Probability Density Function Probability of completing within 26 days = shaded area = 0.65 If dealing with a probability density function then convert it to its cumulative probability function: Activity duration Cumulative Probability Function Probability of completing within 26 days = height = 0.65

9 STEP 2: generate a uniformly distributed random number between 0.0 and 1.0; Fig. 5-4: Selecting a Duration from the Cumulative Distribution Activity duration Cumulative Frequency Distribution PDF Uniform Distribution * r = 0.81 multiply it by the number of observations; go to the multiplied number on the vertical axis; read across until you hit a cumulative distribution bar and select the corresponding duration R = 0.81 * 8 = 6.48 Selected Activity Duration = 27 days

10 It can be seen that the probability of selecting a duration in this way is proportional to the length of the left-side exposed face of its bar. Eg: Fig. 5-5: Probability of Selecting an Activity Duration Activity duration Cumulative Frequency Distribution exposed blocks for 25 days 3 exposed blocks for 26 days 0 exposed blocks for 28 days –the bar for a duration of 26 days has 3 blocks exposed; –the bar for 28 days has 0 blocks exposed; and the number of exposed blocks corresponds to the number of site observations made at that duration (see the left side of Fig 5-3 (a)). – the bar for a duration of 25 days has 2 blocks exposed;

A PPLICATION TO A C ONSTRUCTION P ROBLEM The following will perform 6 Monte Carlo cycles on a very simple project:

12 Fig. 5-6: Example of Monte Carlo CPM Process 2 1 cf d act ‘A’ cf d act ‘B’ cf d act ‘C’ act ‘C’ act ‘B’ act ‘A’dummy 19 Cycle 1: ESEFLSLFTFFFIFd cycle n ESEFLSLFTFFFIFdESEFLSLFTFFFIFd Activity ‘A’Activity ‘B’Activity ‘C’ Mean TF = 0Mean FF = 0 Mean IF = 0Critical Index = 1.0 Mean TF = 1.33Mean FF = 1.33 Mean IF = 1.33Critical Index = 0.67 Mean TF = 3.17Mean FF = 3.17 Mean IF = 3.17Critical Index =

13 Fig. 5-7: Analysis of Results from Monte Carlo CPM Project duration Sampled Frequency Distribution Mean Project Duration = = 18.8 days Standard Deviation on Duration = = 2.64 days Need More Samples (cycles) Variance on Duration = 6.98 days 2. What is the probability of completing within the deterministic duration (17.75 days)? 3. What is the probability of activity ‘B’ having <=5 days float? A: 6.50 (act A) (act C) = days (note, this is less than the mean project duration according to the Monte Carlo analysis) A:  p = 34.5 % (much less than 50%) Questions: 1. What is the deterministic project duration? (use the observed frequencies as not a Normal distribution) A: p = 5/6 = 83.3%

14 Part II: P3 Monte Carlo Related Issues 5.4 T HE U SE OF L EAD AND L AG T IMES P3 Monte Carlo interprets negative delays on links (negative lags in P3 terminology) as zero lag: –so how can we represent situations requiring negative delays? –first of all, we will review what we mean by negative delays, then we will explore possible solutions.

15 Fig. 5-8: Dealing with Delays (b) negative delay (a) simple delay PRECEDENCE DIAGRAMBAR CHART act A dAdA act B dBdB +5 days act B dBdB act A dAdA 5 days act A dAdA act B dBdB - 5 days act B dBdB act A dAdA -5 days Earliest B can start is 5 days after end of A Note: negative delay Earliest B can start is 5 days before end of A Example: delay is for cure concrete. Example: Until the last 5 days of A, both activities need same space.

16 Can we get around the problem by: –reversing the direction of the activity link, and then using a positive delay?

17 Fig. 5-9: Reversing the Direction of the Activity Link PRECEDENCE DIAGRAMBAR CHART act A dAdA act B dBdB - 5 days act B dBdB act A dAdA -5 days Earliest B can start is 5 days before end of A act A dAdA act B dBdB + 5 days Are these equivalent ? act B dBdB act A dAdA -5 days Latest B can start is 5 days before end of A Example: A is dry walling and B is inspection of to be hidden columns. NO !

18 Can we get around the problem by: –using a positive delay from the start of the activity?

19 Fig. 5-10: Measuring the Delay from the Start of the Activity Link PRECEDENCE DIAGRAMBAR CHART act A dAdA act B dBdB - 5 days act B dBdB act A dAdA -5 days Earliest B can start is 5 days before end of A Are these equivalent ? Only if d A is fixed ! act B dBdB Earliest B can start is 5 days before end of A act A dAdA act B dBdB (d A -5) days Using Monte Carlo d A changes ! act A dAdA (d A -5) days

20 For example, if d A is expected to last 14 days: –then the delay from start of activity A to start of B = = 9 days; –this must be specified before all the Monte Carlo cycles start (it cannot change from cycle to cycle). but in Monte Carlo, the duration is variable from cycle to cycle: –thus, if in one Monte Carlo analysis, activity A was 12 days, then the 9 day delay would allow B to start just 3 days before the end of A !!! act A dAdA act B dBdB (d A -5) days

21 Fig. 5-11: Introducing a Dummy Activity with F-F and S-S Links PRECEDENCE DIAGRAMBAR CHART act A dAdA act B dBdB - 5 days act B dBdB act A dAdA -5 days Earliest B can start is 5 days before end of A Are these equivalent ? act B dBdB Earliest B can start is 5 days before end of A act A dAdA dAdA act B dBdB dummy 5 Yes! as long as dummy cannot be delayed dummy: 5

T OTAL F LOAT C ALCULATIONS P3 Monte Carlo provides several choices for calculating Total Float: –Finish Total Float; –Start Total Float; –Critical Total Float; and –Interruptible Total Float. For most activities, these different types of Total Float will have the same value. Differences occur when there are links from the start of an activity, or to the finish of an activity. What do the different types of Total Float represent, and when should we use each one?

23 Fig. 5-12: Graphical Interpretation of Different Types of Total Float BAR CHART act ‘A’ act ‘B’ act ‘C’ PRECEDENCE DIAGRAM act ‘A’ act ‘C’ P3: Start TF = = 0 P3: Start TF = = 0 P3: Finish TF = = 12 P3: Finish TF = = 12 Note, activity B must be interrupted 5 days. It cannot start after 0, and cannot finish before 10, yet it only has 5 days of work Note, activity B must be interrupted 5 days. It cannot start after 0, and cannot finish before 10, yet it only has 5 days of work P3: Start TF = 0 P3: Finish TF = 12 Standard TF includes necessary interruptions to the activity (and Finish TF) = 17 Standard TF includes necessary interruptions to the activity (and Finish TF) = 17 act ‘B’ Standard TF = = 17 Standard TF = = 17

24 Critical Total Float is defined as: smallest of Start Total Float and Finish Total Float –use Start TF when concerned about allowable delays to the start of the activity; –use Finish TF when concerned about allowable delays to the finish of the activity; –use Critical TF when concerned about the worst case for the activity; Interruptible Total Float is defined as: Finish Total Float with: late start time = early start time + Total Float. The Standard Total Float is not available in P3 MC, but it tells us: –the sum of all allowable delays on the activity, including those resulting from forced interruptions (necessary to ensure the logic of the network).

P ROBABILISTIC AND C ONDITIONAL A CTIVITY B RANCHES P3 Monte Carlo provides decision branches: –points in a network where alternative sequences of activities can be performed; –two types: probabilistic - where the choice of branch is random; conditional - where the choice of branch is dependent on whether a task has started (or finished).

26 Fig. 5-13: Decision Branches in a Network (a) probabilistic (random) (b) conditional fail or pass ? inspect HVAC equipment pass: p = 95% next task… make-good installation fail: p = 5% act ‘X’ finished ? position steel in found exc. yes use crane to convey conc to found use concrete pumps no activity ‘X’ (uses crane)

27 Fig. 5-14: Decision Branch Rules (a) decision node must be only predecessor (b) no actual start times for branch activities (b) no SS and SF links from branch activities act ‘B’ x not allowed decision node outcome ‘b’ outcome ‘a’ act ‘A’ act ‘B’ decision node outcome ‘b’ outcome ‘a’ act ‘A’ act ‘B’ A specified actual start time. A specified actual start time. x not allowed x decision node outcome ‘b’ outcome ‘a’ act ‘A’ act ‘B’

28 Fig. 5-15: Multiple Decisions (Trees) pass /fail ? inspect HVAC equipment act ‘B’ pass: p = 80% fail: p = 20% major /minor ? act ‘B’ minor problems: p = 75% act ‘B’ major problems: p = 25% combined probability of major installation problems is: 20% x 25% = 5% combined probability of major installation problems is: 20% x 25% = 5%

D ISTRIBUTION T YPES P3 Monte Carlo provides 4 basic types of activity duration distribution: –Triangular; –Modified Triangular; –Poisson; –Custom.

30 Fig. 5-16: Activity Distribution Types in P3 MC (a) Triangular Distribution act duration probability pessimistic most likely optimistic (b) Modified Triangular Distribution act duration probability pessimistic most likely optimistic Anything sampled within the end X & Y percentiles are read as the limit (thus creating a spike at each end). Anything sampled within the end X & Y percentiles are read as the limit (thus creating a spike at each end). Y% (c) Poisson Distribution act duration probability S = ? P = ? (d) Custom act duration probability A discrete distribution A discrete distribution Define the durations that can occur and their respective probabilities Define the durations that can occur and their respective probabilities X%

C ORRELATED A CTIVITY D URATIONS P3 Monte Carlo allows activity durations to be either completely correlated or completely uncorrelated: –Uncorrelated: the duration of activity ’A’ has no relationship to the duration of activity ‘B’; –Correlated: the duration of activity ’A’ is either dependent on the duration of activity ‘B’ or is dependent on something else that ‘B’ is also dependent on.

32 Fig. 5-17: Types of Correlation Between Two Activity Durations (a) Linear Perfect Correlation duration A duration B x y duration of A is a linear function of duration of B duration of A is a linear function of duration of B (b) Non-Linear Perfect Correlation duration A duration B x y duration of A is a nonlinear function of duration of B duration of A is a nonlinear function of duration of B (c) Linear Perfect Negative Correlation duration A duration B x y as duration of A increases, duration of B decreases as duration of A increases, duration of B decreases (d) Partially Correlated duration A duration B x duration of A is partially correlated to duration of B duration of A is partially correlated to duration of B range of possible values of y for a given x

33 Fig. 5-18: Types of Correlation Between Two Activity Durations cumulative pdf activity ‘A’ duration P3 Monte Carlo correlates two activity durations by using the same random number to generate their durations: Same random number for both activities Same random number for both activities cumulative pdf activity ‘B’ duration

34 Fig. 5-19: Impact of Correlated Activity Durations on Project Duration (a) sequential, correlated activities act Aact B 10+20=30 prob 1020 duration A Correlated 20+30=50 (b) sequential, uncorrelated activities act Aact B 10+20=30 prob 1020 duration A Un- Correlated 10+30= =40 prob 2030 duration B prob 2030 duration B 20+30=50 30 project duration prob project duration prob p=