Abstract
This paper presents the open-source C++ tool RealySt for effectively computing optimal time-bounded reachability probabilities for subclasses of hybrid automata extended with random clocks. The tool explicitly resolves the underlying nondeterminism and computes reachable state sets exactly. The error of the computed results solely stems from the multi-dimensional integration. The architecture of RealySt is extensible and allows to easily integrate other classes of hybrid automata extended by random clocks. RealySt relies on the HyPro library to perform flowpipe construction, and on GSL for multi-dimensional integration.
Supported by DFG project 471367371.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
See https://go.uni-muenster.de/iozrb for an exemplary model file.
- 2.
References
Abate, A., Prandini, M., Lygeros, J., Sastry, S.: Probabilistic reachability and safety for controlled discrete time stochastic hybrid systems. Automatica 44(11), 2724–2734 (2008). https://doi.org/10.1016/j.automatica.2008.03.027
Abate, A., Blom, H., Cauchi, N., Delicaris, J., Haesaert, S., van Huijgevoort, B., Lavaei, A., Remke, A., Schön, O., Schupp, S., Shmarov, F., Soudjani, S., Willemsen, L., Zuliani, P.: ARCH-COMP23 Category report: stochastic models. In: 10th International Workshop on Applied Verification of Continuous and Hybrid Systems (ARCH23). EPiC Series in Computing, EasyChair (2023), accepted for publication
Alur, R., Courcoubetis, C.A., Halbwachs, N., Henzinger, T.A., Ho, P., Nicollin, X., Olivero, A., Sifakis, J., Yovine, S.: The algorithmic analysis of hybrid systems. Theoret. Comput. Sci. 138(1), 3–34 (1995). https://doi.org/10.1016/0304-3975(94)00202-T
Behrmann, G., Cougnard, A., David, A., Fleury, E., Larsen, K.G., Lime, D.: Uppaal-tiga: Time for playing games! In: Computer Aided Verification, pp. 121–125. Springer, Berlin Heidelberg, Berlin, Heidelberg (2007). https://doi.org/10.1007/978-3-540-73368-3_14
Bengtsson, J., Larsen, K., Larsson, F., Pettersson, P., Yi, W.: Uppaal—a tool suite for automatic verification of real-time systems. In: Hybrid Systems III, pp. 232–243. Springer (1996)
Bertrand, N., Bouyer, P., Brihaye, T., Menet, Q., Baier, C., Größer, M., Jurdzinski, M.: Stochastic timed automata. Logical Methods Comput. Sci. 10(4), 1–73 (2014). https://doi.org/10.2168/LMCS-10(4:6)2014
Budde, C.E., Dehnert, C., Hahn, E.M., Hartmanns, A., Junges, S., Turrini, A.: JANI: quantitative model and tool interaction. In: Tools and Algorithms for the Construction and Analysis of Systems—23rd International Conference, TACAS 2017, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2017, Uppsala, Sweden, April 22–29, 2017, Proceedings, Part II. Lecture Notes in Computer Science, vol. 10206, pp. 151–168 (2017). https://doi.org/10.1007/978-3-662-54580-5_9
Cauchi, N., Abate, A.: Stochy—automated verification and synthesis of stochastic processes: Poster abstract. In: Proceedings of the 22nd ACM International Conference on Hybrid Systems: Computation and Control, pp. 258–259. Association for Computing Machinery (2019). https://doi.org/10.1145/3302504.3313349
D’Argenio, P.R., Gerhold, M., Hartmanns, A., Sedwards, S.: A hierarchy of scheduler classes for stochastic automata. In: Proceedings of FOSSACS’18. LNCS, vol. 10803, pp. 384–402. Springer (2018)
David, A., Jensen, P.G., Larsen, K.G., Mikučionis, M., Taankvist, J.H.: Uppaal stratego. In: Tools and Algorithms for the Construction and Analysis of Systems, pp. 206–211. Springer (2015). https://doi.org/10.1007/978-3-662-46681-0_16
Delicaris, J., Schupp, S., Ábrahám, E., Remke, A.: Maximizing reachability probabilities in rectangular automata with random clocks. In: 17th International Symposium on Theoretical Aspects of Software Engineering. LNCS, vol. 13931, pp. 1–19. Springer (2023)
Galassi, M., Davies, J., Theiler, J., Gough, B., Jungman, G., Alken, P., Booth, M., Rossi, F., Ulerich, R.: GNU Scientific Library Reference Manual (3rd Ed.), http://www.gnu.org/software/gsl/
Granlund, T.: The GNU Multiple Precision Arithmetic Library Reference Manual. https://gmplib.org/gmp-man-6.2.1.pdf
Gribaudo, M., Remke, A.: Hybrid petri nets with general one-shot transitions. Perform. Eval. 105, 22–50 (2016). https://doi.org/10.1016/j.peva.2016.09.002
Hahn, E.M., Hartmanns, A., Hermanns, H., Katoen, J.P.: A compositional modelling and analysis framework for stochastic hybrid systems. Formal Methods Syst. Des. 43(2), 191–232 (2013)
Hartmanns, A., Hermanns, H.: The modest toolset: an integrated environment for quantitative modelling and verification. In: Tools and Algorithms for the Construction and Analysis of Systems, pp. 593–598. Springer (2014)
Henzinger, T.A.: The theory of hybrid automata. In: Verification of Digital and Hybrid systems, NATO ASI Series, vol. 170, pp. 265–292. Springer (2000). https://doi.org/10.1007/978-3-642-59615-5_13
Hüls, J., Niehaus, H., Remke, A.: hpnmg: A C++ tool for model checking hybrid petri nets with general transitions. In: Lee, R., Jha, S., Mavridou, A. (eds.) NASA Formal Methods—12th International Symposium, NFM 2020, Moffett Field, CA, USA, May 11–15, 2020, Proceedings. Lecture Notes in Computer Science, vol. 12229, pp. 369–378. Springer (2020). https://doi.org/10.1007/978-3-030-55754-6_22
Kong, S., Gao, S., Chen, W., Clarke, E.: dreach: \(\delta \)-reachability analysis for hybrid systems. In: Tools and Algorithms for the Construction and Analysis of Systems, pp. 200–205. Springer (2015)
Lygeros, J., Prandini, M.: Stochastic hybrid systems: a powerful framework for complex, large scale applications. Eur. J. Control. 16(6), 583–594 (2010). https://doi.org/10.3166/ejc.16.583-594
Pilch, C., Hartmanns, A., Remke, A.: Classic and non-prophetic model checking for hybrid petri nets with stochastic firings. In: HSCC ’20: 23rd ACM International Conference on Hybrid Systems: Computation and Control, Sydney, New South Wales, Australia, April 21–24, 2020, pp. 10:1–10:11. ACM (2020). https://doi.org/10.1145/3365365.3382198
Pilch, C., Schupp, S., Remke, A.: Optimizing reachability probabilities for a restricted class of stochastic hybrid automata via flowpipe-construction. In: Quantitative Evaluation of Systems—18th International Conference, QEST 2021, Paris, France, August 23–27, 2021, Proceedings. Lecture Notes in Computer Science, vol. 12846, pp. 435–456. Springer (2021). https://doi.org/10.1007/978-3-030-85172-9_23
Schupp, S.: State Set Representations and Their Usage in the Reachability Analysis of Hybrid Systems. Ph.D. thesis, RWTH Aachen University, Aachen (2019). https://doi.org/10.18154/RWTH-2019-08875
Schupp, S., Ábrahám, E., Makhlouf, I.B., Kowalewski, S.: HyPro: A C++ library of state set representations for hybrid systems reachability analysis. In: Proceedings of the 9th NASA Formal Methods Symposium (NFM’17). LNCS, vol. LNCS, pp. 288–294. Springer (2017). https://doi.org/10.1007/978-3-319-57288-8_20
Shmarov, F., Zuliani, P.: Probreach: verified probabilistic delta-reachability for stochastic hybrid systems. In: Proceedings of the 18th International Conference on Hybrid Systems: Computation and Control, pp. 134–139 (2015)
da Silva, C., Schupp, S., Remke, A.: Optimizing reachability probabilities for a restricted class of stochastic hybrid automata via flowpipe-construction. Trans. Modeling Comput. Simul. (2023), accepted for publication
Soudjani, S.E.Z., Gevaerts, C., Abate, A.: FAUST \({}^{ \text{2}}\) : Formal abstractions of uncountable-state stochastic processes. In: Tools and Algorithms for the Construction and Analysis of Systems—21st International Conference, TACAS 2015, Held as Part of the European Joint Conferences on Theory and Practice of Software, ETAPS 2015, London, UK, April 11–18, 2015. Proceedings. Lecture Notes in Computer Science, vol. 9035, pp. 272–286. Springer (2015). https://doi.org/10.1007/978-3-662-46681-0_23
Stübbe, J., Remke, A.: Monte-Carlo integration on a union of polytopes. In: 19th Cologne-Twente Workshop on Graphs and Combinatorial Optimization, Garmisch-Patenkirchen, Germany, June 20–23, 2023 (2023), accepted for publication
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendices
Appendix A
Figure 1 illustrates an exemplary RAR with three locations that has two variables: random clock r and continuous variable x. The model contains initial nondeterminism in the valuation of x, which can be chosen from the interval [1, 3]. According to the syntax as presented in [11], the random clock r behaves as a stopwatch and has to be 0 initially.
The evolution of r is always either 1 or 0, since it can be active or \(inactive \). In the given model, r is only active in location \(\ell _0\). Hence, it evolves with rate 1 in \(\ell _0\) and there is a stochastic transition from \(\ell _0\) to \(\ell _2\) modelling the expiration of the random delay. The continuous variable x, however, can evolve with a rate \(\in [1,2]\) in \(\ell _0\), which again models nondeterministic behavior. If it reaches a valuation of 4, location \(\ell _0\) has to be left, either with the stochastic transition or with the transition from \(\ell _0\) to \(\ell _1\). In \(\ell _1\), x is evolving with rate 1 and r is inactive and hence cannot expire anymore.
Appendix B
For completeness, we have included Fig. 3 illustrating the RAR model of the case study evaluated in Sect. 4. Note that the figure is taken from [11].
Car model with detours. Random clock c is active (\(\dot{c}=1\)) in the charging locations, d is active in locations driving and detour and r is active in location driving. The state of charge x is restricted to [0, 10] in all locations unless stated otherwise. No time is spent in location charge due to invariants not shown.
Appendix C
Figure 4 shows the computation times of the different model variants, where rectangular model variants are indicated with R and singular model variants with S. The computation times are separated for flowpipe construction (step 1), refinement (step 2 and 3), extraction of the sample domain (step 4) and the multi-dimensional integration (step 5). As the figure illustrates, RealySt is considerably quicker for all model variants in comparison to the computations from [11], and especially the flowpipe construction and integration perform much better.
Note that due for to the absence of peaks in the uniform distribution, VEGAS is unable to perform importance sampling. This particularly occurred during the variant singular AB for 2 detours, hence a larger number of integration samples had to be used in the computation. This resulted in a probability of 0.425 528 with \(e_{\textit{stat}}\) = \(1.203 \cdot 10^{-05}\).
Rights and permissions
Copyright information
© 2024 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
About this paper
Cite this paper
Delicaris, J., Stübbe, J., Schupp, S., Remke, A. (2024). RealySt: A C++ Tool for Optimizing Reachability Probabilities in Stochastic Hybrid Systems. In: Kalyvianaki, E., Paolieri, M. (eds) Performance Evaluation Methodologies and Tools. VALUETOOLS 2023. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 539. Springer, Cham. https://doi.org/10.1007/978-3-031-48885-6_11
Download citation
DOI: https://doi.org/10.1007/978-3-031-48885-6_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-48884-9
Online ISBN: 978-3-031-48885-6
eBook Packages: Computer ScienceComputer Science (R0)Springer Nature Proceedings Computer Science

