Event triggered source inconsistent behavior

Event triggered source inconsistent behavior

sudheer_r
Not applicable
158 Views
4 Replies
Message 1 of 5

Event triggered source inconsistent behavior

sudheer_r
Not applicable

[ FlexSim 23.2.0 ]

In below image event triggered source has triggered two tokens for ACR

ACR_BatteryCharging.fsm

1694071047081.png

In below image event triggered source has triggered only token for ACR

ACR_BatteryCharging_1.fsm

1694071139306.png

Only difference in both instances is ACR1 and ACR2 are included in the first image model and in the second image model only ACR is attached.

There I see inconsistent event triggers for same ACR.

Any reason for this kind of behavior.


0 Likes
Accepted solutions (1)
159 Views
4 Replies
Replies (4)
Message 2 of 5

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

If I set a stop time of 23.43 seconds and run with 1 or 3 ACRs attached the results are the same - one token in the custom code activity for the object named "ACR". Please provide complete steps to reproduce this. (note: macros in match-value fields seem to work fine - I've seen issues in the past...)

0 Likes
Message 3 of 5

sudheer_r
Not applicable
Instead of placing stop time at 23.43 seconds, Just manually press the stop button while clock is around 21 Seconds and then place stop time around 23.43 seconds. I have seen the same behavior which I was mentioning.
0 Likes
Message 4 of 5

jason_lightfootVL7B4
Autodesk
Autodesk

If makes no difference to me - I see the same behavior. Make sure you're running the latest version of FlexSim.

Make sure the model you uploads is the correct one for the issue to occur. (Also I'd remove one model - you don't need to upload both).

0 Likes
Message 5 of 5

jason_lightfootVL7B4
Autodesk
Autodesk

Hi @SudheerReddy, was our answer helpful? If so, please click the "Accept" button at the bottom of their 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