You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As specified in the ICD of #1, calculations of the effective area exposed by the spacecraft toward the Sun based on its position and attitude are repeated in both EPS and Thermal blocks.
To keep our model DRY (Don't Repeat Yourself), it would be nice to abstract away as much as possible while still keeping it adaptable to both EPS ($A_{eff}$ of solar panels) and Thermal ($A_{eff}$ of spacecraft) purposes.
The text was updated successfully, but these errors were encountered:
Here's a verbalized algorithm for calculating the effective area of one CubeSat face relative to any celestial body.
Find the satellite's position relative to the Earth-centered-inertial (ECI) frame: this is either provided by ADCS, or must be derived from orbital elements.
Find the position of the celestial body relative to the ECI frame.
Subtract the celestial body position from the spacecraft position, which gives the spacecraft-body vector.
Normalize the spacecraft-body vector (such that its magnitude is 1)
Find the area vector relative to the spacecraft-fixed frame of reference (the area vector is normal to the surface of interest and outward pointing)
Calculate the angle between the area vector and the spacecraft-body vector. If angle is greater than pi (180 degrees), the effective area is zero (that face of the spacecraft is in shadow). If the angle is less than 180, the effective area is equal to the true area times the point product of the two vectors.
As specified in the ICD of #1, calculations of the effective area exposed by the spacecraft toward the Sun based on its position and attitude are repeated in both EPS and Thermal blocks.
To keep our model DRY (Don't Repeat Yourself), it would be nice to abstract away as much as possible while still keeping it adaptable to both EPS ($A_{eff}$ of solar panels) and Thermal ($A_{eff}$ of spacecraft) purposes.
The text was updated successfully, but these errors were encountered: