Book a Demo

Author Topic: Manual simulation issue  (Read 2354 times)

crolfo

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Manual simulation issue
« on: May 05, 2022, 05:54:55 pm »
Hello, I am pretty new with simulation under Enterprise Architect.
Performing a manual simulation, it stucks on a fork/join node. Is there a special setting or command to perform to step over this block?
Thank you

i

  • EA Novice
  • *
  • Posts: 13
  • Karma: +1/-0
    • View Profile
Re: Manual simulation issue
« Reply #1 on: May 11, 2022, 09:32:07 pm »
Hi,

The activity might get stuck in the join element because it doesn't generate the output token until all the input tokens arrive to it.

In the following example, since the guard to get out from Action 3 is false, Action 4 won't be executed and the join element will get stuck there even if it correctly received the token from Action 2.



If you set the guard to true, or if you remove it, both tokens will reach the join and the final node will be reached.

I hope this makes sense, otherwise please let me know.
i

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Manual simulation issue
« Reply #2 on: May 12, 2022, 05:54:02 am »
Without seeing the SM it would be hard to tell. But I would guess you created a deadlock somewhere.

q.