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 ?
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 ?