Elvas Tower: autotable, a GTFS-based automatic timetable generator - Elvas Tower

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

autotable, a GTFS-based automatic timetable generator Rate Topic: -----

#1 User is offline   YoRyan 

  • Conductor
  • Group: Status: Active Member
  • Posts: 391
  • Joined: 19-February 20
  • Gender:Male
  • Location:California, United States
  • Simulator:Open Rails/unstable
  • Country:

Posted 19 February 2020 - 04:43 PM

autotable is a procedural timetable generator for Open Rails that recreates real-world schedules.

Ready-to-run timetables are available on GitHub. As of March 20, 2020 there are timetables for the following routes:

  • Surfliner 2.3 (Amtrak, Metrolink, Coaster)
  • Cajon Pass 4.2 (Amtrak, Metrolink)
  • BNSF Glorieta Pass (Amtrak, NM Rail Runner)
  • Marias Pass 5 (Amtrak)
  • NC Piedmont Corridor (Amtrak)
  • Northeast Corridor v4 (Amtrak, SEPTA, MARC)
  • Leeds, Settle & Carlisle 2.0 (Northern)


Original post below:
--------------------------------------------

I have been working on a Python program that turns digitized transit schedules into timetables for Open Rails. It's still a little rough around the edges, but it works! It takes General Transit Feed Specification (GTFS) files, which have been made available by an increasing number of transit operators throughout North America and Europe to power wayfinding services like Google Maps and the Transit app. These data obviously do not specify any rolling stock or track paths, so my program also accepts a "recipe" file that injects this information.
As an example, here is a recipe I prepared for Amtrak's Saturday services between Washington and Philadelphia. The resulting timetable:

https://i.postimg.cc/3J7qFgnd/autotable-nec.png

And here is an even briefer recipe for current services between Settle and Carlisle. The resulting timetable:

https://i.postimg.cc/JnZTbnXN/autotable-s2c.png

As you can see, the result is a full, authentic timetable with minimal effort spent on rote tasks like reading off of tables or keying in times. Eventually, I hope to build a full PRR Eastern Region timetable with as many Amtrak, MARC, SEPTA, and NJ Transit services as the sim can handle.

You can browse autotable's source code on GitHub.

#2 User is offline   Coonskin 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 3,689
  • Joined: 15-January 04
  • Gender:Male
  • Location:Eastern Oklahoma
  • Country:

Posted 19 February 2020 - 06:41 PM

THAT is a notable accomplishment.

Yer doin' good!

#3 User is offline   YoRyan 

  • Conductor
  • Group: Status: Active Member
  • Posts: 391
  • Joined: 19-February 20
  • Gender:Male
  • Location:California, United States
  • Simulator:Open Rails/unstable
  • Country:

Posted 23 February 2020 - 06:11 PM

Success! I have produced a NECv4 timetable with all Amtrak NEC, SEPTA Wilmington/Newark, MARC Penn, and MARC Camden trains.

https://i.postimg.cc/ZRLvpkXc/elvas1.jpg

https://i.postimg.cc/5yNYm7VM/elvas2.jpg

https://i.postimg.cc/ZYVyqS8Y/elvas3.jpg

Paths could use a little work, though. Coordinating overtakes is tough. http://www.elvastower.com/forums/public/style_emoticons/default/lol.gif

https://i.postimg.cc/NFJyC6s2/elvas4.jpg

This post has been edited by YoRyan: 23 February 2020 - 06:12 PM


#4 User is offline   conductorchris 

  • Vice President
  • Group: Status: First Class
  • Posts: 2,339
  • Joined: 24-March 10
  • Gender:Male
  • Simulator:Open Rails - MSTS
  • Country:

Posted 27 February 2020 - 11:40 AM

Wow! Terrific!
I hope what you've got on the NEC can be shared.
Now if only it could read my printed employee timetables from 75 years ago!

#5 User is offline   YoRyan 

  • Conductor
  • Group: Status: Active Member
  • Posts: 391
  • Joined: 19-February 20
  • Gender:Male
  • Location:California, United States
  • Simulator:Open Rails/unstable
  • Country:

