Physics design of beamline for single proton generation at the CSNS accelerator complex | Synapse