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 and Simulation of SPNs. Besides the simulation of SPNs, we further extended PySPN with the functionality of generating synthetic data in the form of event logs from SPNs’ simulations. Event logs in simulation models are essential for ensuring model accuracy, evaluating performance, debugging, and facilitating decision-making processes. Event logs offer a comprehensive record of simulated events, which can be analyzed to gain insights into systems’ behaviors and performance. 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.
Get full access to this article
View all access options for this article.
References
Supplementary Material
Please find the following supplemental material available below.
For Open Access articles published under a Creative Commons License, all supplemental material carries the same license as the article it is associated with.
For non-Open Access articles published, all supplemental material carries a non-exclusive license, and permission requests for re-use of supplemental material or any part of supplemental material shall be sent directly to the copyright owner as specified in the copyright notice associated with the article.
