latom.reader.reader_heo_2d¶
@authors: Alberto FOSSA’ Giuliana Elena MICELI
Classes
|
Reader class loads and displays stored simulations using an OpenMDAO CaseReader class instance. |
|
TwoDim3PhasesLLO2HEOReader class loads and displays a stored simulation corresponding to a three-phases transfer trajectory from LLO to HEO using an OpenMDAO CaseReader class instance. |
|
Plots the two-dimensional multi phase simulation’s states and controls in time and in the xy plane. |
|
Defines a two-dimensional orbit from its keplerian parameters. |
-
class
latom.reader.reader_heo_2d.TwoDim3PhasesLLO2HEOReader(body, db, case_id='final', db_exp=None, scaled=False)[source]¶ Bases:
latom.reader.reader.ReaderTwoDim3PhasesLLO2HEOReader class loads and displays a stored simulation corresponding to a three-phases transfer trajectory from LLO to HEO using an OpenMDAO CaseReader class instance.
- Parameters
body (Primary) – Central attracting body
db (str) – Full path of the database where the solution is stored
case_id (str, optional) – Case identifier,
initialto load the first iteration,finalto load the final solution. Default isfinaldb_exp (str or
None, optional) – Full path of the database where the explicit simulation is stored orNone. Default isNonescaled (bool, optional) –
Falseto retrieve the solution in dimensional units,Trueotherwise. Default isFalse
- Variables
body (Primary) – Central attracting body
gm_res (float) – Central attracting body standard gravitational parameter [m^3/s^2] or [-]
rm_res (float) – Central attracting body equatorial radius [m] or [-]
states_scalers (ndarray) – Scaling parameters for distances, angles, velocities and mass
phase_name (list) – List of phases names within the OpenMDAO Problem object
tof (float) – Time of flight for the implicit solution [s]
time (list) – Time vector for the implicit solution [s]
states (list) – States time series for the implicit solution as [r, theta, u, v, m]
controls (list) – Controls variables time series for the implicit solution as [thrust, alpha]
tof_exp (float or
None) – Time of flight for the explicit simulation [s] orNonetime_exp (list or
None) – Time vector for the explicit simulation [s] orNonestates_exp (list or
None) – States time series for the explicit simulation as [r, theta, u, v, m] orNonecontrols_exp (list or
None) – Controls variables time series for the explicit simulation as [thrust, alpha] orNonecoe_inj (iterable) – Classical orbital elements at injection as (a, e, h, ta) with a semi-major axis, e eccentricity, h specific angular momentum vector and ta true anomaly
-
get_time_series(case)[source]¶ Retrieve the time of flight, time vector and states, controls and minimum safe altitude time series for the specified case and kind of transfer.
- Parameters
case (Case) – OpenMDAO Case object
- Returns
tof (float) – Time of flight for the given Case [s]
time (list) – Time vector for the given Case [s]
states (list) – States time series for the given Case as [r, theta, u, v, m]
controls (list) – Controls variables time series for the given Case as [thrust, alpha]