IGBT Power stack integrity assessment method for high-power magnets supplie