Sizing and Energy Management of a Hybrid Locomotive Based on Flywheel and Accumulators | Synapse