Skip to main content

Simod is a Python tool for automated discovery of business process simulation models from event logs.

Project description

Simod: Automated discovery of business process simulation models

Simod version

SIMOD combines process mining and machine learning techniques to automate the discovery and tuning of Business Process Simulation models from event logs extracted from enterprise information systems (ERPs, CRM, case management systems, etc.). SIMOD takes as input an event log in CSV format, a configuration file, and (optionally) a BPMN process model, and discovers a business process simulation model that can be simulated using the Prosimos simulator, which is embedded in Simod.

Dependencies

Required

Dependency Version Notes
Python 3.9 For Windows, Python 3.9.13 is the last distribution with Windows installers.
Java 1.8 For example, use Amazon Corretto 8.
Poetry latest If using Docker or compiling from source, use Poetry for building, installing, and managing Python dependencies.

Optional

Depending on your CPU architecture, some dependencies might not be pre-compiled for your platform. In that case, you will most likely also need the following dependencies:

Dependency Version Notes
Cargo and Rust latest Install it with rustup.rs.

Getting Started

PyPI

❗️Make sure java -version returns 1.8 and pip is installed.

Then, install Simod and run it with the following commands:

pip install simod
simod --configuration resources/config/configuration_example.yml

Use your own configuration file instead of resources/config/configuration_example.yml and specify the path to the event log in the configuration file itself. Paths are relative to the configuration file, or absolute.

PyPI project is available at https://pypi.org/project/simod/.

Docker

docker pull nokal/simod

To start a container:

docker run -it -v /path/to/resources/:/usr/src/Simod/resources -v /path/to/output:/usr/src/Simod/outputs nokal/simod bash

Use the resources directory to store event logs and configuration files. The outputs directory will contain the results of Simod.

From inside the container, you can run Simod with:

poetry run simod --configuration <path-to-config>

Docker images for different Simod versions are available at https://hub.docker.com/r/nokal/simod/tags.

Configuration file

A set of example configurations can be found in the resources folder along with a description of each element:

  • Basic configuration to discover the full BPS model (here).
  • Basic configuration to discover the full BPS model using fuzzy (probabilistic) resource calendars (here).
  • Basic configuration to discover the full BPS model with data-aware branching rules (here).
  • Basic configuration to discover the full BPS model, and evaluate it with a specified event log (here).
  • Basic configuration to discover a BPS model with a provided BPMN process model as starting point (here).
  • Basic configuration to discover a BPS model with no optimization process (one-shot) (here).
  • Complete configuration example with all the possible parameters (here).

For developers

Testing

Use pytest to run tests on the package:

poetry run pytest

To run unit tests, execute:

poetry run pytest -m "not integration"

Coverage:

poetry run pytest -m "not integration" --cov=simod

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

simod-5.0.1.tar.gz (43.6 MB view details)

Uploaded Source

Built Distribution

simod-5.0.1-py3-none-any.whl (43.7 MB view details)

Uploaded Python 3

File details

Details for the file simod-5.0.1.tar.gz.

File metadata

  • Download URL: simod-5.0.1.tar.gz
  • Upload date:
  • Size: 43.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for simod-5.0.1.tar.gz
Algorithm Hash digest
SHA256 6b1ab6477ee39967dde0cca40af8812662fd5466c950274f7e87bba3d507e5ab
MD5 68ad526ca6771fe3046017391e7a7cc6
BLAKE2b-256 c41fcae02857cd51fd18eb62c1a999dfa5b07ee3994ddf3c3e83a715beab7683

See more details on using hashes here.

File details

Details for the file simod-5.0.1-py3-none-any.whl.

File metadata

  • Download URL: simod-5.0.1-py3-none-any.whl
  • Upload date:
  • Size: 43.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for simod-5.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6cb418e5ba9f70287a3fcf67606f7459123fbc244e3c8c524ed54586285aa95c
MD5 5839f9ce99ef6148abc298c8a4a9d8a7
BLAKE2b-256 48d3c454aac38d818def0942fc341188a279d88f634e2146aa29c73480a5be86

See more details on using hashes here.

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