question

Ana Benavides avatar image
0 Likes"
Ana Benavides asked Ana Benavides commented

Help in Decide activity with flowitems

Hi! I need some help with a Decide activity

I want my Decide to send flowitems to the first available port depending on the case type. I have three case types:

Case 1 → should go to port 1 or 2, depending on which is available, or wait in the queue if both are busy.

Case 2 → should go to port 3, 4, or 5.

Case 3 → should go to port 6, 7, or 8.

How can I configure the logic so that the item is routed to the first available port in its group, and stays in the queue if none are available?

If anyone could help me by applying this change directly in the model, I’d really appreciate it

Intento 2.fsm

Thanks in advance!

FlexSim 25.1.0
flowitemssimulations
intento-2.fsm (144.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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ana Benavides commented

Choosing (and reserving) one out of multiple possible objects is what resources are for. Group the locations by their type and then refer to the respective group in the Location resource. If I understand correctly, the "mixto" desks actually just allow both types of 'patient' rather than being a separate type? If so, you can simply add those to multiple groups. The Location activities will still only allow each of them to be acquired once at a time.

The clerks are fixed to their desks I assume. So you could provide a reference to what clerk needs to be acquired on the location. In the attached model I added a pointer label to the chairs, that get acquired as the location, for this.

intento-2-1.fsm


intento-2-1.fsm (115.9 KiB)
· 3
5 |100000

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