simpy

Develop and execute discrete-event simulations using the SimPy framework in Python.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/sagunkayastha/claude_skills_collection --skill simpy-sagunkayastha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpy
Source: https://github.com/sagunkayastha/claude_skills_collection/tree/main/engineering-simulation/simpy
Command: npx skills add https://github.com/sagunkayastha/claude_skills_collection --skill simpy-sagunkayastha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables the creation and execution of discrete-event simulations, allowing you to model complex systems and analyze their behavior over time without needing to build custom simulation engines.

Core Features & Use Cases

  • Process-based modeling: Define system components and their interactions using Python generator functions.
  • Resource management: Simulate shared resources like servers, machines, or bandwidth with configurable capacities and queuing.
  • Event scheduling: Precisely control the timing and order of events within the simulation.
  • Use Case: Model a customer service queue to determine optimal staffing levels, analyze network traffic to predict latency, or simulate a manufacturing line to identify bottlenecks.

Quick Start

Use the simpy skill to run a basic simulation with 2 resources and a simulation time of 50 units.

Frequently Asked Questions about simpy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a discrete-event simulation in Python to model a queuing system?

You can build a discrete-event simulation in Python by using generator functions to define system processes and managing shared resources with configurable capacities. This allows you to precisely schedule time-based events and analyze queuing behavior over time.

What is discrete-event simulation used for when analyzing network traffic or manufacturing workflows?

Discrete-event simulation is used to model complex systems like network traffic or manufacturing lines to predict latency and identify bottlenecks. It simulates time-based events and shared resources to provide detailed statistical analysis of operational workflows.

Can I simulate shared resources with configurable capacities and queuing in Python?

Yes, you can simulate shared resources such as servers, machines, or bandwidth in Python. The simulation supports configurable resource capacities and queuing to accurately model and monitor system performance under various constraints.

How do I schedule time-based events to analyze customer service queue staffing levels?

You schedule time-based events by defining system component interactions through Python generator functions. This approach precisely controls the timing and order of events within the simulation to determine optimal customer service staffing levels.

What is the best way to model operational workflows and monitor simulated environment performance?

The best way to model operational workflows is through process-based discrete-event simulation. By defining components as Python generators and controlling event scheduling, you can facilitate detailed statistical analysis and performance monitoring of the simulated environment.