Aviary icon indicating copy to clipboard operation
Aviary copied to clipboard

Aviary internal atmosphere model with humidity and temperature delta options

Open jphorton opened this issue 3 months ago • 2 comments

Summary

Adds atmos_1976.py to /subsystems/atmosphere, which is obtained from dymos. The model has been modified to include options to output absolute humidity and correct the atmosphere for temperature delta from ISA standard day conditions. A temperature correction has been applied to the computed values, since the tables assume a fixed temperature for a given altitude.

The current setup does not account for attenuation of the temperature delta with increasing altitude (which ends at the tropopause), so this option must be toggled manually by the user to accurately represent real atmosphere conditions.

Please check my math for the temperature corrections if possible. I have run some independent testing and seen good lineup, but I have not fully verified the derivative calculations. I am also seeing a slight deviation in the temperature-corrected viscosity compared to 1976 atmosphere table calculators, which I believe to be due to loss of significant digits from Sutherland's constant for air. I don't expect this to impact anything in Aviary, but it might be able to be improved.

Related Issues

None

Backwards incompatibilities

None

New Dependencies

None

jphorton avatar Oct 02 '25 22:10 jphorton

Should the doc pages be updated?

xjjiang avatar Nov 05 '25 02:11 xjjiang

I spoke to Jess about adding a small test to this, just to verify a couple of value against a db somewhere so that we don't break it.

Kenneth-T-Moore avatar Nov 20 '25 16:11 Kenneth-T-Moore

Closing this for now. A new PR that combines this with the MIL-STD atmosphere is being prepared by Eliot and Jess.

Kenneth-T-Moore avatar Dec 04 '25 15:12 Kenneth-T-Moore