Posted 29 February 2020 - 10:20 PM

I hear ya! I have uploaded my work on the NEC to the GitHub repo. To actually play the timetable, you would need to install my paths and substitute your own equipment, the latter of which is very easy to do with autotable - that is, if you can run it; I don't plan to publish a Windows executable until I finish the last of the incomplete features. (If anyone's curious, I would be happy to provide a beta version upon request.)


As for the table itself, it's a real doozy! It contains all 240 weekday trains, and it's produced entirely from one comparatively tiny recipe file. http://www.elvastower.com/forums/public/style_emoticons/default/thumbup3.gif


https://i.postimg.cc/gcCky8jK/Screenshot-20200229-211310.png

P.S. Why aren't we permitted to attach timetable-or files?

Attached File(s)



#6 User is offline   YoRyan 

  • Conductor
  • Group: Status: Active Member
  • Posts: 391
  • Joined: 19-February 20
  • Gender:Male
  • Location:California, United States
  • Simulator:Open Rails/unstable
  • Country:

Posted 08 March 2020 - 11:07 AM

Surf's up! This timetable includes all 172 Amtrak (Surfliner/Starlight/Chief), Metrolink (VC/AVL/OC/91/IE), and Coaster services.
https://i.postimg.cc/wTQMdN7m/Open-Rails-2020-03-08-01-20-25.png
https://i.postimg.cc/DfsmBHh5/Open-Rails-2020-03-08-01-25-25.png
https://i.postimg.cc/KjyG6cbf/Open-Rails-2020-03-08-12-50-57.png
https://i.postimg.cc/3wVJZCbP/Open-Rails-2020-03-08-12-56-52.png
https://i.postimg.cc/Qd6MFrgN/Open-Rails-2020-03-08-12-58-44.png

Attached File  Surfliner2-3 timetables.zip (146.91K)
Number of downloads: 15

#7 User is offline   YoRyan 

  • Conductor
  • Group: Status: Active Member
  • Posts: 391
  • Joined: 19-February 20
  • Gender:Male
  • Location:California, United States
  • Simulator:Open Rails/unstable
  • Country:

Posted 17 March 2020 - 01:18 PM

Major updates! I've released autotable 1.0 and it can now be considered stable software. I've also spun off timetable development to a new repository on GitHub, which automatically builds and releases new timetables after I've made any changes to the recipes. The new page includes two new timetables: Leeds to Carlisle and Marias Pass.

If you've already downloaded one of my Surfliner or NEC timetables from this forum, I recommend replacing it with a GitHub release. Previously, I was using default consists. The idea was that you could download the original recipe, change out the consist lines for any of your own consists, and build your own timetable using autotable. But I get the feeling you folks just want ready-to-run timetables, so with the GitHub versions, I have included my own consist files. You can use TRES to edit them and incorporate your own rolling stock.

#8 User is offline   conductorchris 

  • Vice President
  • Group: Status: First Class
  • Posts: 2,339
  • Joined: 24-March 10
  • Gender:Male
  • Simulator:Open Rails - MSTS
  • Country:

Posted 17 March 2020 - 05:29 PM

Great! Thanks!

#9 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,404
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

Posted 17 March 2020 - 08:40 PM

YoRyan -- from your GitHub instructions:

Quote

For convenience, all consists use default rolling stock. You can use any consist editor, like the one that comes with TRES5, to swap in your preferred equipment.

The consist editor is found in TSRE not TRES5....just to clarify, in case there are new users to Open Rails and TSRE. The link is good....now for the compliments...THANK YOU -- http://www.elvastower.com/forums/public/style_emoticons/default/sign_thank_you.gif --- I've been wanting to try some ready made timetables...very nicely done, I don't run much passenger stuff...do a little stock substituting ( easy enough ) and off and running. http://www.elvastower.com/forums/public/style_emoticons/default/sign_rockon.gif

#10 User is offline   RR1 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 03-March 13
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 18 March 2020 - 05:01 AM

This is pretty awesome. Setting up timetables can be a challenge, lot's of moving parts. Hopefully this let's a lot more people enjoy the extensive capabilities of timetables.

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users