Main Content

Aero.spacecraft.ThirdBodyProperties

Third body properties

Since R2026a

Description

Third body properties used by the Aero.spacecraft.NumericalPropagator object.

Properties

expand all

Name of third body, specified as "Sun", "Moon", "Earth", "Mercury", "Venus", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", or "Pluto". This property read-only.

Default Value

The default value is the property name of the parent Aero.spacecraft.ThirdBodyOptions object holding the Aero.spacecraft.ThirdBodyProperties object.

Gravitational potential model of third body, specified as "spherical-harmonics", "point-mass", or "oblate-ellipsoid".

Dependencies

The Aero.spacecraft.ThirdBodyProperties object is held by Earth, Moon or Mars property of the parent Aero.spacecraft.ThirdBodyOptions Properties object.

Spherical harmonic model of gravitational potential of the third body, specified as one of these string scalar values:

Default Values

The default value is:

  • "EGM2008" when the third body is "Earth"

  • "LP100K" when the third body is "Moon"

  • "GMM2B" when the third body is "Mars"

Dependencies

To use this property, GravitationalPotentialModel must be set to "spherical-harmonics", and ThirdBody must be set to "Earth", "Moon", or "Mars".

Degree of spherical harmonic gravitational potential model, when GravitationalPotentialModel is set to "spherical-harmonics", specified as a positive scalar.

Default Value

The default value is:

  • 100 when SphericalHarmonicModel is set to "LP100K".

  • 80 when SphericalHarmonicModel is set to "GMM2B".

  • 120 otherwise.

Dependencies

This property is visible when GravitationalPotentialModel is set to "spherical-harmonics".

Data Types: double

Version History

Introduced in R2026a