SimEvents Maximum time as Output

조회 수: 2 (최근 30일)
Yousef
Yousef 2011년 7월 27일
Hey folks,
I try to build a scheduling model in Simevents that generates entities at a specific time (from the scheduling time of the workspace). An entity will be generated and run through some simultaneous and serial servers (with different service times) which are representing some processes for this entity. For doing that I used the "replicate" block and the "path combiner" block. Now I just want to know which path was the longest and then to make my new operation scheduling. My problem is that the “path combiner” block still uses the entities which are replicated by the “replicate” block. I thank everyone for any help in advance.

채택된 답변

Devdatt Lad
Devdatt Lad 2011년 7월 27일
Not sure I understand the model enough from your description, but if your system really should have only one entity at a time, and you replicated it just so you could try three different (parallel) scenarios on it, then try using an Entity Combiner instead of a Path Combiner. The former block will combine the multiple replica entities into a single composite entity and carry forward the attributes and timers of the replicas, onto the composite.
This page has information as well as points to examples:
  댓글 수: 1
Yousef
Yousef 2011년 7월 27일
Thanks, this helped me! Actually it works without my timer, but I received the following error message with my timer: "More than one arriving entity has a timer with tag 'T1'. The timers must have unique tags."

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by