LEDET
LEDET (Lumped-Element Dynamic Electro-Thermal) and is a 2D and 3D finite difference tool for simulating electro-magnetic and thermal transients in accelerator magnets.
It includes electro-magnetic coupling between the turns, 3-dimensional thermal diffusion, ohmic loss, inter-filament coupling loss and inter-strand coupling loss, persistent currents.
It allows simulating transients featuring powering cycles and a variety of quench protection methods: self-protection, energy extraction, varistor, quench heater, CLIQ (Coupling-Loss Induced Quench), ESC (Energy Shift with Coupling).
LEDET is developed in Matlab.
Documentation¶
References¶
[1] E. Ravaioli et al., "Lumped-element dynamic electro-thermal model of a superconducting magnet," Cryogenics, 2016.
[2] E. Ravaioli, "CLIQ," Ph.D. dissertation, Enschede, 2015, presented on 19 June 2015.
[3] E. Ravaioli, O. Tranum Arnegaard, A. Verweij, M. Wozniak, "Quench Transient Simulation in a Self-Protected Magnet With a 3-D Finite-Difference Scheme", IEEE Trans. on Appl. SC, 2022.
[4] STEAM: Simulation of Transient Effects in Accelerator Magnets, https://cern.ch/steam
Installation¶
LEDET is distributed as stand-alone executable compiled for Windows or for Linux, which can be run without an installed version of Matlab.
Launching simulations¶
For launching LEDET simulation with the compiled executable you need to install a freeware software called Matlab Compiler Runtime (MCR). The MCR version needed is MCR_R2018a_win64_installer and is available from MathWorks under this link
There are two ways to launch LEDET simulations:
1) Basic mode – LEDET folder structure setup, input files generation, and simulation run are performed manually
a) Setup the LEDET folder structure following the LEDET manual
b) Generate the required input files
c) Launch LEDET by executing a .bat file containing this line:
"YOUR_PATH\LEDET_YOUR_VERSION.exe" "YOUR_LEDET_MASTER_FOLDER" MAGNET_NAME 2399 ".FILE_EXTENSION
after replacing YOUR_PATH, YOUR_VERSION, YOUR_LEDET_MASTER_FOLDER, MAGNET_NAME, SIMULATION_NUMBER, and FILE_EXTENSION.
For example:
"C:\steam_sdk_data\LEDET\LEDET_v2_05_02.exe" "C:\steam_sdk_data\LEDET" MQXF_V2 1 ".xlsx"
Note that if multiple similar lines are added to the .bat file the simulations will be run sequentially.
Alternatively, you can launch one LEDET simulation from the command line (cmd):
"YOUR_PATH\LEDET_YOUR_VERSION.exe" "YOUR_LEDET_MASTER_FOLDER" MAGNET_NAME 2399 ".FILE_EXTENSION
2) Advanced mode - with automated LEDET folder structure setup, input file generation, simulation run, and parametric sweep using STEAM SDK
If you are new user of the STEAM SDK, please contact the STEAM admins for support.
Source code¶
License¶
LEDET is licensed under the GNU General Public License v3.0. See the LICENSE file in the repositories for details.
For questions please contact