question

matthieulp avatar image
0 Likes"
matthieulp asked Logan Gold commented

Wait for Event depending on a content

Hello,

In my simulation, I would like to wait for an event that check a list content. If the list content is above a treshold, token pass through.

For now, I just found a way to work with On Content Change, but the change rule "Greater than" does not exist. How can I do that ?


Best regards


FlexSim 24.1.0
wait for event
· 1
5 |100000

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

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @matthieulp, was Allister Wilson's answer helpful? If so, please click the "Accept" button at the bottom of the answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Allister Wilson avatar image
0 Likes"
Allister Wilson answered Jason Lightfoot commented

The appropriate rule would be Increase To Or Through Value, which is equivalent to >=.
The below configuration would block the token until the content is at least 17.
1718973926406.png


1718973926406.png (4.0 KiB)
· 2
5 |100000

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

matthieulp avatar image matthieulp commented ·

Thank you for your feedback. But how could I proceed not on Content Change, but on always checking the content value ?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ matthieulp commented ·
As you can see in Allister's screenshot the checkbox "Fire If Initial Value Meets Rule" is checked meaning it will release the arriving token immediately if the content is already over 17.
0 Likes 0 ·