Wait For Event - Exception on Reset

Wait For Event - Exception on Reset

thomas_smithWKC4J
Enthusiast Enthusiast
15 Views
2 Replies
Message 1 of 3

Wait For Event - Exception on Reset

thomas_smithWKC4J
Enthusiast
Enthusiast

[ FlexSim 23.0.1 ]

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=...) 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

0 Likes
Accepted solutions (1)
16 Views
2 Replies
Replies (2)
Message 2 of 3

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

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

0 Likes
Message 3 of 3

thomas_smithWKC4J
Enthusiast
Enthusiast

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