test_unitFacetSRPDynamicEffector

test_unitFacetSRPDynamicEffector.test_facetSRPDynamicEffector(show_plots, facetRotAngle1, facetRotAngle2)[source]

Verification Test Description

The unit test for this module ensures that the calculated Solar Radiation Pressure (SRP) force and torque acting on the spacecraft about the body-fixed point B is properly computed for either a static spacecraft or a spacecraft with any number of articulating facets. The spacecraft geometry defined in this test consists of a cubic hub and two circular solar arrays. Six static square facets represent the cubic hub and four articulated circular facets describe the two articulating solar arrays. To verify the module functionality, the final SRP force and torque simulation values are checked with the truth values computed in python.

Test Parameters

Parameters:
  • show_plots (bool) – (True) Show plots, (False) Do not show plots

  • facetRotAngle1 (double) – [rad] Articulation angle for facets 7 and 8 (solar panel 1)

  • facetRotAngle2 (double) – [rad] Articulation angle for facets 9 and 10 (solar panel 2)