Abstract
Stochastic Petri Nets (SPNs) are a powerful formalism, widely used for modeling complex systems in various domains, ranging from manufacturing and logistics to healthcare and computer networks. In this paper, we introduce PySPN, a flexible and easily extendable Python library for Modeling & Simulation (M &S) of SPNs. PySPN aims to provide researchers, engineers, and simulation practitioners with a user-friendly and efficient toolset to model, simulate, and analyze SPNs, facilitating the understanding and optimization of stochastic processes in dynamic systems.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Amparore, E.G., Balbo, G., Beccuti, M., Donatelli, S., Franceschinis, G.: 30 years of GreatSPN. In: Fiondella, L., Puliafito, A. (eds.) Principles of Performance and Reliability Modeling and Evaluation. SSRE, pp. 227–254. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-30599-8_9
Azevedo, C.: cazevedo/gspn-framework. https://github.com/cazevedo/gspn-framework
Banks, J., Carson, J., II., Nelson, B., Nicol, D.: Discrete-Event System Simulation, 5th edn. Pearson, Upper Saddle River (2009)
Chay, Z.E., Goh, B.F., Ling, M.H.: PNet: a Python library for Petri net modeling and simulation, February 2023. https://doi.org/10.48550/arXiv.2302.12054
Ellson, J., Gansner, E., Koutsofios, L., North, S.C., Woodhull, G.: Graphviz—open source graph drawing tools. In: Mutzel, P., Jünger, M., Leipert, S. (eds.) GD 2001. LNCS, vol. 2265, pp. 483–484. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-45848-4_57
Friederich, J.: PySPN (2023). https://github.com/jo-chr/pyspn
Friederich, J., Francis, D.P., Lazarova-Molnar, S., Mohamed, N.: A framework for data-driven digital twins of smart manufacturing systems. Comput. Ind. 136, 103586 (2022). https://doi.org/10.1016/j.compind.2021.103586
Friederich, J., Lazarova-Molnar, S.: Data-driven reliability modeling of smart manufacturing systems using process mining. In: 2022 Winter Simulation Conference (WSC), pp. 2534–2545, December 2022. https://doi.org/10.1109/WSC57314.2022.10015301
Paolieri, M., Biagi, M., Carnevali, L., Vicario, E.: The ORIS tool: quantitative evaluation of non-Markovian systems. IEEE Trans. Software Eng. 47(6), 1211–1225 (2021). https://doi.org/10.1109/TSE.2019.2917202
Pommereau, F.: SNAKES: a flexible high-level Petri nets library (tool paper). In: Devillers, R., Valmari, A. (eds.) PETRI NETS 2015. LNCS, vol. 9115, pp. 254–265. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-19488-2_13
Ratzer, A.V., et al.: CPN tools for editing, simulating, and analysing coloured Petri nets. In: van der Aalst, W.M.P., Best, E. (eds.) ICATPN 2003. LNCS, vol. 2679, pp. 450–462. Springer, Heidelberg (2003). https://doi.org/10.1007/3-540-44919-1_28
Tüysüz, F., Kahraman, C.: Modeling a flexible manufacturing cell using stochastic Petri nets with fuzzy parameters. Expert Syst. Appl. 37(5), 3910–3920 (2010). https://doi.org/10.1016/j.eswa.2009.11.026
Virtanen, P., et al.: SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat. Methods 17(3), 261–272 (2020). https://doi.org/10.1038/s41592-019-0686-2
Wang, J.: Patient flow modeling and optimal staffing for emergency departments: a Petri net approach. IEEE Trans. Comput. Soc. Syst. 10(4), 2022–2032 (2023). https://doi.org/10.1109/TCSS.2022.3186249
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 ICST Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
About this paper
Cite this paper
Friederich, J., Lazarova-Molnar, S. (2024). PySPN: An Extendable Python Library for Modeling & Simulation of Stochastic Petri Nets. In: Guisado-Lizar, JL., Riscos-Núñez, A., Morón-Fernández, MJ., Wainer, G. (eds) Simulation Tools and Techniques. SIMUtools 2023. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 519. Springer, Cham. https://doi.org/10.1007/978-3-031-57523-5_6
Download citation
DOI: https://doi.org/10.1007/978-3-031-57523-5_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-57522-8
Online ISBN: 978-3-031-57523-5
eBook Packages: Computer ScienceComputer Science (R0)