question

HUNGKUAN W avatar image
0 Likes"
HUNGKUAN W asked tannerp commented

How to let mutiple list acquire same resource

test.fsmI have three list , each acquire same resource , but only one can work , others just queue up .

And what If I allocate different resources to each list item , can I change the resouce content while simulation running ?
ex : station 1 has 3 car resources , station 2 have 1

today there's a tranport from 1 to 2 , then at the end , the task executer resource join station2 and there will be 2 resource remaining in station 1.

(update)

2018-07-11-1.png

  1. 2018-07-11-1.png
FlexSim 18.1.2
resource
2018-07-11.png (113.3 KiB)
2018-07-11-1.png (59.0 KiB)
test.fsm (61.4 KiB)
list-ver.fsm (49.7 KiB)
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

tannerp avatar image
1 Like"
tannerp answered tannerp commented

Unfortunately, you can't manually change the number of resources while your model is running, but you can assign logic that will listen to other variables, such as an Array Size. Here's what that menu looks like:

I'm not sure that resources is the best option for what you're trying to keep track of, though. If you're keeping track of cars in your system, it might be better to treat the cars as flow items. Just a suggestion, though.


· 8
5 |100000

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