Amortized Inference for Model Rocket Aerodynamics: Learning to Estimate Physical Parameters from Simulation

Rohit Pandey, Rohan Pandey · 2025

Read Amortized Inference for Model Rocket Aerodynamics: Learning to Estimate Physical Parameters from Simulation by Rohit Pandey, Rohan Pandey (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2512-22248.txt.

Introduction

Rohit Pandey and Rohan Pandey teach a neural network to estimate model rocket aerodynamics without any real flight training data. Predicting a rocket's peak altitude needs drag and thrust parameters that are hard to measure directly. Simulators can generate unlimited synthetic flights, though. Their network trains on ten thousand simulated flights, learning to invert the physics: from one measured apogee plus motor and design features, it predicts the drag coefficient and a thrust correction factor.

Tested on eight real flights, the model predicted apogee with a mean absolute error of 12.3 metres and no fine-tuning on real data. Its predictions ran systematically high, which usefully measures the gap between idealized physics and real conditions. It also beat OpenRocket baseline predictions, and the code is public for the amateur rocketry community.

Catalog record

CREATORRohit Pandey, Rohan Pandey
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE18 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2512-22248

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Amortized Inference for Model Rocket Aerodynamics: Learning to Estimate Physical Parameters from Simulation Rohit Pandey, Rohan Pandey Abstract Accurate prediction of model rocket flight performance requires estimating aerodynamic parameters that are difficult to measure directly. Traditional approaches rely on computational fluid dynamics or empirical correlations, while data-driven methods require extensive real flight data that is expensive and time-consuming to collect. We present a simulation-based amortized inference approach that trains a neural network on synthetic flight data generated from a physics simulator, then applies the learned model to real flights without any fine-tuning. Our method learns to invert the forward physics model, directly predicting drag coefficient and thrust correction factor from a single apogee measurement combined with motor and configuration features. In this proof-of-concept study, we train on 10,000 synthetic flights and evaluate on 8 real flights, achieving a mean absolute error of 12.3 m in apogee prediction—demonstrating promising sim-to-real transfer with zero real training examples. Analysis reveals a systematic positive bias in predictions, providing quantitative insight into the gap between idealized physics and real-world flight conditions. We additionally compare against OpenRocket baseline predictions, showing that our learned approach reduces apogee prediction error. Our implementation is publicly available to support reproducibility and adoption in the amateur rocketry community. Keywords: Amortized inference, Sim-to-real transfer, Model rocketry, Physics-informed machine learning. 1 Introduction Model rocketry presents a challenging parameter estimation problem: accurately predicting flight performance requires knowledge of aerodynamic coefficients that cannot be easily measured without specialized equipment. The drag coefficient C_{d} , which determines aerodynamic resistance, depends on complex interactions between rocket geometry, surface finish, and flow conditions. Similarly, commercial rocket motors exhibit batch-to-batch thrust variations that deviate from manufacturer specifications [ 2 ] . Traditional simulation tools like OpenRocket [ 10 ] compute C_{d} from geometric primitives using empirical correlations derived from wind tunnel studies [ 5 , 1 ] , but these estimates often diverge significantly from real-world performance due to manufacturing imperfections and unmodeled effects. Data-driven calibration methods can improve accuracy but require multiple instrumented flights—a costly proposition when each launch risks vehicle loss. Research Motivation. Existing simulation-based inference methods [ 3 ] typically require either rich observational data (full trajectories, multiple sensors) or iterative optimization at inference time. In amateur rocketry, practitioners often have access to only a single scalar measurement—apogee altitude from a barometric altimeter—and need instant parameter estimates without computational overhead. No existing method addresses this extreme data-sparse regime with single-pass inference. Proposed Methodology. We propose amortized inference from synthetic data: training a neural network to predict aerodynamic parameters from flight outcomes using only simulated data. The key insight is that while a single apogee measurement alone cannot uniquely determine two physical parameters, the combination of apogee with known flight configuration (motor specifications, rocket mass) provides sufficient constraints for useful inference. A physics simulator, while imperfect, captures the essential input-output relationships that govern rocket flight. A neural network trained on diverse simulated flights learns to invert this mapping, enabling instant parameter estimation from minimal observations. Contributions. Our contributions are as follows: • We formulate model rocket parameter estimation as an amortized inference problem and demonstrate that neural networks can learn to invert physics simulations from sparse observations (single apogee measurement plus configuration features). • In a proof-of-concept evaluation on 8 real flights, we show promising sim-to-real transfer: a model trained entirely on synthetic data achieves 12.3 m mean absolute error without any fine-tuning, outperforming OpenRocket baseline predictions by 38%. • We identify and quantify a systematic positive bias in predictions, providing insight into the gap between idealized physics and real-world conditions. • We release our implementation at https://github.com/RohitPandey1729/PINN-Parameter-Estimation to support reproducibility. 2 Related Work Simulation-Based Inference. Simulation-based inference (SBI) methods learn to perform statistical inference using forward simulators rather than explicit likelihood functions [ 3 ] . Neural density estimation approaches, including normalizing flows [ 11 ] and neural posterior estimation [ 4 ] , have achieved strong results in physics applications. These methods typically operate with rich observational data and produce full posterior distributions. Our work applies amortized inference principles to a new domain—model rocketry—using a discriminative approach optimized for the extreme data-sparse regime of single-measurement inference. Physics-Informed Machine Learning. Physics-informed neural networks (PINNs) embed physical constraints directly into neural network training [ 12 , 7 ] . While PINNs excel at solving forward and inverse problems for partial differential equations, our setting differs: we use a traditional numerical integrator as a black-box simulator and train a separate neural network to invert its input-output relationship. System Identification in Aerospace. Classical system identification methods estimate aerodynamic parameters from flight test data using output-error formulations [ 6 , 9 ] . These methods typically require high-frequency sensor data (accelerometers, rate gyros) and multiple maneuvers. Our approach operates in a more constrained regime—a single scalar apogee measurement per flight—enabled by strong inductive biases from simulation pre-training. 3 Rocket Flight Physics We consider vertical flight of a model rocket subject to thrust, drag, and gravity. The equations of motion are: \displaystyle\frac{dh}{dt} \displaystyle=v (1) \displaystyle m(t)\frac{dv}{dt} \displaystyle=T(t)-D(v,h)-m(t)g (2) where h is altitude, v is velocity, m(t) is time-varying mass, T(t) is thrust, D is drag force, and g is gravitational acceleration. 3.1 Aerodynamic and Thrust Models Aerodynamic drag follows the standard quadratic form: D(v,h)=\frac{1}{2}\rho(h)v|v|C_{d}A (3) where C_{d} is the drag coefficient, A is the reference area (cross-sectional), and \rho(h) is air density, modeled using an exponential approximation with scale height H=8500 m. Motor thrust is modeled with a characteristic ramp-up and decay profile: T(t)=\alpha\cdot T_{\text{nominal}}(t) (4) where \alpha is a thrust correction factor accounting for motor-to-motor variability (nominally \alpha=1.0 ) and T_{\text{nominal}}(t) is derived from manufacturer specifications. 3.2 Model Assumptions and Limitations Our physics model makes several simplifying assumptions to facilitate training. We assume purely vertical trajectories, neglecting wind-induced drift and weathercocking. The drag model assumes quiescent air, ignoring wind vector addition. Furthermore, C_{d} is treated as constant, although it varies with Mach and Reynolds numbers. While these simplifications preserve the qualitative input-output relationships required for the network to learn, they introduce systematic biases when applied to real-world flights, which we analyze in Section 6 . 3.3 Forward Simulation Given parameters \theta=(C_{d},\alpha) and flight configuration (motor type, rocket mass), we integrate Equations 1 – 2 using an adaptive Runge-Kutta method (RK45) to obtain the apogee altitude: h_{\text{max}}=f_{\text{sim}}(\theta;\text{config}) (5) The inverse problem is to estimate \theta given an observed h_{\text{max}} . 4 Methodology Our approach consists of three stages: (1) synthetic data generation via physics simulation, (2) neural network training for amortized inference, and (3) application to real flight data. 4.1 Problem Formulation and Identifiability Estimating two parameters ( C_{d} , \alpha ) from a single scalar observation (apogee) is generally under determined. However, the neural network receives a five-dimensional input that includes motor specifications and rocket mass. This constrains the problem via physics-based constraints (drag and thrust have distinct temporal signatures) and prior regularization (implicit priors from the training distribution). We do not claim unique parameter recovery, but rather a useful point estimate for prediction. 4.2 Synthetic Data Generation We generate training data by sampling physical parameters from prior distributions and simulating the resulting flights. For each synthetic flight i : 1. Sample coefficients: C_{d}^{(i)}\sim\mathcal{U}(0.3,0.9) , \alpha^{(i)}\sim\mathcal{U}(0.8,1.2) . 2. Sample motor

Read the complete text