Skip to main content

Event discrete, process based simulation for Python.

Project description

SimPy Classic is a process-based discrete-event simulation language based on standard Python and released under the GNU LGPL.

It provides the modeler with components of a simulation model. These include processes for active components like customers, messages and vehicles as well as resources for passive components that form limited capacity congestion points (like servers, checkout counters and tunnels). It also provides monitor variables to aid in gathering statistics. SimPy comes with extensive plotting capabilities.

The distribution contains in-depth documentation, tutorials, and a large number of simulation models.

Simulation model developers are encouraged to share their SimPy modeling techniques with the SimPy community. Please post a message to the SimPy-Users mailing list: http://lists.sourceforge.net/lists/listinfo/simpy-users

Software developers are also encouraged to interface SimPy with other Python- accessible packages, such as GUI, database or mapping and to share these new capabilities with the community under the GNU LGPL.

This the original SimPy. Around 2012 SimPy forked and this original version is now known as SimPy Classic.

Installation

SimPy Classic requires Python 2.7 or Python 3.

You can install SimPy easily via PIP:

$ pip install -U SimPy

You can also download and install SimPy manually. It can be found at https://github.com/SimPyClassic/SimPyClassic:

$ cd where/you/put/simpy/
$ python setup.py install

To run SimPy’s test suite on your installation, execute:

$ python -m pytest

Getting started

You can also run one or more of the programs under docs/examples/ to see whether Python finds the SimPy module. If you get an error message like ImportError: No module named SimPy, check if the SimPy packages exists in your site-packages folder (like /Lib/site-packages).

The tutorial and manuals are in the docs/html folder. Many users have commented that the Bank tutorials are valuable in getting users started on building their own simple models. Even a few lines of Python and SimPy can model significant real systems.

For more help, contact the SimPy-Users mailing list. SimPy users are pretty helpful.

Enjoy simulation programming in SimPy!

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

SimPyClassic-2.3.4.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

SimPyClassic-2.3.4-py2.py3-none-any.whl (79.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file SimPyClassic-2.3.4.tar.gz.

File metadata

File hashes

Hashes for SimPyClassic-2.3.4.tar.gz
Algorithm Hash digest
SHA256 b2dd15f1b9bc401b85d362e179df86fec9b1b2291616d9144bf826e91bf21be5
MD5 9e5fdb138c6e4ffa1d98366e0023b7b0
BLAKE2b-256 0c5cde4c88f0a359028f64e6a126c8edf6ba64ebc77caac8c9fbdab4b18e2b2c

See more details on using hashes here.

File details

Details for the file SimPyClassic-2.3.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for SimPyClassic-2.3.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 46f905d0b0358f36338c724d7b95a61cab9f3e0de4599ecf709558d10f93b0a1
MD5 6937f33a661104aa750e3cbaecdbd985
BLAKE2b-256 55e415338617316b0001e80a9e8a5e2a0cbf23967b15587622c118768bdf51eb

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