Path: SC/MagneticControl
% Torque rod model using tanh A simple Torque rod model that uses a tanh function to model the dipole curve for a typical torque rod. The initialization data is d.mSaturation - dipole at saturation d.saturationVoltage - the voltage at saturation d.mResidual - the residual dipole To demo the model type TorqueRod. -------------------------------------------------------------------------- Form: d = TorqueRod( 'data structure' ) TorqueRod( 'initialize', d ) TorqueRod( 'set voltage', v ) m = TorqueRod( 'get moment' ) -------------------------------------------------------------------------- ------ Inputs ------ action (1,:) Actions u (1,1) Input depends on action ------- Outputs ------- x (1,:) Output depends on action --------------------------------------------------------------------------
Common: CommonData/SwooshWatermark Common: General/CellToMat Common: General/DispWithTitle Common: General/MatToCell Common: General/Watermark Common: Graphics/NewFig Common: Graphics/Plot2D Common: Graphics/PltStyle
Back to the SC Module page