oos_simulation | R Documentation |
This function enables to calculate the expected stock level at the end of periods according to the current stock, the future forecasts, the productions. It is based on a Monte Carlo simulation that explores multiple demand scenarios.
oos_simulation(forecast, sd, productions, stock, nsim = 1000)
forecast |
A vector containing the forecasts of the future values |
sd |
The standard deviation of the forecasts |
productions |
A vector containing the future productions |
stock |
The current level of stock |
nsim |
The number of simulations to operate |
Grandadam Patrik
oos_simulation( forecast = c(400, 380, 420, 560, 500, 480, 570, 600, 560, 590), sd = 100, productions = c(0, 0, 0, 2900, 0, 0, 0, 2000, 0, 0), stock = 1350, nsim = 1000 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.