Conversation
|
@yumouwei @gtrevisan @hwietfeldt @AlexSaperstein The voltage signals for the C-Mod CS (which includes OH1, OH2U, & OH2L power supplies), and the #of turns in each of those solenoids is in the C-Mod engineering subtree for every shot, so in principle the CS stack voltage can be obtained. Of course, this ignores any effect of the vacuum vessel. But you could start by comparing the CS stack voltage against the derived loop voltage. |
|
Hey, I wanted to add myself to the conversation since I've learned a few things about Vloop (including \efit_aeqdsk:vloopt, which is currently used in case reading \mflux:v0 results in an error):
|
|
Here's a comparison of the raw mflux:v0, smoothed mflux:v0 using either a causal or non-causal (matlab_smooth) boxcar smoothing function over 20 ms window, and vloopt from EFIT18. Looks like vloopt matches neither of the two smoothed signals; it might be that it used a different smoothing function. Also, what's IAVEV? |
|
IAVEV is an input to efit located in .NAMELISTS.EFITIN.IAVEV in the efit tree. Its comment in the node for IAVEV is "ms for averaging loop voltage, 20." For both analysis and efit18, IAVEV had a value of 20. |
19e0a33 to
e2e3085
Compare

Previous discussion
Implemented changes
dip_smoothedwith the newly addedcausal_boxcar_smoothfunction.causal_boxcar_smoothfunction to smooth the noisyv_loopsignal (from\analysis::top.mflux:v0).dip_smoothedandv_loopI use 6-point boxcar smoothing which introduces a delay of about 0.5 ms observed at the end of the shot (see figures in the issue). I believe this amount of delay is tolerable since we are going to rerun EFIT with 1 ms interval.p_ohto 0.Note
I have not removed the plotting functions for comparing the raw & filtered signals!I have removed the plotting functions. The previous version with the plotting functions are now moved to a new branch calledwei/improve-get-ohmic-plotting. @AlexSaperstein please take a look using a couple other shots and make sure the levels of noise and delay are acceptable.TODO:
origin/devin order to modify the docstring.smoothfunction is also used in the EAST branch. I'll update those methods in a separate PR.