Optimized design and energy management of a hybrid electric traction substation integrating photovoltaic generation and storage systems: case study of the moroccan railway network | Synapse