question

Filippo A avatar image
0 Likes"
Filippo A asked Filippo A commented

How to use more than 1 processor as if it was 1?

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

3-proocessors-as-1.fsm

FlexSim 18.1.0
processors
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joshua S avatar image
0 Likes"
Joshua S answered Filippo A commented

Is this what you are looking for? I combined your arrivals so you can use the quantity of items coming in of a item type, and added process flow to control the logic.12920-3-proocessors-as-1.fsm


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Filippo A avatar image Filippo A commented ·

Thanks a lot

0 Likes 0 ·