Simulation

From NIMBY Rails Wiki
Revision as of 11:52, 27 December 2022 by Hannibal (talk | contribs) (Created page with "{{Concepts sidebar}} The game simulation takes the player's inputs such as stations, lines, trains and their timetable and uses them to simulate the day to day operation of a railway transport network. The main elements of the simulation are: *Trains run to their next scheduled stop, reserving paths along the way and obeying any signals *Pax are spawned at each origin station, pathfind their way to their d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
NIMBY rails game concepts
Geography
Map objects
Line concepts
Train concepts
Simulation

The game simulation takes the player's inputs such as stations, lines, trains and their timetable and uses them to simulate the day to day operation of a railway transport network. The main elements of the simulation are:

Simulation data and saving

Depending on the size of the network, running the game simulation generates a large amount of data. The following data from the simulation state is stored in the save game file:

  • All pax, their exact location and final destination
  • The exact location and run of each train
  • Accounting events including money

The following game simulation data is not saved and is recalculated each time on reload:

  • Pax pathfinding cache
  • Line timings. Lines are stored by the game as a collection of stops and other input data (such as custom timings). Automatically calculated times between two stops are recalculated on reload.

Simulation speed

The game has four simulation speed settings

  • 1x
  • 10x
  • 100x
  • "As fast as possible", which disables the UI