Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by...

49
Schedule Risk Analysis doesn’t have to be hard Realistic Plans for Project Success

Transcript of Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by...

Page 1: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Schedule Risk Analysis doesn’t have to be hard

Realistic Plans for Project Success

Page 2: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

2 John Owen

1981-1985 Worley Engineering (Planning Systems Manager) 1986-2006 Welcom (VP Development) 2006-2014 Deltek (Director Products and Strategy – Schedule & Risk) 2014- Barbecana Inc. (Chief Operating Officer)

Producing tools for organizations where outstanding project execution is a

critical business requirement

Page 3: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

3 Objectives

• Introduce Schedule Risk Analysis and show why it is important.

• Explain why it doesn’t have to be onerous to implement.

• Understand the outputs and their benefits.

• Drive home that SRA isn’t just for proposals.

Page 4: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

4 Risk Management

Everyone

Can and Should

Practice

Risk

Management

(even my dog does!)

Page 5: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

5 Even this presentation has risk…

Threats/Opportunities that may happen and how I plan to mitigate them: • Hardware Failure

• Have two computers available

• Illness • Don’t eat anything strange the day before

(and stay away from Bourbon Street!)

Page 6: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

6 Back to basics - Define Schedule…

For our purposes a schedule is a way of constructing a model of an endeavor (project) in order to understand the work that must be completed and how long it will take.

The most common project modelling technique is Critical Path Method (CPM)

Page 7: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

7 The trouble with CPM…

Critical Path Method calculates a single deterministic suggestion for a project completion date.

Every project, no matter how similar to projects before it, is always subject to some uncertainty.

This means that the only sure fact, for the project end date calculated by CPM, is that it will almost certainly be wrong.

Worse, the end date calculated by CPM is usually overly optimistic.

Let’s find out why…

Page 8: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

8 A simple CPM example…

Task A Duration = 5 Days Task B Duration = 5 Days

Assuming Task A starts on Day 1 of our project, Task A will finish on Day 5. Because of the Finish-to-Start relationship between Task A and B, the earliest Task B can start is Day 6. Adding the 5 days duration for Task B means that the project will complete on Day 10. A delay to Task A will cause a delay to the start of Task B but we have an opportunity to make up the lost time by completing Task B in less than the estimated duration, so that the project can still be completed on time.

Page 9: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

9 Those same two activities…

Task A Duration=5d

Task B Duration=5d

In this example, Tasks A and B can both start when the project starts. However, the project will only be complete when both Tasks A and B have been completed. A delay for Task A will cause a delay for the project, even if Task B is not delayed or finishes early (and vice versa).

Page 10: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

10 The Chance of Project Success

Let’s tabulate the possible outcomes for Task A and B (and to simplify the table we’ll count an on-time finish as early).

Task A Task B Project Early/On-Time Early/On-Time Early/On-Time Late Early/On-Time Late Early/On-Time Late Late Late Late Late

We know that the project will only complete on time if both Task A and B finish early or on-time. Of our four possible outcomes we can see this only happens one time. Any of the other three possible outcomes results in a late project completion.

Page 11: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

11 One reason projects fail…

As the number of predecessors for any given activity increases, it becomes less likely that it will start on time.

This effect is called Merge Bias.

Merge Bias is the single biggest reason that project models, built using Critical Path Method (CPM), inherently produce an unrealistic forecast for project completion.

As the complexity of the project model increases, and the number of activities with multiple predecessors grows, the probability of attaining the deliverable dates, suggested by CPM, decreases.

So project failure may not be caused by poor estimating or execution, but simply by the fact that the plan was never realistic or achievable in the first place.

Page 12: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

12 The effect of uncertainty

• Variation of the project completion date • Variation of the project cost • Changes to the Critical Path • Merge Bias (tendency for CPM to be optimistic) • Reduction in the perceived value of the project • Increased management effort

So the purpose of modelling uncertainty is not just to understand the impact but also to help focus efforts to increase confidence and reduce management effort

