simpy

Create discrete-event simulations using Python generator functions and event-driven scheduling.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/felixboehm/biochem-allergy --skill simpy-felixboehm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpy
Source: https://github.com/felixboehm/biochem-allergy/tree/main/.claude/skills/simpy
Command: npx skills add https://github.com/felixboehm/biochem-allergy --skill simpy-felixboehm

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a robust framework for modeling and simulating complex systems where events occur at discrete, irregular intervals, allowing for analysis and optimization of processes, resource contention, and queueing systems.

Core Features & Use Cases

  • Process-based modeling: Define system behavior using Python generator functions.
  • Resource management: Simulate shared resources like servers, machines, or bandwidth.
  • Event scheduling: Handle time-based events and process synchronization.
  • Use Case: Simulate a call center to determine optimal staffing levels, analyze customer wait times, and measure agent utilization.

Quick Start

Use the simpy skill to run a basic customer-server simulation with 2 servers for 100 time units.

Frequently Asked Questions about simpy

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

FAQPage Schema
What is discrete-event simulation and when do I need it for performance analysis?

Discrete-event simulation models systems where events occur at irregular intervals to analyze resource contention and queues. You need it for performance analysis and capacity planning in domains like manufacturing, logistics, and service operations.

How do I model shared resources and queues in a discrete-event simulation?

You model shared resources and queues by defining system behavior using Python generator functions and event-driven scheduling. This allows you to simulate servers, machines, or bandwidth while handling time-based process synchronization.

Can I simulate a call center to determine optimal staffing levels and customer wait times?

Yes, you can simulate a call center to determine optimal staffing levels, analyze customer wait times, and measure agent utilization. It models entities, resources, and time-based interactions specifically for this type of service operations analysis.

Does this discrete-event simulation approach support real-time execution and monitoring?

Yes, this simulation approach supports real-time simulation and comprehensive monitoring. It handles event scheduling and process synchronization to measure system performance during execution.

What is the best way to analyze resource contention in manufacturing and logistics systems?

The best way to analyze resource contention is building discrete-event simulations that model entities, queues, and time-based interactions. This provides a robust framework for optimizing processes and capacity planning in manufacturing and logistics.

Do I need to install any external dependencies to run a discrete-event simulation with Python generators?

No external dependencies are required to run discrete-event simulations using Python generator functions. The framework handles event-driven scheduling and resource management natively without additional packages.