ssapy_toolkit.Accelerations.accel_deltav_vector
- ssapy_toolkit.Accelerations.accel_deltav_vector(dv, duration)[source]
Compute the constant acceleration vector needed to achieve a given Δv in a set time.
- Parameters:
dv (array_like, shape (3,)) – Desired change in velocity vector (m/s).
duration (float) – Time over which to apply the acceleration (s).
- Returns:
thrust (float) – Magnitude of the required acceleration (m/s²).
direction (ndarray, shape (3,)) – Unit vector indicating acceleration direction.
a_vec (ndarray, shape (3,)) – Acceleration vector (m/s²) that, when applied constantly over duration, yields dv.
- Raises:
ValueError – If duration is zero or negative.