SimPy stands for “Simulation in Python”, is a process-based discrete-event simulation framework based on standard Python. It enables users to model active components such as customers, vehicles, or agents as simple Python generator functions. SimPy is released as open source software under the MIT License. The first version was released in December 2002.
Though it is theoretically possible to do continuous simulations with SimPy, it has no features that help you with that. Also, SimPy is not really required for simulations with a fixed step size and where your processes don’t interact with each other or with shared resources. The documentation contains a tutorial , several guides explaining key concepts, a number of examples and the API reference . SimPy is released under the MIT License. Simulation model developers are encouraged to share their SimPy modeling techniques with the SimPy community. Please post a message to the SimPy mailing list . There is an introductory talk that explains SimPy’s concepts and provides some examples: watch the video or get the slides . SimPy requires Python = 3.8, both CPython and PyPy3 are known to work. If you’ve never used SimPy before, the SimPy tutorial is a good starting point for you. You can also try out some of the Examples shipped with SimPy. You can find a tutorial , examples , topical guides and an API reference , as well as some information about SimPy and its history in our online documentation . For more help, contact the SimPy mailing list . SimPy users are pretty helpful. You can, of course, also dig through the source code . If you find any bugs, please post them on our issue tracker .
Excerpt from the source-code README · 4,694 chars · not written by Vinony
~2 min read
SimPy stands for “Simulation in Python”, is a process-based discrete-event simulation framework based on standard Python. It enables users to model active components such as customers, vehicles, or agents as simple Python generator functions. SimPy is released as open source software under the MIT License. The first version was released in December 2002.
== 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 while loop is sufficient.
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).