September 1, 2019.
The Linac Coherent Light Source (LCLS) is a free electron laser that is located at SLAC National Accelerator Laboratory. It fires 120 pulses per second, creating x-ray snapshots of materials at the atomic and molecular level as it undergoes any changes or processes. This resulted in many scientific discoveries in chemistry, biology, energy science, and technology. Now, there is a new vision at SLAC regarding LCLS: to develop Simulacrum. Simulacrum is a system that simulates LCLS and its control system. Within Simulacrum there exits services that contain process variables that measure specific parts of a device on LCLS, which communicate through a high-performing messaging system called ZeroMQ. For instance, a PV be controlled and provide information to operators about a klystron’s amplitude or phase, which is needed to accelerate electrons in the linac. Because LCLS contains thousands of devices that contain complex subsystems, a major challenge is writing every PV that exists in LCLS into Simulacrum’s services. The goal of this project was to focus on two services, klystron and generic services, and write as many PVs that correspond to these two categories using MATLAB and Python. Then, we find methods to populate these PVs with sensible data so that it simulates LCLS with accuracy and updates graphical user interfaces from LCLS in Simulacrum.
SLAC National Accelerator Laboratory (SLAC)
I am very grateful for the invaluable direction and mentorship provided by William Colocho. Moreover I am very thankful towards the 2019 STEM Teacher and Researcher Program (STAR), which could not have been possible without the support from Chevron (www.chevron.com), the National Science Foundation through the Robert Noyce Program under Grant #1836335 and 1340110, the California State University Office of the Chancellor, and California Polytechnic State University in partnership with SLAC National Accelerator Laboratory. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the funders.