MIT-PSFC / disruption-py

An open-source physics-based Scientific Framework for Disruption Analysis of Fusion Plasmas for AI/ML applications
https://mit-psfc.github.io/disruption-py/
MIT License
11 stars 0 forks source link

Fix CMOD EFIT nodenames #332

Closed yumouwei closed 2 weeks ago

yumouwei commented 1 month ago

Implemented changes

Remaining issues to be addressed

1. beta_n

image

https://github.com/MIT-PSFC/disruption-py/blob/8888f3f601b03cf922d8053beef93e10801d2fe8/disruption_py/machine/cmod/efit.py#L133-L139

2. v_surf

https://github.com/MIT-PSFC/disruption-py/blob/8888f3f601b03cf922d8053beef93e10801d2fe8/disruption_py/machine/cmod/efit.py#L109-L117

3. v_loop

https://github.com/MIT-PSFC/disruption-py/blob/8888f3f601b03cf922d8053beef93e10801d2fe8/disruption_py/machine/cmod/efit.py#L122-L131

image

References

crea-psfc commented 3 weeks ago

Thank you @yumouwei for the thorough review. Generally, all pre-2000 code blocks need to be thoroughly reviewed and validated. Regarding the specific points raised:

  1. Let's consult with Bob Granetz to determine the correctness of beta_n.
  2. I believe the one you linked is the correct expression for vsurf as C-Mod had one big poloidal Rogowski loop. Bob Granetz is the one that can solve this point as well.
  3. same as above, let's raise these points to Bob's attention to determine best course of action.

@gtrevisan there are certainly edge cases for DIII-D as well, but we never went into similar detailed analysis of historical data. I am aware of a strong bifurcation in the availability of the n=1 bradial signal. I talked to @yumouwei at the time, he should be aware. Regarding areao, sure, let's add it to the list of retrieved signals from EFIT. Right now it can be reconstructed via differences between kappa and kappa_area.

yumouwei commented 2 weeks ago

Following the discussion on 11/4/24, we decided to investigate & address the beta_n, v_surf, & v_loop computations in a separate PR. For now this PR is ready for merging.