A Real-Time Energy Management Strategy for Sustainable Operation of Electrified Railway Grid-Source-Storage-Vehicle System Integrating Rule and Optimization | Synapse