| Aerospace Blockset™ | ![]() |
Implement mathematical representation of 2001 United States Naval Research Laboratory Mass Spectrometer and Incoherent Scatter Radar Exosphere
Environment/Atmosphere

The NRLMSISE-00 Atmosphere Model block implements the mathematical representation of the 2001 United States Naval Research Laboratory Mass Spectrometer and Incoherent Scatter Radar Exosphere (NRLMSISE-00). This block calculates the neutral atmosphere empirical model from the surface to lower exosphere (0 to 1,000,000 meters). When configuring the block for this calculation, you can also take into account the anomalous oxygen, which can affect the satellite drag above 500,000 meters.
Note This block is valid only for altitudes between 0 and 1,000,000 meters (1,000 kilometers). |

Specifies the input and output units:
Units | Temperature | Height | Density |
|---|---|---|---|
Metric (MKS) | Kelvin | Meters | kg/m3, some density outputs 1m3 |
English | Rankine | Feet | lbm/ft3, some density outputs 1/ft3 |
Select this check box to input the local apparent solar time, in hours. Otherwise, the block inputs the default value.
Select this check box to input the 81-day average of F10.7, the daily F10.7 flux for the previous day, and the array of 7 magnetic index information (see the aph argument in the atmosnrlmsise00 function of the Aerospace Toolbox User's Guide). Otherwise, the block inputs the default value.
Specify the variation flag source. If you specify External, you must enter the variation flag as an array of 23. If you specify Internal, the flag source is internal to the block.
Specify the variation flag as an array of 23. This parameter applies only when Source for flags has a value of Internal. You can specify one of the following values for a field. The default value for each field is 1.
0.0
Removes that value's effect on the output.
1.0
Applies the main and the cross-term effects of that value on the output.
2.0
Applies only the cross-term effect of that value on the output.
The array has the following fields.
| Field | Description |
|---|---|
| Flags(1) | F10.7 effect on mean |
| Flags(2) | Independent of time |
| Flags(3) | Symmetrical annual |
| Flags(4) | Symmetrical semiannual |
| Flags(5) | Asymmetrical annual |
| Flags(6) | Asymmetrical semiannual |
| Flags(7) | Diurnal |
| Flags(8) | Semidiurnal |
| Flags(9) | Daily AP. If you set this field to -1, the block uses the entire matrix of magnetic index information (APH) instead of APH(:,1) |
| Flags(10) | All UT, longitudinal effects |
| Flags(11) | Longitudinal |
| Flags(12) | UT and mixed UT, longitudinal |
| Flags(13) | Mixed AP, UT, longitudinal |
| Flags(14) | Terdiurnal |
| Flags(15) | Departures from diffusive equilibrium |
| Flags(16) | All exospheric temperature variations |
| Flags(17) | All variations from 120,000 meter temperature (TLB) |
| Flags(18) | All lower thermosphere (TN1) temperature variations |
| Flags(19) | All 120,000 meter gradient (S) variations |
| Flags(20) | All upper stratosphere (TN2) temperature variations |
| Flags(21) | All variations from 120,000 meter values (ZLB) |
| Flags(22) | All lower mesosphere temperature (TN3) variations |
| Flags(23) | Turbopause scale height variations |
Select this check box to take into account the anomalous oxygen when calculating the neutral atmosphere empirical model from the surface to lower exosphere (0 to 1,000,000 meters). Taking into account this number can affect the satellite drag above 500,000 meters.
Specify if out-of-range input invokes a warning, error, or no action.
| Input | Dimension Type | Description |
|---|---|---|
First | Array | Contains N altitude, in meters. |
Second | Array | Contains N latitudes, in degrees. |
Third | Array | Contains N longitude, in degrees. |
Fourth | Array | Contains N years. |
Fifth | Array | Contains N days of a year (1 to 365 (or 366)). |
Sixth | Array | Contains N seconds in a day, in universal time (UT). |
Seventh | Array | Contains N local apparent solar time, in hours. |
Eighth | Array | Contains N 81-day average of F10.7 flux, centered on day of year (doy). |
Ninth | Array | Contains N daily F10.7 flux for previous day. |
Tenth | N-by-7 array | Contains N-by-7 of magnetic index information. |
Eleventh | Array of 23 | Contains flags to enable or disable particular variations for the outputs. See following table. |
Twelfth | String | Specifies total mass density output. |
Thirteenth | Action | Determines action for out-of-range input. Specify if out-of-range input invokes a 'Warning', 'Error', or no action ('None'). The default is 'Warning'. |
These flags, associated with the eleventh input, enable or disable particular variations for the outputs.
| Field | Description |
|---|---|
| Flags(1) | F10.7 effect on mean |
| Flags(2) | Independent of time |
| Flags(3) | Symmetrical annual |
| Flags(4) | Symmetrical semiannual |
| Flags(5) | Asymmetrical annual |
| Flags(6) | Asymmetrical semiannual |
| Flags(7) | Diurnal |
| Flags(8) | Semidiurnal |
| Flags(9) | Daily AP. If you set this field to -1, the block uses the entire matrix of magnetic index information (APH) instead of APH(:,1) |
| Flags(10) | All UT, longitudinal effects |
| Flags(11) | Longitudinal |
| Flags(12) | UT and mixed UT, longitudinal |
| Flags(13) | Mixed AP, UT, longitudinal |
| Flags(14) | Terdiurnal |
| Flags(15) | Departures from diffusive equilibrium |
| Flags(16) | All exospheric temperature variations |
| Flags(17) | All variations from 120,000 meter temperature (TLB) |
| Flags(18) | All lower thermosphere (TN1) temperature variations |
| Flags(19) | All 120,000 meter gradient (S) variations |
| Flags(20) | All upper stratosphere (TN2) temperature variations |
| Flags(21) | All variations from 120,000 meter values (ZLB) |
| Flags(22) | All lower mesosphere temperature (TN3) variations |
| Flags(23) | Turbopause scale height variations |
The F107 and F107A values that are used to generate the model correspond to the 10.7 cm radio flux at the actual distance of the Earth from the Sun rather than the radio flux at 1 AU. The following site provides both classes of values:
ftp://ftp.ngdc.noaa.gov/STP/SOLAR_DATA/SOLAR_RADIO/FLUX/
![]() | Non-Standard Day 310 | Pack net_fdm Packet for FlightGear | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |