(Link to Part 3: http://model-railroad-hobbyist.com/node/29596)
Update: In the last post I said that I think the car usage cycle is like this:
Empty, available for assignment
Empty, but enroute for loading
At the customer and being loaded
Loaded, enroute for unloading
At it's destination and being unloaded
Empty, and enroute to it's home road
Well, after some great comments, it turns out that Step 6 really is Step 1 again. Some of the information that was posted about the AAR's car directives cleared up my questions about where cars go after being unloaded so now I see the cycle as this:
Empty, available for assignment
Empty, allocated to a customer and enroute for loading
At the customer being loaded
Loaded and enroute to it's destination for unloading
At the destination being unloaded
Cars at Step 1 of the cycle could be in storage somewhere, on hold in a yard in anticipation of imminent loading, or at some customer siding having just been unloaded.
So, how to implement this in a model railroad car forwarding system that meets Gerald Dyer's five rules? Rule 1 – little or no paperwork. This pointed me to an automated system that uses today's mobile devices, like smart phones, tablets, and net books. Rules 2 and 3 – almost infinite variation and keep the users guessing about the amount of traffic. This is easily solved by using the random number generation capability of computers. Rule 4 – easy to use. This is always the challenge of any computer system and the use of QR codes will help. Rule 5 – ability to stop in the middle of things and pick up again later. Again, this is easy to solve using a computer.
First we have to simulate the customers ordering cars and we'll need some information about each of the shippers. How often do they ship by rail? How much do they ship each time? To which destinations? If we set up these criteria, a computer can be used to order cars in a way that meets Rules 2 and 3.
A shipper can have one or more loading location (spot/door/dock/ramp/etc...)
Each loading location can ship one or more commodities to one or more destinations
Each shipment (commodity/location pair) can randomly occur in a range specified by a minimum and maximum number of operating session.
Each shipment can consist of a random number of car loads, again in a range specified by a minimum and maximum number of cars.
Example: Fred's Box Company, which is located in Buzzard's Roost, Wyoming
FBC is located on a spur and has two loading docks, one for finished product and one for scrap.
Shipment 1 | Location: | FBC Dock 1 |
| Commodity: | Corrugated boxes |
| Destination: | Sandy's Candy Company, Corn City, Iowa |
| Shipping interval: | Min: 2, Max: 5 |
| Quantity (car loads) | Min: 1, Max 2 |
Shipment 2 | Location: | FBC Dock 1 |
| Commodity: | Corrugated boxes |
| Destination: | Santa's Workshop, Churchill, Manitoba |
| Shipping interval: | Min: 4, Max: 7 |
| Quantity (car loads) | Min: 2, Max: 3 |
Shipment 3 | Location: | FBC Dock 2 |
| Commodity: | Scrap paper |
| Destination: | Recycler Specialists, Catfish Creek, Alabama |
| Shipping interval: | Min: 5, Max: 7 |
| Quantity (car loads) | Min: 1, Max: 1 |
At the start of every operating day, which may take more than one operating session to complete, the computer would go through every shipment on the system, generate a random number between the minimum and maximum values for the shipping interval and, based on the last time that the shipment was made, decide if it's time for another load to go out. If so, it then picks a random number of car loads based on the minimum and maximum number of car loads to go out.
(I know that in the real world the type and number of cars required for a shipment are based on measurements like cubic feet, gallons, and pounds, but I think for the simulations that we run in the modeling world, car loads are probably an acceptable alternative.)
In this example, Fred's Box Company will ship 1 or 2 car loads of boxes to Sandy's Candy possibly every 2 days, but at least every 5 days. The boxes going to Santa's work shop will happen less often, sometimes only every 4 days, for sure every 7 days, but when the shipment does go it, it will be be either 2 or 3 car loads. One car of scrap paper will to to the recyclers every 5 to 7 days.
Notice that we don't say anything about what FBC receives in the way of raw materials. Those shipments are entered into the system for the companies that send them out, for example we could create shipments in the system for International Paper to send paper from North Carolina and 3M to send glue from Minnesota.
How we will get this information out of the computer and link it up with the scale freight cars is the topic of the next post. I'm waiting for comments!
* QR Code is a registered trademark of DENSO WAVE INCORPORATED. QR codes can be used for free. Go to http://www.qrcode.com/en/faq.htmlfor more information.
ADDITIONAL POSTS CAN BE FOUND HERE ...
Cars, Computers, and QR Codes* - Part 1
Cars, Computers, and QR Codes* - Part 2
Cars, Computers, and QR Codes* - Part 3
Cars, Computers, and QR Codes* - Part 4 (this thread)
Cars, Computers, and QR Codes* - Part 5
Tom Edwards
N scale - C&NW/M&StL - Modeling the C&NW's Alco Line
HO scale - Running on the Minnesota Central (Roundhouse Model RR Club, St. James, MN)
12" to the foot - Member of the Osceola & St. Croix Valley crew (Minnesota Transportation Museum)
Blog Index