DualRotorDesign:

--------------------------------------------------------------------------
   Design a dual rotor generator configuration.
   This is an axial flux generator with an air coil and two magnet plates
   attached to the rotating shaft.
--------------------------------------------------------------------------
   Form:
   p = DualRotorDesign( d )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   d          (1,1)  Data structure
                     .rO            (1,1) Output radius (m) 
                     .rI            (1,1) Inner radius (m)
                     .n             (1,1) Number of poles          
                     .jPeak         (1,1) Peak current (A)      
                     .rho           (1,1) Resistivity (mho/m)
                     .bPeak         (1,1) Peak magnetic field (T)        
                     .wireD         (1,1) Wire diameter (m)      
                     .omega         (1,1) Angular rate (rad/s)        
                     .t             (1,1) Thickness (m)
                     .hM            (1,1) Magnet height (m)          
                     .densityMagnet (1,1) Density magnet (kg/m^3) 
                     .densityCopper (1,1) Density copper (kg/m^3) 

   -------
   Outputs
   -------
   p          (1,1)  Data structure
                     .pOut       (1,1) Power out (W)
                     .pLoss      (1,1) Power loss (W)
                     .torque     (1,1) Torque (Nm)
                     .eff        (1,1) Conversion efficiency
                     .mMagnet    (1,1) Magnet mass (kg)
                     .mCopper    (1,1) Copper mass (kg)
                     .mActive    (1,1) Active mass (kg)

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

Children:

Common: Graphics/Plot2D
Common: MassProperties/Inertias