...
Similarly as in script for input DYON data, the input data are placed into IMAS IDS's (Interface Data Structures). The allocation of the data in the IDS's and the functions supporting it are described below.
List of the script files
main_input_get_data_from_IMAS.m | Main script DYON input saving data from IMAS to MAT file: IMAS data |
main_input_put_data_to_IMAS.m | Additional script saving DYON input data in the IMAS |
get_from_IMAS.m | Auxiliary script for main_input_get_data_from_IMAS.m |
Input_put_to_IMAS.m | Auxiliary script for main_input_put_data_to_IMAS.m |
Input_put_core_profiles.m | Function saving data to the 'core_profiles' IDS |
Input_put_ec_launchers.m | Function saving data to the 'ec_lauchers' IDS |
Input_put_equilibrium.m | Function saving data to the 'equilibrium' IDS |
Input_put_gas_injection.m | Function saving data to the 'gas_injection' IDS |
Input_put_magnetics.m | Function saving data to the 'magnetics' IDS |
Input_put_em_coupling.m | Function saving data to the ' em_coupling' IDS |
Input_put_wall.m | Function saving data to the 'wall' IDS |
Input_put_pf_active.m | Function saving data to the 'pf_active ' IDS |
Input_put_pf_passive.m | Function saving data to the 'pf_passive' IDS |
Input_put_pulse_shedule.m | Function saving data to the ' pulse_shedule ' IDS |
Input_put_plasma_initiation.m | Function saving data to the ' plasma_initiation ' IDS |
Input_put_tf.m | Function saving data to the ' tf ' IDS |
Input_get_core_profiles.m | Function recovering the saved data from the 'core_profiles' IDS |
Input_get_ec_launchers.m | Function recovering the saved data from the 'ec_lauchers' IDS |
Input_get_equilibrium.m | Function recovering the saved data from the 'equilibrium' IDS |
Input_get_gas_injection.m | Function recovering the saved data from the 'gas_injection' IDS |
Input_get_magnetics.m | Function recovering the saved data from the 'magnetics' IDS |
Input_get_em_coupling.m | Function recovering the saved data from the ' em_coupling' IDS |
Input_get_wall.m | Function recovering the saved data from the 'wall' IDS |
Input_get_pf_active.m | Function recovering the saved data from the 'pf_active ' IDS |
Input_get_pf_passive.m | Function recovering the saved data from the 'pf_passive' IDS |
Input_get_pulse_shedule.m | Function recovering the saved data from the ' pulse_shedule ' IDS |
Input_get_plasma_initiation.m | Function recovering the saved data from the ' plasma_initiation ' IDS |
MAST_27512__2023_3_17_22_1_45_p0=1.1563mPa.mat | Example of MAT-file with DYON results (received from Kim Hyun-Tae) |
Running the scripts
To launch the test scripts, do the following:
- Enter:
...
- module load imasenv/<IMASversion>
...
- . Here <IMASversion> is 3.38.1/rc or higher.
- The scripts in its present form use the IMAS database 'step'. If you are planning to use it and this database is non-existent, enter the following command to create the database:
...
- imasdb step
...
- .You can replace 'step' with another IMAS database name, but do not forget to create it and change the variable 'machine' in main_input_get_data_from_IMAS.m and main_input_put_data_to_IMAS.m.
- Enter
...
- : matlab
- Run main_input_put_data_to_IMAS.m in order to save in IMAS the data from an available DYON input MAT-file (you can change shot, run, IDS comments etc. by changing the parameters in this script).
- To get back the DYON input data, run test_get_from_IMAS.m.
The main files (functions main_input_put_data_to_IMAS.m ', 'input_put_to_IMAS' and main_input_get_data_from_IMAS.m, 'input_get_from_IMAS)
...