Seminar paper · HAW Hamburg
Flight simulator
Built in MATLAB/Simulink for ADAPT
A flight simulator for the aircraft of our team ADAPT in the DLR Design Challenge. With it we checked the results of our FAST-OAD design independently, from the takeoff run to the split powertrain. It is flown by joystick or by autopilot and shows the flight in FlightGear. Written as a seminar paper by a team of four students.
- Team4 students
- SemesterSummer 2026
- Model6-DoF
- Flight modesJoystick, autopilot
The project
In the DLR Design Challenge 2026 our team ADAPT designed a flight test aircraft for hydrogen propulsion research and sized it with FAST-OAD. We wanted to check those results independently: how long is the takeoff run, and are the battery’s capacity and power enough for the mission? For that we needed a simulation that takes a new design without being rebuilt by hand each time.
We did not start from zero. The De Havilland Beaver model from MATLAB’s Aerospace Blockset already links the environment, aerodynamics, propulsion and the equations of motion in six degrees of freedom. We kept that frame and turned it step by step into a model of our own aircraft.
Tools
- MATLAB
- Simulink
- Simscape
- Aerospace Blockset
- OpenVSP
- VSPAERO
- FAST-OAD
- Python
- FlightGear
- Excel
What we added
-
Joystick and autopilot
A switch picks the mode. With a joystick the aircraft is flown by hand in real time. The autopilot flies a whole mission from a table and holds altitude and speed with PID controllers on the elevator and the thrust.
-
Hybrid powertrain
A hydrogen fuel cell from Simscape and a battery share the power, simulated in detail. That showed whether the battery’s capacity and power are enough, and each source switches off when it runs empty. The electric motor stays the same, and a switch changes only its energy source.
-
Landing gear and takeoff run
Ground forces, wheel speeds, brakes and tyre temperatures for takeoff, landing and a rejected takeoff, so the simulation also gives the takeoff distance. A weight on wheels switch notices when the aircraft lifts off.
-
Aerodynamics
The aerodynamic data come from a vortex lattice analysis in OpenVSP and VSPAERO, run automatically over angle of attack and sideslip, and are checked against FAST-OAD.
-
Data straight from the design
Geometry, masses and centre of gravity are read from the FAST-OAD output into MATLAB automatically. A new design variant needs no values typed in by hand, so many variants can run one after another.
-
A view in FlightGear
The simulated flight is shown live in FlightGear. That makes it easy to judge how a design flies, above all when it is flown by joystick.
The result
The finished model runs stable in a closed loop, flies the mission profiles from the table and behaves plausibly on the ground and in the air. It gave us an independent check of the FAST-OAD results, for example of the takeoff distance and the battery, and is a base for flying and comparing many design variants automatically.
Its aerodynamics hold in the normal flight range. Stall, compressibility and unsteady effects are left out.
The team
Four students of Aeronautical Engineering at HAW Hamburg.
Supervised by Prof. Dr.-Ing. Thomas Netzel.