Reinforcement learning for accelerator beamline control: A simulation-based approach | Synapse