How many trains can a timetable have?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • markyisri
    Senior Member
    • Oct 2016
    • 182

    #1

    How many trains can a timetable have?

    What's the maximum number of trains (columns) OR can handle for a timetable (obviously CSV format)?
  • roeter
    Senior Member
    • Nov 1999
    • 171
    • Netherlands.

    #2
    The timetable I'm working on at the moment now stands at just over 2300 trains, over 24 hours.
    Obviously this is not a single timetable-file but a list of files (18 timetables, 12 pools, 5 additional files defining trains starting in pools only). And it's no longer CSV but UnicodeText files, as this solved the problem of special local characters.
    The route, which is a 'private' fictitious route, has just over 5900 km track length, but the timetable does not yet include all lines, so the number will increase further. Also, the route itself is far from finished yet.
    The total number of trains doesn't seem to affect the program load too much, the environment and scenery have a much bigger impact.

    Regards,
    Rob Roeterdink

    Comment

    • markyisri
      Senior Member
      • Oct 2016
      • 182

      #3
      Originally posted by roeter
      The timetable I'm working on at the moment now stands at just over 2300 trains, over 24 hours.
      Obviously this is not a single timetable-file but a list of files (18 timetables, 12 pools, 5 additional files defining trains starting in pools only). And it's no longer CSV but UnicodeText files, as this solved the problem of special local characters.
      The route, which is a 'private' fictitious route, has just over 5900 km track length, but the timetable does not yet include all lines, so the number will increase further. Also, the route itself is far from finished yet.
      The total number of trains doesn't seem to affect the program load too much, the environment and scenery have a much bigger impact.

      Regards,
      Rob Roeterdink
      How do you have 18 timetable files? That avoids LibreOffice's 1024 column limit.

      Comment

      • roeter
        Senior Member
        • Nov 1999
        • 171
        • Netherlands.

        #4
        You can create a .timetablelist_or file. This is just a plain text-file, which lists the timetable files which form the complete timetable (just the filename, not the path, and one file per line). All files, including the .timetablelist_or file, must be located in the same directory.
        If the first line starts with #, it is treated as a description and that description will be shown in the menu selection list.
        If you select a .timetablelist_or file from the menu, you will be offered a selection from the timetable files contained in the list, and after selecting the required timetable you can select the required train.
        References to trains in another timetable file within the selection must contain the timetable description (NOT the filename!); e.g., if you have a timetable with description TT2, you can reference a train in TT2 - e.g., train Train2, as Train2:TT2.
        You can use this anywhere when another train is referenced, e.g. $forms command, $wait, $attach etc.

        Regards,
        Rob Roeterdink

        Comment

        • markyisri
          Senior Member
          • Oct 2016
          • 182

          #5
          Originally posted by roeter
          You can create a .timetablelist_or file. This is just a plain text-file, which lists the timetable files which form the complete timetable (just the filename, not the path, and one file per line). All files, including the .timetablelist_or file, must be located in the same directory.
          If the first line starts with #, it is treated as a description and that description will be shown in the menu selection list.
          If you select a .timetablelist_or file from the menu, you will be offered a selection from the timetable files contained in the list, and after selecting the required timetable you can select the required train.
          References to trains in another timetable file within the selection must contain the timetable description (NOT the filename!); e.g., if you have a timetable with description TT2, you can reference a train in TT2 - e.g., train Train2, as Train2:TT2.
          You can use this anywhere when another train is referenced, e.g. $forms command, $wait, $attach etc.

          Regards,
          Rob Roeterdink
          Thanks so much for your help Rob.

          (Loving the new timetable features, by the way. Would be great to see weather and consist randomization added to them!)

          Comment

          • markyisri
            Senior Member
            • Oct 2016
            • 182

            #6
            It works perfectly. Thanks again. Now I can have a practically infinite number of trains.

            Comment

            Working...