Skip to main content

greensim: discrete event simulation toolkit

CircleCI

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.

Metadata

Release files for greensim 2.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for greensim 2.3.1
File Size Uploaded
greensim-2.3.1.tar.gz 17.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for greensim 2.3.1
File Interpreter ABI Platform
greensim-2.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.1 kB

Release files / greensim-2.3.1.tar.gz

Download URL greensim-2.3.1.tar.gz
Size 17.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1129f535e4a579556f2b51dbe3e838b2180fc3895e30f092f4b8f56fd7db22a7
BLAKE2b-256 checksum
How to use checksums
2ebcc349fd565e67af7e8bb28d5502c3dfc5c9b3618c8b3003f1a4d2b21c623a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / greensim-2.3.1-py3-none-any.whl

Download URL greensim-2.3.1-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cbc843979b9bd3c5f296e8e8ae1f9ed8b80287c91a65ae9753b7cad48ace91d
BLAKE2b-256 checksum
How to use checksums
d05753f1debf48c0a6cbb2010c25ebe4af7fadfd02d10052c3d053903d42cfce
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

2.3.1 This release

2 release files

2.3.0

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page