question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Jason Lightfoot commented

Event triggered source inconsistent behavior

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.


FlexSim 23.2.0
event trigger
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

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

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

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

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

SudheerReddy avatar image SudheerReddy commented ·
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 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ SudheerReddy commented ·

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