Energy-saving applications in the case of rolling stock failures