Simulink model of the HAB's control logic and flight physics simulation.
- Tweak simulation parameters and controller settings in
configure_simulation.m
- Run
configure_simulation.m
- Open
ascent_simulation.slx
in Simulink - (Optionally) Open the Data Inspector to view simulation data
- (Optionally) Run the model and plot in 3D on a globe with
run_simulation.m
Simulate a flight path using GFS data by setting use_std_atmo=false
,
otherwise the simulation assumes a COESA 1976 standard atmosphere. If this
setting is true, running configure_simulation.m
will query GFS
for weather data close to the specified simulation start time and interpolate
it for use a lookup table when the model runs. The data is stored in a subdir
of the current working directory.
For standard atmosphere flight model:
- MATLAB + Simulink (Designed and tested on R2020a)
For optional flight model using GFS weather data:
- NCToolbox for reading GFS grib files. Must be placed adjacent to this repo's directory
- MATLAB Mapping Toolbox for plotting flight path on the globe
This tools was created as a design aid and exploration tool to support the control system design for Brickworks/mfc_apps.
More documentation available upon request!