happy-sim-component-guide

Guide component selection from the happysimulator library for discrete-event simulations.

11|Updated Mar 16, 2024
One-click install
npx skills add https://github.com/adamfilli/happy-simulator --skill happy-sim-component-guide
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: happy-sim-component-guide
Source: https://github.com/adamfilli/happy-simulator/tree/main/.claude/skills/happy-sim-component-guide
Command: npx skills add https://github.com/adamfilli/happy-simulator --skill happy-sim-component-guide

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users select the most appropriate components from the happysimulator library for their specific discrete-event simulation needs.

Core Features & Use Cases

  • Interactive Component Selection: Guides users through a decision tree to identify suitable simulation components based on their system's characteristics.
  • Use Case: A user wants to simulate a web service with retries and needs to know which happysimulator components to use. This Skill will recommend QueuedResource with a TimeoutWrapper and potentially a CircuitBreaker.

Quick Start

Use the happy-sim-component-guide skill to help me choose components for simulating a factory with breakdowns and shift-based staffing.

Frequently Asked Questions about happy-sim-component-guide

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

FAQPage Schema
How do I choose the right components for discrete-event simulation in Python?

Selecting discrete-event simulation components involves mapping your system modeling requirements, like queues, load generation, or messaging, to specific Python library classes and policies. This ensures the simulation accurately reflects your target system characteristics.

What happysimulator classes should I use to simulate web service retries and timeouts?

For simulating web service retries and timeouts, you should use the QueuedResource class combined with a TimeoutWrapper. You can also integrate a CircuitBreaker to model resilience patterns effectively within your simulation.

Can I model industrial scenarios like factory breakdowns and shift staffing using happysimulator?

Yes, you can model industrial scenarios like factory breakdowns and shift-based staffing. The component selection guidance helps you identify the appropriate classes for simulating these specific operational conditions and behavioral patterns.

Does this component guide provide wiring examples for simulation modeling?

Yes, the component guide provides minimal wiring examples to help you connect the selected simulation classes. It also offers relevant reference files to ensure correct implementation of your discrete-event simulation setup.

When do I need specific policies for rate limiting and resilience in discrete-event simulation?

You need specific policies for rate limiting and resilience when your simulation modeling involves networking constraints or failure recovery. The guide helps map these requirements to appropriate library classes to accurately simulate system behavior under stress.