Skip to main content

Synthetic Business Process Simulation

Project description

SynBPS

Downloads Documentation Status

SynBPS is short for Synthetic Business Process Simulation. This framework is designed to simulate synthetic business processes. In a nutshell, this framework lets you run predictive process monitoring experiments across multiple business processes, specified by well-known parametric distributions. See more in the publication: Riess (2024) [pdf]

Whats new: Version 1.1.0

  • Added support for process memory with HOMC of order > 4
  • Added Example notebooks in examples/ folder
  • Fixed issues with seed value in processes with memory
  • Restructuring and separation of functions, based on their purpose:
    • Design for generating a DoE
    • Simulation for functions related to event-log generation
    • Dataprep for functions related to data-preparation for ML models (prefix-log, temporal splitting etc.,)
  • Removed dependency on Cython
  • Other minor fixes

Please note: Version 1.1.0** introduces new parameters and different function locations. Users are therefore advised to refer to the example notebooks in examples/ folder for examples.

Getting Started

You can install SynBPS using pip:

pip install SynBPS

Once installed, you can:

  • Run a simulation experiment with your own models using the End-to-end example notebook for a short demo of SynBPS.
  • Or simply generate a single event-log using the example code in the Event-log example notebook. This code example also lets you integrate the power of SynBPS into your own custom code pipeline (for advanced users).

Documentation

See the official documentation here.

Citation

If you use SynBPS, please cite the corresponding paper. The paper can be cited as:

@article{riess2024synbps,
	title={SynBPS: a parametric simulation framework for the generation of event-log data},
	author={Riess, Mike},
	journal={SIMULATION},
	pages={00375497241233326},
	year={2024},
	publisher={SAGE Publications Sage UK: London, England}
}

How?

The intended usage of this framework is to benchmark new methods within predictive process monitoring. Rather than calibrating a simulation model from an existing process (as in existing frameworks), the aim is to simulate theoretical processes with varying degrees of noise in duration distributions and entropy in the control-flow. The framework uses algorithms (described in the publication), Higher-order Markov Chains (HOMC) and the Hypo-exponential distribution to represent temporal dependency (or its absence) in conditional duration distributions.

image

The benefit of SynBPS is in the transparency (and simplicity) of the data generating process, which can help further understand the influence of process characteristics on predictive performance. By e.g. changing the entropy of the process, SynBPS lets you compare the difference in predictive performance across everything between predictable to completely chaotic processes.

Contributing

If you would like to contribute to SynBPS, you are welcome to submit your suggestions, bug reports, or pull requests. Follow the guidelines to ensure smooth collaboration.

Thanks

Jacob Schreiber and Pomegranate team. Joachim Scholderer and Kristoffer Lien.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synbps-1.0.9.1.tar.gz (43.1 kB view hashes)

Uploaded Source

Built Distribution

SynBPS-1.0.9.1-py3-none-any.whl (51.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page