Contenido principal

Aero.spacecraft.ThirdBodyOptions Properties

Third body options used by numerical orbit propagator

Since R2026a

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

You also can specify any of the properties on this page using the thirdBodyOptions function.

Option to include third body gravity, specified as false of true.

Third body gravity source, specified as a string containing one or a combination of "Sun", "Earth", "Moon", "Mercury", "Venus", "Mars", "Jupiter", "Saturn", "Uranus", "Neptune", and "Pluto".

Default Values

The default values are:

Third body properties for Sun, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Sun property has these values.

"ThirdBody"

Third body name, specified as "Sun" (read-only).

"GravitationalPotentialModel"Gravitational potential model of "Sun", specified as "point-mass" or "oblate-ellipsoid"

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Sun is included as a third body gravity source in the ThirdBodyGravitySource property and Sun is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Mercury, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Mercury property has these property values.

"ThirdBody"

Third body name, specified as "Mercury" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Mercury, specified as "point-mass" or "oblate-ellipsoid"

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Mercury is included as a third body gravity source in the ThirdBodyGravitySource property and Mercury is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Venus, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Venus property has these property values.

"ThirdBody"

Third body name, specified as "Venus" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Venus, specified as "point-mass" or "oblate-ellipsoid"

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Venus is included as a third body gravity source in the ThirdBodyGravitySource property and Venus is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Earth, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function The Aero.spacecraft.ThirdBodyProperties object held by the Earth property has these property values.

"ThirdBody"

Third body name, specified as "Earth" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Earth, specified as "point-mass", "oblate-ellipsoid", or "spherical-harmonics".
"SphericalHarmonicModel"

Spherical harmonic model to be used when GravitationalPotentialModel is "spherical-harmonics", specified as "EGM2008", "EGM96", or "EIGENGL04C".

"SphericalHarmonicDegree"

Spherical harmonic degree to be used when GravitationalPotentialModel is "spherical-harmonics", specified as an integer.

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Earth is included as a third body gravity source in the ThirdBodyGravitySource property and Earth is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Moon, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Moon property has these property values.

"ThirdBody"

Third body name, specified as "Moon" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Moon, specified as "point-mass", "oblate-ellipsoid", or "spherical-harmonics".
"SphericalHarmonicModel"

Spherical harmonic model to be used when GravitationalPotentialModel is "spherical-harmonics", specified as "LP100K" or "LP165P".

"SphericalHarmonicDegree"

Spherical harmonic degree to be used when GravitationalPotentialModel is "spherical-harmonics", specified as an integer.

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Moon is included as a third body gravity source in the ThirdBodyGravitySource property and Moon is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Mars, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Mars property has these property values.

"ThirdBody"

Third body name, specified as "Mars" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Mars, specified as "point-mass", "oblate-ellipsoid", or "spherical-harmonics".
"SphericalHarmonicModel"

Spherical harmonic model to be used when GravitationalPotentialModel is "spherical-harmonics", specified as "LP100K" or "LP165P".

"SphericalHarmonicDegree"

Spherical harmonic degree to be used when GravitationalPotentialModel is "spherical-harmonics", specified as an integer.

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Mars is included as a third body gravity source in the ThirdBodyGravitySource property and Mars is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Jupiter, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Jupiter property has these property values.

"ThirdBody"

Third body name, specified as "Jupiter" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Jupiter, specified as "point-mass" or "oblate-ellipsoid"

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Jupiter is included as a third body gravity source in the ThirdBodyGravitySource property and Jupiter is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Saturn, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Saturn property has these property values.

"ThirdBody"

Third body name, specified as "Saturn" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Saturn, specified as "point-mass" or "oblate-ellipsoid"

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Saturn is included as a third body gravity source in the ThirdBodyGravitySource property and Saturn is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Uranus, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Uranus property has these property values.

"ThirdBody"

Third body name, specified as "Uranus" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Uranus, specified as "point-mass" or "oblate-ellipsoid"

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Uranus is included as a third body gravity source in the ThirdBodyGravitySource property and Uranus is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Neptune, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function The Aero.spacecraft.ThirdBodyProperties object held by the Neptune property has these property values.

"ThirdBody"

Third body name, specified as "Neptune" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Neptune, specified as "point-mass" or "oblate-ellipsoid"

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Neptune is included as a third body gravity source in the ThirdBodyGravitySource property and Neptune is not the central body in the Aero.spacecraft.CentralBodyOptions property of the parent Aero.spacecraft.NumericalPropagatorOptions object.

Third body properties for Pluto, specified as an Aero.spacecraft.ThirdBodyProperties using the thirdBodyOptions function. The Aero.spacecraft.ThirdBodyProperties object held by the Pluto property has these property values.

"ThirdBody"

Third body name, specified as "Pluto" (read-only).

"GravitationalPotentialModel"Gravitational potential model of Pluto, specified as "point-mass" or "oblate-ellipsoid"

Dependencies

This property is visible only when IncludeThirdBodyGravity is true, Pluto is included as a third body gravity source in the ThirdBodyGravitySource property.

Version History

Introduced in R2026a