poliastro2.core.spacecraft

Description

A module to represent a spacecraft with properties, and manipulation/calculation methods.

Classes

Spacecraft(A, C_D, m, **metadata)

A class to represent a spacecraft with properties for area, drag coefficient, and mass.

class poliastro2.core.spacecraft.Spacecraft(A, C_D, m, **metadata)

A class to represent a spacecraft with properties for area, drag coefficient, and mass. It includes methods to access these properties and calculate the ballistic coefficient, which is a measure of the spacecraft’s aerodynamic efficiency.

A

Area of the spacecraft (km^2).

Type:

Quantity

C_D

Dimensionless drag coefficient.

Type:

Quantity

m

Mass of the spacecraft (kg).

Type:

Quantity

metadata

Optional metadata for the spacecraft.

Type:

dict

property A

Area of the spacecraft (km^2).

property C_D

Drag coefficient (dimensionless).

property ballistic_coefficient

Calculate the ballistic coefficient (km^2/kg).

Returns:

Ballistic coefficient (km^2/kg).

Return type:

Quantity

Notes

Be aware that you may encounter alternative definitions of the ballistic coefficient, such as the reciprocal:

\[\frac{m}{C_D A}\]
property m

Mass of the spacecraft (kg).