
Overview — SimPy 4.1.2.dev8+g81c7218 documentation
SimPy is a process-based discrete-event simulation framework based on standard Python. Processes in SimPy are defined by Python generator functions and may, for example, be used to model active …
SimPy in 10 Minutes — SimPy 4.1.2.dev8+g81c7218 documentation
In this section, you’ll learn the basics of SimPy in just a few minutes. Afterwards, you will be able to implement a simple simulation using SimPy and you’ll be able to make an educated decision if …
Documentation for SimPy — SimPy 4.1.2.dev8+g81c7218 documentation
Documentation for SimPy Contents: Overview SimPy in 10 Minutes Installation Basic Concepts Process Interaction Shared Resources How to Proceed Topical Guides SimPy basics Environments Events …
Basic Concepts — SimPy 4.1.2.dev8+g81c7218 documentation
Finally, we start the simulation by calling run() and passing an end time to it. What’s Next? You should now be familiar with SimPy’s terminology and basic concepts. In the next section, we will cover …
Installation — SimPy 4.1.2.dev8+g81c7218 documentation
Upgrading from SimPy 2 If you are already familiar with SimPy 2, please read the Guide Porting from SimPy 2 to 3. What’s Next Now that you’ve installed SimPy, you probably want to simulate …
API Reference — SimPy 4.1.2.dev8+g81c7218 documentation
API Reference The API reference provides detailed descriptions of SimPy’s classes and functions. It should be helpful if you plan to extend SimPy with custom components.
SimPy basics — SimPy 4.1.2.dev8+g81c7218 documentation
If a process function yields an event, SimPy adds the process to the event’s callbacks and suspends the process until the event is triggered and processed. When a process waiting for an event is resumed, …
Topical Guides — SimPy 4.1.2.dev8+g81c7218 documentation
This sections covers various aspects of SimPy more in-depth. It assumes that you have a basic understanding of SimPy’s capabilities and that you know what you are looking for.
Process Interaction — SimPy 4.1.2.dev8+g81c7218 documentation
As it happens, a SimPy Process can be used like an event (technically, a process actually is an event). If you yield it, you are resumed once the process has finished.
Shared Resources — SimPy 4.1.2.dev8+g81c7218 documentation
To map that to SimPy, there’s the PriorityResource. This subclass of Resource lets requesting processes provide a priority for each request. More important requests will gain access to the …