Skip to main content

Scripting reference

This section lists the main entities of Trenissimo data model, all the methods, the variables, the extension methods and the static extension methods available for Groovy scripts; the tasks, the properties and references that are available for Ant scripts; the plugin tasks.

It is recommended that you read the following Scripting Guide before consulting the reference.

Macro Infrastructure data model

Timetable (planned) data model

Rolling stock data model

Simulation Timetable data model

The Simulation Timetable is the input of the simulation; it contains the Timetable trains, replicated more than once if they run on multiple simulation days, with their paths trimmed on the simulation area edges.

Actual Simulation Timetable data model

The Actual Simulation Timetable is the output of the simulation; contains all the information of the Simulation Timetable, including the actual arrival, departure and passing times, actual routing, stochastic delays, secondary delays, dispatcher choices and other information calculated by the simulator.