Simulation Of Electron Source For Next-Generation X-Ray Free-Electron Laser