8. SolarPanel#
- class SolarPanel(spacecraft, pos_craft_centered: ArrayWFrame = None)#
Bases:
Geometry
WORK IN PROGRESS
- Parameters:
spacecraft (
Spacecraft
) – DESCpos_craft_centered (
ArrayWFrame
) – DESC
- Raises:
REMOVE IF NO SPECIAL ERRORS –
Notes
REMOVE IF NO NOTES
References
REMOVE IF NO REFERENCES
Examples
# initial setup import scarabaeus as scb
Attributes
The cross-sectional area of the spacecraft.
The dry mass of the spacecraft.
The mass of the fuel spent during delta-v burns.
The mass of the fuel spent during finite burns.
The list of instruments attached to the spacecraft.
The mass of the Body object.
The N-Plate model representing the spacecraft's geometry.
The name of the solar panel.
The reflectivity coefficient of the spacecraft.
The SPICE ID of the Body object.
Methods
add_instrument
(instruments)Adds an instrument or instruments to the spacecraft.
DESC
get_state
(epoch_0[, reference_frame, origin])Retrieves the state of the body relative to a given origin in a specified reference frame.
- add_instrument(instruments) None #
Adds an instrument or instruments to the spacecraft.
- Parameters:
instruments (
Instrument
orlist
ofInstrument
) – The instrument or instruments to be attached to the spacecraft.- Return type:
- calculate_available_power() None #
DESC
- Parameters:
arg (
type
) – Desc- Returns:
describe – Explanation of return value named describe.
- Return type:
- Raises:
ValueError – Explain
Notes
Examples
# initial setup import scarabaeus as scb
- get_state(epoch_0, reference_frame: str = 'J2000', origin: str = 'EARTH')#
Retrieves the state of the body relative to a given origin in a specified reference frame.
- Parameters:
epoch_0 (
EpochArray
) – The epoch times for which the state is to be computed.reference_frame (
str
) – The reference frame in which the state is desired. Defaults to ‘J2000’.origin (
str
) – The origin body relative to which the state is computed. Defaults to'EARTH'
.
- Returns:
state_vector – The state vector of the body relative to the origin.
- Return type:
- property area: ArrayWUnits#
The cross-sectional area of the spacecraft. Expressed in units of square meters.
- property dry_mass: ArrayWUnits#
The dry mass of the spacecraft. Expressed in units of kilograms.
- property dv_fuel_mass: ArrayWUnits#
The mass of the fuel spent during delta-v burns. Expressed in units of kilograms.
- property fb_fuel_mass: ArrayWUnits#
The mass of the fuel spent during finite burns. Expressed in units of kilograms.
- property mass: ArrayWUnits#
The mass of the Body object.
- property n_plate_model#
The N-Plate model representing the spacecraft’s geometry.