This research is started from evaluating the effectiveness and efficiency. Effectiveness in engineering terms means “do the right things” that related to the service quality. Efficiency in engineering terms means “do the things right” that related to the energy consumption. The typical inter-station run out, a train accelerates from a station to maximum speed and maintains the train speed as much as possible until it is necessary to brake to a halt for the next station. Usually, the running time is the shortest and the energy consumption is the highest as the train is running close to the maximum permissible speed throughout the trip. The traction motors are allowed to turn off once the train accelerates above a certain speed if coasting is allowed. With the application of coasting, the momentum of the train carries it through and the brake is still needed to bring the train to stop at the next station. Inter-station run time is longer but the energy saving can be achieved because the train spends less time on motoring. The researcher is then building the algorithm using the MatLab with a Toaster system developed by Prof. Mindjid to carry out the algorithm.