pub struct BullwhipEffect { /* private fields */ }Expand description
The Bullwhip Effect: Variance amplification in supply chains.
Demand variance amplifies as you move upstream in a supply chain:
Var(Orders) / Var(Demand) ≥ 1
The amplification factor depends on lead time, order batching, price fluctuations, and demand signal processing.
Implementations§
Source§impl BullwhipEffect
impl BullwhipEffect
Sourcepub fn amplification_factor(&self, lead_time: f64, review_period: f64) -> f64
pub fn amplification_factor(&self, lead_time: f64, review_period: f64) -> f64
Sourcepub fn multi_echelon_amplification(
&self,
lead_times: &[f64],
review_periods: &[f64],
) -> f64
pub fn multi_echelon_amplification( &self, lead_times: &[f64], review_periods: &[f64], ) -> f64
Calculate total variance amplification across n echelons.
Trait Implementations§
Source§impl Clone for BullwhipEffect
impl Clone for BullwhipEffect
Source§fn clone(&self) -> BullwhipEffect
fn clone(&self) -> BullwhipEffect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BullwhipEffect
impl Debug for BullwhipEffect
Source§impl Default for BullwhipEffect
impl Default for BullwhipEffect
Source§impl GoverningEquation for BullwhipEffect
impl GoverningEquation for BullwhipEffect
Source§fn class(&self) -> EquationClass
fn class(&self) -> EquationClass
Get the equation’s classification.
Source§fn variables(&self) -> Vec<EquationVariable>
fn variables(&self) -> Vec<EquationVariable>
Get all variables in this equation.
Source§fn description(&self) -> &str
fn description(&self) -> &str
Get a human-readable description.
Auto Trait Implementations§
impl Freeze for BullwhipEffect
impl RefUnwindSafe for BullwhipEffect
impl Send for BullwhipEffect
impl Sync for BullwhipEffect
impl Unpin for BullwhipEffect
impl UnsafeUnpin for BullwhipEffect
impl UnwindSafe for BullwhipEffect
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more