Event Triggered Source Only Working Once

Event Triggered Source Only Working Once

nathaniel_w
Not applicable
29 Views
2 Replies
Message 1 of 3

Event Triggered Source Only Working Once

nathaniel_w
Not applicable

[ FlexSim 21.0.2 ]

AdvancedBase.fsm

Hello, I am encountering a strange behavior in my simulation. It appears as if an event triggered source is only working once. I have created an event triggered source which will start a cleaning process when a gurney's output is changed (i.e. when a patient leaves the gurney). I have attached a screenshot of the source and I have attached my model. For gurney 1, it works perfectly as the HCA cleans the gurney when patient one leaves at 9:04. However, when patient 4 leaves at 11:20, it doesn't work, and it also doesn't work when patient 7 leaves. This problem also happens for gurney 2, when it works for patient 2 but not patient 5, and for gurney 3, when it works for patient 3 but not patient 6. I am pretty confused as to why it works at first but not for any additional patients, so any help would be much appreciated. Thank you!


37869-gurneycleanproblem.png

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

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Not sure why this was happening - I changed it to On Exit - removed the port condition and changed it back to OnOutputChange (and also changed it to be Gurney instance based process flow) and now it works. I'll send a note to the dev team to check for an issue.

Update attached.

advancedbase_jl.fsm

0 Likes
Message 3 of 3

nathaniel_w
Not applicable

Great, thank you so much Jason!

0 Likes