simpy-discrete-event-simulation
Process-based discrete-event simulation. Model queues, shared resources, timed events: manufacturing, service ops, network traffic, logistics. Processes are Python generators yielding events. Resources: capacity-limited (Resource/Priority/Preemptive), bulk (Container), objects (Store, FilterStore). For continuous use SciPy ODEs; for agent-based use Mesa.
npx skills add BioTender-max/awesome-bio-agent-skills --skill simpy-discrete-event-simulation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# SimPy — Discrete-Event Simulation ## Overview SimPy is a process-based discrete-event simulation framework using standard Python generators. Model systems where entities (customers, vehicles, packets) interact with shared resources (servers, machines, bandwidth) over time, with event-driven scheduling and optional real-time synchronization. ## When to Use - Modeling queue-based systems with resource contention (servers, machines, staff) - Manufacturing process simulation (production lines, scheduling, bottleneck analysis) - Network simulation (packet routing, bandwidth allocation, latency analysis) - Capacity planning (determining optimal resource levels for target throughput) - Healthcare operations (ER patient flow, staff allocation, bed management) - Logistics and transportation (warehouse operations, vehicle routing) - **For continuous-time ODE systems** → use SciPy `solve_ivp` - **For agent-based modeling** → use Mesa ## Prerequisites ```python # pip install simpy import simpy import random ``` ## Quick Start ```python import simpy import random def customer(env, name, server): """Customer arrives, waits for server, gets served, departs.""" arrival = env.now with server.requ
- Overview
- When to Use
- Prerequisites
- Quick Start
- Core API
- 1. Environment & Processes
- 2. Resources
- 3. Events & Synchronization
- 4. Monitoring & Statistics
- 5. Real-Time Simulation
- Key Concepts
- Resource Selection Guide
- Process Interaction Mechanisms
- Common Workflows
What does the simpy-discrete-event-simulation skill do?
Process-based discrete-event simulation. Model queues, shared resources, timed events: manufacturing, service ops, network traffic, logistics. Processes are Python generators yielding events. Resources: capacity-limited (Resource/Priority/Preemptive), bulk (Container), objects (Store, FilterStore). For continuous use SciPy ODEs; for agent-based use Mesa.
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill simpy-discrete-event-simulation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
