-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
timeout187 edited this page Jul 9, 2026
·
1 revision
- Python 3.11+ (earlier 3.x likely works but is untested)
pip
git clone https://github.com/timeout187/RocketDynamicsLab.git
cd RocketDynamicsLab
pip install -r requirements.txtThis installs: numpy, scipy, plotly, pandas, streamlit, pytest.
streamlit run src/gui/app.pyThis opens the multipage lab notebook in your browser at
http://localhost:8501, with pages for Coordinate Frames, State Variables,
Forces and Moments, Equations of Motion, Numerical Integrator, Atmosphere,
Aerodynamics, Sensitivity Analysis, Visualization, and Simulation Results.
Standalone scripts under examples/ need no Streamlit:
python examples/run_nominal_trajectory.py
python examples/timestep_sensitivity.py
python examples/rk4_vs_solve_ivp.py
python examples/dispersion_sweep.py "Air density"pytest tests/ -q18 tests cover coordinate-frame transforms, atmosphere physics, integrator convergence order, full-trajectory behavior, and the dispersion module.
-
ModuleNotFoundError: No module named 'simulator'— make sure you run scripts from the repository root, or via theexamples/*.pyscripts (which addsrc/tosys.paththemselves). -
Streamlit page shows a traceback — check you're on the
pip install -r requirements.txtversions; the GUI targets Streamlit 1.32+. -
A trajectory "diverges" (huge/NaN numbers) — this is often
intentional! See the FAQ and
docs/numerical-methods.md— the Numerical Integrator lab page is specifically designed to let you push timesteps until Euler (and eventually RK4) becomes unstable.
RocketDynamicsLab