

In both these cases, we cannot provide a time distribution data (as shown in the above image) since invariant doesn't provide any other means to provide this data as a condition. It is also not possible to provide this time distribution data in Guard condition in a transition as far as I am aware.
I understand that UPPAAL SMC provides results(Output) in the form of distribution when you right click on the query in the Verifier. However, I am not able to understand how I can provide the same as an input to Locations in UPPAAL. So, could someone please let me know if this is possible to do in UPPAAL SMC? If so, could you please let me know on how we can do this?

Hi Marius,
Apologies for the delay in getting back to you since I had been ill for the past two weeks.
Thank you so much for your response. This is super helpful!
However, I noticed a couple of things which I would like to mention here and also, I am now getting an error which I am not able to resolve even after following all the steps in the manual, which requires your assistance.
1) In the above code, I am not able to use double offset since double is currently not allowed in typedef struct in UPPAAL currently it seems. I used int instead of double and it seems to be working fine.
2) Whenever I try to declare delay as a clock in the above model you have shared, I am getting an error - Reached state with invalid invariant on line 1 of Project/Template/Delay/invariant. However, when I declare delay as double it seems to be working fine. In the manual, it has been recommended to use delay as a clock than a double, but I am not sure why I am getting this error only when I use it as a clock and not as a double.
3) I have a network of timed automata. There are synchronizations which have been converted into broadcast synchronizations for SMC. However, it looks like I cannot have locations which do not have delay specified in there. Every time I do not declare a location as urgent, committed or without a delay, I am getting this error - Unspecified delay due to missing invariant and exponential rate on Project. This is also the case when I tried the model that you have shared above in your reply message, where it says there is no invariant in Start location.
I have fixed this in my model by making the locations as committed for now.
I also checked this document - https://people.cs.kuleuven.be/~danny.weyns/software/ActivFORMS/Current-restrictions-Uppaal.pdf where the final bullet point on Page 2 mentions that this is a current limitation in UPPAAL. Could you please confirm on this whether while performing SMC in UPPAAL, can we not have locations without delay(Invariants or Exponential rates)?
How do I model such locations where delay doesn't matter at all or where I do not want to specify any delay?
Error that I am not able to resolve: Time Lock Error1) I have been trying to run the probabilistic query you had shared above, in my model. However, I get a time lock error everytime when I try to run this query. I know for a fact that all my invariants have values from time distribution data as per your direction and so I am not really sure if there is any time related error that I have made in my model. Please find the screenshot attached below showing this error. It would be really great if you could take a look into this and let me know what is happening here since it is not clear for me at all. Please do let me know if it would be helpful to take a look into my model and I can share it with you.
