Standard Atmosphere Functions

版本 2.2 (12.9 KB) 作者: Sky Sartorius
Standard atmosphere gas properties. Support for n-dim inputs, non-standard atmospheres, units, etc.
10.0K 次下载
更新时间 2021/10/19

Standard atmosphere functions based on the 1976 Standard Atmosphere. Returns density, speed of sound, temperature, pressure, and viscosity for a given altitude input up to 86 km.

Functions are designed to be useful for those designing and analyzing aircraft and have the following features:

•Inputs may be scalar, vector, matrix, or n-dimensional arrays. Functions are vectorized and fast for computing conditions at a large number of points simultaneously. Especially for n-dimensional problems, it is faster than the built-in atmosisa that comes with the aerospace toolbox.

•Temperature offset option for non-standard atmospheres, e.g analyzing hot day aircraft performance.

•Absolute temperature option for non-standard atmospheres, e.g for when OAT is known.

•Either SI or imperial units (and easy to set your preferred default).

•Units consistency can be enforced by using the Physical Units Toolbox, reducing errors and making code clearer.

•Returns everything needed to easily determine important parameters such as dynamic pressure, Mach number, Reynolds number, stagnation temperature, etc.

•Option for geometric instead of geopotential altitude input.

•Density altitude function allows reverse lookup of altitude based on gas properties.

•Stripped-down, troposphere-only function included for when computation speed is a priority.

References: ESDU 77022; www.pdas.com/atmos.html

引用格式

Sky Sartorius (2024). Standard Atmosphere Functions (https://github.com/sky-s/standard-atmosphere), GitHub. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Guidance, Navigation, and Control (GNC) 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
2.2

deprecated stdatmo function (use atmos instead)

2.1.0.0

Merged with densityalt (39325) and moved to GitHub. Absolute temperature capability added.

2.0.0.0

stdatmo superseded by atmos (stdatmo still included in package because of slightly different input syntax).
atmos has a more elegant coding scheme all around
Super-quick, troposphere-only tropos included in the package.

1.23.0.0

minor

1.22.0.0

capabilities of stdatmodim integrated into main function; documentation and example

1.21.0.0

Added STDATMODIM wrapper function and updated documentation.

1.20.0.0

tiny changes to help and input handling; improved vectorization; tested in 2012b

1.19.0.0

Imperial unit temperature offset now in F/R instead of C/K

1.14.0.0

fixed error that occurred when using 5 output arguments

1.13.0.0

Minor changes. Tested in R2010a. Added another example to help.

1.12.0.0

A bit quicker for troposphere only problems; fixed small units bug.

1.11.0.0

Added a section such that troposphere-only simple function calls are a bit faster

1.9.0.0

Final output, Hgeop, changed to ZorH, and is geometric altitude for geopotential input, and geopotential for geometric input. Code made a bit more succinct.

1.8.0.0

Now substantially faster than earlier versions and ATMOSISA. Cleaned up help and setup for Example 1.

1.6.0.0

Changed handling of units to be more intuitive and added feature to allow different units for input and output. Earlier version syntax works as before.
Two examples added to help.

1.3.0.0

Update to references and improved input handling

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库