Hi everyone,
i'm trying to upgrade my model, so i m interested in creating a process with n processors in parallel to represent a processing step that processes more than 1 item at the time. when i increase the number of items per processor, it still processes 1 item at the time.
What i'm curious about is how to tell n processors to open their ports when a certain itemtype is being processed and keep it open until the new arrival are of the same type in the arrival schedule. Once the following arrival has a different Type, all the processors should close the ports until all the item of the same type have been processed.
i.e. if I have 3 processors and a source with an arrival schedule of (all arrivalTime = 0):
Arrival 1: 3 items with Type 1 - 3 processors working and open ports for next arrival (same Type)
Arrival 2: 2 items with Type 1 - 2 processors working, 1 idle (closed port for newitemType) until the 2 other processors are free.
Arrival 3: 1 item with Type 2 - 1 processor working, 2 idle
Arrival 4:2 items with Type 3 - 2 processors working, 1 idle
Arrival 5: 2 items with Type 1 - 2 processors working, 1 idle
Thanks so much in advance for help.
the example model is uploaded below