Abstract
Calculating the train traction in the railway industry is a general problem with many contents. Firstly, it is necessary to calculate and determine the mass of a train on a calculated slope at a uniform speed, then test the mass according to the starting slope, the minimum curve radius, the ability to use the kinetic energy to overcome the slope, and the effective length of the station track. Passenger and freight trains have diverse compositions, which include different types of wagons and are pulled by different types of locomotives. Calculating and testing the mass for such diverse trains is a high volume workload that takes much time if done by traditional manual methods. Therefore, to shorten the time, to ensure flexibility and convenience in the calculation process with different train formation plans, this article presents the process of developing a program to calculate and test the mass of a train to meet the requirements. This program is essentially a module (a subprogram) of a general program that calculated the train traction.