SimEvents Maximum time as Output

2 visualizaciones (últimos 30 días)
Yousef
Yousef el 27 de Jul. de 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.

Respuesta aceptada

Devdatt Lad
Devdatt Lad el 27 de Jul. de 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 comentario
Yousef
Yousef el 27 de Jul. de 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."

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.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by