Skip to content

Latest commit

 

History

47 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECH Optimizer

An electron cyclotron heating optimization code for DIII-D. Further details on results using this repository can be found in our publication Robust control of ECH deposition profiles on DIII-D: https://arxiv.org/abs/2606.13661

For simply trying out the model:

  • The models, data and configs are located in the DIII-D Omega cluster, in /fusion/projects/xpsi/transient_control/ECHO_analysis/ECH_OPT
  • Use plot_pcs_echo_results.ipynb to grab ECHO results from past DIII-D shots and see the ECHO optimization outputs.

For more advanced use, the repository includes the following features:

  1. Scripts to grab required shot data from DIII-D, including plasma information and ECH mirror angles
  2. Scripts to run ECHO offline with a personalized target, or visualize ECHO results directly from old PCS shots
  3. Scripts to reproduce the figures made in the publication

How to use ECHO

To run ECHO, including the genetic optimizer and torbeamNN, you need: temperature and density profiles, EFIT G-files, toroidal and poloidal mirror angles, ECH powers and power supplies.

echo_offline_debug.c is the C code equivalent to the PCS ECHO code. It is easiest to run using the make_echo_targets_contingency.ipynb notebook, which will compile the C file and run ECHO using typical parameters. The target making is intuitive here, and you can see how the algorithm moves each gyrotron to get as close as possible to the target.

About

ECHO offline code for real-time DIII-D ECH optimization

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages