User:Timj11dude/sandbox: Difference between revisions

From Captain of Industry Wiki
Jump to: navigation, search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Train Schedules ==
== Train Schedules ==
Accessed via the F7 key, the interface provides the ability to manage and configure train schedules for moving unit, loose, fluid or molten (DLC exclusive) materials. There are two distinct types of train schedules that can be made, the **Train Line** as was added with **Update 3**, allows the configuration of the routes between stations, setting conditions on what is collected or dropped off, and when to depart. Stations can be grouped into a single stop, and the train will select the highest priority, then nearest station , with arrival conditions allowing.[^1] There also is the option, as of Update 4.1, to create **Train Networks**, which define a set of stations for moving cargo between, a set of stations for use for refuelling, and a set of stations for waiting.
Accessed via the F7 key, the interface provides the ability to manage and configure train schedules for moving unit, loose, fluid or molten<ref>DLC exclusive [[https://store.steampowered.com/app/4349830/Captain_of_Industry__Trains_expanded Steam]]</ref> materials. There are two distinct types of train schedules that can be made, the '''Train Line''' as was added with '''Update 3''', allows the configuration of the routes between stations, setting conditions on what is collected or dropped off, and when to depart. Stations can be grouped into a single stop, and the train will select the highest priority, then nearest station , with arrival conditions allowing. There also is the option, as of Update 4.1, to create '''Train Networks''', which define a set of stations for moving cargo between, a set of stations for use for refueling, and a set of stations for waiting.
[[File:A Train Line Schedule.png|alt=Screenshot of the Train Scheduler window depicting a typical train line hauling from an iron ore mine to a fabrication plant, slag collection to contract export, back to mine.|thumb|Example of a Train ''Line'' Schedule (version 0.8.3[tbc])]]


=== Train Lines ===
=== Train Lines ===
These were added in [[Update 3: Trains, Space & Asteroids]] as the only means to configure train routing. They allow specifying the routes taken by trains between stations, configuring filters for loading and unloading, departure rules, refuelling stops. Train lines are uniquely capable of carrying multiple resources simultaneously, where Train Networks can only service a single resource per *job*.  
These were added in [[Update 3: Trains, Space & Asteroids]] as the only means to configure train routing. They allow specifying the routes taken by trains between stations, configuring filters for loading and unloading, departure rules, refueling stops. Train lines are uniquely capable of carrying multiple resources simultaneously, where Train Networks can only service a single resource per *job*.  


==== Station Grouping ====
==== Station Grouping ====
Multiple stations can be assigned to the same stop, forming a group, within that group priorities may be set to determine which station the train will visit next. Of those available (according to their arrival conditions [^1]), among those with the highest priority, the nearest will be selected, at the moment of departure from the previous destination. A train will not check again while on it's en route.
Multiple stations can be assigned to the same stop, forming a group, within that group priorities may be set to determine which station the train will visit next. Of those available (according to their arrival conditions), among those with the highest priority, the nearest will be selected, at the moment of departure from the previous destination. A train will not check again while on it's en route.


==== Refuelling ====
==== Refueling ====
Station stops may be assigned to be refuel only, trains will only visit these stations if their fuel level upon departing their previous station is below the set amount. Trains will prefer the closest refuelling station of the highest priority within the group.  
Station stops may be assigned to be refuel only, trains will only visit these stations if their fuel level upon departing their previous station is below the set amount. Trains will prefer the closest refueling station of the highest priority within the group.  
- [ ] verify if this is true
- [ ] verify if this is true


Line 18: Line 19:
=== Train Networks ===
=== Train Networks ===
These were added in [[Update 4.1]] and provide a means for dynamic scheduling of trains for transportation jobs between stations in the network, akin to the truck logistics. A network consists of three parts, assigning 3 different "roles" to stations:
These were added in [[Update 4.1]] and provide a means for dynamic scheduling of trains for transportation jobs between stations in the network, akin to the truck logistics. A network consists of three parts, assigning 3 different "roles" to stations:
1. Cargo Stations - Stations between which cargo will be transported
1. Cargo Stations - Stations between which cargo will be transported
2. Fuel Stations - Stations by which trains will visit to refuel
2. Fuel Stations - Stations by which trains will visit to refuel
3. Waiting Bays - Stations/Waypoints trains will visit to wait for their next job


> [!info] Tl;Dr Train Networks are like truck logistics, with a very strict rule on not travelling empty. Stations are like storage silos, red line determines when push into the logistics network, green line determines when to pull from the logistics network.  
3. Waiting Bays - Stations/Waypoints trains will visit to wait for their next job<!-- Tl;Dr Train Networks are akin truck logistics, with a very strict rule on not traveling empty. Stations are like storage silos, red line determines when push into the logistics network, green line determines when to pull from the logistics network. -->


==== Train Dispatch ====
==== Train Dispatch ====
Trains are assigned jobs, to move a single resource between two stations. There are a number of factors used to determine the jobs assigned, these factors are considered per resource in the network:
Trains are assigned jobs, to move a single resource between two stations. There are a number of factors used to determine the jobs assigned, these factors are considered per resource in the network:
1. Source Station available (train limits) & priority (with round robin)
 
2. Destination Station available (train limits) & priority (with round robin)
# Source Station available (train limits) & priority (with round robin)
3. Based on station storage thresholds:
# Destination Station available (train limits) & priority (with round robin)
1. Source station has a resource in excess of it's defined threshold **AND** a suitable destination station exists with matching resources
# Based on station storage thresholds:
2. Destination station has a resource below it's defined threshold **AND** a suitable source station exits with matching resources
## Source station has a resource in excess of it's defined threshold **AND** a suitable destination station exists with matching resources
4. Based on available train:
## Destination station has a resource below it's defined threshold **AND** a suitable source station exits with matching resources
1. Determine sufficient quantity in source station to fill train
# Based on available train:
2. Determine sufficient space in destination to accept full train load
## Determine sufficient quantity in source station to fill train
## Determine sufficient space in destination to accept full train load
 
If there are no jobs available, a train not already at a waiting bay, will relocate there.
If there are no jobs available, a train not already at a waiting bay, will relocate there.


Line 64: Line 68:
Common issues encountered with trains:
Common issues encountered with trains:


- [ ] Trains with Arrival Conditions not met
* Trains with Arrival Conditions not met
- [ ] No Jobs available
* No Jobs available
- [ ] Trains aren't collecting from this station
* Trains aren't collecting from this station
- [ ] Trains aren't delivering to this station
* Trains aren't delivering to this station
- [ ] Network Trains are travelling less than fully loaded
* Network Trains are traveling less than fully loaded
- [ ] linked storage
** linked storage
 
 
 
 
[^1]: See section on Station Arrival Conditions.
 
[^2]: Prior to Update 4.1 trains would prefer the nearest station of the same priority.

Latest revision as of 10:45, 5 April 2026

Train Schedules

Accessed via the F7 key, the interface provides the ability to manage and configure train schedules for moving unit, loose, fluid or molten[1] materials. There are two distinct types of train schedules that can be made, the Train Line as was added with Update 3, allows the configuration of the routes between stations, setting conditions on what is collected or dropped off, and when to depart. Stations can be grouped into a single stop, and the train will select the highest priority, then nearest station , with arrival conditions allowing. There also is the option, as of Update 4.1, to create Train Networks, which define a set of stations for moving cargo between, a set of stations for use for refueling, and a set of stations for waiting.

Screenshot of the Train Scheduler window depicting a typical train line hauling from an iron ore mine to a fabrication plant, slag collection to contract export, back to mine.
Example of a Train Line Schedule (version 0.8.3[tbc])

Train Lines

These were added in Update 3: Trains, Space & Asteroids as the only means to configure train routing. They allow specifying the routes taken by trains between stations, configuring filters for loading and unloading, departure rules, refueling stops. Train lines are uniquely capable of carrying multiple resources simultaneously, where Train Networks can only service a single resource per *job*.

Station Grouping

Multiple stations can be assigned to the same stop, forming a group, within that group priorities may be set to determine which station the train will visit next. Of those available (according to their arrival conditions), among those with the highest priority, the nearest will be selected, at the moment of departure from the previous destination. A train will not check again while on it's en route.

Refueling

Station stops may be assigned to be refuel only, trains will only visit these stations if their fuel level upon departing their previous station is below the set amount. Trains will prefer the closest refueling station of the highest priority within the group. - [ ] verify if this is true

Waypoints

Special notice is given to the function of waypoints as part of Train Lines, these allow the specification of a preferred route by trains to reach the next stop, should multiple be possible. Their *availability* reflects that of the proceeding station, thus a train will not move to a waypoint unless the station ahead of it is available. They may also be used for turn around points for terminus stations.

Train Networks

These were added in Update 4.1 and provide a means for dynamic scheduling of trains for transportation jobs between stations in the network, akin to the truck logistics. A network consists of three parts, assigning 3 different "roles" to stations:

1. Cargo Stations - Stations between which cargo will be transported

2. Fuel Stations - Stations by which trains will visit to refuel

3. Waiting Bays - Stations/Waypoints trains will visit to wait for their next job

Train Dispatch

Trains are assigned jobs, to move a single resource between two stations. There are a number of factors used to determine the jobs assigned, these factors are considered per resource in the network:

  1. Source Station available (train limits) & priority (with round robin)
  2. Destination Station available (train limits) & priority (with round robin)
  3. Based on station storage thresholds:
    1. Source station has a resource in excess of it's defined threshold **AND** a suitable destination station exists with matching resources
    2. Destination station has a resource below it's defined threshold **AND** a suitable source station exits with matching resources
  4. Based on available train:
    1. Determine sufficient quantity in source station to fill train
    2. Determine sufficient space in destination to accept full train load

If there are no jobs available, a train not already at a waiting bay, will relocate there.

Source Station

A source station is defined as having any station module set to load. (Red slider) When the amount of the stored resource (including linked) exceeds the amount set on the red slider, the station will actively request trains for collecting the resource. A destination station may also request a resource when it falls below it's defined threshold, in which case it will pull from the highest priority source station available. >[!warning] Though trains will only be scheduled to retrieve from a source station when there is sufficient cargo to fill the train (and destination), mishandling of linked storage and or line trains can empty the station preventing the network train from filling it's wagons.

Destination Station

A destination station is defined as having any station module set to unload. (Green slider) When the amount of the stored resource (including linked) drops below the amount set on the green slider, the station will actively request trains for bringing the resource. A source station may also "push" a resource to a destination station when it rises above it's defined threshold, in which case it will push to the highest priority destination station available. > [!warning] Though trains will only be scheduled to deliver when there's sufficient space, mishandling of linked storage and or line trains can fill the station preventing the network train from emptying it's cargo.


Migrating to Update 4.1

Some list of changes to consider when loading an old save into Update 4.1

- [ ] Arrival Conditions migration - [ ] Old "All modules full" -> New "Keep empty" + full train load enabled - [ ] Old "All modules empty" -> New "Keep full" + full train load enabled

Transition to Network Schedule

Considerations for moving to train logistics from lines to network - [ ] Adjust sliders considered above - [ ] train & station storage capacity - [ ] waiting bays - [ ] priorities

Troubleshooting Trains

Common issues encountered with trains:

  • Trains with Arrival Conditions not met
  • No Jobs available
  • Trains aren't collecting from this station
  • Trains aren't delivering to this station
  • Network Trains are traveling less than fully loaded
    • linked storage
  1. DLC exclusive [Steam]