All projects
// ANALYSIS · 2025
Carnival Ride Dynamics & Torque Simulation
3D multi-body equations of motion, RK4 MATLAB solver, and VPython visualization

- SYSTEM
- 3D Multi-Body
- FORMULATION
- 12 Coupled EOMs
- NUMERICAL METHOD
- RK4 Solver
- VISUALIZATION
- 3D VPython
Problem
Model the coupled 3D dynamics of a tilted rotating disk with cable-suspended seats—including aerodynamic drag—to find a two-stage torque profile that accelerates the ride from rest to 60 deg/s in 15 seconds and holds steady speed.
Approach
- 01Derived 12 coupled equations of motion by hand across five coordinate frames using free-body and kinetic diagrams for the tilted disk and suspended seat.
- 02Formulated a 12×12 linear system solved at every 0.001 s time step using a fourth-order Runge-Kutta (RK4) solver in MATLAB.
- 03Iteratively tuned a step-torque input to hit the 15-second ramp target and swept disk tilt angles from 0° to 15° to quantify cyclic swings in reaction forces and seat angles.
- 04Leveraged AI to build a 3D VPython visualization driven by exported MATLAB state data to verify the motion of the disk, cable, and seat.
Gallery
3D VPython simulation of the tilted swing ride and seat trajectory
Results
- Determined an optimal torque profile of 2200.3 N·m for the first 15 seconds followed by 2260 N·m steady-state to maintain 60 deg/s.
- Showed that increasing disk tilt up to 15° amplifies peak-to-peak variations in seat swing and pivot loads (reaching ~5.8 kN force and ~6 kN·m moment).
- Verified the model visually in VPython and documented the full derivation in a formal technical report.