The present paper deals with the use of systems and devices with artificial intelligence in the motor vehicle driving. The main objective of transport operations is a transportation planning with minimum energy consumption. There are various methods for energy saving, and the paper discusses one of them – proper planning of transport operations. To gain proper planning it is necessary to involve the system and devices with artificial intelligence. They will display possible developments in the choice of one or another transport plan. Consequently, it can be supposed how much the plan is effective against the spent energy. The intelligent device considered in this paper consists of an algorithm, a database, and the internet for the connection to other intelligent devices. The main task of the target function is to minimize the total downtime at intermediate stations. A specific unique PHP-based computer model was created. It uses the MySQL database for simulation data storage and processing. Conclusions based on the experiments were made. The experiments showed that after optimization, a train can pass intermediate stations without making multiple stops breaking and accelerating, which leads to decreased energy consumption.
 C. Sicre, P. Cucala, A. Fernández, J. A. Jiménez, I. Ribera and A. Serrano, “A method to optimise train energy consumption combining manual energyefficient driving and scheduling,” WIT Trans. on The Built Environment, pp. 549–560, 2010. https://doi.org/10.2495/CR100511
 I. Dincer, J. Hogerwaard and C. Zamfirescu, Clean Rail Transportation Options (Green Energy and Technology Series), Switzerland: Springer International Publishing, 2016. https://doi.org/10.1007/978-3-319-21726-0
 Railway Technical Web Pages, Electronic Power for Trains. [Online]. Available: http://www.railway-technical.com/tract-02.shtml.
 J. Smirnovs, P. Balckars, D. Sergejevs, T. Altbergs and V. Greckis, Dzelzceļi. Vispārīgais kurss (Railways. General Course), Riga, Latvia: VAS “Latvijas Dzelzceļš”, 1996. 279 p.
 I. Alps, “Modelling of Intelligent Electrical Transport Control Systems Scheduling Problems in the Unforseen Cases,” Doctoral Thesis, Faculty of Power and Elect. Eng., Riga Technical University, 2012, 155 p.
 Ministru kabinets. (2010 Aug. 3). Dzelzceļa Tehniskās Ekspluatācijas Noteikumi. [Online]. Available: http://likumi.lv/doc.php?id=214699&cs=f521ff1e
 R. W. Conway, W. L. Maxwell and L. W. Miller, Theory of Scheduling, Mineola, New York: Dover Publications, Inc., 2003, 304 p.
 H.-S. Hwang, “Control strategy for optimal compromise between trip time and energy consumption in a high-speed railway,” IEEE Trans. on Systems, Man, and Cybernetics - Part A: Systems and Humans, vol. 28, no. 6, pp. 791–802, Nov. 1998. https://doi.org/10.1109/3468.725350
 G. N. Brooks and C. R. White, “An Algorithm for Finding Optimal or Near Optimal Solutions to the Production Scheduling Problem,” J. Industrial Eng., vol. 16, 1965.
 Information about Latvian railway. [Online]. Available: interior site https://ldzintranet.int.ldz.lv/
 VAS „LDz”, Freight trains schedule, Riga, Latvia, 2013. 81 p.
 M. Gorobecs, I. Alps and A. Levčenkovs, “Mathematical Formulation of Public Electric Transport Scheduling Task for Artificial Immune Systems,” in Proc. of RTU 50th Int. Scientific Conf. “Power and Electrical Eng.”, Latvia, Riga, 2009, pp. 159–164.
 CyberForum, Forum of programmers and system administrators. [Online]. Available: http://www.cyberforum.ru
 CakePHP 2.x Cookbook, Models. [Online]. Available: http://book.cakephp.org/2.0/en/models.html
 Tutorialspoint, MySQL PHP Syntax. [Online]. Available: https://www.tutorialspoint.com/mysql/mysql-php-syntax.htm