Abstract

The developed algorithms for choosing a railway track by an agent (train, railcar, locomotive, etc.) are described for discrete-event modeling of the technological operation of railway transport using the tools of the Anylogic railway library. Various options for choosing a track are considered: sequential and multidirectional search, random selection, selecting tracks of even/ odd numbering, selecting a track using a ternary operator. The advantages and disadvantages of each of the options are specified. The paper presents JAVA code listings which allow developers of simulation models to quickly apply the proposed algorithms to practice when developing simulation discrete-event models of technological operation of railway transport in the AnyLogic environment. The use of the presented algorithms allows us to avoid hypertrophy of the process diagram architecture, make the model understandable and scalable. For the convenience of perception of the material, all the presented algorithms for choosing a free track are considered on the example of the track development of a dead-end station. In the cargo segment, such stations are often an element of the transport infrastructure development of sea and river ports, as well as large industrial enterprises. In the passenger segment they are passenger stations of large settlements.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call