question

Edmilson Ml avatar image
0 Likes"
Edmilson Ml asked Bruna A answered

SELECT RESOURCES BY SUBGROUPS

SIMU_MAQUETE_duvida.fsm

Hi, I need help with a challenge.


I have 20 Trucks Available

But They Are Divided Into 2 Big Groups Of 10 Trucks

And these 2 groups, are formed by subgroups of 2 trucks


20 Resource

Group 1 Group 2

Group 1.1 Group 1.2 Group 1.3 Group 1.4 Group 1.5 Group 2.1 Group 2.2 Group 2.3 Group 2.4 Group 2.5



A Spreadsheet In Excel Will Generate 4 Tokens Containing 2 Label (One Label Will Define Which Group And Another Label Will Define Which Subgroup)


Selected 4 Features They Followed Distinct Itineraries.

How can I do this?

FlexSim 21.1.1
flexsim 21.1.1release resource
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

·
Bruna A avatar image
0 Likes"
Bruna A answered

Hi @Edmilson Ml,

In this case, you can create a single group with all available resources and use a query to specify which resource to acquire. For this, the following steps are necessary:

Step 1: Add the corresponding labels to groups and subgroups in Task Executors.

1628098780967.png

Step 2: Add these labels to the resource (Advanced --> Label --> Label Field --> Apply --> Ok)


1628098818841.png1628098832121.png

1628098891845.png



Step 3: Use the query to specify which resource should be acquired

1628099036118.png


I updated your model using this approach.

simu-maquete_v01.fsm


1628098780967.png (8.8 KiB)
1628098818841.png (17.0 KiB)
1628098832121.png (21.5 KiB)
1628098891845.png (20.6 KiB)
1628099036118.png (19.1 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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