Saturday, 28 November 2026

An overview of how I set up and run a Session on The GSD

 

I just want to capture the System as I have it at the moment as mt brain is well 'old'. I would welcome questions and suggestions. I want to describe how the system works. This is not and Operators Guide. I will try and take you through the running of train  161 which runs empty Grain and livestock cars from Dry Creek Yard in Adelaide to Wirrega and Blue Lake. 

Airtable Database

Airtable is a powerful commercial Relational Database which is the heart of the whole process. The system is designed to fit within the parameters of the free version, which limits the number of records to 1,000 and the number of API Calls to 1,000 per month. The GSD has 675 records and makes 120 API Calls per month. (API Calls are the number of times an external source asks for, or writes  data to the Database). Like JMRI Ops Pro the Database has tables for Locations, Sidings, Rolling Stock, Motive Power, Trains, Sessions, Waybills and Session Car Movements. The last two are populated between sessions by the System.

The Airtable Waybill Table

The System.

The Engine of the system is a Python App written for me by AI. The script sets up a Server on the PC, draws data from Airtable and sends data to the various parts of the organisation in accordance with Dispatcher instructions. It achieves this via a number of .html generators that perform certain functions like, clearing a train to move, telling a Driver/Guard their Timetable, Manifest, advising the Blue Lake Yardmaster of arriving and departing trains, what cars are on them and where those cars go. It also allows the two Yardmasters to throw the points in their yards via an Ipad dedicated to their yard.


So How does it all come together

Before the Session

