main content

use international standard atmosphere model -凯发k8网页登录

use international standard atmosphere model

description

example

[t,a,p,rho,nu] = atmosisa(height) implements the mathematical representation of the international standard atmosphere values for ambient temperature, t, pressure, p, speed of sound, a, ,density, rho, and kinematic viscosity, nu, for the input geopotential altitude, height, between the sea level and the tropopause.

[t,a,p,rho,nu] = atmosisa(height,name=value) specifies options using one or more name-value arguments. for example, to input geopotential altitude between -5000 meters and the mesopause, set extended to true.

examples

calculate the international standard atmosphere at 1000 m.

[t, a, p, rho] = atmosisa(1000)
t = 281.6500
a = 336.4341
p = 8.9875e 04
rho = 1.1116

calculate the international standard atmosphere at 1000, 11,000, and 20,000 m with extended=true to implement the mathematical representation of the international standard atmosphere values to between -5000 meters and the mesopause..

[t, a, p, rho] = atmosisa([1000 11000 20000],extended=true)
t = 1×3
  281.6500  216.6500  216.6500
a = 1×3
  336.4340  295.0695  295.0695
p = 1×3
104 ×
    8.9875    2.2632    0.5475
rho = 1×3
    1.1116    0.3639    0.0880

input arguments

geopotential heights, specified as an m-by-n array.

data types: double

name-value arguments

specify optional pairs of arguments as name1=value1,...,namen=valuen, where name is the argument name and value is the corresponding value. name-value arguments must appear after other arguments, but the order of the pairs does not matter.

before r2021a, use commas to separate each name and value, and enclose name in quotes.

example: extended,false implements the mathematical representation of the international standard atmosphere values for ambient temperature, pressure, density, speed of sound, and kinematic viscosity for the input geopotential altitude between the sea level and the tropopause.

mathematical representation between sea level and tropopause, specified as false or true. set extended to false or to 'off' implement the mathematical representation of the international standard atmosphere values for ambient temperature, pressure, density, speed of sound, and kinematic viscosity for the input geopotential altitude between the sea level and the tropopause.

set extended to true or 'on' to implement the mathematical representation of the international standard atmosphere values for ambient temperature, pressure, density, speed of sound, and kinematic viscosity for the input geopotential altitude between -5000 meters and the mesopause.

function behavior when inputs are out of range, specified as one of these values.

valuedescription
'none'no action.
'warning'warning in the matlab® command window and model simulation continues.
'error'matlab returns an exception and model simulation stops.

dependencies

the atmosisa function takes the action into account when 'extended' is set to 'true'.

output arguments

temperatures, returned as an m-by-n array, in kelvin.

speeds of sound, returned as an m-by-n array, in meters per second. the function calculates speed of sound using a perfect gas relationship.

pressures, returned as an m-by-n array, in pascal.

densities, returned as an m-by-n array, in kilograms per meter cubed. the function calculates density using a perfect gas relationship.

kinematic viscosity, returned as an m-by-n array, in m2/s.

limitations

set upper and lower limits for geopotential altitudes using the 'extended' name-value argument.

  • if the 'extended' flag is set to 'false', the function clips the output values below the geopotential altitude of 0 meters and above the geopotential altitude of the tropopause at 20,000 meters.

  • if the 'extended' flag is set to 'true', the function limits the implementation to the geopotential altitude of -5000 meters (minimum) and the mesopause at 84,852 meters (maximum).

if the action input is 'error', an input geopotential height outside these limits results in error. if the action input is 'warning' or 'none', the outputs are held at the limits.

references

[1] u.s. standard atmosphere, 1976. u.s. government printing office, washington, d.c.

version history

introduced in r2006b

see also

| | | |

网站地图