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

1 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

Teresa Hubscher-Younger
Teresa Hubscher-Younger le 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 commentaires
Teresa Hubscher-Younger
Teresa Hubscher-Younger le 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
Andrew Rutter
Andrew Rutter le 18 Mar 2018
This is great thank you very much.

Connectez-vous pour commenter.

Plus de réponses (0)

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