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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for discrete-event-simulation-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ee42ce960184a40a1e976d6f05d897386019acb36aa3d8b997fa7219aaf0995 |
|
MD5 | 41948258371601c826c81530baef66f0 |
|
BLAKE2b-256 | d2cc8bc5a3da030dd0ba8a4e1c8749ebc2dffe4d17351ae13b694be370de768b |
Hashes for discrete_event_simulation-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15be117d788e29ed5d92d7a473256ef2128d342d5dce179cc6fea76935efb61e |
|
MD5 | 030d855f867b8c492532cde3d5890a86 |
|
BLAKE2b-256 | efa2cf8d9ff42c75716e31f08f56295b510b37c1d45789fa283619c7ea69e1e2 |