Alexander Logan

Project Management

Contents

  1. Project Initiation
  2. Scheduling & Time Management
  3. PRINCE2
  4. Budgeting and Forecasting
  5. Lean and Agile
  6. Risk

Project Initiation

In general, quality is constrained by cost, time, and scope. It is important to consider where a customer’s priorities lie between these.

PMBOK Knowledge Areas

There are 10 knowledge areas defined in PMBOK, which are skills a project manager must master to manage a project efficiently:

PMBOK also defines 49 separate processes, each of which has certain inputs, tools and techniques, and outputs.

Process Groups

  1. Initiation - Why do the project?
  2. Planning - Balance time, cost, scope, risks, etc.
  3. Execution - Where the ‘real work’ gets done.
  4. Control - Monitor and review progress.
  5. Closing - Delivery, audits, and lessons learned.

Project Mandate

The Project Mandate or Statement of Work describes:

It can also be useful to describe the business need and a strategic plan of organisation in the project mandate.

Project Charter

The Project Charter formally authorises the existence of a project and provides the Project Manager with the authority to apply resources.

The inputs to the project charter are:

The outputs of the project charter are then:

Project Stakeholders

Power Interest Grid

Can decide how each stakeholder should be managed by using a Power/Interest Grid.


Scheduling & Time Management

The first steps after the project manager takes over following completing the project charter are usually:

Work Breakdown Structure

A Work Breakdown Structure is a deliverable-oriented hierarchical decomposition of the work to be executed by the project team to accomplish the project objectives and create the required deliverables.

Each descending level represents increasingly detailed definitions of the work to be completed.

The deliverables must be consistent with project initial objectives.

A Work Package is the smallest unit of the WBS. It has:

The size of work packages can be controlled, with the following benefits/disadvantages:

The Work Breakdown Structure should be deliverable-oriented, and not objective-oriented or process-oriented. This is because:

However, the disadvantages of this are:

The tasks required by the project should be broken down until each task can be accurately defined and estimated.

Deliverables vs Objectives

Objectives are:

Deliverables are the:

Both should be considered when thinking about scope - each objective should align with one or more deliverable. Deliverables which do not help achieve project objectives should be excluded.

Estimating Activity Durations

There are a few different approaches for estimating activity durations:

Gantt charts

Offer a graphical visualisation of the project, showing:

Project Network Diagram (PND)

A Project Network Diagram is a graphical way to view the project’s tasks, dependencies, and the critical path.

The critical path is a sequence of activities starting from the first activity of the project and ending with the last, and where no task on the critical path can be delayed without extending the project duration.

Critical Path Method (CPM)

The following terms are defined:

The algorithm for finding the critical path is then:

  1. Construct the PND.
  2. Forward Pass
    • For each activity, starting with the earliest…
    • Calculate $ES$ (maximum $EF$ from immediate predecessors).
    • Recall $EF = ES + D$.
  3. Backward Pass
    • For each activity, starting with the latest…
    • Calculate $LF$ (minimum $LS$ from immediate successors).
    • Recall $LS = LF - D$.
    • Calculate Total Float for the activity by $TF = LS - ES = LF - EF$.

Activities on the critical path have a Total Float of 0.

A Critical Task is one which cannot be delayed without delaying the project.

Drag Time is the amount of time a task on the critical path adds to the project (the length of time it would have to be reduced in order to make it non-critical). This is calculated as the minimum of the duration of the critical task and the total floats of all parallel tasks.

Crashing a Project refers to attempting to trade-off cost and schedule to try and compress the schedule slightly. The Crash Duration is the shortest possible time for which an activity can be scheduled to speed up the entire project, and is calculated as $D - Drag$ for the task.

Free Float is the amount of time an activity can be delayed without delaying the early start date of any subsequent activities. This is always less than or equal to the total float.

Program Evaluation and Review Technique (PERT)

PERT is a variation of critical path analysis which takes a more skeptical view of time estimates at each stage.

Involves estimating the shortest possible time an activity will take, $a$, the most likely length of time $m$, and the longest time it might take $b$. The distribution we assume uses the following calculations for mean and variance:

Can then use these to calculate the expected time and variance the project will take. Simply sum the total times to find the mean and variance, which can then be modelled using a normal distribution to determine the probability the project will be completed in a given amount of time.


PRINCE2

Roles

In PRINCE2, a project team comprises of at least:

The roles can be further categorised…

Principles

PRINCE2 has seven main principles:

  1. Continuous Business Justification - Is there a business benefit?
  2. Learn from Experience - Don’t make the same mistake twice.
  3. Defined Roles and Responsibilities - Who’s held accountable?
  4. Manage by Stages - Break a project into manageable chunks.
  5. Manage by Exception - Within limits, let people get on with their jobs.
  6. Focus on Products - Think about outcomes and outputs.
  7. Tailor to Suit the Project Environment - Customise it, don’t follow it to the letter.

Processes

