MIT-LAE / TASOPT.jl

Medium fidelity aircraft-propulsion system design and optimization.
https://mit-lae.github.io/TASOPT.jl/
MIT License
26 stars 14 forks source link

Modified atmosphere model for different sea-level temperatures #42

Closed ngomezve closed 5 months ago

ngomezve commented 5 months ago

This PR modifies the atmosphere model in TASOPT to model different sea-level temperatures. In the model, the pressure distribution in the atmosphere from standard sea-level conditions is maintained and the sea level temperature is modified to match the desired temperature at the takeoff altitude. The density, speed of sound, and viscosity of air are modified accordingly.

The new atmosphere model replaces the old corrections in mission() for different takeoff temperatures. It is integrated into the hydrogen tank models, which may be designed for a different SL temperature than the rest of the airframe.

The default, regional and widebody TOML files have been modified (TO temperature changed from 288 to 288.2 K) so that the new and old models give the same results. The test files have been updated accordingly.

ngomezve commented 5 months ago

I rewrote the code so that the atmos input is DeltaT instead of TSL