simpy

Solid

Process-based discrete-event simulation framework in Python. Use this skill when building simulations of systems with processes, queues, resources, and time-based events such as manufacturing systems, service operations, network traffic, logistics, or any system where entities interact with shared resources over time.

AI & Automation 26,817 stars 2774 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# SimPy - Discrete-Event Simulation ## Overview SimPy is a process-based discrete-event simulation framework based on standard Python. Use SimPy to model systems where entities (customers, vehicles, packets, etc.) interact with each other and compete for shared resources (servers, machines, bandwidth, etc.) over time. **Core capabilities:** - Process modeling using Python generator functions - Shared resource management (servers, containers, stores) - Event-driven scheduling and synchronization - Real-time simulations synchronized with wall-clock time - Comprehensive monitoring and data collection ## When to Use This Skill Use the SimPy skill when: 1. **Modeling discrete-event systems** - Systems where events occur at irregular intervals 2. **Resource contention** - Entities compete for limited resources (servers, machines, staff) 3. **Queue analysis** - Studying waiting lines, service times, and throughput 4. **Process optimization** - Analyzing manufacturing, logistics, or service processes 5. **Network simulation** - Packet routing, bandwidth allocation, latency analysis 6. **Capacity planning** - Determining optimal resource levels for desired performance 7. **System validation** - Testing system behavior before implementation **Not suitable for:** - Continuous simulations with fixed time steps (consider SciPy ODE solvers) - Independent processes without resource sharing - Pure mathematical optimization (consider SciPy optimize) ## Quick Start ### Basic Simulatio...

Details

Author
K-Dense-AI
Repository
K-Dense-AI/scientific-agent-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category