question

Alan TP avatar image
0 Likes"
Alan TP asked Marcello Rosadini rolled back

Stop model!

Hello!

The problem I have is that I can't stop my model when a certain quantity of items is entered in my model.

I require the model to stop when 1000 items have entered the "inspection" process.

I wanted to use triggers to finish the model, but time is ticking.

Inspection.fsm

FlexSim 19.0.9
triggersstop model
inspection.fsm (31.3 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

·
Marcello Rosadini avatar image
1 Like"
Marcello Rosadini answered Marcello Rosadini rolled back

Hi Alan,

in proces flow you can use an Event Triggered source to listen to the "on Output change" event on the object and set it to "When value increases exactly to 1000". Then execute a custom code activity with the following line:

stop();


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.