Page 13: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

13 Should we add contingency?

Task duration estimates can be made using a variety of techniques (expert judgment, parametric estimating etc.). The duration represents the time you expect the task to take. A good estimate equates to a 50/50 chance of finishing the work in the time allotted.

So why not add a contingency to each task duration. Wouldn’t that improve our chance of finishing each task on time?

The problem is Parkinson’s law - “Work expands so as to fill the time available for its completion.”

Never plan work using padded durations that include contingency.

Page 14: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

14 Improving the model

So if a standard Critical Path Method (CPM) project model results in an unrealistically optimistic ‘deterministic’ deliverable date and adding contingency to task durations is a bad idea, what can we do to improve matters?

The biggest flaw with CPM is that a single estimated duration is captured for each task. This is very unrealistic. Even for tasks that have been performed before there will be some uncertainty, even if it is completely external (for example high absenteeism when the USA played in the 2014 World Cup).

So a better model would be based on a range of estimates for each task.

Page 15: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

15 P.E.R.T

The Performance Evaluation and Review Technique (PERT) captures an Optimistic, Most Likely, and Pessimistic duration for each task. This is a big improvement in our estimating technique. We can then use the three points to calculate an expected duration for each task. Expected Duration = (Optimistic + (4 x Most Likely) + Pessimistic) / 6 The expected duration is then used with a regular CPM algorithm to calculate an expected project completion date. PERT also calculates a Standard Deviation (Error) around the expected finish date so practitioners can select a possible completion date based on a desired level of confidence (probability).

Page 16: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

16 The trouble with P.E.R.T

Because the range of values for each task are distilled into a single forecast duration for each task, followed by a regular CPM style calculation, PERT does not model the effect of Merge Bias.

PERT also calculates a single deterministic Critical Path (just like CPM) whereas, referring back to our simple parallel Task A and B example earlier, we can see that in reality the Critical Path may vary and that would be good to know from a management perspective.

So how can we improve on PERT?

Page 17: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

17 Monte Carlo Simulation

Deterministic solutions like CPM and PERT cannot model the interaction of uncertainty on the various tasks in the project.

But what if we could simulate the execution of the project thousands of times to see how the uncertainty inherent to each task interacts?

This is what Monte Carlo Simulation (aka Schedule Risk Analysis) allows us to do.

The technique is named after Monte Carlo, a European city that is famous for games of chance.

Page 18: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

18 Simulation?

Can’t we just ‘calculate’ the correct answer?

Unfortunately no. Modelling the interaction of many ‘randomly’ changing variables can’t be handled by an equation.

Even apparently straightforward tasks, like predicting the future position of the Moon relative to the Sun and Earth, have to be handled by simulation (Three Body Problem).

A typical schedule will have hundreds or thousands of interrelated tasks/activities each with their own uncertainty. It’s actually a much more complex problem than sending a rocket to the moon.

Page 19: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

19 How does it work?

A Monte Carlo algorithm will simulate the execution of the project many times.

For each simulated execution (aka Trial or Iteration), the algorithm will substitute task durations with sample values chosen from within the range of uncertainty specified by the optimistic, most likely, and pessimistic estimates.

Each simulation is a complete Critical Path Method calculation and gives us a possible project outcome. By repeating the simulation many times, and recording the number of times the simulated project outcome occurs on a specific date we can derive the chance of the project completing by that date

Page 20: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

20 The Process

•Develop a complete critical path model • Validate the quality of the model (schedule)

•Enter Uncertainty Information

•Perform Monte Carlo Simulation (Risk Analysis)

•Analyze Schedule Results

•Adjust Schedule to meet desired confidence objectives (chance of success)

Page 21: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

21 Uncertainty / Sources of Risk

There are two basic types of uncertainty that we can consider

Estimate Uncertainty / Duration Risk Estimate uncertainty is caused by a lack of knowledge

• We don’t know exactly how long something will take • We can capture a range of estimates

