NetLogo User Community Models
## WHAT IS IT?
AN INVENTORY MANAGEMENT EXAMPLE.
Here are the Freddie's cost figures:
Partially because of the refund, Freddie has always taken a plentiful supply.
To investigate this further, he has compiled the following record of his daily demand:
The decision Freddie neds to make iw the number of copies to order per day from the distributor.
His objective is to maximize his average daily profit.
## HOW IT WORKS
Freddie is modeled as a mechanism who goes along a cycle of states.
One entity traverse the system during each cycle. Each complete cycle makes a day. Next Freddie's cycle, another entity enters the system.
Hence, the entity carries the data of what happens in a concrete day. So, we have one entity per day.
The user limits the amount of history to be ketp in the system for visibility and calculations. Oldest stuff are removed in order to prevent degradation of the runtime.
## HOW TO USE IT
The user sets the slider bars with the parameters of the experiment she wants to run.
Then, she presses the setup followed by the go buttom.
There is a switch available to set the system verbose (debug mode on). If so, the command center is showing details of what the system is doing.
## THINGS TO NOTICE
Plots refresh at the end of the day. The tick advances a fraction of day each time, in order to give Freddie enough ticks to do the complete task of the day.
## THINGS TO TRY
Replicate the same experimental conditions to realize variability.
Compare short experiments (like 20 days) versus long experiments (like 1,000 days)
Experiment situations that you know what the outcome should be. This is key to verify the model. e.g. you knwo that if Freddie buys the minimum demand, 40, the gains will be 40.
## EXTENDING THE MODEL
Experiment sensitivity by changing parameters; e.g. the price of the purchase, the sales price, the amount of refunding, ...
## NETLOGO FEATURES
Have a look about the cautions taken in order to prevent failures (bugs) in the model.
Alter parts of the code so to force exceptions to raise and check whether they are trapped or not.
Ask yourself about usability as a quality factor for the end-user.
Read critically the job instructions and aids provided by the interface, the info tab, the readibility of the code ...
## RELATED MODELS
This problem can be treated as an "stochastic one-period inventory model for perishable products".
## CREDITS AND REFERENCES
Hillier-Lieberman. Operations Research. McGraw-Hill, 2005
(back to the NetLogo User Community Models)