pub struct Stability {
pub time_s: f64,
pub height_above_ground_m: f64,
pub dynamic_pressure_pa: f64,
pub cg_station_m: f64,
pub reference_diameter_m: f64,
pub static_margin: Margin,
pub flight_margin: Margin,
}Expand description
The rocket’s stability at one instant.
Fields§
§time_s: f64When, s after launch.
height_above_ground_m: f64The center of mass’s height above the launch site then, m.
dynamic_pressure_pa: f64The dynamic pressure then, Pa: how hard the air presses on the margin’s moment.
cg_station_m: f64The center of mass, m aft of the nose tip.
reference_diameter_m: f64The reference diameter d the margins are counted in, m (the sustainer’s after a powered
separation).
static_margin: MarginThe static margin: the air along the axis at STATIC_MARGIN_MACH, with the center of
mass of this instant (RocketPy’s static_margin), in the rocket’s weakest plane
(weakest_margin).
flight_margin: MarginThe flight margin: the air along the axis at the flight’s Mach number, with the center of
mass of this instant (RocketPy’s stability_margin), in the rocket’s weakest plane
(weakest_margin). The angle of attack is left out: near
apogee it swings toward 90° as the rocket slows and tips over, and a least margin that
followed it would land wherever large angles stopped being counted.