babylon.engine.systems.economic

Economic systems for the Babylon simulation - The Base.

Sprint 3.4.1: Imperial Circuit - 4-node value flow model. Sprint 3.4.4: Dynamic Balance - Pool tracking and decision heuristics.

The Imperial Circuit has five phases: 1. EXPLOITATION: P_w -> P_c (imperial rent extraction) 2. TRIBUTE: P_c -> C_b (comprador keeps 15% cut) -> FEEDS POOL 3. WAGES: C_b -> C_w (dynamic rate super-wages to labor aristocracy) -> DRAINS POOL 4. CLIENT_STATE: C_b -> P_c (subsidy when unstable, converts to repression) -> DRAINS POOL 5. DECISION: Bourgeoisie heuristics update wage_rate/repression based on pool/tension

Classes

ImperialRentSystem()

Imperial Circuit Economic System - 5-phase value extraction with pool tracking.

class babylon.engine.systems.economic.ImperialRentSystem[source]

Bases: object

Imperial Circuit Economic System - 5-phase value extraction with pool tracking.

Sprint 3.4.4: Dynamic Balance - The Gas Tank and Driver.

Implements the MLM-TW model of value flow with finite resources: - Phase 1: Extraction (P_w -> P_c via EXPLOITATION) - Phase 2: Tribute (P_c -> C_b via TRIBUTE, minus comprador cut) -> FEEDS POOL - Phase 3: Wages (C_b -> C_w via WAGES, dynamic rate) -> DRAINS POOL - Phase 4: Subsidy (C_b -> P_c via CLIENT_STATE, stabilization) -> DRAINS POOL - Phase 5: Decision (Bourgeoisie heuristics adjust wage_rate/repression)

The imperial_rent_pool in GlobalEconomy tracks available resources: - Inflow: Tribute received by Core Bourgeoisie (post-comprador cut) - Outflow: Wages paid + Subsidies paid - When pool depletes, bourgeoisie must choose between austerity or repression

name = 'Imperial Rent'
step(graph, services, context)[source]

Apply the 5-phase Imperial Circuit to the graph.

Phases execute in sequence, as each depends on the previous: 1. Extraction must happen before tribute (P_c needs wealth to send) 2. Tribute must happen before wages (C_b needs wealth to pay) - FEEDS POOL 3. Wages capped at available pool - DRAINS POOL 4. Subsidy capped at available pool after wages - DRAINS POOL 5. Decision phase: Bourgeoisie heuristics update economy for next tick

The economy state is read from graph.graph[“economy”] and written back after all phases complete.