MagneticHysteresisOrbit:

Path: CubeSat/Demos/Simulation

% Magnetic hysteresis over multiple orbits.

 Shows the magnetic field in a magnetic hysteresis damper over multiple
 orbits. The goal is to verify that appropriate hysteresis curves are seen 
 in the computed bar flux. Without external torque, there will be one
 hysteresis loop per orbit.

 When using the hysteresis function you must be very careful to have
 the field rate in the body frame. Otherwise the magnet can go 
 past saturation. In addition, use BFromHHysteresis to set the initial
 value for the b field in the bar.

 Things to try:

   1. Try different bar orientations in the body frame 
   2. Different orbits and initial rates
   3. Try different numbers of points per orbit.
   4. Add a nonzero torque

 Since version 2014.1

  ----------------------------------------------------------------------
  See also BFromHHysteresis, MagneticHysteresis
  ----------------------------------------------------------------------
%
--------------------------------------------------------------------------
   Copyright (c) 2014 Princeton Satellite Systems, Inc.
   All Rights Reserved
--------------------------------------------------------------------------

Children:

AeroUtils: Coord/QLVLH
Common: Graphics/Plot2D
Common: Graphics/TimeDisplay
Common: Graphics/TimeLabl
Common: Quaternion/Q2Mat
Common: Quaternion/QTForm
Common: Time/JD2000
Math: Integration/RK4
Math: Linear/Dot
Math: Linear/Skew
SC: BasicOrbit/OrbRate
SC: BasicOrbit/Period
SC: BasicOrbit/RVFromKepler
SC: Dynamics/FRB
SC: Environs/BDipole
SC: MagneticControl/BFromHHysteresis
SC: MagneticControl/MagneticHysteresis

Back to the CubeSat Module page