Spacecraft Models Package 2.0
Spacecraft Models for DSim
Public Member Functions | Protected Attributes | List of all members
solar_panel_rotating Class Reference

A rotating solar panel model. More...

#include <solar_panel_rotating.h>

Inherits dsim_model.

Public Member Functions

 solar_panel_rotating (dsim_model_setup *setup)
 Constructor.
 
void initialization_complete ()
 Finish initialization.
 
void initialize_data ()
 Initialize outlets and output variables.
 
void pre_calculate ()
 Computation done prior to numerical integration.
 

Protected Attributes

dsim_variable parent_position_dsim
 Parent position.
 
dsim_variable parent_quaternion_dsim
 Parent quaternion.
 
dsim_variable parent_angle_dsim
 Parent appendage angles.
 
dsim_variable solarFlux_dsim
 Solar flux outlet.
 
dsim_variable panel_index_dsim
 Index from panel to angle.
 
dsim_variable parent_u_appendage_dsim
 Parent appendage angle.
 
Parameters
dsim_variable voltage_panel_dsim
 Voltage of each panel.
 
dsim_variable panel_string_dsim
 String id of each panel.
 
dsim_variable area_dsim
 Area of each panel; (1xn) row vector for multiple panels.
 
Outputs
dsim_variable power_dsim
 Power generated per panel.
 
dsim_variable power_panels_dsim
 Total power.
 
dsim_variable normal_dsim
 Normal to each panel (3xn matrix)
 
dsim_variable efficiency_dsim
 Efficiency of each panel; or row vector.
 
dsim_variable current_dsim
 Current output.
 
int n_strings
 

Detailed Description

A rotating solar panel model.

Can have multiple panels pointed in arbitrary directions. Each panel can have its own efficiency. Requires the parent to have appendage angles

Requires a connection to a source of a solar flux vector.


The documentation for this class was generated from the following files: