Abstract
A mathematical formulation of the problem of determining energy optimal train control with regenerative breaking and its solution based on the maximum principle are presented. The results of analysis of the train model and train model errors influence on the optimal trajectory are presented. Examples of energy optimal trajectories on the lines of the Moscow and Hanoi Metro are shown.