← All projectsGitHub
Digital twins & sim-to-real

A rigid-body twin of a cart carrying liquid predicts no slosh: how wrong is that, what does a slosh-safe move cost, and what does a stale frequency calibration do to it?

research/slosh-twin

A rigid twin of a cart carrying liquid predicts zero slosh: minimum-time move leaves 10.7 cm (10× tolerance), slosh-safe move is 55% slower, and a full-tank frequency calibration fails at low fill (28 s vs 8.7 s recalibrated; tuning-free bound 24.7 s).

12 tests

What it found

Real cart: 80 kg body with a damped spring-mass slosh mode (20 kg liquid, 0.5 Hz at full fill); twin: one rigid mass. The twin gets the centre of mass exactly (RK4 error ~10−14 m) but predicts zero slosh; for a bang-bang rest-to-rest move the real residual is 4μa0sin2(ωT/4)/ω2, matched by exact propagation and RK4. The twin’s minimum-time move (3 m, 4.90 s) leaves 10.7 cm of slosh, 10× a 1 cm tolerance; the fastest move meeting it takes 7.60 s (55% slower) because zero-residual times are whole multiples of two slosh periods. Calibrating ω at a full tank is harmless down to half fill (−5% frequency, 9.5 mm) but at 25% fill the smallest safe null-tuned move takes 28 s vs 8.7 s recalibrated, worse than the tuning-free bound 24.7 s; at fixed acceleration the first unsafe null order is exactly ⌊asin(√ρ)/(π|ε|)⌋+1. Stylised: one linear slosh mode, bang-bang force, no shaper optimisation, no nonlinear slosh.

A figure from its own output

Figure produced by research/slosh-twin: residual_vs_fill
slosh-twin/experiments/residual_vs_fill.svg, written by the project's own experiment code.

Paper, code and results

More in Digital twins & sim-to-real

All 164 Digital twins & sim-to-real projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.