Passing of entities to multiple destination

1 Ansicht (letzte 30 Tage)
Andanu Vidya Sagar Patro
Andanu Vidya Sagar Patro am 27 Mär. 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.

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Discrete-Event Simulation finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by