Near real-time timetabling for metro system energy optimization considering passenger flow and random delays. (March 2022)