elodin-monte-carlo

Calibrate Elodin simulations against experimental truth data using monte-carlo campaign scoring.

540|41|Updated Feb 26, 2024
One-click install
npx skills add https://github.com/elodin-sys/elodin --skill elodin-monte-carlo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elodin-monte-carlo
Source: https://github.com/elodin-sys/elodin/tree/main/.cursor/skills/elodin-monte-carlo
Command: npx skills add https://github.com/elodin-sys/elodin --skill elodin-monte-carlo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building a credible physics simulation requires validating it against real-world measurements, but manual comparison is slow and error-prone. This Skill codifies a workflow that anchors Elodin simulations to recorded telemetry and uses elodin monte-carlo campaigns as an automated test harness, so every model change is judged by a 30-run campaign against recorded reality.

Core Features & Use Cases

  • Truth Data Vendoring: Import experimental telemetry with provenance, sanity checks, unit-conversion validation, and cross-validation against documented mission events.
  • Truth Ghost Replay: Render the recorded vehicle next to the simulated one using a kinematic ghost entity driven by el.SimulationTick, keeping exports aligned row-for-row.
  • Campaign-Based Calibration: Score every run against truth with fit metrics (RMSE, miss distance), narrow spec.toml parameter ranges around best-fit runs, and iterate until the sim matches reality.
  • Use Case: Reconstructing the Apollo lander descent — vendor NASA telemetry, reconstruct the missing horizontal velocity channel from physics, replay the truth ghost in-sim, and run monte-carlo campaigns to calibrate guidance and physics models against the historical record.

Quick Start

Ask the AI to vendor your recorded telemetry as a reference profile and set up an elodin monte-carlo campaign that scores each simulation run against the truth data.

Frequently Asked Questions about elodin-monte-carlo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calibrate a simulation against real telemetry data?

Vendor the raw telemetry with a sanity-checked reference module, replay it as a kinematic truth ghost in the sim, and score every monte-carlo run against truth with RMSE fit metrics. Then narrow the spec.toml parameter ranges around the best-fit run and repeat the campaign.

How do I run a monte-carlo campaign in Elodin?

Define parameter ranges in spec.toml, emit scoring metrics via el.monte_carlo.result in post_step hooks, and run the campaign with elodin monte-carlo. Control concurrency with --workers N and keep the LHS seed fixed while iterating so deltas reflect your changes.

Why does my truth replay ghost show sawtooth motion in Elodin?

The ghost entity was given an el.Body, so physics systems integrate its velocity while replay snaps its position. Spawn the ghost as a StaticSceneObject without el.Body and drive it from an el.SimulationTick playback system instead.

How do I reconstruct missing data channels from incomplete telemetry?

Integrate the vehicle dynamics along the channels you do have, using documented schedules like throttle history for the rest. Calibrate segment-by-segment through documented anchor events so the reconstructed profile passes through known values exactly.

Why are my monte-carlo metrics identically zero or clamped?

Metrics that are too perfect usually mean the measurement is wrong, not that the system is great. Common causes are reading state after it was clobbered post-event or a trivially satisfied criterion — latch event metrics in-sim at the moment the event is detected.