Optimal Sizing of Onboard Energy Storage Devices for Electrified Railway Systems | Synapse