Resumen
The article considers the issues of modelling train situations at stations and develops a mathematical model of operation of railway automatics devices and movements of trains. The special software has been described, which allows essentially to simplify and speed up the process of systems arrangement in different modes.