Similar to PMBOK, PRINCE2 defines several processes:

Themes

There are also seven themes:

These themes can be related to the principles to some extent.

Product-Based Planning

The motivations for using a product-based rather than activity-based approach are:

Management Products

These are the documents produced by following the PRINCE2 methodology.

Theme Processes

There are slides for all 7, but the two most important appear to be:

Risk Theme

The process followed is:

  1. Identify threats and opportunities.
  2. Assess probability, impact, and proximity.
  3. Plan appropriate responses.
  4. Implement the planned responses.
  5. Communicate to interested parties.

The document associated with this is the Risk Register.

Change Theme

The process is:

  1. Capture - Record issue.
  2. Examine - Assess impact.
  3. Propose - Consider options.
  4. Decide - Choose whether to escalate.
  5. Implement - Take corrective action.

The documents associated are the Issue Register and Issue Report.


Budgeting and Forecasting

Involves managing the costs associated with a project.

Creating a Project Budget

Relies on understanding scope, schedule, and resources. A good budget is planned, structured, and controlled.

Inputs contributing to the development of the budget are:

The outputs are:

Determining Cost

There are typically three ways in which costs are calculated:

  1. Cost per time unit - Typically used for budgeting human resources.
  2. Cost per use - E.g. cost of venues, cleaning.
  3. Cost per material consumption - Building materials, food etc.

There are a few main methods for estimating activity costs (note these are the same as estimating activity durations):

It is useful to also have a measure of uncertainty.

Can also consider Vendor Bids - comparing competitive bids from different suppliers, and the Cost of (Poor) Quality - compare costs for different quality levels.

Cash Flow

Cash is not always liquid - it is important to know both how much cash is available and when it is available. Cash can be scheduled like any other resource.

We can anticipate cash flow issues by summing the daily/weekly/monthly activity costs, then either:

We can also build a profile of the cumulative expenditure over the lifetime of the project.

The Performance Measurement Baseline (PMB) of a work package or project is a time-phased plan of costs (budget) against which actual performance can be measured.

A Performance Measurement Baseline represent the formal plan for the project manager to accomplish all the work required in the time allotted and budget provided.

These variables give an instantaneous picture of the project at any point in time.

Variable Description Calculation
Budget at Completion (BAC) Total budgeted cost of work In Budget
Planned Value (PV) Budgeted Cost of Work Scheduled $BAC\times \%$ scheduled so far
Actual Cost (AC) Actual Cost of Work Performed Measured
Earned Value (EV) Budgeted Cost of Work Performed $BAC \times \%$ done
Schedule Variance (SV) Is the project on schedule? $EV - PV$
Cost Variance (CV) Is the project within budget? $EV - AC$
Schedule Performance Index (SPI)   $EV / PV$
Cost Performance Index (CPI)   $EV / AC$
Cost Schedule Index (CSI) Overall Project Efficiency $SPI \times CPI$

Forecasting

We can extend the previous metrics to include some to allow forecasting to take place:

Each of these can be calculated as follows:

Variable Description Calculation
Estimate at Completion (EAC) Estimated cost based on progress to date $BAC / CPI$
  Estimated cost based on original estimation $AC + (BAC - EV)$
  Estimated cost based on remaining work and performance $AC + (BAC - (EV / CSI))$
Estimate to Complete (ETC) Estimated remaining cost of work $EAC - AC$
Variance at Completion (VAC) Deviation from budget $BAC - EAC$
To-Complete Performance Index (TCPI-EAC) The cost efficiency required to achieve the EAC $(BAC - EV) / (EAC - AC)$
To-Complete Performance Index (TCPI-BAC) The cost efficiency required to achieve the BAC $(BAC - EV) / (BAC - AC)$

Why Projects Fail

Some common factors which cause projects to fail are:

In particular for software projects:

Measuring Project Success

Commonly, a project will have budget, schedule, and scope targets.

Key Performance Indicators (KPIs) are simple metrics which can be used to help evaluate project success:


Lean and Agile

Three Wastes

Pillars of Lean Thinking

  1. Identify Value
    1. Value is created by the producer.
    2. Value can only be defined by the ultimate consumer.
  2. Map the Value Stream
    1. The complete life-cycle of a product - from raw materials to customer use.
    2. Some steps create value unambiguously.
    3. Some create no value but are currently unavoidable.
    4. Others should be eliminated immediately.
  3. Create Flow
    1. Value stream keeps moving forward, with each step in sync.
  4. Establish Pull
    1. Don’t make things ahead of time, make them just in time.
  5. Seek Perfection
    1. Repeat, making continuous improvement, seeking perfection.

Lean Principles

  1. Eliminate waste.
  2. Amplify learning.
  3. Defer commitment.
  4. Deliver fast.
  5. Empower the team.
  6. Build integrity in.
  7. See the whole.

Software Development Wastes

Industry research identifies these common software development wastes:

Waterfall Methodology

Agile Methodologies

