chrsmithdemos / switchlist

Automatically exported from code.google.com/p/switchlist
0 stars 0 forks source link

Mark industry track capacity, and don't send cars to a track if there's no space. #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, SwitchList doesn't have any idea about the capacity of each 
industry.  If the rates for cargos is set wrong so too many cars are sent to 
the industry, there might not be space for new cars.

SwitchList ought to keep track of the length of each car and the space at each 
industry, and avoid directing cars to an industry if there is no space.

This will require changing the UI and file database to store car sizes and 
capacity, add switches so that users can ignore the feature if necessary, and 
change the car assignment algorithm to do the right thing when a track 
overflows.

The workaround is to match the cargo rates to the track size better; maybe 
there's some simple UI or hints to help users understand what a given "cars per 
week" means in terms of the total cars likely to arrive on the track.

Original issue reported on code.google.com by rwbowdi...@gmail.com on 23 Apr 2011 at 5:37

GoogleCodeExporter commented 9 years ago
High priority, often requested.

Original comment by rwbowdi...@gmail.com on 24 Apr 2011 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by rwbowdi...@gmail.com on 21 Jun 2011 at 7:12

GoogleCodeExporter commented 9 years ago
Fixed in revision 166.

The check is done when assigning cars to trains; if a siding would overflow at 
the end of the session, then the car is not delivered.  Yards are not checked 
for capacity.

Original comment by rwbowdi...@gmail.com on 28 Oct 2011 at 4:52

GoogleCodeExporter commented 9 years ago

Original comment by rwbowdi...@gmail.com on 4 Nov 2011 at 7:28