SimEvents Maximum time as Output

2 vues (au cours des 30 derniers jours)
Yousef
Yousef le 27 Juil 2011
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.

Réponse acceptée

Devdatt Lad
Devdatt Lad le 27 Juil 2011
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 commentaire
Yousef
Yousef le 27 Juil 2011
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."

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Discrete-Event Simulation dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by