question

Jhon Alexander SD avatar image
0 Likes"
Jhon Alexander SD asked Parker S answered

Activate operator with percentage, activate activity

Hello, I want to know if you can help me or give me an idea. Source1 is connected to Queue1 that has a capacity of 20 people, my problem is that when Queue1 has a total of 2 employees, 10% of the total capacity of Queue1, operator 1 is activated and takes a box to Queue1.

Attached model

activar.fsm


Thanks a lot

FlexSim 19.0.0
queueoperatorflexsim 19.0.0decisionporcentaje
1609778248520.png (38.1 KiB)
activar.fsm (21.8 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

Parker S avatar image
0 Likes"
Parker S answered

@Jhon Alexander SD

This can be done with an Event-Triggered Source activity in process flow. The variable that would get the max content of the queue is getvarnum(Model.find("Queue1"), "maxcontent")

5 |100000

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