SolRadAndGravityDynamics.compute_solar_radiation_acceleration¶
- SolRadAndGravityDynamics.compute_solar_radiation_acceleration(state, direction_sun_to_sc, distance_sun_to_sc)[source]¶
This computes the acceleration due to the solar radiation pressure on the spacecraft assuming a cannonball model in km/s**2.
- Parameters:
state (ndarray) – The state vector
direction_sun_to_sc (ndarray) – The position vector from the sun to the spacecraft
distance_sun_to_sc (float) – The distance from the sun to the spacecraft in AU
- Returns:
The solar radiation acceleration in km/s**2 as a numpy array