Design of spectrometer energy measurement setups for the future EuPRAXIA@SPARCLAB and SSRIP linacs | Synapse