Skip to main content

Framework for making discrete event simulations

Project description

[![PyPI version](https://badge.fury.io/py/discrete-event-simulation.svg)](https://pypi.org/project/discrete-event-simulation/) # Discrete event simulation

This package can be used to create a discrete event simulation based on your parameters. Just install the library (pypi library is WIP) and use the DiscreteSimulation class to run with your environment.

## How to apply it to your scenario

Check out the [examples](https://github.com/AlexanderGrooff/discrete-event-simulation/tree/master/examples) where scenarios are sketched out using this framework. The idea is that you state one or more available actions that the simulation can pick from which have a starting condition and events to trigger.

The events that are triggered by actions will modify the state, which is tracked in the simulation’s Timeline.

## Development

Make a virtualenv, install requirements and run tox to ensure everything works. It works from Python 3.8+.

` mkvirtualenv -a . -p python3 $(basename $(pwd)) pip install -r requirements.txt tox `

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

discrete-event-simulation-0.1.2.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file discrete-event-simulation-0.1.2.tar.gz.

File metadata

  • Download URL: discrete-event-simulation-0.1.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for discrete-event-simulation-0.1.2.tar.gz
Algorithm Hash digest
SHA256 797b7d92107548411ea314202358a03a58ba95314f1c8a8d66d607c748165577
MD5 5e0cb01b6ad476a5f35d3b154d41525e
BLAKE2b-256 ff97368bc39d98d337f1c8fae06acdc17440860337271acca6831a1d36c13fec

See more details on using hashes here.

File details

Details for the file discrete_event_simulation-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: discrete_event_simulation-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for discrete_event_simulation-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 43e22de211cf126fdf069d5d70003615cec264dfde3dba21f381a6af96c807be
MD5 03e91df7027f58c757dd9ef801acab3f
BLAKE2b-256 cfb0561811d976355890b5df629964012e15bf7495a667b556e2d36209261e21

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