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

1 view (last 30 days)
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.

Accepted Answer

Teresa Hubscher-Younger
Teresa Hubscher-Younger on 16 Mar 2018
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 Comments
Teresa Hubscher-Younger
Teresa Hubscher-Younger on 16 Mar 2018
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

Sign in to comment.

More Answers (0)

Categories

Find more on Discrete-Event Simulation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!