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

1 回表示 (過去 30 日間)
Endric Schenk
Endric Schenk 2016 年 4 月 23 日
回答済み: Nikhil Vyas 2016 年 4 月 27 日

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

回答 (1 件)

Nikhil Vyas
Nikhil Vyas 2016 年 4 月 27 日
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.

カテゴリ

Help Center および File ExchangeDiscrete-Event Simulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by