araujolma / SOAR

7 stars 5 forks source link

Enhance the atmospheric density model #99

Open araujolma opened 4 years ago

araujolma commented 4 years ago

The current code makes the density vanish immediately (i.e., turn to 0.0) whenever the altitude is above 84852 meters. Not only this is wrong, it is bad for numerical reasons.

After discussing this with the team, we decided it would be better to do 0-order extrapolation after the last reference altitude (keep the density constant) first, and then study the ISA model a little better and implement some kind of negative exponential model.

However, my version of itsme did not converge with the 0-order extrapolation. I will do a PR and hopefully we can sort this out, right @CarlosCHMS ?