Return to Simulation Index

Core Architecture

Internal structure and subsystem responsibilities of the STC simulation engine.

State Engine

Maintains the authoritative system state at each discrete timestep. State transitions are atomic and versioned.

  • Module operational states
  • Resource inventories
  • Environmental parameters
  • Agent availability

Time Manager

Controls simulation progression using discrete timesteps. Supports accelerated, real-time, and paused execution modes.

Physics Layer (PAL)

Provides simplified physical relationships (energy conversion, resource loss) without high-fidelity overhead.

Event System

Handles discrete events: Module failure, resource depletion, and hazard triggers. Ensures deterministic reproducibility.