 # Comparing Zonal Harmonic Gravity Model to Other Gravity Models

by admin in on April 3, 2019

This example shows how to examine the zonal harmonic, spherical and 1984 World Geodetic System (WGS84) gravity models for latitudes from +/- 90 degrees at the surface of the Earth. All the down described equations and steps are exists in the Matlab files, that you will download after the checkout.

## Contents

• Determine Earth-Centered Earth-Fixed (ECEF) Position
• Compute Zonal Harmonic Gravity for Earth
• Calculate WGS84 Gravity
• Determine Gravity for Spherical Earth
• Comparison Plots for Different Gravity Models
• Compare Gravity Models with Centrifugal Effects
• Compute Gravity Centrifugal Effects for Earth
• Calculate WGS84 Gravity with Centrifugal Effects
• Comparison Plots for Different Gravity Models with Centrifugal Effects

## Determine Earth-Centered Earth-Fixed (ECEF) Position

Since ECEF coordinate system is geocentric, you can use spherical equations to determine the position from the latitude, longitude and geocentric radius.

Calculate the geocentric radii in meters at an array of latitudes from +/- 90 degrees using geocradius. Because longitude has no effect for zonal harmonic gravity model, assume that the y position is zero.

``` x = r.*cos(rlat); y = zeros(size(x)); ```

## Compute Zonal Harmonic Gravity for Earth

Use gravityzonal to calculate array of zonal harmonic gravity in ECEF coordinates for array of ECEF positions in meters per seconds squared.

## Calculate WGS84 Gravity

Use gravitywgs84 to compute WGS84 gravity in down-axis and north-axis at the Earth’s surface, an array of geodetic latitudes in degrees and 0 degrees longitude using the exact method with atmosphere, no centrifugal effects, and no precessing.

``` ```

## Determine Gravity for Spherical Earth

Compute the array of spherical gravity for the array of geocentric radii in meters per second squared using the Earth’s gravitational parameter in meters cubed per second squared.

``` GM = 3.986004415e14; gd_sphere = -GM./(r.*r); ```

## Comparison Plots for Different Gravity Models

To compare the gravity models, their outputs must be in the same coordinate system. You can transform zonal gravity from ECEF coordinates to NED coordinates by using the Direction Cosine Matrix from dcmecef2ned.

```  ```

Figure 1: Gravity in the Down-axis in meters per second squared

``` ``` Figure 2: Gravity in the North-axis in meters per second squared

Calculate total gravity for WGS84 and from zonal gravity vector in meters per second squared.

``` ``` Figure 3: Total gravity in meters per second squared

## Compare Gravity Models with Centrifugal Effects

Now, you have seen the gravity comparisons of a non-rotating Earth. Examine the centrifugal effects from the Earth’s rotation on the gravity models.

## Compute Gravity Centrifugal Effects for Earth

Use gravitycentrifugal to calculate array of centrifugal effects in ECEF coordinates for array of ECEF positions in meters per seconds squared. Add centrifugal effects to zonal harmonic gravity.

``` gx_cent_zonal = gx_zonal + gx_cent; gy_cent_zonal = gy_zonal + gy_cent; gz_cent_zonal = gz_zonal + gz_cent; ```

## Calculate WGS84 Gravity with Centrifugal Effects

Use gravitywgs84 to compute WGS84 gravity in down-axis and north-axis at the Earth’s surface, an array of geodetic latitudes in degrees and 0 degrees longitude using the exact method with atmosphere, centrifugal effects, and no precessing. Calculate total gravity with centrifugal effects for WGS84 and from zonal gravity vector in meters per second squared.

``` ```

## Comparison Plots for Different Gravity Models with Centrifugal Effects

To compare the gravity models, their outputs must be in the same coordinate system. You can transform zonal gravity from ECEF coordinates to NED coordinates by using the Direction Cosine Matrix from dcmecef2ned. In figure 5, you can see there is some difference between zonal harmonic gravity with centrifugal effects and WGS84 gravity with centrifugal effects. The majority of difference is due to differences between the zonal harmonic gravity and WGS84 gravity calculations. Figure 4: Gravity with centrifugal effects in the Down-axis in meters per second squared Figure 5: Gravity in the North-axis in meters per second squared Figure 6: Total gravity with centrifugal effects in meters per second squared

Share Now!

#### Release Information

• Price
:

\$0.00

• Released
:

April 3, 2019

• Last Updated
:

May 29, 2019