主要内容

国际地磁参考字段

Calculate Earth magnetic field and secular variation using International Geomagnetic Reference Field

  • Library:
  • 航空空间 /环境 /重力

  • 国际地磁参考场块

描述

The国际地磁参考字段block calculates the Earth magnetic field and secular variation using the selected International Geomagnetic Reference Field generation. It calculates the Earth magnetic field and secular variation at a position and time using the selected International Geomagnetic Reference Field generation.

限制

  • This block is valid between the heights of -1000 m and 5.6 Earth radii (35,717,567.2 m).

  • 该块在这一年有效:

    • IGRF-13 model — 1900 and 2025

    • IGRF-12 model — 1900 and 2020

    • IGRF-11型号 - 1900年和2015年

  • 如果十进制一年不在一代人的有效范围之内,则国际地磁参考字段块线性地将磁场推断到遥远的小数年。

  • For additional limitations, see :

    The International Geomagnetic Reference Field: A "Health" Warning

端口

输入

expand all

高度,在选定单元中指定为标量。

Data Types:double

Latitude, specified as a scalar in degrees. This block accepts latitude values greater than 90 and less than -90.

Data Types:double

Longitude, specified as a scalar, in degrees. This block accepts ranges greater than 180 and less than -180.

Data Types:double

以十进制格式获得的期望年,包括已经过去的任何一年中的任何一部分。该价值是当前年份,加上今年过去的天数除以365。dyear, for March 21, 2015:

dyear=decyear('21-March-2015','dd-mmm-yyyy')

Dependencies

要启用此端口,请选择输入十进制.

Data Types:double

Output

expand all

Magnetic field, returned as a vector, in selected units. The components of this vector are in the north-east-down (NED) reference frame.

Data Types:double

水平强度,以标量为标量,以选定的单位返回。

Data Types:double

Declination, returned as a scalar, in degrees.

Data Types:double

倾斜度,以标量为标量。

Data Types:double

Total intensity, returned as a scalar, in selected units.

Data Types:double

磁场的世俗变化,每年以选定单位为矢量返回。

Dependencies

要启用此端口,请选择输出世俗变化.

Data Types:double

Secular variation of horizontal intensity, returned as a scalar, in selected units per year.

Dependencies

要启用此端口,请选择输出世俗变化.

Data Types:double

Secular variation of declination, returned as a scalar, in minutes per year.

Dependencies

要启用此端口,请选择输出世俗变化.

Data Types:double

世俗的倾向变化,每年以标量为标量返回。

Dependencies

要启用此端口,请选择输出世俗变化.

Data Types:double

总强度的世俗变化, returned as a scalar, in selected units per year.

Dependencies

要启用此端口,请选择输出世俗变化.

Data Types:double

Parameters

expand all

国际地磁参考现场生成,选自IGRF-13,IGRF-12, orIGRF-11.

Programmatic Use

块参数:generation
类型:character vector
Values:'IGRF-13'|'igrf-11'|'igrf-12'
默认:'IGRF-13'

Data Types:char|string

Parameter and output units, specified as:

单位

高度

公制(MK)

Meters

英语

Programmatic Use

块参数:单位
类型:character vector
Values:“公制(MK)”|'English'
默认:“公制(MK)”
  • 要使用输入端口指定小数年,请选择此复选框。

  • To specify the decimal year using the values ofMonth,, 和Year,清除此复选框。

Dependencies

To enableMonth,, 和Year,清除此参数。

Programmatic Use

块参数:time_in
类型:character vector
Values:'on'|'离开'
默认:'on'

Month to calculate decimal year.

Dependencies

To enable this parameter, clear输入十进制.

Programmatic Use

块参数:month
类型:character vector
Values:'一月'|'二月'|'行进'|'April'|'May'|'June'|'七月'|'August'|'九月'|'October'|'十一月'|'December'
默认:'一月'

计算十进制的一天。

Dependencies

To enable this parameter, clear输入十进制.

Programmatic Use

块参数:
类型:character vector
Values:'1'to'31'
默认:'1'

计算十进制的年份,指定为1900to2020.

Dependencies

To enable this parameter, clear输入十进制.

Programmatic Use

块参数:一年
类型:character vector
Values:any year
默认:'2020'

Out-of-range block behavior, specified as follows:

Action 描述
没有任何 没有行动。
警告 警告Matlab®命令窗口,模型模拟继续。
错误(default) MATLAB returns an exception, model simulation stops.

Programmatic Use

Block Parameter:action
类型: character vector
Values:'None'|'Warning'|'错误'
默认:'错误'

选择此复选框,以实现具有非十分方差的世俗方差(年度变化率)的输出。否则,请清除此复选框。

Secular Variance 描述

Magnetic Field

Magnetic field vector, in nanotesla (nT).Zis the vertical component (+ve down)

水平强度

Horizontal intensity, in nanotesla (nT)

Declination

赤纬,在度(+ ve东)

Inclination

Inclination, in degrees (+ve down)

总强度

Total intensity, in nanotesla (nT)

SV磁场

Secular variation of magnetic field

SV Horizontal Intensity

Secular variation of horizontal intensity

SV Declination

Secular variation of declination, the angle between true north and the magnetic field vector (positive eastward)

SV倾斜度

Secular variation of inclination, the angle between the horizontal plane and the magnetic field vector (positive downward)

SV Total Intensity

总强度的世俗变化

清除此复选框以启用非十分差异:

  • Magnetic Field

  • 水平强度

  • Declination

  • Inclination

  • 总强度

Programmatic Use

块参数:SV_OUT
类型:character vector
Values:'on'|'离开'
默认:'on'

Extended Capabilities

C/C ++代码生成
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2020b