Passing of entities to multiple destination

2 vues (au cours des 30 derniers jours)
Andanu Vidya Sagar Patro
Andanu Vidya Sagar Patro le 27 Mar 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.

Réponses (1)

Abdolkarim Mohammadi
Abdolkarim Mohammadi le 29 Mar 2022
You should use an Entity Replicator block in order to create copies to be sent to multiple destinations.
  2 commentaires
Andanu Vidya Sagar Patro
Andanu Vidya Sagar Patro le 29 Mar 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 le 29 Mar 2022
You should use Entity output switch.

Connectez-vous pour commenter.

Catégories

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

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by