Documentation

Horizontal Wind Model 14

Implement Horizontal Wind Model 14

  • Library:
  • Environment / Wind

Description

The Horizontal Wind Model 14 block implements the U.S. Naval Research Laboratory (HWM™) routine to calculate the meridional and zonal components of the wind for a set of geophysical data: latitude, longitude, and altitude.

Limitation

For code generation, use this block only for targets whose type is int 32 or higher.

Ports

Input

expand all

The input specifies the geodetic latitude (μ), longitude (l), and geopotential altitude (h) where the block implements the model.

Latitude and longitude values are in degrees.

The altitude value is in the units you selected in the Units parameter. Specify the altitude element as a value between 0 and 500 km.

The input specifies the day of year in Universal Coordinated Time (UTC). The input specifies the day as a value between 1 and 366 (for a leap year).

Contains elapsed seconds since midnight for the selected day, in UTC.

Contains the Ap index for the Universal Time (UT) when the block evaluates the model. Select the index from the NOAA National Geophysical Data Center, which contains 3 hour interval geomagnetic disturbance index values. If the Ap index value is greater than zero, the software takes into account magnetic effects during model evaluation.

Output

expand all

The wind velocity vector contains the meridional and zonal wind components in that order.

Parameters

expand all

Specify the input and output units. The units you select determine the input and output wind speed and velocity, as shown in the table.

Units

Wind Speed

Wind Velocity

Metric (MKS)

Meters per second

Meters per second

English (Velocity in ft/s)

Feet per second

Feet per second

English (Velocity in kts)

Knots

Knots

Select the horizontal wind model type for which to calculate the wind components.

  • Quiet

    Calculate the horizontal wind model without the magnetic disturbances. For this model type, do not input an Ap index value.

  • Total

    Calculate the combined effect of the quiet and magnetic disturbances. For this model type, input Ap index values greater than or equal to zero.

  • Disturbance

    Calculate the effect of magnetic disturbances in the wind. For this model type, input Ap index values greater than or equal to zero.

Specify the block behavior when the block inputs are out of range.

ValueDescription

Error (default)

MATLAB® returns an exception, and model simulation stops. For Accelerator and Rapid Accelerator modes, setting the action to Error has no effect and the model behaves as though the action is set to None.

Warning

Warning in the Diagnostic Viewer, and model simulation continues. For Accelerator and Rapid Accelerator modes, setting the action to Warning has no effect and the model behaves as though the action is set to None.

None

No action. The block imposes upper and lower limits on an input signal.

Introduced in R2016b

Was this topic helpful?