Heat Generation and Thermal Management of a Rapid-Fire Electromagnetic Rail Launcher