I am currently modelling a system with several processes using UPPAAL Stratego. In some of these processes I'd like to guard edges with the current location of other processes, e.g., main.running and var==3 and clk<=5
for an edge in process checker
that refers to the current location in process main
. As this is not (yet) supported I added an integer variable to encode the different locations of process main
, update it on each edge of main
, and use it everywhere I need to refer to the current location in process main
, e.g., main_current_location==1 and var==3 and clk<=5
.
Of course this variable is redundant but it cannot be declared as meta
because it is essential to the correct behavior of the complete system.
Does it increase the state space, even if it is redundant? Are there other options to achieve the same goal (channels...)? Would it make sense to ask for this feature to be added or would it break something I did not think of?