calculate conditional cumulative duration in UPPAAL #282
-
Dear UPPAAL Team, I hope this message finds you well. I have two timed automata named "Software" and "Hardware". I have attached pictures of the models. Whenever the Software TA sends a signal through the "use" channel, the Hardware TA receives the signal and transitions to the "using" state. The Hardware remains in the "using" state for a short period (in my case, 2 units of time) before transitioning to the "tail" state. I have got two questions:
Could you possibly help me with this? also this is my model: Thank you for your assistance. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As for the first question, your model already uses
If you want to differentiate delays by some constant, then you will have to split For the second question, the naive approach currently is the only way. UPPAAL used to have Alternatively, we need to implement a different |
Beta Was this translation helpful? Give feedback.
As for the first question, your model already uses
sw
stop-watch, so the total sum is just supremum value:If you want to differentiate delays by some constant, then you will have to split
Tail
location into several and model the stop-watch accordingly.For the second question, the naive approach currently is the only way. UPPAAL used to have
state space reuse
option, which could help a bit with multiple queries, but this functionality needs to be recovered.Alternatively, we need to implement a different
bounds
query which would accept multiple predicates and collect separate data for each.