Welcome to EconCircuit Macroeconomic Modeling

A short introduction to the EconCircuit 33-nation macroeconomic simulation engine and its web service architecture.

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

  1. Decoupled Architecture:

    • The computation engine is built in C++20 (build/EconCircuit and build/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.
  2. Discrete Monthly Rounds: Each simulation run advances in discrete monthly rounds (ROUND_COUNT = 120 for a standard 10-year horizon).

  3. 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!