poliastro2.core.threebody.cr3bp_char_quant

@author: Dhruv Jain, Multi-Body Dynamics Research Group, Purdue University.

Classes

SystemChars(name, mu, lstar, tstar)

Compute and store the properties (mu, l*, t*) of a CR3BP system.

class poliastro2.core.threebody.cr3bp_char_quant.SystemChars(name, mu, lstar, tstar)

Compute and store the properties (mu, l*, t*) of a CR3BP system.

Parameters: - mu: Mass ratio of the primary bodies P1 and P2. - l*: Characteristic length of the P1-P2 system. - t*: Characteristic time of the P1-P2 system.

Note: If P2 is more massive than P1, swap the primary bodies so that P1 is the more massive body.

classmethod bodies_char_compute(p1, p2)

Calculates mu, lstar, and tstar of the ‘p1’ and ‘p2’ system.

Also, if M2>M1, then swaps p1 and p2, so that M1>M2

Parameters:
  • p1 (Body)

  • p2 (Body)

Returns:

  • name (string) – System name, format: ‘Body1Body2’, e.g. ‘EarthMoon’, ‘SunEarth’

  • mu (float, dimensionless) – mass ratio of P1-P2 primary bodies

  • lstar (float, km) – Characterisitc length of P1-P2 system

  • tstar (float, sec) – Characterisitc time of P1-P2 system

classmethod from_primaries(p1, p2)

Computes and sets the characteristic quantities for the Circular Restricted Three-Body Problem (CR3BP) using the primary bodies p1 and p2.

Parameters:
  • p1 (Body) – The primary body in the CR3BP system.

  • p2 (Body) – The secondary body in the CR3BP system.

Returns:

An instance of the class with computed characteristic quantities.

Return type:

cls

property lstar

Characterisitc length of P1-P2 system.

property mu

Mass ratio of P1-P2 primary bodies in CR3BP.

property name

Name of P1-P2 system.

property tstar

Characterisitc time of P1-P2 system.