Event Uncertainty / Unplanned Events (Threats/Opportunities)

The impact of random events

• Something may or may not happen • We can plan for different eventualities

Page 22: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

22 Estimate Uncertainty

Focus on Critical / Near Critical Work.

Use a ‘generic’ or ‘quick risk’ (±25%) approach to help identify tasks worth obtaining more detailed risk data.

There are several different techniques for quantifying uncertainty information…

Page 23: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

23 Estimate Uncertainty - Expert Opinion

A ‘3-Point’ Estimate

• Information comes from SME/CAM/Manager/Expert • Best case / Optimistic estimate

• Worst case / Pessimistic estimate

• Most Likely estimate (optional and often used to ‘skew’ the most likely closer to either the optimistic or pessimistic values (See duration distribution curves)

• Can be estimated using duration units or percentages • Between 3 and 5 weeks

• Between 90% and 120% of the original duration

• Can be qualified with confidence limits • 80% confident that the duration will fall between 3 and 5 weeks

Page 24: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

24 Estimate Uncertainty - Past Performance

Page 25: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

25 Estimate Uncertainty - Risk Workshop

In the absence of specific expert or historical guidance, consider using a risk workshop to solicit feedback on the level of ‘confidence’ in critical work duration estimates from the project team.

Low Confidence might translate into a percentage range such as -5% to +100%.

Higher confidence might translate into a smaller range such as -10% to +10%.

Page 26: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

26 Estimate Uncertainty - Probability Distributions

The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a probability distribution.

This allows us to define how likely sampled durations are to be closer to the Most Likely vs Optimistic and Pessimistic values.

Optimistic Most Likely Pessimistic

Pro

babi

lity

(Lik

elih

ood)

Normal Distribution Triangular Distribution

Page 27: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

27 Which Distribution?

General Guidance

• Use historical data to determine an appropriate distribution

• Unless there is a compelling reason, do not use Uniform

• In the absence of specific guidance, use Triangular or Lognormal

• Use Beta or Triangular if you need to specify the degree of skew (e.g. transportation)

• Use Confidence Limits if the estimator wants to hedge

It’s more important to get good duration estimates than worry about distribution types…

Page 28: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

28 Distribution Types

Page 29: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

29 Event Uncertainty

Event uncertainty allows us to model Threats or Opportunities that may modify the execution of our project.

Threats might include a new prototype not meeting design criteria while opportunities could include a new manufacturing process becoming available.

Several different techniques can be used to model event uncertainty.

Probabilistic branching allows us to specify a probability that a particular path through the project may be taken (useful for opportunities).

Existence probability allows us to model threats as activities that may occur.

Conditional branching allows us to specify that specific activities will be included if desired dates are not achieved.

Page 30: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

30 Probabilistic Branching

Allows us to model alternate plans

Design 1 week

Manufacture Method 1 2 weeks

Manufacture Method 2 1 week

Assemble 1 week

80%

20%

Page 31: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

31 Conditional Branching

Allows us to revise the plan as dates change

Assemble 1 week

Ship Route 1 1 week

Ship Route 2 5 weeks

Deploy 1 week

Before 30Nov15

Page 32: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

32 And the result is…

Despair and Disbelief!

Page 33: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

33 A Histogram and S-Curve

The Histogram shows the probability of the project completing on a specific date

The S-Curve shows the probability of completion by a specific date

CPM expected finish Jan 23

6% chance by Jan 23 50% chance by Feb 27 80% chance by Mar 18 100% chance by May 28

Most likely date Feb 19 (12.5%) although only 36% chance of finishing by then

Page 34: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

34 Why is SRA so depressing?

Forecasts from a project management process that includes schedule risk analysis are often unpalatable for two reasons:

1. Practitioners are more likely to validate the quality of the schedule which tends to push dates to the right

2. Schedule Risk Analysis tends to push dates even further to the right (Merge Bias). This is true even if estimates reflect the fact that historically an organization has been very good at estimating/executing individual tasks (Actual/Estimate=1)

The Critical Path Method (CPM) technique is inherently and unrealistically optimistic…

Like it or not, the results from SRA are generally more realistic.

Page 35: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

35 Is there good news?

Yes!

Page 36: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

36 Sensitivity Analysis

Sensitivity Analysis (often portrayed as a Tornado chart) identifies:

• Which activities are creating variability in deliverables • Identifying critical / near critical work (focus for estimating) • Opportunities for schedule compression • Where to focus management effort

Page 37: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

37 I need to deliver sooner…

• The client provides the delivery date

• We have to launch in June 2018

• Funding expires at the end of December 2017

If we need to deliver by a specific date then SRA is the best tool for identifying where we need to improve the schedule to reach a level of confidence that we can achieve the required date.

It’s planning to fail if you ignore data from SRA and just hope you can achieve the dates forecast by CPM.

Page 38: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

38 Risk Adjusted Schedules

A Risk Adjusted Schedule shows when work will be performed at a specific level of confidence (e.g. P80)

Make commitments using the Risk Adjusted Schedule but manage using the original schedule

Page 39: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

39 Schedule Margin

Cost engineers have Contingency – what do schedulers have?

Schedule Margin

The amount of additional time needed to achieve a significant event with an acceptable probability of success.

The best way to derive an appropriate schedule margin is Schedule Risk Analysis.

Page 40: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

40 Calculating the Margin

Deterministic CPM = 1/23/2017 SRA P80 = 3/18/2017 Margin = 54 Calendar Days

Page 41: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

41 Including Schedule Margin

The project manager/scheduler owns the margin and will track incursion/consumption of the margin in exactly the same way as a cost engineer allocates and tracks fiscal contingency

Page 42: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

42 Milestone Schedule Margin

As well as obvious places like key interim deliverables, consider using Merge Delay to identify good places to allocate margin.

If you don’t need the margin, great. Bring future work forward.

Page 43: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

43 Combined Cost and Schedule

The Joint Confidence Limit scatter plot shows the chance of achieving both target cost and schedule delivery dates.

Page 44: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

44

Preparing for

Schedule Risk Analysis

Page 45: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

45 Schedule Quality

Just as with standard CPM, the validity of any results calculated by Schedule Risk Analysis are entirely dependent on the quality and realism of the underlying schedule. Software Tools can help.

e.g. Steelray Project Analyzer, Barbecana Schedule Inspector, Deltek Acumen Fuse

Page 46: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

46 Schedule Preparation

•Ensure status Information is current

•Remove ‘hard’ constraints • (any target date that prevents early dates from moving into the future).

• Mandatory Start/Finish, Must Finish On etc.

•Ensure Level of Effort work is not driving the critical path

Page 47: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

47 How many simulations?

Just about any number of simulations will give a reasonable indication of the expected (mean) finish date

More simulations improves the fidelity of the information at the extremes of the distribution – which is important.

100 Simulations 1000 Simulations 100,000 Simulations

Mean 3/9 P80 3/27 Mean 3/6 P80 3/24 Mean 3/3 P80 3/23

Page 48: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

48 Summary

• Schedule Risk Analysis is a valuable tool for making schedules more realistic and improving confidence.

• It’s an iterative process. Initial results may be depressing but the technique helps identify areas for improvement

• Schedule Risk Analysis has almost no value if you just produce a histogram to satisfy a contract requirement

• Many organizations chose to commit to P80 delivery dates and have a high success rate which boosts confidence and profitability

• It doesn’t have to be hard and saves money!

Page 49: Schedule Risk Analysis doesn’t have to be hard · The durations sampled in the range specified by the optimistic, most likely, and pessimistic durations, can be weighted using a

Copyright© 2016 Barbecana Inc.

49 Contact Information

• Speaker: John Owen • Company Barbecana Inc • Website www.barbecana.com • Phone +1 281 971 9825 • E-mail [email protected]

Thank You