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:
objectConfiguration 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 (
Orbitor None) – Orbit override for the run. This may be anOrbitinstance, anOrbital_State, or an equivalent dictionary representation, depending on how it is sampled and applied.goal (
Goalor 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¶
- h: ndarray | None = None¶
- q: ndarray | None = None¶
- tf: float | None = None¶
- w: ndarray | None = None¶