Input Output Inventory Simulation
Input Output Inventory Simulation
Input Parameters:
mu: Mean demand.
sigma: Standard deviation of demand.
time: Number of time periods for simulation.
L: Lead time for inventory replenishment.
R: Service period for inventory replenishment.
alpha: Service level for inventory policy.
d: Demand data for each time-period.
These input parameters are used to configure and drive the simulation process.
Output Parameters:
Ss: Safety stock levels for each service level.
Cs: Cycle stock levels for each service level.
Is: Inventory stock levels for each service level.
S: Reorder points for each service level.
On-hand: On-hand inventory levels over time for each service level.
These output parameters represent the results of the simulation process, providing insights into
inventory levels, reorder points, and stock levels over time for different service levels defined by
alpha.
Input Parameters:
mu: Mean of demand.
sigma: Standard deviation of demand.
time: Integer, number of time periods to simulate.
L: Lead time.
s: Reorder point.
Q: Order quantity.
alpha: Service level.
d: Demand data for each time period.
holding_cost: Cost of holding inventory per unit.
ordering_cost: Cost of placing an order.
stockout_cost: Cost of stockout per unit.
Output Parameters:
Ss: Safety stock level.
Cs: Carrying inventory cost.
Is: Inventory in stock.
S: Inventory level to initiate an order.
On-hand: Inventory on hand for each time period.
TotalCost: Total cost incurred during the simulation.
These parameters collectively describe the inventory simulation under the (s, Q) policy with
associated costs.
Input Parameters:
mu: Mean of demand.
sigma: Standard deviation of demand.
time: Number of time periods to simulate.
R: Integer - Reorder point.
s: Integer - Inventory level to initiate an order.
Q: Integer - Order quantity.
alpha: Float - Service level parameter.
d: Numpy array - Demand data for each time period.
holding_cost: Cost of holding inventory per unit.
ordering_cost: Cost of placing an order.
stockout_cost: Cost of stockout per unit.
Output:
alpha: Alpha value used in the simulation.
z: Z-score corresponding to the alpha value.
x_std: Standard deviation of the demand distribution.
Ss: Safety stock level.
Cs: Carrying inventory cost.
Is: Inventory in stock.
S: Inventory level to initiate an order.
On-hand: Inventory on hand for each time period.
TotalCost: Total cost incurred.
The input parameters for the script mainly involve the configuration of the RsQ policy and historical
demand data, while the output parameters include various metrics and costs associated with the
simulation.