To prepare for a session I run the Waybill Generator which writes each car's next waybill, it takes about 30 seconds for 95 cars. After quick review to make sure it hasn't done anything silly like send a tank car to the livestock yards (it has rules around certain cars, but I haven't nailed down every situation yet) I get the generator to then write that to the Airtable (9-10 API Calls). I then get the Session Planner Generator which assigns every car to a train operating in the given session. The Generator also writes the Session Car Movements to the Airtable (more 9-10 API Calls). I open the System Status screen and download the Data from Airtable to the Server. That's the last we see of Airtable until the Post Session review, tomorrow morning (or the day before the next session)

So now we are good to go play trains. Total time to date, about 30 minutes, if there are some issues. 

Its 10 minutes before the Clock is on. Driver/Guards, Yardmasters settle-in and the Dispatcher takes his Throne.

The Dispatcher starts the Command Centre, throws the lever to the Server, picks the Session. Sets the Dispatch lever to Timetable and presses the go button. Data is now available across the system. 

The Control Centre Screen

Of course if we are just having a fun running night with the Clock off the Dispatch Lever is throw to Sequence and the Go button is pushed. The Control Centre resembles a CTC Panel to give it a Railway feel.

                                                         

The Dispatch Selection Lever. 

The GO Button is the white button below the Lever

The Go button then wakes up the layout: the command station, LocoNet and the point controllers.

The Dispatcher Screen for a Timetable Session

The Dispatcher controls the Session. When a DG checks his Cars off and taps Ready To Depart from his home yard. The trains Circle will turn Yellow and start flashing on the screen. The Dispatcher checks his board and if safe he clears the train to a position on the track. That could be its next destination for shunting or a signal on the way.When the Dispatcher clicks the destination location, the DG Phone gets the Message he is clear to leave and tells him the destination. The DG Acknowledges the order and the line is reserved for that train.

Yardmasters turn on the iPads in the Yards.

The Blue Lake Yardmaster Points Screen

Drivers/ Guards (DG) open their phones camera and scan the first QR Code, that logs them onto the  Layout Room WIFI, then Scan the Drivers QR Code which opens the GSD Driver App on their Phone.

Drivers/Guards

Each driver picks their name, then their train. On the phone is their manifest. 

The Driver Screens on start up

The DG ticks off the cars on the train,then presses Ready to Depart. The Dispatchers Panel will get an indication the train is ready to go and when appropriate clear the train to move. 

Note the lights in the top right hand corner. The Red light has moved to the Yellow once Ready to Depart is tapped, this tells the DG the request has been sent to the Dispatcher. When the Dispatcher clears the train the light moves to a flashing Green, awaiting the DG to Ack.

This prompts the DG App to Acknowledge the Clearance.The App has the assigned Locomotive ready to go the DG taps the Blue button with the Locomotive number on it and it goes to the Throttle screen. 


Notice the Dispatcher only cleared the Train to Bridgewater even though 161's next shunt is Wirrega. Upon arrival at Bridgewater the DG taps Arrived at Bridgewater.



Notice the light went to Yellow, indicating awaiting clearance from the Dispatcher.

That screen has all the usual buttons required of a throttle and also has the buttons to operate points in the Town it is next schedule to work in, noting the Dispatcher must give clearance to operate mainline points. 

The Dispatcher Clears the train, the green light Flashes, the DG taps Ack and the train is cleared to its first Shunt In Wirrega. Notice Wirrega's points come up on the screen when its cleared.

The train arrives in Wirrega. The DG Taps the arrival button and returns to the Manifest Screen. One thing to note, the train was delayed at Bridgewater so the Timetable for this train has been adjusted accordingly ( Look at "Now at Wirrega). The train Shunts Wirrega.



The train is on its way to Blue Lake, the DG wants to check the Manifest while the train is moving, He taps back to the Manifest, note the throttle speed and a Stop button at the top of the page and the adjusted time of arrival. The DG throttles back on arrival at Blue Lake. He taps Arrived In Yard. The Car cars move to Delivered and train job is finished. The Blue Lake Yardmaster then takes control.

 At each Shunt Stop DG mark cars Spotted or On the Train before hitting the Finished Shunting button to advise the Dispatcher he is ready to go to the next task. At the end of the trains run. The DG presses Finished Train, returns to the home screen to pick up his next train.

If the DG is unfamiliar with the job the train has the Train order is located above the Train number on the Home Screen. That will describe the jobs to be completed and any special instructions about blocking.


You can see the DG in the second shot has sent his Ready to Depart Signal and is awaiting Clearance as the light has gone from Red to Yellow

The Dispatcher Screen

Depending on the throw of the Dispatch switch one of two screens will appear on the PC screen, a Timescale showing all train movements for the session, similar to the real SAR train Controllers sheets, or a Sequence Sheet of train numbers to be assigned to DG as they complete a job.

The Dispatchers Overwatch Screen

On a Timetable Session, trains don't always run to time. When VR16 gets held up at Dartmoor, the dispatcher can drag its line on the graph, just like pencil on a paper chart. Any clashes with other trains can be managed and the adjusted times will be sent to the DG Timetables automatically. 


The Dispatchers screen for a Sequence session. The Dispatcher assigns the train to a DG who receives notification on his opening screen.


Post Session Review

Once the session is run, its time to prepare for the next session. Here we pull up the Post Session Generator. It lists all the moves the cars were Scheduled to do. It allows me to check those that didn't move and change the current location of cars that didn't finish up in the correct position. Once I'm happy the list reflects the Layout I press Write to Airtable (another 9-10 API Calls) and Bob's your Uncle we are ready to write Waybills again.

 Because I am a suspicious bastard every move on the system is logged. If a Driver presses the wrong button its logged, if the Dispatcher clears a train incorrectly it is logged, I review the Log as part of the Post Session review, it helps explain why certain things happen on the night and which DG's need more training and brings cake to the next Session.

Summary by Train Log

Full Timeline Log

Saturday, 21 November 2026

GSPOS Throttle

 As a result of the Beta Session, I investigated if there was a solution to the issue of trains stopping when swiping between the two Apps. Drivers wanted to review the Manifest whilst travelling between two towns. From what I discovered it turns out Engine Diver has a work around that a 14 year old kid could sort out very quickly, you know the kid that solves a Rubic Cubes in 6.325 seconds, but it’s complicated for a normal human. As far as WiThrottle on an iPhone goes, it can’t be change, it’s a built in safety feature. 

So the solution is to build a Throttle into the App itself, eliminating the need to swipe. The throttle talks to the Server on the PC, that talks to the Command Station and Bob’s your Uncle.


A Driver taps on the train he is going to take and is presented with this screen. Tap the Blue Button and the  screen changes to this. The Driver now has control of J 519. 


Each throttle draws information about the locomotive from the Airtable record for that locomotive. So the Function map will look different for each locomotive. 

There has been some discussion about the benefits of a slide throttle over the button + and -  for acceleration and deceleration. In its current form, the buttons give less room for error. Simply tap the button for 1 speed step changes and hold the button for faster changes. 

Development will continue but this approach overcomes a major issue raised in the Beta Testing.
The main issue I foresee is a Driver will be humming along nicely, approaching a red signal, the missus rings the phone, and boom through red signal, unless he is wise enough to stop the train before he stands to attention for she who must be obeyed.

Addendum 
Real Estate is always an issue on phone screens and it seemed my original throttle stole too much property over the manifest. The solution is to have the throttle on a separate page to the manifest, but going back to the manifest once a train is running will include a banner across the top showing the speed step and big red stop button to stop the train quickly, Function buttons will be on the throttle screen as will point control buttons for the yard you are working 

Thursday, 19 November 2026

The Beta Run

 Today we put the new Paperless system under the torch. Running with a full team, all on phones, most of the Team had done their homework, and have a better understanding of their phones. We all got logged in to the GSD WiFi and the Drivers, GeoffM, David and Steve, logged into the Ops System. Geoff T adopted his role as Dispatcher with the new Overwatch system up on one screen and Traincontroller on the other, Ron became Staging Super and Ray and Yours Truly as Blue Lake Yardmaster and Hostler respectively. 

After a few wrinkles we got under way. All the drivers seem to understand the system and with practice we’re able to flip between the Ops System and their throttles with ease. One major issue that occurred was that if you started a train and swiped back to the Ops App, the throttle went to zero. Looks like there is a work around for Engine Driver on Androids, not so easy on WiThrottle on iPhones.

All in all a successful beta test, with heaps of good ideas offered, a bit more development work on my part. Also now to test the post session systems that will confirm what happened and plan the next session, hope not more than 10 minutes work.

Thanks you to the Team who jumped in the deep end and gave it a go.

Sunday, 15 November 2026

GSPOS The Next Step - Shunting

 You would remember from the last Post, you logged in to the GSPOS through the internal Wifi (GSDWIFI 2.4G) then Scanned the QR Code to GSD Driver System. Then you selected your name from the list and got the list of trains for the Session. We looked at the Train Order of the first train then opened the Train Details Screen to see the Timetable, The Loco and Brake Van Number and the Trains Location.

Part 6 Departing the Yard.

We found our train and checked off the Cars attached to ensure we had them all. We are ready to Depart.

Train 152 has been checked and is ready to depart.

You tap "Ready to Depart" . Once cleared by the Dispatcher and keeping an eye on the clock you depart For the next Stop. Note the App moves your train to the next stop on the screen, in this case Blue  Lake. 

Part 7. Shunting the First Stop

A few things to note, as the screen scrolls the 'Now At' Info and 'Train Number' are held at the top of the screen. Note also the Town Name Banner includes the Town Name and the Timetable data, so you can easily maintain a watch on the time. Note also the Car information shows where the car is to be spotted. Finally note the 'Shunt Completed' Button at the Bottom of the Town information.

You can see that two cars are to come off and 5 cars are to be put on. Once done Press "Shunt Completed"
A note here, you can mark each car as "Spotted" or "Mark on Train" OR you can leave that out and just tap "Shunt Complete" when all shunting is done, which will mark all cars either spotted or on the train. 
But Reg, you ask, what if one car is not spotted or its left behind, don't worry, the system caters for that by reading your inputs. If a car in not spotted because the Siding is full or time prevents all work being done, just leave the car unchecked and move on.

The Shunting work at Blue Lake for 152 next Session

Part 8 Moving On.

The Shunting task is complete and the train is ready to move to its next stop, in this case Wirrega where 1 car is to be dropped and no pickups. As before "Shunt Complete" takes you to the next town.


Wirrega Workload Screen

Part 9. Terminating a Train

You finish shunting the last stop on your journey and in accordance with the Timetable and Dispatchers clearance you head to the Yard where your train Terminates. In this case Mile End Yard.



The first screen shows what you screen will look like on arrival. The second screen shows what the screen will look like when the Button "Terminate" is tapped.
You make your way back to your Home Screen to check your next train and note Train 152 and 390 your first two trains are Greyed Out as they have finished.

Congratulations you have run your first Train using the GSPOS, just think how much carbon you have saved so we can reach Nett Zero.

The Commish





Saturday, 14 November 2026

So What makes GSPOS Work

 For those interested here's how Claude AI and I built the GSPOS.

The whole system uses an Airtable database as its Reference Source. The Airtable Workspace has tables detailing every part of the layout and its operations. There are tables for Railway Owners (SAR, VR, ANR and Private Owners); Motive Power, Rolling Stock, Towns, Sidings, Sessions, etc etc.

The Locomotive Table in Airtable

We then built a Python Script to interrogate the Database and place the selected Session (Monday PM, Wednesday AM etc) on the server (the Server is on the PC. . From that server all information for the Session is passed to Operators, Yardmasters and the Dispatcher. Simple?

Well there is still some setup work. To prepare for a session we have setup a few 'Generators' that do the calculations. Generators are simple webpages that interrogate the Database and make produce an outcome for the next stage in the process.

 First there is the Waybill Generator, it determines where cars are and where they have to go. It's the bit that turns the waybill over to the next job. There are certain rules in place to prevent the Silos getting Tank cars full of fuel etc, but if the Generator did that (which it wont), but if it sent a car to a place I don't want it to I simply change it in the Generators results or in the Airtable Waybill Table, if I have already pressed the "Write to Airtable" button.

The Waybill Generator outcome screen. this process usually take 1 second.

Next I open the Session Planning Generator. This process works train consists for the session. It looks at the waybills and assigns them to a train. It also allocates Motive Power and Brake Vans. Again if I don't like the allocations I can easily change them.

The Session Planning Screen

We are now ready for the Session.

Once the session is completed I open the Post Session Generator, this asks me did everything move as planned, if not I can change what didn't move, then it moves the cars in the Database to their new positions ready for the next Session for Waybill to be written. 

The Post Session Generator Screen

All these Generators and the Python script are all run from desktop Shortcuts on the PC screen. At the moment its a little clunky but soon I will wrap it all up into a simple to follow App on the PC.

The GSPOS Orientation & Getting a Train Ready to Depart

Part 1.  Logging On 

To Access the GS Driver System the Operator needs to log in to the Local Wifi (GSDWIFI 2.4G); (Note some phones push back on joining a network that is not connected to the Internet, just accept the connection and move on); then open the Phone's Browser (eg Chrome or Safari etc but it can be any Browser) and type in http://192.168.20.100:8090/my OR open the Phone's Camera and point it at the GSD Driver QR Code that will log straight in.

Part 2: Finding your Trains for the Session

Once in the Screen, the Operator is presented with is a list of Drivers for the session. He selects his name.





Part 3. Finding your First Train

On selecting his namne, the Operator is presented with a list of trains to be run for the Session (or if it is a Sequence Session, just the next train they are to run). Each Train is listed with its departure location and the time it departs.  It also tells the Operator where the train will finish and what Type of train it is. 
At the top of each Train number is a tab titled Train Order Operators should touch that tab to see what the details of the run will be.




Part 4. Orienting the Train Details 

Once the Operator is happy with the task ahead he taps the Red Back Arrow above the Train number to return to the Home Screen and then selects the train number. The Train Details Screen then is presented.




The Train Details Screen provides details of the Current Location of the Train (152 is at Millicent) The Locomotive and Brake Van details (835 and 275) Tapping either number presents a photo of either, plus the Function map for Locos. The Timetable, note the current location is again highlighted, and any special instructions (152 shunts Bridgewater while also crossing 547). 

Part 5. Getting Ready to Depart.

Underneath the Timetable is the Manifest. Here the Operator checks the cars on the train and taps "Mark on Train" when he is satisfied the car is on the train.


Note the Operator has swept the screen upward but the Train Number and Now At information is kept, including the Timetable departure time. Note train VR89 has 9 cars in its consist. The Operator has the choice of tapping each car as On the Train or simply tapping Departed (which will mark all cars on the Train)

Once the Operator is satisfied all the cars are on the train he should Tap Departed, as this indicates to the Dispatcher the Train is Ready to Depart. This logic will carry through to the next Part 'Shunting'.













No more 52 Pickup

 A loud bang penetrated the room as one operator drops his tin full of car cars, waybills and train orders onto the BDR floor, or cards get dropped onto the Wild Creek floor when the bulldog clip failed, or my arm knocks the cards off the shelf at the D&S, BUGGA. Now I have to sort through them, put them in order and hope I have the right sequence uppermost in the car card pocket. There has to be a better way!

There is, enter the GSD Paperless Operations System (GPOS). Developed in concert with the emerging AI tools freely available on the Interweb, the Commish has developed a basic App that allows Operators to have Train Orders, Manifests and Car Cards and Waybills in a simple App on their phones. GPOS allows Operators to have a complete nights work in the comfort of their hand. GPOS is suitable for Timetable Sessions or Sequence Sessions. For Time Table Sessions Operators simply log on to the App and their evenings work is displayed, for Sequence Sessions the Dispatcher allocated trains on an iPad App as each Operator completes their train. BTW the system works on both Apple and Android Phones.


The Timetable Operators Home Screen


The Operator simply taps the first train and that takes them to the Train's Details.

The Train Details Screen provides the Train Number and Current Location, Loco and Brake Van details, the Timetable and Switchlist Tasks.


The Train Details Screen has all the data required to run a train, including Locomotive and Brake Van info, the Train's current location, switchlist detail for each shunt. Touching the Locomotive number and/or Brake Van number will bring up Photos of those vehicles and touching the Car number will bring up the Car Card and Waybills in a traditional look.

   

Shunting Information is clearly shown at Each Town along the Layout
Here we see t two sets of cars set out at Dartmoor and 5 pickups.

As each move is made the Operator taps 'Spotted' for setouts and 'On Train' for Pulls. This updates the Database. Once the Operator finishes in a town he taps the "Finished this Town" button and reports to the Dispatch he is ready to go. he then goes back to the Task screen to select his next train.


The Dispatcher watches over the whole system on the Overwatch Panel on his PC. He can follow trains around the layout as they switch, maintaining an overwatch on each movement. I plan to write Operations Guides for the Operators on this site so that they can familiarise themselves with the system and refresh their memories before arriving for a session.


I plan to trial this over the next few months with the GSD Crews and see how it goes. 

Wish me Luck
The Commish