-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't check DTMC model #128
Comments
The formula is not supported in your Storm installation because the Spot library is missing. Spot provides support for LTL formula. You could reinstall Storm with support for Spot (How did you install Storm? Via source?) Regarding manually building DTMCs: you can take a look at the documentation which describes how to manually build the transition matrix. |
A small addendum to @volkm's comment: the second idea (removing the negation) should be much more scalable towards larger models and larger step bounds in the formula, as Storm will be using a dedicated algorithm for the property. With the negation inside, a general-purpose algorithm (LTL model checking) will be used. |
Thank you very much for your reply. I tried your second solution and this is really the problem. I have read the documentation about building DTMC. Unfortunately, the tutorial does not explain how to proceed with the verification after the DTMC has been established using transition matrix. I don't know some details about the DTMC model I've built, neither the functions I called during the building process. Maybe I need some more reading about the API documentation. I can't thank you enough if you could give me more advice on learning Storm, anyway, thanks for the answer And I recieved @tquatmann 's addendum, very grateful for this little tips and I think it will be useful to me. Because what I'm facing is really a large model and deep steps. Thank you again. |
I am happy to hear that rewriting the formula allowed you to perform the analysis. Regarding building your own models:
These steps basically replace your previous step
We are continuously trying to improve our documentation. If you have concrete steps which are unclear or where information is missing, please let us know. |
Thanks again for your reply, and there is something still uclear to me. That is how can I get the properties[0] inside the step result = stormpy.model_checking(model, properties[0]) because in the ananlysis performed before, the properties comes from properties = stormpy.parse_properties(formula_str, prism_program) but here I have no prism_program for building model from matrix. Can I repalce the prism_program by dtmc model? But this looks a little strange. That's what I'm wondering. |
Good question, we do indeed not properly explain it in the documentation. |
I created a DTMC model by
stormpy.parse_prism_program
And I want to check the property I defined, but some error occured. The python code I wrote follows:
And the error occured like this:
So I want to know what's wrong with my Storm. And what's more, how can I get to know more about building the dtmc model mannully insted of reading from prism files, and do some model checking?
The text was updated successfully, but these errors were encountered: