babylon.engine.systems.metabolism

MetabolismSystem - The Metabolic Rift.

Slice 1.4: Track the widening rift between extraction and regeneration.

This system implements the ecological limits of capital accumulation: - Biocapacity regeneration and depletion - ECOLOGICAL_OVERSHOOT event emission when consumption > biocapacity

Key formulas (from src/babylon/systems/formulas.py): - calculate_biocapacity_delta: ΔB = R - (E × η) - calculate_overshoot_ratio: O = C / B

Classes

MetabolismSystem()

System tracking the metabolic rift between extraction and regeneration.

class babylon.engine.systems.metabolism.MetabolismSystem[source]

Bases: object

System tracking the metabolic rift between extraction and regeneration.

The metabolic rift is the core dynamic of imperial accumulation: extraction systematically exceeds regeneration because profit requires externalizing regeneration costs.

Key formulas (from src/babylon/systems/formulas.py): - calculate_biocapacity_delta: ΔB = R - (E × η) - calculate_overshoot_ratio: O = C / B

Events emitted: - ECOLOGICAL_OVERSHOOT: When overshoot_ratio > 1.0

property name: str

The identifier of this system.

step(graph, services, context)[source]

Apply metabolic rift logic to the world graph.

Updates each territory’s biocapacity based on regeneration and extraction, then checks if global consumption exceeds global biocapacity (overshoot).

Parameters:
  • graph – Mutable NetworkX graph with territory and social_class nodes.

  • services – ServiceContainer with config, formulas, event_bus, database.

  • context – Dict or TickContext with ‘tick’ (int) key.

Return type:

None