How to simulate a (warehouse) subscription order process with SimEvents?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi all,
I would like to simulate an order and delivery process with SimEvents. Here the problem description:
Customer Z subscribes for a toothpaste. Warehouse W guaranties a free delivery 30 days after order was placed. If Z orders an additional item (regular shipping fees) within these 30 days the toothpaste will be delivered together with the additional item. Z oders randomly items, but always only one item at a time.
How can I determine the number of shippings (ratio between orders and shippings)?
Best
0 comentarios
Respuestas (1)
Nikhil Vyas
el 27 de Abr. de 2016
For random orders by a customer, you may use the Event-Based Entity Generator block coupled with a Random Event Generator(Random Number -> Gateway). You can use a combination of flushable Queue-Server with a Single server to do the order to shipment conversion.
For determining the number of orders placed, enable the Number of entities departed(#d) in the block parameters for the initial entity generator block. Same goes for the Shipments server block.
In both of these blocks, It can be enabled by double clicking the block, going to statistics tab and selecting the appropriate checkbox.
0 comentarios
Ver también
Categorías
Más información sobre Discrete-Event Simulation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!