scenarioPrescribedMotionWithRotationBranching

Overview

This scenario demonstrates the branching capability of the prescribed motion module using the spinningBodyOneDOFStateEffector module. The prescribed motion module can be configured to have state effectors attached to it rather than the spacecraft hub. To do so, the state effectors are set up normally, except their parameters are set with respect to the prescribed motion effector rather than the hub. The parameters that were previously required to be provided relative to the hub frame must instead be provided relative to the prescribed motion frame.

This example configures an ISS-scale spacecraft containing a cylindrical rigid hub, two large prescribed trusses which rotate about their longitudinal axes, and eight single-axis solar panels which rotate about their transverse (bending) axes. The spacecraft configuration is shown below.

../_images/scenarioPrescribedMotionWithRotationBranching.svg

The spacecraft is at rest at the start of the simulation. To demonstrate the impact of the prescribed truss motion on the solar panel dynamics, all solar panels are given zero initial deflections. The trusses are profiled to symmetrically rotate 45 degrees from their initial configurations using a smoothed bang-coast-bang acceleration profile.

The script is found in the folder basilisk/examples and executed by using:

python3 scenarioPrescribedMotionWithRotationBranching.py

The prescribed truss motion, solar panel deflections and their rates, and the hub response to the panel deflections is plotted in this scenario.

Illustration of Simulation Results

../_images/scenarioPrescribedMotionWithRotationBranching_1.svg ../_images/scenarioPrescribedMotionWithRotationBranching_2.svg ../_images/scenarioPrescribedMotionWithRotationBranching_3.svg ../_images/scenarioPrescribedMotionWithRotationBranching_4.svg ../_images/scenarioPrescribedMotionWithRotationBranching_5.svg ../_images/scenarioPrescribedMotionWithRotationBranching_6.svg ../_images/scenarioPrescribedMotionWithRotationBranching_7.svg ../_images/scenarioPrescribedMotionWithRotationBranching_8.svg
scenarioPrescribedMotionWithRotationBranching.run(show_plots)[source]

The scenario can be run with the followings set up parameter:

Parameters:

show_plots (bool) – Determines if the script should display plots