An event-driven discrete event simulation environment.
Project description
DESimPy
Event-driven discrete event simulation in Python (DESimPy).
Overview
DESimPy is an event-driven simulation framework. It also includes a service simulation module.
Processes in DESimPy are defined by methods owned by Python objects inherited from the Event
abstract base class. These processes can be used to model system-level or component level changes in a modelled system. Such systems might include customers or patients flowing through services, vehicles in traffic, or agents competing in games.
DESimPy implements time-to-event simulation where the next event in a schedule is processed next regardless of the amount of time in the simulated present to that event. This constrasts with "time sweeping" in which a step size is used to increment foreward in time. It is possible to combine time-to-event with time sweeping (see Palmer & Tian 2021), however this package does not provide any explicit support for that.
Installation
pip install desimpy
Quickstart
🔜
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.