SimEvents Maximum time as Output

1 回表示 (過去 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 Center および File ExchangeDiscrete-Event Simulation についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by