Adds tooling/econ-sim — a standalone Rust binary for the Phase 2 economics simulation: Layer 1 (Leontief production, #806): - Deterministic per-run PRNG seeding of corp×site productivity (D-176) - Fixed-coefficient production chains; scarcity cascades downstream (D-178) - Per-capita population demand for finals and services - Gate-energy demand reduction for fusion_fuel at connected nodes (D-186) - Price adjustment via local tâtonnement Layer 2 (spatial price equilibrium, #807): - Damped tâtonnement trade flows along gate links (α=0.03, β=0.4, D-178) - 8% transport cost per hop damps long-distance arbitrage - Flows computed from pre-step snapshot; applied atomically - --stability-check implements D-179 Tests 1 and 2: · Test 1: cold-start convergence ±5% at tick 100 → PASS (max 1.05%) · Test 2: long-run stability ±2% over ticks 900–999 → PASS (max 0.00%) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
415 B
TOML
17 lines
415 B
TOML
[package]
|
|
name = "econ-sim"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Settled Reach economics simulation — Layer 1 Leontief production + price adjustment"
|
|
|
|
[[bin]]
|
|
name = "econ-sim"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
rand = "0.9"
|
|
rand_chacha = "0.9"
|
|
serde = { version = "1", features = ["derive"] }
|