Hello Herry,
Thank you very much for the quick response.
I made another model in order to exemplify the functioning of my main model. In the model, SimEntity indicates all production data: quantities to be produced, product identification and setup time (is the customer order)
This order before starting to be produced, should be prepared (setup of the machines), represented by TravelTime EntityConveyor1.
I used a Duplicate to replicate the amount of parts required (information contained in the first SimEntity) according to the quantity of parts ordered in the customer’s order, so the first order replicates 20 quantities of EntityGenerator1_1, which will have to go through the machines one at a time (Server1), for example.
For the model to define that the order is finished (all the requested parts were produced), I used an EntitySignal to tell the model when will be the first part of the lot (marked by EntityGenerator1_1, EntityGenerator1_2, etc.) and the last one ( Pack1_1, Pack1_2, etc), then start the next setup time. However for this resolution to be valid, I need to define that the container size is the order size (20 pieces, 25 pieces, 18 pieces, etc., so that the container has all the pieces of the lot and they pass through EntitySignal at the same time (indicating that it has finished all the pieces of the order). So I’m trying to use NumberOfEntities that vary according to order size.
Harry, is there any way around this?
Best Regards,
Natanael