Integrated optimization of timetable and speed profile for onboard energy storage trams with charging time adjustment | Synapse