~~~Information technology, automation, communications, telecommunications~~~
In this article the tasks of simulation of flows on the railways are discussed. The main purpose of this work is to create a new simulation technology such a complex system as the rail network. Scientific novelty consists in the application of a combination of agent-based and discrete-event approaches in a given subject area. During the conducted study the models of behavior of agents were created, the problematic situation was highlighted and discrete-event part of the model was developed for this situation. The main categories of regular and emergency situations are analyzed, a list of situations for modelling are created. Choices for removal emergency situations were discussed, an algorithm for their processing (discrete-event part of the model) was chosen. An illustration of the study is a simulation model of the railway section of the West-Siberian railway with the possibility of rebuilding the train schedule, which depend on the addition of regular or emergency situation. As a result of the simulation, output such as a traffic graph and an information table are generated. There are plans to use new technology for creating model of "transport hub”.