Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
SimPy
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Overview == Its event dispatcher is based on Python's generators and can be used for asynchronous networking or to implement multi-agent systems (with both, simulated and real communication). Simulations can be performed โas fast as possibleโ, in real time (wall clock time) or by manually stepping through the events. Though it is theoretically possible to do continuous simulations with SimPy, it lacks features to support them. However, for simulations with a fixed step size where processes don't interact with each other or with shared resources, a simple <code>while</code> loop is sufficient.<ref>{{Cite journal |last1=Olaitan |first1=Oladipupo |last2=Geraghty |first2=John |last3=Young |first3=Paul |last4=Dagkakis |first4=Georgios |last5=Heavey |first5=Cathal |last6=Bayer |first6=Martin |last7=Perrin |first7=Jerome |last8=Robin |first8=Sebastien |date=2014-01-01 |title=Implementing ManPy, a Semantic-free Open-source Discrete Event Simulation Package, in a Job Shop |journal=Procedia CIRP |volume=25 |pages=253โ260 |doi=10.1016/j.procir.2014.10.036 |issn=2212-8271|doi-access=free }}</ref> Additionally, SimPy provides different types of shared resources to simulate congestion points that have limited capacity, such as servers, checkout counters, and tunnels. In version 3.1 and above, SimPy offers monitoring capabilities to assist in collecting statistics about processes and resources. SimPy 3.0 requires Python 3.,<ref>{{Cite web |title=SimPy History & Change Log โ SimPy 4.0.2.dev1+g2973dbe documentation |url=https://simpy.readthedocs.io/en/latest/about/history.html}}</ref> while SimPy 4.0 requires Python 3.6+. SimPy distribution contains tutorials,<ref>{{cite journal |last1=Zinoviev |first1=Dmitry |date=February 2018 |title=Discrete Event Simulation. It's Easy with SimPy! |journal=PragPub |issue=104 |pages=1โ16}}</ref> documentation, and examples.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)