Agile methodologies work well in the following conditions:

Agile methods often use User Stories, which formulate requirements as:

As a <type of user>, I want <some goal> so that <some reason>.

Can also add a priority, estimated size, and definition of ‘done’. An Epic is a group of related user stories. A Theme is a top level objective of the product/project.

SCRUM

Scrum has five main values:

There are three main roles people can take:

SCRUM Artefacts
Burndown Chart
Kanban Board

A ‘Work In Progress-limited pull system’.

There are four basic principles:

  1. Start with what you do now.
  2. Agree to pursue incremental, evolutionary change.
  3. Respect current roles, responsibilities, and job titles.
  4. Encourage acts of leadership at all levels.

In a pull system, there is the possibility of reaching a state where someone can’t finish their work until someone else has finished theirs. Being ‘blocked’ forces the team to collaborate.

Priority is for completion of the highest priority work.

Other Agile Techniques

Other agile techniques include:

Lean vs Agile

Lean and Agile are complementary to each other, the key points of each being:


Leadership and Teamwork

There are five aspects of leadership to consider:

PrOACT Decision Making Model

  1. Define the Problem - What is the problem? How big is the problem? Why does it matter?
  2. Specify Objectives of the solution - Prioritise your aims, how can they be measured?
  3. Imagine Alternatives - A decision is only as good as the next-best alternative.
  4. Tabulate Consequences - Compare the consequences of each alternative.
  5. Clarify Trade-Offs - If no obvious winner, weigh up the objectives. Why is one more important than than another?

It is important to be aware of cognitive biases. There are 20 of these.

Five Dysfunctions of a Team

  1. Absence of Trust.
  2. Fear of Conflict.
  3. Lack of Commitment.
  4. Avoidance of Accountability.
  5. Inattention to Results.

Characteristics of Productive Teams

Managing a Team

Tuckman proposed five stages of group development in 1965:

  1. Forming
    • Team acquaints and establishes ground rules.
    • Members are treated as strangers.
  2. Storming
    • Members start to communicate but still view themselves as individuals rather than part of the team.
    • May resist control and show hostility.
  3. Norming
    • People feel part of the team.
    • Realise they can achieve work if they accept other viewpoints.
  4. Performing
    • The team works in an open and trusting atmosphere where flexibility is the key and hierarchy is of little importance.
  5. Adjourning
    • Team conducts an assessment of the year.
    • Implements a plan for transitioning roles and recognises member contributions.

Motivating People

Common reasons for decreases in motivation can be:

Managing Team Conflict

Managing Expectations


Risk

The Risk Planning Cycle involves:

  1. Identifying risks.
  2. Assess probability and consequence.
  3. Control Risks.
    • Devise strategies for detecting risks.
    • Devise strategies for limiting their effects.
    • Decide actions to take in response to identified risks.
  4. Monitor the situation.
    • Handle issues.
    • Identify new risks.

Terminology

ISO 31000 defines risk as the effect of uncertainty on objectives.

Risks in Software Development Projects

Assigned Responsibilities

When an issue arises, we want to have clear and unique accountability decided beforehand.

We can use a Responsibility Assignment Matrix (RACI Matrix).

Identifying Risks

There are a few methods of identifying risks:

SWOT

Involves a grid from Helpful -> Harmful and Internal -> External.

  Helpful Harmful
Internal What are you good at?
What do you do better than competitors?
What do you need to improve?
What can your competitors do better than you?
External What are your objectives?
What do you hope to achieve?
Who are your competitors?
What challenges do you face?

Decision Tree Analysis

At each edge, estimate the value of that path. These can be computed for choice nodes by taking into account probabilities and value of later paths. Outcome value taken by summing all the paths.

Then Estimated Monetary Value can be propagated back to earlier choices.

Identifying Risk Causes

Ishikawa (Fishbone) Diagram

Cause and Effect is often represented using a Fishbone or Ishikawa diagram. With these, we work backwards from a risk to think about how it can be mitigated.

Can be used generally categorising risks as relating to either:

Sensitivity Analysis

Determines how different values of an independent variable impact a particular dependent variable under a given set of assumptions. There are a few approaches to this:

A Spider Graph plots the dependent variable against deviations of independent variables (usually in %) from a baseline. All lines should intersect in the middle (where the baseline is 100%). Greater gradient for a variable indicates it has a greater overall effect on the outcome.

Planning Risk Responses

A Risk Management Plan is a plan for when something goes wrong. The Risk Response depends on probability and impact.

Risk Matrix

Categorises risks according to probability and impact. The responses in each cell reflect the attitude to risks in that particular scenario.

Failure Mode Effects Analysis

A table of:

We assign a score from 1-10 to:

We then calculate Criticality as Severity $\times$ Probability, and Risk Priority Number by multiplying Criticality and Detection rate.

This helps prioritise which risks to try and address.

This can be extended to Extended-FMEA (EFMEA) by incorporating corrective actions. For each corrective action: