Skip to main content

Module engine

Module engine 

Source
Expand description

Core simulation engine.

Implements the central simulation loop with:

  • Deterministic RNG (PCG with partitioned seeds)
  • Event scheduling with deterministic ordering
  • Jidoka guards for stop-on-error
  • State management

Re-exports§

pub use clock::SimClock;
pub use jidoka::JidokaGuard;
pub use jidoka::JidokaViolation;
pub use rng::SimRng;
pub use scheduler::EventScheduler;
pub use scheduler::ScheduledEvent;
pub use state::SimState;

Modules§

clock
Simulation clock management.
jidoka
Jidoka (自働化) - Autonomous anomaly detection.
rng
Deterministic random number generation.
scheduler
Event scheduler with deterministic ordering.
state
Simulation state management.

Structs§

SimEngine
Main simulation engine.
SimTime
Simulation time representation.