Problem with sending tokens in Process Flow

Andy27
Not applicable
1 View
2 Replies
Message 1 of 3

Problem with sending tokens in Process Flow

Andy27
Not applicable

[ FlexSim 20.1.0 ]

Hello, everyone:

As you may see in the attached model file, I have created a job shop scheduling model with three jobs and three processors. In Process Flow, the function "Decide" should send tokens to the processes: Item Type 1, Item Type 2 and Item Type 3. However, when I ran the model, the tokens were only sent to Item Type 1 and 2, and Item Type 3 received nothing and remained still. I have checked the details in "Decide", trying to fix the problem, but still in vain. Could you help me with this problem?

Thank you for your time and answer!


job_shop_scheduling.fsm

0 Likes
Accepted solutions (1)
2 Views
2 Replies
Replies (2)
Message 2 of 3

tanner_p
Not applicable
Accepted solution

@Jamin C,

The duniform() function has 3 variables: The first is the min, the second is the max, and the third is the number stream, as shown below. You had the max set as 2 and the stream set as 3, so the label was never set to anything but 1 or 2. I adjusted this in your model.

29608-duniform-help.png

job-shop-scheduling_1.fsm

0 Likes
Message 3 of 3

Andy27
Not applicable
tanner.p, Thank you very much for your clear explanation. I followed your steps, and the model can already run successfully now.