Skip to content

BSK sim fault example script#1272

Open
Yume27 wants to merge 5 commits intodevelopfrom
feature/1257-bsk-sim-fault-example-script
Open

BSK sim fault example script#1272
Yume27 wants to merge 5 commits intodevelopfrom
feature/1257-bsk-sim-fault-example-script

Conversation

@Yume27
Copy link
Contributor

@Yume27 Yume27 commented Feb 17, 2026

Description

This branch added a new scenario, scenario_FaultList, that demonstrates the use of the fault modeling capabilities by selecting faults from BSK_Faults.

  • Updated BSK_Dynamics.py and BSK_Plotting.py:
    • Added magnetic field and magnetometers.
    • Added magnetic-related plots.
  • Added BSK_Faults.py:
    • This module provides FaultObject subclasses that can be assembled into a
      faultList (for example in scenario_FaultList.py).
  • Added integrated tests in test_bskFaults.py:
    • Uses BSKSim/BSKScenario with addFaultToSimulation(...) (real event path).
    • Covers helper functions and runtime behavior for RW, debris, CSS, magnetometer, and polar-noise faults.

Verification

  • Added src/tests/test_bskFaults.py to test fault modeling beharvior.
  • Added scenario_FaultList in /src/tests/test_bskTestScript.py.

Documentation

  • examples/BskSim/models/BSK_Faults.py (module docs)
  • examples/BskSim/scenarios/scenario_FaultList.py (scenario-specific docs + image section)
  • examples/_default.rst (scenario indexing)
  • docs/source/Support/bskReleaseNotes.rst (release-note entries)

Future Work

The fault list can be further expanded to accommodate specific user requirements.

@Yume27 Yume27 linked an issue Feb 17, 2026 that may be closed by this pull request
@Yume27 Yume27 force-pushed the feature/1257-bsk-sim-fault-example-script branch 2 times, most recently from 30ac891 to 037d0da Compare February 17, 2026 05:59
@Yume27 Yume27 force-pushed the feature/1257-bsk-sim-fault-example-script branch from 037d0da to 4d32448 Compare February 17, 2026 07:25
@Yume27 Yume27 marked this pull request as ready for review February 17, 2026 08:54
@Yume27 Yume27 requested a review from a team as a code owner February 17, 2026 08:54
@schaubh schaubh changed the title Feature/1257 bsk sim fault example script BSK sim fault example script Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BSK Sim Fault Example Script

1 participant