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.3 or above. Python 3 is not yet supported, but we are working on it.

You can install SimPy easily via PIP (or easy_install):

$ pip install SimPy
$ # or:
$ easy_install SimPy

You can also download and install SimPy manually:

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

If you want to upgrade an existing installation of SimPy, just add the -U option to pip or easy_install, e.g.:

$ pip install -U SimPy

Getting started

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.2.zip (2.0 MB view details)

Uploaded Source

simpy-2.2.tar.gz (1.8 MB view details)

Uploaded Source

File details

Details for the file simpy-2.2.zip.

File metadata

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

File hashes

Hashes for simpy-2.2.zip
Algorithm Hash digest
SHA256 a9f938053437598d0efa6b93a095ecb47b1d69d797e96bee170bea7f8207b0e9
MD5 5f725ce01f6cc35a2057826f94a6a12d
BLAKE2b-256 3b43fb5eb0788b1e8c000d96a16540414a32f2d967c48ba6185d471c1400ebb7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for simpy-2.2.tar.gz
Algorithm Hash digest
SHA256 70cf675b0604445c479b10e7f80da062ff999efc0f136e3975d2d78ffff21e5d
MD5 f6ed5af94d32d66bcd1cd239d4d46711
BLAKE2b-256 8509e4b74948965259c2085af6d86d3cd4d53e6fd5b958fcf8468cc8234454c8

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