question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Matthew Gillespie answered

Acquire Resource is working on round robin how to change that.

As shown in below image, Resource has reference to Group1, now when I acquire it is taking Round Robin. How to change Round Robin logic to If ControlPoint3 is available then acquire ControlPoint3, if it is not available then only acquire ControlPoint2.

Attaching the model for reference.

RoundRobin.fsm

FlexSim 20.1.2
flexsim 20.1.2group
roundrobin.jpg (61.2 KiB)
roundrobin.png (42.3 KiB)
roundrobin.fsm (41.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

Matthew Gillespie avatar image
3 Likes"
Matthew Gillespie answered

First, I clicked the Advanced button on the Resource and added a Group field and then pointed it at Group1.

Then I added this default query to the Resource

ORDER BY Group1

roundrobin.fsm


1589986348878.png (4.5 KiB)
1589986417998.png (13.2 KiB)
roundrobin.fsm (41.5 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.