Welcome to EconCircuit!
EconCircuit is an agent-based macroeconomic computation engine modeling 33 interconnected nations, 9 ISIC statistical sectors, and 5 household income quintiles (Q1 to Q5) under strict Stock-Flow Consistent (SFC) accounting.
Key Architectural Pillars
Decoupled Architecture:
- The computation engine is built in C++20 (
build/EconCircuitandbuild/EconSimValidateQuality). - The Spring Boot 3.x REST Web Service sits in front of the binaries, providing job queuing, per-request directory isolation, and JSON/CSV endpoints.
- The Hugo CMS static frontend provides the user interface for composing scenarios and viewing time-series tables.
- The computation engine is built in C++20 (
Discrete Monthly Rounds: Each simulation run advances in discrete monthly rounds (
ROUND_COUNT = 120for a standard 10-year horizon).Stock-Flow Consistency (SFC): Total net financial assets across households, enterprises, government, banking, and external balances sum to zero at all times: $$\sum \text{NetFinancialAssets} = \text{NFA}{HH} + \text{NFA}{EP} + \text{NFA}{GOV} + \text{NFA}{BANK} + \text{NFA}_{EXT} \equiv 0$$
Use the Scenario Calculator to test how policy rate and productivity shocks propagate through the economy!