equilibria

A modern Python framework for Computable General Equilibrium (CGE) modeling.

equilibria provides modular equation blocks, universal data I/O for SAM/MIP/GDX, and an auto-calibration pipeline. It targets parity with reference GAMS models (GTAP Standard 7, PEP 1-1) while keeping the workflow Pythonic.

🚀 Get started

Install equilibria and run your first model in five minutes.

Installation
📖 User guide

MIP → SAM closure, calibration, and shock analysis walk-throughs.

User guide
🧪 Gallery of examples

Runnable scripts that produce plots and tables — re-executed on every build.

Example gallery
🔍 API reference

Auto-generated reference for the public modules.

API reference