Skip to main content

Event discrete, process based simulation for Python.

Project description

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

It provides the modeller 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.

Installation

SimPy requires Python 2.6 or above (including Python 3).

You can install SimPy easily via PIP:

$ pip install -U SimPy

You can also download and install SimPy manually:

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

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

$ python -c "import SimPy; SimPy.test()"

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 Distributions

simpy-2.3.1.zip (3.3 MB view details)

Uploaded Source

simpy-2.3.1.tar.gz (3.2 MB view details)

Uploaded Source

File details

Details for the file simpy-2.3.1.zip.

File metadata

  • Download URL: simpy-2.3.1.zip
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for simpy-2.3.1.zip
Algorithm Hash digest
SHA256 4604d9c90ac9429950a52a6b31c4d48c8575c738caa44517c24a50e3212eec94
MD5 f8de897c314bed81ede5482c93cf398f
BLAKE2b-256 ee813140956ed4eef35e8983aa159bdc4a65f8ec1bbe593f3330416b7a412826

See more details on using hashes here.

File details

Details for the file simpy-2.3.1.tar.gz.

File metadata

  • Download URL: simpy-2.3.1.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for simpy-2.3.1.tar.gz
Algorithm Hash digest
SHA256 50086972d54690ca3b0cd32a838b9f182c742b346858e672d140a4819cd9a931
MD5 de6173f2243baf2b65c3e745bd6d6c36
BLAKE2b-256 4664e1521e6eeadc4eb20c9bcd31414e5639699b8184c8073ed02689c0adfa88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page