Passing of entities to multiple destination

2 visualizaciones (últimos 30 días)
Andanu Vidya Sagar Patro
Andanu Vidya Sagar Patro el 27 de Mzo. de 2022
Comentada: Abdolkarim Mohammadi el 29 de Mzo. de 2022
I have an entity generator block where entities generates on a time-based method. I want to pass these entities to multiple destinations which are entity servers. But I am unable to do it.
I have this error.

Respuestas (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi el 29 de Mzo. de 2022
You should use an Entity Replicator block in order to create copies to be sent to multiple destinations.
  2 comentarios
Andanu Vidya Sagar Patro
Andanu Vidya Sagar Patro el 29 de Mzo. de 2022
Thank you for the reply. I have used the entity replicator block and it worked but the thing is, in production scenario if I imagine, then there will be three different products passing to different stations. Is there any way to solve to write any code in the source block in the exit event action that if any of the machine is empty then the entity can move to that block. Can it be solved in this way? I dont know the function to move the entities.
Abdolkarim Mohammadi
Abdolkarim Mohammadi el 29 de Mzo. de 2022
You should use Entity output switch.

Iniciar sesión para comentar.

Categorías

Más información sobre Discrete-Event Simulation en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by