1: \begin{abstract}
2: We present here a real-time control model for the train dynamics in a linear metro line system.
3: The model describes the train dynamics taking into account average passenger arrival rates on platforms,
4: including control laws for train dwell and run times, based on the feedback of the train dynamics.
5: The model extends a recently developed Max-plus linear traffic model with demand-dependent dwell times and a run time control.
6: The extension permits the elimination of eventual irregularities on the train time-headway.
7: The resulting train dynamics are interpreted as a dynamic programming system of a stochastic optimal control problem of a Markov chain.
8: The train dynamics still admit a stable stationary regime with a unique average growth rate interpreted as the asymptotic
9: average train time-headway. Moreover, beyond the transient regime of the train dynamics, our extension guarantees uniformity in time of the train time-headways at every platform.
10: % To this end, headway convergence towards the average asymptotic train time-headway is proved, i.e. the headways on the line converge
11: % towards the average asymptotic headway. Finally, this headway is proved to be inferior to the average headway in the Max-plus linear
12: % model which fully accounts for the passenger demand.
13: \end{abstract}
14: