11. scenario_FaultList
11.1. Overview
This scenario demonstrates fault scheduling using a fault list. The script lives in
basilisk/examples/BskSim/scenarios and can be executed with:
python3 scenario_FaultList.py
11.2. Scenario Purpose
This file shows how to:
Build a mixed
faultListcontaining different fault classes fromBSK_Faults.Register each fault as a simulation event through
fault.addFaultToSimulation(...).Run a long-duration simulation with both one-time and recurring faults.
Plot attitude/rate performance together with magnetometer output and latitude.
11.3. Default Fault Configuration
By default this scenario injects:
One reaction wheel power-limit fault at 5 minutes.
A latitude-dependent magnetometer noise update every 5 minutes (
MagPolarNoisewithfaultType="NOISE") across the full simulation.
Notes
The orbital setup is a near-polar, Sun-synchronous-like orbit to emphasize high-latitude behavior in the magnetometer fault model.
11.4. Illustration of Simulation Results
showPlots = True
- scenario_FaultList.run(showPlots)[source]
Run the fault-list scenario.
- Parameters:
showPlots (bool) – Determines if the script should display plots.
- scenario_FaultList.runScenario(scenario, faultList, simulationTime_min=100)[source]
Initialize and execute the scenario.