I'd like to be able to control the seeding of an Event Generation in SimEvent
조회 수: 2 (최근 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.
댓글 수: 0
채택된 답변
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
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!