Set to False for automatic calculation,else manual input of base.
shortage_cost
shortage cost per unit of sales lost.
inventory_cost
inventory cost per unit.
ordering_delay
logical,Default is FALSE,if TRUE, orders are delayed one period.
ordering_cost
ordering cost for every time an order is made.
Value
a list of two date frames, the simulation and the metrics.
Details
The Function takes a demand vector, mean of demand ,sd,lead time and requested service level to simulate and inventory system,
orders are lost if inventory level is less than requested demand, also ordering is made at
day t+1, metrics like item fill rate and cycle service level are calculated
based on poisson distribution..