4165 new energy confinement scaling for ncst spherical tokamak - #4480
4165 new energy confinement scaling for ncst spherical tokamak#4480grmtrkngtn wants to merge 7 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4480 +/- ##
==========================================
+ Coverage 48.65% 48.66% +0.01%
==========================================
Files 151 151
Lines 29714 29731 +17
==========================================
+ Hits 14457 14469 +12
- Misses 15257 15262 +5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
chris-ashe
left a comment
There was a problem hiding this comment.
@grmtrkngtn A documentation addition still needs to be done also
|
|
||
| @staticmethod | ||
| def ncst_confinement_time( | ||
| pcur: float, |
There was a problem hiding this comment.
| pcur: float, | |
| cur_plasma_ma: float, |
I know lots of the scaling still say pcur but cur_plasma_ma is the current correct style guide way
There was a problem hiding this comment.
Per Alex's comment, maybe it's best to leave these for now and resolve the file in totality.
| Notes | ||
| ----- | ||
| - The electron density used to derive the scaling was measured locally | ||
| at a normalised minor radius of approximately 0.9. The central |
There was a problem hiding this comment.
Should we not then be using the pedestal or the separatrix density then?
There was a problem hiding this comment.
I'm not sure pedestal is a good choice given this is for L-mode plasmas. Besides, its numerical effect is very small because the fitted exponent is only -0.01
|
I would note, that this will cause a lot of conflicts with #4386 which is also trying to add in a scaling number 51. with several of the same name changes made. I would also note that all the code has currents and current fraction with variables names like |
c199876 to
3578edc
Compare
Format docstring Co-authored-by: Christopher Ashe <91618944+chris-ashe@users.noreply.github.com>
format units Co-authored-by: Christopher Ashe <91618944+chris-ashe@users.noreply.github.com>
Format reference Co-authored-by: Christopher Ashe <91618944+chris-ashe@users.noreply.github.com>
Description
Adds new NCST confinement time scaling law.
Checklist
I confirm that I have completed the following checks: