JSPEC: A Program for IBS and Electron Cooling Simulation
Intrabeam scattering is an important collective effect that can deteriorate the properties of a high-intensity beam, and electron cooling is a method to mitigate the IBS effect. JSPEC (JLab Simulation Package for Electron Cooling) is an open-source program developed at Jefferson Lab, which simulates the evolution of the ion beam under the IBS and/or the electron cooling effect. JSPEC has been benchmarked with BETACOOL and experimental data. In this report, we will introduce the features of JSPEC, including the friction force calculation, the IBS expansion rate and electron cooling rate calculation, and the beam-dynamic simulations for the electron cooling process; explain how to set up the simulations in JSPEC; and demonstrate the benchmarking results.