question

Jaime G avatar image
0 Likes"
Jaime G asked Matthew Gillespie edited

Why does this condition not work to end the simulation in an On Exit trigger

Regards: I need to simulate only the arrival of 100 people. I have placed in the trigger Exit of the source the condition shown in the model. However, the source continues to generate arrivals after 100

screen.png

FlexSim 17.1.4
sourcetriggerstop modelgetinputgetoutput
screen.png (260.9 KiB)
ejercicio1.fsm (15.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.

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

The input stat on the source is always 0. You need to use getoutput:

getoutput(current) == 100
5 |100000

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