Train Speed Trajectory Optimization With On-Board Energy Storage Device | Synapse