Path: CubeSat/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 ---------------------------------------------------------------------- See also BFromHHysteresis, MagneticHysteresis ---------------------------------------------------------------------- % -------------------------------------------------------------------------- Copyright (c) 2014 Princeton Satellite Systems, Inc. All Rights Reserved -------------------------------------------------------------------------- Since version 2014.1 --------------------------------------------------------------------------
AerospaceUtils: Coord/ECIToEF AerospaceUtils: Coord/QIToBDot AerospaceUtils: Coord/QLVLH SC: BasicOrbit/OrbRate SC: BasicOrbit/Period SC: BasicOrbit/RVFromKepler SC: Dynamics/FRB SC: Dynamics/RBModel SC: Environs/BDipole SC: Ephem/EarthRte SC: Ephem/MSidDay SC: MagneticControl/BFromHHysteresis SC: MagneticControl/MagneticHysteresis Common: CommonData/SwooshWatermark Common: Control/C2DZOH Common: GUIs/TimeDisplay Common: General/CellToMat Common: General/DeBlankLT Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/Plot3D Common: Graphics/PltStyle Common: Graphics/TimeLabl Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Common: Quaternion/Mat2Q Common: Quaternion/Q2Mat Common: Quaternion/QTForm Common: Time/DTSToDTA Common: Time/Date2JD Common: Time/JD2000 Common: Time/JD2T Common: Time/T2JD Math: Integration/RK4 Math: Linear/Cross Math: Linear/Dot Math: Linear/Mag Math: Linear/Skew Math: Linear/SkewSymm Math: Linear/Unit Math: MathUtils/R2P5
Back to the CubeSat Module page