Skip to main content

takt_time

Function takt_time 

Source
pub fn takt_time(
    available_working_time: f64,
    customer_demand: f64,
) -> Option<f64>
Expand description

Takt time: the maximum acceptable time to complete a unit to cleanly match customer demand.

Calculate takt time from real customer demand data, deliberately independent of how fast the team happens to be able to work today. A cycle time exceeding takt time is concrete, quantified evidence of a capacity shortfall.

§Arguments

  • available_working_time — total working time available in the period (any consistent time unit).
  • customer_demand — number of units demanded over that same period.

§Returns

Some(takt time) per unit, or None when customer_demand is zero.

§Examples

use software_engineering::lean_value_stream_metrics::takt_time;

// 400 minutes of available time to meet demand for 20 units: 20 min/unit.
assert_eq!(takt_time(400.0, 20.0), Some(20.0));
assert_eq!(takt_time(400.0, 0.0), None);