Skip to content

K1fun.m

Basic Information

  USAGE: K1 = K1fun(w,fwhm_eccd,misalignment,toroidal_angle)

  PURPOSE: Calculate effectiveness parameter for replacing bootstrap current in NTM

  INPUTS:  w, width of the NTM
           fwhm_eccd, Full Width at Half Maximum of ECCD
           misalignment, offset between current drive and resonant surface (default 0)
           (All of the above measured at same poloidal angle with same units)

           toroidal_angle, toroidal angle where CD is deposited from 0=O to 180=X,
             if omitted an average is calculated corresponding to continuous ECCD
             if == 'O' calculation is for O-point modulation with 50 duty cycle
             if == 'X' calculation is for X-point modulation with 50 duty cycle

  OUTPUTS: K1, effectiveness parameter for replacing missing bootstrap current in NTM

  METHOD: Based on equations derived by Francis Perkins. Expanded by Anders Welander
          to work for arbitrary toroidal angles and include effect of radial misalignment.
          See epmasw060404b-mrePhase.doc which also includes Perkins' work as an appendix.

Dependencies