Spacecraft Models Package 2.0
Spacecraft Models for DSim
|
Compute the solar force and torque on a thin membrane using a combined optical/thermal model. More...
#include <solar_sail.h>
Inherits dsim_model.
Public Member Functions | |
solar_sail (dsim_model_setup *setup) | |
Constructor. | |
~solar_sail () | |
Destructor. | |
void | initialize_data () |
Initialize outlets and output variables. | |
void | initialization_complete () |
Finish initialization. | |
void | initialize_timestep () |
Computation done prior to numerical integration. More... | |
void | rhs (double t, double jd) |
Computation done during numerical integration. | |
void | complete_timestep () |
Computation done after numerical integration. | |
Compute the solar force and torque on a thin membrane using a combined optical/thermal model.
This model is designed to connect to the geometry reader via outlets.
This is a single-sided model. If the cosine of the angle to the light source is negative, the face is assumed facing away from the sun and the force on that face is zero.
The SPICE outlets are optional.
void solar_sail::initialize_timestep | ( | ) |
Computation done prior to numerical integration.
Compute the solar force and torque.
References area_dsim, centroids_dsim, forceSolar, normals_dsim, rho_dsim, and torqueSolar.