Back to Skills

simpy

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.

17,798stars1,609forksUpdated 1/21/2026

Security Assessment

Low Risk(80/100)

Detected risks:

Sensitive File Access([SKILL.md] .Env)
Security Score80/100

About simpy

The SimPy skill provides a process-based discrete-event simulation framework that enables users to model complex systems in Python. It addresses the challenge of simulating scenarios where various entities interact with shared resources over time, such as in manufacturing systems, service operations, or logistics. By providing a structured way to simulate discrete events, it helps users analyze and understand the dynamics of their systems effectively, thus facilitating better decision-making and optimization strategies.

FAQ

What types of systems can I model using SimPy?

SimPy is suitable for modeling discrete-event systems where entities compete for shared resources, such as manufacturing systems, service operations, and network traffic.

Is SimPy compatible with real-time simulations?

Yes, SimPy supports real-time simulations through its RealtimeEnvironment, which synchronizes the simulation with wall-clock time.

Are there any limitations to using SimPy?

SimPy is not suitable for continuous simulations with fixed time steps or for independent processes without resource sharing.

What programming language is required to use SimPy?

SimPy is a Python library and requires knowledge of Python programming to implement simulations.

Can I use SimPy for queue analysis?

Yes, SimPy is ideal for studying queue dynamics, including waiting times, service times, and throughput.

Install simpy

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill