This is the initial function for calculating the pipeline for parts demand at bases given various stock levels

1 |

`Lam` |
Average annual demand at base. |

`t` |
The average time to restore (repair time) at base, in years. |

`r` |
Probability of repair at base. |

`O` |
Average order and ship time from depot to base. |

`TAT` |
Turnaround time at depot. |

`ds` |
initial stock at depot. |

`dLam` |
demand at depot. |

Returns a scalar value.

Craig C. Sherbrooke, (2004) "Optimal Inventory Modeling of Systems, Multi-Echelon Techniques, Second Edition"

1 | ```
PLz<-PLpart(23.2,0.01,0.5,0.01,0.02531,0,92.8)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.