AirCoilMagneticTorquerDesign:

--------------------------------------------------------------------------
   Design a minimum mass magnetic torquer.
   You pass in the desired power, the voltage, wire gauge and dipole.

   Type MagneticTorquerDesign for a demo.

   It is possible that the selected parameters will not produce a
   torquer coil. If so change the wire size or power consumption.
   Default conductivity, relative permeability
   and density are for copper and steel.
--------------------------------------------------------------------------
   Form:
   d = MagneticTorquerDesign( d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d           (1,1)   Data structure
                       .aWG              (1,1) Wire gauge 0000 is -3
                       .power            (1,1) Power (W)
                       .v                (1,1) Voltage (V)
                       .dipole           (1,1) Dipole (ATM^2)
                       .densityConductor (1,1) Material density (kg/m^3)
                       .conductivity     (1,1) Conductivity (S/m)
                       .densitySteel     (1,1) Material density (kg/m^3)
                       .muR              (1,1) Relative permeability

   -------
   Outputs
   -------
   d           (1,1)   Data structure with additions
                       .rWire            (1,1) Wire radius (m) 
                       .i                (1,1) Current (A)
                       .rhoWire          (1,1) Resistance (Ohm/m)
                       .lWire            (1,1) Wire length (m)
                       .mWire            (1,1) Mass wire (kg)
                       .R                (1,1) Coil resistance (Ohm)
                       .l                (1,1) Length of the torquer (m)
                       .mSteel           (1,1) Mass wire (kg)
                       .m                (1,1) Total mass (kg)
                       .n                (1,1) Wire turns

--------------------------------------------------------------------------

Children:

Power: Electrical/DiameterAWG
Power: Electrical/ResistanceAWG
SCPro: ProActuators/MagneticTorquerDesign
SCPro: ProActuators/MagneticTorquerDipoleMoment