fsciortino / Aurora

Modern toolbox for impurity transport, neutrals and radiation modeling in magnetically-confined plasmas
https://aurora-fusion.readthedocs.io
MIT License
39 stars 22 forks source link

corrected error in calculation of neutral density from lyman-alpha #72

Closed aarmros closed 1 year ago

aarmros commented 1 year ago

Small update in Lya_to_neut_dens which contained the wrong expression for N1 using the adas ADF15 rate coefficients.

Previous expression N1 = emiss_prof / E_21 / (ne pec_exc + ni pec_recomb) change to N1 = ((emiss_prof / E_21)- ni nepec_recomb) / (ne * pec_exc)

The overall effect of this error is small except in situations near the wall or diverter.

fsciortino commented 1 year ago

Thanks, @aarmros ! Great catch.