ssapy_toolkit.Rockets.rescale_burn
- ssapy_toolkit.Rockets.rescale_burn(a0, m0, t0, m=None, t=None, mode='constant_thrust')[source]
Rescale a burn given a reference case (a0, m0, t0).
- Parameters:
a0 (float or array) – Reference acceleration (m/s^2)
m0 (float or array) – Reference mass (kg)
t0 (float or array) – Reference duration (s)
m (float or array or None) – New mass (kg). If None, uses m0.
t (float or array or None) – New duration (s). If None, uses t0.
mode (str) – “constant_thrust” -> thrust F is held constant; duration doesn’t change accel. “constant_impulse” -> total impulse I = F*t is held constant; changing duration changes thrust.
- Returns:
a (float or array) – New acceleration (m/s^2)
t (float or array) – New duration (s) (the input ‘t’ if provided, else t0)
dv (float or array) – Approx delta-v assuming mass stays constant during the burn: dv = a * t
F (float or array) – Thrust used for the new case (N)
I (float or array) – Total impulse used for the new case (N*s)