I am helping a friend to set up OperationsPro for his railroad. He has a large collection of cars and wants the software to make selections for trains from the "Drawer Yard" and "position" the cars on the layout ready to start an operating session. He also wants the software to route cars that have completed their run back to their proper place in the Drawer Yard. My friend is a cabinet maker and has made 50+ beautiful custom cabinet drawers to house his collection. Each drawer has a capacity of about 45 N-scale cars. We call this off layout collection of drawers the "Drawer Yard". Each drawer represents a track in the Drawer Yard. The tracks are named with "car type" <space> drawer #. (Box 1) for example. In the cars window the car types are listed with a hyphen in place of the space. This makes the manifests look cleaner. So, instead of "Box 1", you use "Box-1" in the cars list and then you only see "Box" in the manifest. The corresponding "Box 1" track in the Drawer Yard is constrained to only allow cars of car type "Box-1". Some car types occupy multiple drawers. I think there are more than 20 drawers for cars of type Box and variants there of. When it is time to select or replace cars in the Drawer Yard, the numeric portion of the car type indicates the correct drawer number to access. Cars of type "Box-1" belong in drawer #1.
-
So, where we are having a problem is in selecting cars for a train using a Sequence Schedule. He wants a train of 15 cars in the example I am using to illustrate the issue we have discovered. We have train "SB Select" running from the Drawer Yard to a spur called "Little Rock Temp". Little Rock Temp has only one track, also called "Little Rock Temp". Little Rock Temp has a Sequence Schedule called "SB 15 groups". The schedule, SB 15 groups, is made of groups of 15 cars of car types that are wanted in each 15 car train. The train allows 15 moves, which should select the first 15 car types from the Sequence Schedule, SB 15 groups, since the pointer is at the first entry. The first 15 car types from the schedule are shown in the attached image. Also shown in this image are the reporting marks for the car that the software selected for each car type and the move counts for that car. I have included the move counts because it appears that the selection process from the Drawer Yard is based on a list sorted in move count order from lowest to highest. A second image is included to show the last 4 cars in the sorted car list. The information in these two images are important to understanding the issue that we found.
-
For those who might be interested, once cars are delivered to the Temp track they are next taken to the Little Rock Departure track which is a staging track. Here they are automatically unloaded, then reloaded and routed to locations across the railroad as demanded by industry schedules.
-
I am not including the build report for this train because it runs in excess of ten megabytes! As a clue, the report says 1,267 cars were found for this train! I am including what I think are the pertinent portions of the build report to help to identify the issue. My comments below are prefaced with "***" to clearly separate them from the build report excerpts.
*** I am using JMRI 5.2 running on a Windows 10 machine.
*** This train is building in 2 pass aggressive mode. After the introductory material the car selection begins with the first car type from the schedule, "Box-8", shown below.
Try spur (Little Rock Temp, Little Rock Temp) for car (GTW 309340) with load (MT)
Train (SB Select) can transport car (GTW 309340) from yard (Drawer Yard, Box 8) to (Little Rock Temp, Little Rock Temp)
Route for car (GTW 309340): (Drawer Yard, Box 8)->(Little Rock Temp, Little Rock Temp)
Car (GTW 309340) load (MT) has assigned destination (Little Rock Temp, Little Rock Temp)
Car (GTW 309340) assigned to train, destination (Little Rock Temp, Little Rock Temp)
*** Successful car selections continue for the next 6 car types in the "SB 15 groups" sequence mode schedule with the same format as above.
*** Since this train was in Aggresssive mode, at the halfway point, after finding the 7th car type, TankTal-42 GATX 65224, you get the following:
Success 7/7 cars at location (Drawer Yard) assigned to train (SB Select)
Route location (Little Rock Temp) id 17r4 no pick ups
Multiple pass build (Aggressive Mode), begin 2 of 2 passes
Route location (Drawer Yard) id 17r5 requests 8 pick ups, 8/15 moves are available
*** Then 7 more cars were found in sequence, the 14th car type requested was Gon-36...
Try spur (Little Rock Temp, Little Rock Temp) for car (SOO 69465) with load (MT)
Train (SB Select) can transport car (SOO 69465) from yard (Drawer Yard, Gon 36) to (Little Rock Temp, Little Rock Temp)
Route for car (SOO 69465): (Drawer Yard, Gon 36)->(Little Rock Temp, Little Rock Temp)
Car (SOO 69465) load (MT) has assigned destination (Little Rock Temp, Little Rock Temp)
Car (SOO 69465) assigned to train, destination (Little Rock Temp, Little Rock Temp)
*** then continuing down the car list (see the image of the last cars in the sorted car list) sorted by move count we start looking for a car type HopWC-35. Only three cars remain in the list, all with move count = 15. None of these cars are of the required type. The build report shows them rejected as it should...
Find destinations for (SP 698697) type (BoxInsul-23) load (MT) at (Drawer Yard, BoxInsul 23)
Searching location (Little Rock Temp) route id 17r4 for possible destination
Can't send (SP 698697) to spur (Little Rock Temp) due to schedule (SB 15 groups) requests car type (HopWC-35)
Could not find a track for (SP 698697) at destination (Little Rock Temp)
Did not assign a destination for car (SP 698697)
Find destinations for (RI 8546) type (CHopAS2-33) load (MT) at (Drawer Yard, CHopAS2 33)
Searching location (Little Rock Temp) route id 17r4 for possible destination
Can't send (RI 8546) to spur (Little Rock Temp) due to schedule (SB 15 groups) requests car type (HopWC-35)
Could not find a track for (RI 8546) at destination (Little Rock Temp)
Did not assign a destination for car (RI 8546)
Find destinations for (CNW 182834) type (CHopCLY-3) load (MT) at (Drawer Yard, CHopCLY 3)
Searching location (Little Rock Temp) route id 17r4 for possible destination
Can't send (CNW 182834) to spur (Little Rock Temp) due to schedule (SB 15 groups) requests car type (HopWC-35)
Could not find a track for (CNW 182834) at destination (Little Rock Temp)
Did not assign a destination for car (CNW 182834)
*** All of this is fine because the last three cars do not match the requested car type HopWC-35 Then the wheels come off...
Partial 7/8 cars at location (Drawer Yard) assigned to train (SB Select)
Route location (Little Rock Temp) id 17r4 no pick ups
Partial 14/15 cars
Build for train (SB Select) took 17,750 mSec
*** Instead of going back to the top of the car list and continuing the search for car type HopWC-35, the program stops after one pass through the list with only 14 cars found. There are actually 39 cars of type HopWC-35 in the car list. 37 of these cars are available in the Drawer Yard, Drawer #35. The problem is that they only have move counts ranging from 0 to 7 and therefore they are nearer to the top of the sorted car list and already bypassed in the first reading. So cars of type HopWC-35 that were available and requested in a sequence schedule were left behind in the yard and not added to the train.
*** To check to see if the move counts problem was the only issue, I moved the request for car type HopWC-35 to the 8th position in the schedule and built the train again. All 15 car types were found and assigned to the train. That is great for this time around, but move counts change the more you operate and the next time this train is run it will be using the second group of 15 car types in the "SB 15 groups" sequence schedule so it is likely that down the road the same type of error will occur again. If I am doing something wrong, let me know. Otherwise, I think I may have found a small bug.
Dan, I want to thank you for providing and supporting this fabulous tool for the model railroad community. It is positively amazing what can be done with this software!
Sincere thanks,
--
Dave...
Castle Rock and Pacific ( )