Hibrid_pois: Hibrid_pois

View source: R/Hibrid_pois.R

Hibrid_poisR Documentation

Hibrid_pois

Description

Hibrid Policy Poisson distribution service level, .

Usage

Hibrid_pois(
  demand,
  leadtime,
  service_level,
  lambda,
  Review_period,
  min = FALSE,
  shortage_cost = FALSE,
  inventory_cost = FALSE,
  ordering_cost = FALSE
)

Arguments

demand

A vector of demand in N time periods.

leadtime

lead time from order to arrival

service_level

cycle service level requested

lambda

rate of demand in N time periods.

Review_period

the period where the ordering happens.

min

min quantity for order up to level,if FALSE, then calculated automatically.

shortage_cost

shortage cost per unit of sales lost

inventory_cost

inventory cost per unit.

ordering_cost

ordering cost for every time an order is made.

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. the order up to level is calculated based on the review period,lead time and normal distribution. Inventory is replenished if inventory position is below min or it is time for review period.

Value

a list of two date frames, the simulation and the metrics.

Author(s)

"haytham omar email: <haytham@rescaleanalytics.com>"

Examples


Hibrid_pois(demand=rpois(80,6),lambda=4,leadtime=5,service_level=0.65,
Review_period =9,min=30,
shortage_cost= FALSE,inventory_cost=FALSE,ordering_cost=FALSE)

inventorize documentation built on June 1, 2022, 1:07 a.m.