Skip to main content

Hazard Prediction

The HazardPredictor identifies upcoming orbital hazards — eclipse transitions, South Atlantic Anomaly (SAA) traversals, and thermal excursions — and schedules checkpoints so that in-progress computation can survive them without data loss.
Why this matters — An eclipse boundary can cut available power by 95% in seconds. Without predictive checkpointing, any in-flight step that spans an eclipse transition risks silent data corruption or abrupt termination.

The 9-Phase Algorithm

The HazardPredictor runs a 9-phase pipeline over the planning horizon:

Hazard Types

Eclipse Boundaries

Detected using the cylindrical shadow model — the same model used in the CAE orbital environment builder. The predictor identifies both eclipse entry (sunlit-to-shadow) and eclipse exit (shadow-to-sunlit) transitions.

South Atlantic Anomaly

The SAA is a region of elevated radiation over the South Atlantic where the inner Van Allen belt dips closest to Earth. Sensitive electronics (GPUs, FPGAs) experience elevated single-event upset rates during SAA traversals.

Thermal Excursions

The thermal predictor models component temperature based on solar flux, Earth albedo, bus power dissipation, and radiator capacity. Excursions are flagged when any component is predicted to exceed its operational limit.

Checkpoint Scheduling

For each detected hazard, the predictor inserts a checkpoint at hazard_start - margin - serialization_time. If two hazards are close together (within the merge window), their checkpoints are consolidated into one.
The checkpoint includes full step state: intermediate buffers, model weights, progress counters, and RNG state. The agent serializes this to on-board storage before the hazard arrives.

API Usage

Request Parameters

Response Structure

Response Fields

The overhead_fraction helps you decide whether predictive checkpointing is worth the cost. Values below 0.05 (5%) are typical for LEO orbits with 90-minute periods.

Console Integration

The Console surfaces hazard predictions on the Hazards tab of the asset detail page:
  • Timeline visualization shows hazards as colored bands (red for eclipse, orange for SAA, yellow for thermal)
  • Checkpoint markers appear on the timeline with serialization budget indicators
  • The max safe window is highlighted
  • Clicking a hazard expands its detail panel with severity, duration, and predicted impact

Agent Integration

When the agent receives a plan with predictive checkpoints, it listens for the checkpoint.predicted event and serializes state to on-board storage at the scheduled time. See the Agent Protocol documentation for event handling details.

Orbital Primitives

Eclipse and window-aware step types

Understanding Plans

How to read plan responses including hazard data