Modular Design of 3 MJ/2 MW Toroidal Magnet and Analysis of Dynamic Temperature Rise