MATLAB Answers

Output values from the NRLMSISE-00 atmosphere model don't work in the same simulation

3 views (last 30 days)
Jeff Woolfe
Jeff Woolfe on 28 Apr 2015
Answered: Meysam Mahooti on 26 May 2021
For the purpose of a satellite orbit simulation I am using the NRLMSISE-00 atmosphere model from the Simulink Aerospace blockset to calculate the general density (output 6 out of 9 is the only output I use, the rest are terminated, including the temperature). The simulation runs fine and I recieve reasonable values when outputted directly to the workspace. The problem starts when I try and use the density value in the same simulation. When I do this the simulation never ends and stops running on the 17th iteration. I see this only when I cancel the simulation (ctrl+c). If I don't cancel the simulation it doesn't finish or show any errors. The output value is a 1X1XN array so I tried to convert the array to a standard 1XN array but it still made no difference. At the moment what I do is run the simulation on the atmosphere and save the output array, then run the rest of the simulation and use the saved values from the previous run, this is very time consuming and inefficient. Any ideas?
Jeff W

Answers (1)

Meysam Mahooti
Meysam Mahooti on 26 May 2021
https://www.mathworks.com/matlabcentral/fileexchange/56253-nrlmsise-00-atmosphere-model?s_tid=srchtitle

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!