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

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Teresa Hubscher-Younger
Teresa Hubscher-Younger el 16 de Mzo. de 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 comentarios
Teresa Hubscher-Younger
Teresa Hubscher-Younger el 16 de Mzo. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Discrete-Event Simulation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by