question

Tom S4 avatar image
0 Likes"
Tom S4 asked Jason Lightfoot answered

Wait For Event - Exception on Reset

I have a subflow that acquires multiple resources. It will only acquire resources if all are available, otherwise it will wait for resource availability to change.

When I reset my model, if there are tokens still in the Wait For Event blocks, an exception will be thrown. There doesn't seem to be any negative consequences of it, but I would like this to not happen.

A few years ago I had modified a version of the simultaneous list pulls (https://answers.flexsim.com/questions/98195/simultaneous-all-or-nothing-list-pulls.html?childToView=98234#answer-98234) using resources, and had the same problem. However, it seemed to disappear one day. Now that I am creating a different version of this, this bug is happening again.

To recreate, reset the model when there are tokens still in a Wait For Event. It should be as simple as a couple Skips and a Reset.

Any thoughts?

Acquire Multiple - FS Answers Version.fsm

FlexSim 23.0.1
wait for eventprocessflow error
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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

I do not observe the exceptions you describe - can you try this in 23.0.4 ?

· 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.

Tom S4 avatar image Tom S4 commented ·

Weirdly enough the mystery error is gone after installing 23.0.4.

This was the same problem (and possibly, solution) as I had experienced two years ago. Not sure why that would be the case twice separate times, but for my purposes the problem is solved. Thank you

0 Likes 0 ·

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.