About Transportation

About Transportation

chun_ju_c
Not applicable
19 Views
4 Replies
Message 1 of 5

About Transportation

chun_ju_c
Not applicable

[ FlexSim 18.1.0 ]

As the model works, the results satisfy my requirement,

I record ABC three queues' current number in GlobalTable1,

The "Flow" option in A, I select "Conditional Port", the following is condition,

current.num > 5 && getdatastat(STAT_MIN, gettablerows("GlobalTable1"), gettablenum("GlobalTable1", count, 3)) < 2

I let the queue which current number is bigger than 5 throws a product to the queue which current number is less than 2,

At the beginning, I let Source1's "Arrival Style" be "Inter-Arrival Time", this option can work correctly,

But when I set "Arrival Style" to "Arrival Sequence", and one arrival with quantity 10, this option can't work correctly, can somebody tell me why?

transportation.fsm

0 Likes
Accepted solutions (1)
20 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

This seems a runtime problem. The items get the state to be releasing the queue. But releasing isn´t the same as exiting or entering another queue. The transfer isn´t finished. The send to port function evaluates on each item the conditional states in the model, there isn´t a change as long as the transfer isn´t complete.

0 Likes
Message 3 of 5

chun_ju_c
Not applicable

@Jörg Vogel, so how can I do for my requirement?

0 Likes
Message 4 of 5

joerg_vogel_HsH
Mentor
Mentor

give FlexSim the time to move the items. Create the items instead 10 at a time stamp, create each single item with a small time gap of 1/100 second.

0 Likes
Message 5 of 5

isaac_l1
Not applicable

@Chun-Ju C,

Were you able to find a solution for your question?

0 Likes