Dear Harry,
I have 2 strange situations with the attached model.
1) The movement of the entities is under 2024-07 ok.
Running it ith 2025-05 the entities moves suddenly not on the conveyor, they move far away from them!
2) I use an attribut "Duration" within the SimEntity to define the service time for each SimEntity. I measure the time a SimEntity is operated within an EntityProcessor using the state "S1Time".
As soon this process becomes interrupted by an ImmediateReleaseThreshold the SimEntity is released and the state is changed by the next component. Otherwise the statetime keeps running (pls. see my other post).
With a branch I compare the attribute "Duration" with the state time "S1Time" to see whether the job is completed. If not the entity goes back to the EntityProcessor, but now with a lower priority number.
The problem / failure / bug is that even when these to values are exactly the same in the Output Viewer the result of that comprison is wrong. This leads to a wrong result in the branch.
A test without the SubModel technic the movement of the entities is ok.
This is related to the probleme from David Custodio de Sena where I try to help him.
Hope you can look at it and give some hints what can be wrong.
Best Regards,
Klaus