RCAIDE.Library.Attributes.Planets.Earth

Earth#

class Earth(*args, **kwarg)[source]#

Bases: Planet

A class representing Earth’s physical properties and gravitational characteristics.

tag#

Identifier for the planet (‘Earth’)

Type:

str

mass#

Mass of Earth in kg (5.98e24)

Type:

float

mean_radius#

Average radius of Earth in m (6.371e6)

Type:

float

sea_level_gravity#

Gravitational acceleration at sea level in m/s² (9.80665)

Type:

float

Notes

This class implements standard Earth properties used in aerospace calculations. Values are based on internationally accepted standards for Earth’s physical parameters.

compute_gravity(H=0.0)[source]#

Compute the gravitational acceleration at a given altitude above Earth’s surface.

Parameters:

H (float, optional) – Altitude above sea level in meters. Default is 0.0

Returns:

gh – Gravitational acceleration at the specified altitude in m/s²

Return type:

float

Notes

Theory Uses the inverse square law for gravitational acceleration: .. math:

g(h) = g_0 \left(\frac{R_e}{R_e + h}\right)^2
where:
  • g₀ is sea level gravity

  • Rₑ is Earth’s mean radius

  • h is altitude above sea level