ADCS.mc.mcconfig module

class ADCS.mc.mcconfig.MCConfig(w=None, q=None, h=None, orbit=None, goal=None, dt=None, tf=None)[source]

Bases: object

Configuration container defining run-to-run sampling rules for Monte Carlo ADCS simulations.

Each attribute may be either a fixed value or a callable sampler. If a callable is provided, it is invoked once per Monte Carlo run to generate the value applied to that run. This class is consumed by simulate_mc() to perturb initial conditions, goals, timing parameters, and orbit definitions.

All attributes are optional; unspecified fields fall back to the base values passed directly to the Monte Carlo simulation function.

Parameters:
  • w (numpy.ndarray or None) – Initial angular velocity override. If provided, replaces State.w.

  • q (numpy.ndarray or None) – Initial attitude quaternion override. If provided, replaces State.q.

  • h (numpy.ndarray or None) – Initial reaction wheel momentum override. If provided, replaces State.h.

  • orbit (Orbit or None) – Orbit override for the run. This may be an Orbit instance, an Orbital_State, or an equivalent dictionary representation, depending on how it is sampled and applied.

  • goal (Goal or None) – Goal override for the run. If provided, replaces the base goal passed to the Monte Carlo simulation.

  • dt (float or None) – Simulation time step override in seconds.

  • tf (float or None) – Simulation duration override in seconds.

dt: float | None = None
goal: Goal | None = None
h: ndarray | None = None
orbit: Orbit | None = None
q: ndarray | None = None
tf: float | None = None
w: ndarray | None = None