question

Zach B3 avatar image
0 Likes"
Zach B3 asked Jacob Gillespie answered

Fire if Initial Value using Decrease To or Through Value

I am using a Wait for Event process flow block, and I chose the event OnContentChange for a fluid tank, and I checked the Fire If Initial Value Meets Rule box. But if the Value on the Wait for Event block is 15,000, and the initial content of my fluid tank is 16,000, the Wait for Event block fires even if the tank's content decreases slightly, even when it doesn't decrease below 15,000.

Is there a way to have this Wait for Event block to still Fire is Initial Value Meets Rule, but only fires if it has an initial content below 15,000?

FlexSim 20.0.0
process flowwait for eventfire if initial
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

·
Jacob Gillespie avatar image
2 Likes"
Jacob Gillespie answered

I did some testing and it looks like the initial content isn't set until time 1.

See the attached model where I made a Wait for Event that starts listening at time 1 and another that starts at time 1.01

Only the second Wait for Event works as expected because of the delay in setting the initial content.

fluid-test.fsm


fluid-test.fsm (29.5 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.

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.