policyengine-simulation-mechanics

Official

Simulation lifecycle mastery with policyengine.py

AuthorPolicyEngine
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill covers advanced simulation mechanics with policyengine.py, including caching, result access, and entity mapping.

Core Features & Use Cases

  • Simulation.ensure(): Smart caching to avoid recomputation.
  • output_dataset.data: Access and analyze simulation results across entities.
  • map_to_entity(): Convert data between person, household, and other units.

Quick Start

Create a Simulation and call ensure() to reuse cached results across reforms.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: policyengine-simulation-mechanics
Download link: https://github.com/PolicyEngine/policyengine-claude/archive/main.zip#policyengine-simulation-mechanics

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository