How to simulate a (warehouse) subscription order process with SimEvents?

2 vues (au cours des 30 derniers jours)
Endric Schenk
Endric Schenk le 23 Avr 2016

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

Réponses (1)

Nikhil Vyas
Nikhil Vyas le 27 Avr 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.

Catégories

En savoir plus sur Discrete-Event Simulation dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by