One-click install
npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill simpy-silverstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpy
Source: https://github.com/silverstein/claude-scientific-skills-desktop/tree/main/corpus/simpy
Command: npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill simpy-silverstein

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

SimPy helps you model real systems where events happen over time and compete for limited resources, so you can analyze queues, throughput, and scheduling behavior before implementing anything.

Core Features & Use Cases

  • Discrete-event simulation modeling: Represent entities as processes that yield timeouts and coordinate via events.
  • Shared resource and queueing: Model servers and capacity constraints with Resource, priority queues with PriorityResource, and preemption with PreemptiveResource.
  • Systems with inventory and object flow: Use Container and Store/FilterStore/ PriorityStore to simulate bulk material levels and item movement through pipelines.
  • Monitoring-friendly behavior: Capture wait times, utilization, and event timing by instrumenting requests/releases and processing durations.
  • Use Case: Simulate a call center or manufacturing line by generating customers/parts at arrival rates, serving them on limited machines, and measuring waiting time and throughput under contention.

Quick Start

Use the simpy skill to build a discrete-event queueing simulation with two servers by running a minimal customer-process example using SimPy's Environment, Resource, env.timeout, and env.run(until=...).

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 for queueing and resource contention?

Build a discrete-event simulation by creating generator-based processes that yield events, coordinating shared resources via request and release patterns, and executing the environment with env.run to compute contention outcomes over time.

Can I model priority queues and preemption in a Python simulation?

Model priority queues in a Python simulation using PriorityResource, and handle preemption with PreemptiveResource to manage task interruption and resource reallocation when higher-priority processes enter the queue.

What is the best way to simulate a manufacturing line with shared resources?

Simulate a manufacturing line by generating parts as processes with arrival rates, requesting limited server capacity via Resource, and measuring waiting times and throughput under contention using environment execution.

How do I simulate bulk inventory and object flow through a pipeline?

Simulate bulk inventory and object flow through a pipeline using Container for material levels and Store, FilterStore, or PriorityStore to manage item movement and bulk resource tracking within the discrete-event environment.

Does discrete-event simulation work for network traffic timing and capacity planning?

Discrete-event simulation works for network traffic timing and capacity planning by scheduling packet events with env.timeout, modeling shared resource constraints, and computing throughput behavior over simulated time.

How do I capture wait times and utilization metrics during process modeling?

Capture wait times and utilization metrics during process modeling by instrumenting resource request and release events, logging processing durations, and tracking event timing throughout the environment execution cycle.