Discrete event simulation toolkit based on greenlets
Project description
greensim: discrete event simulation toolkit
This is a set of simple tools for modeling and running simulations of discrete
event systems. It is based on the implementation of each independant part of
the system that generates events into a function: these are the simulation's
processes. They are then add()ed to a Simulator object, which
coordinates the timeline over which processes execute. Such functions indicate
what happens at various moments within this process, and using functions
advance() and pause() (valid only in context of process routines) to
forward the simulation to the next moment.
With processes duly added to the Simulator object, the simulation is
launched by calling its method run(). The simulation stops, thereby
returning from run(), when the simulator runs out of events, or if one of
the processes invokes function stop(). The simulation can be resumed by
calling method run() over again, and so on.
Take a look at the files in examples subdirectory to get a concrete understanding.
Reference documentation for classes and tools is available as docstrings.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file greensim-2.3.1.tar.gz.
File metadata
- Download URL: greensim-2.3.1.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1129f535e4a579556f2b51dbe3e838b2180fc3895e30f092f4b8f56fd7db22a7
|
|
| MD5 |
3cc30d3f9fc0750ff0fc8a3f80b1da39
|
|
| BLAKE2b-256 |
2ebcc349fd565e67af7e8bb28d5502c3dfc5c9b3618c8b3003f1a4d2b21c623a
|
File details
Details for the file greensim-2.3.1-py3-none-any.whl.
File metadata
- Download URL: greensim-2.3.1-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cbc843979b9bd3c5f296e8e8ae1f9ed8b80287c91a65ae9753b7cad48ace91d
|
|
| MD5 |
31306a59f37f1564b845e0842517bc2e
|
|
| BLAKE2b-256 |
d05753f1debf48c0a6cbb2010c25ebe4af7fadfd02d10052c3d053903d42cfce
|