I'd like to be able to control the seeding of an Event Generation in SimEvent

1 回表示 (過去 30 日間)
I have an event I want to create every year with a distribution associated with it. Say +/- 6 months distriubuted normally.
As a beginner, I've started with dt=rand(1,1)*12, just to get a feel for what happens: this is working giving a distribution between 0 months and 12 months. I ask also don't know how to control the seed for the randomness?
For some context, I'm writing a model to understand a manufacturing supply chain, the events a new product line, with a probability of success attributed to them. I want to understand the variability in capacity I need to build into the R&D and Commercial supply chain.

採用された回答

Teresa Hubscher-Younger
Teresa Hubscher-Younger 2018 年 3 月 16 日
Hi,
You are able to control the seed used for randomization used in SimEvents. See here: https://www.mathworks.com/help/simevents/ref/simevents-pane.html
Hope this helps, Teresa
  2 件のコメント
Teresa Hubscher-Younger
Teresa Hubscher-Younger 2018 年 3 月 16 日
Hi, I should have also said you can set the seed to a particular event action as well. (This is probably what you were looking for.) https://www.mathworks.com/help/simevents/ug/write-event-actions.html#bvf973p-1 -Teresa
Andrew Rutter
Andrew Rutter 2018 年 3 月 18 日
This is great thank you very much.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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