Workers & Resources: Soviet Republic

Workers & Resources: Soviet Republic

View Stats:
New technique for avoiding traffic jam alerts and full vehicle spots
Just found a new technique and thought I'd share it. With this technique, you can make a Line's vehicles wait at a bus end station and load or unload one at a time in a building, even if more vehicle spots are available. This is a good way to avoid traffic jam spam messages and to keep at least one spot open for police cars and distribution trucks to use.

The technique is pretty simple; all you need is a pair of end stations, ideally with both close to the point of un/loading, with a large one for the vehicles to wait in, and another to trigger the next truck to leave. The line for an unloading line should look like so:
1) Resource source: Load/unload resources, wait if desired.
2) Large end station: Nothing (fixed time gap mode with a time of 600 seconds).
3) Resource sink: Unload, wait until unloaded (don't go back unless empty).
4) Small end station: Nothing (fixed time gap mode with a time of 1 second).

This has trucks load at a resource source and then go to wait in the large end station. One at a time, the trucks will leave and unload at the resource sink, go to the small end station, and then immediately return to the source to get more resources. Only one truck should ever be unloading at the resource sink at a time, which leaves any other spots open for other vehicles to use and prevents the game from spamming you with traffic jam alerts.

https://steamcommunity.com/sharedfiles/filedetails/?id=3803100922
This works because of how end stations decide when to send out a vehicle, namely if it is has been so long since the last vehicle was dispatched or if no vehicle in the line is currently headed to the next end station in the line or any of the stops between the end stations. In this case, trucks are stuck waiting for 600 seconds (ten calendar days) after the last dispatch or for a truck to not be headed for the next end station (stop #4) or for the stop in between (stop #3).

Of course, if your trucks take more time than 600 seconds (10 calendar days) to un/load, then they will eventually pile up in the building anyway, so you may need to reduce the Line's throughput or at least consume one truckload every 10 calendar days to keep slowly cycling the trucks in and out one at a time.

Also note that renaming stops in the line or the line itself can get trucks (and trains?) stuck waiting in the end station, so you may need to temporarily switch the end station's timing to 1 second to free them, and then avoid renaming anything in the line from that point on.
< >
Showing 1-5 of 5 comments
Sweet.

Thanks for sharing. 👍
My donkey butt never even thought of using end stations for non bus lines :stoneshardunholy:
They're pretty handy for controlling line throughput, forcing refuels before long stretches between fuel stations, and other stuff. :csdsmile:
What is the throughput limit, though? I had been using vehicles causing these unwanted alerts in two situations - one is RCO, where it either consumes an f-ton of gravel (and potential coal) for a long time, but then stops; and the other place is a gravel plant with more smaller mining sites, and where trucks need to circle constantly in high demand, but if demand drops a bit, a "waiting too long" spam will occur anyway.

RCO issues can be solved easily by having only 2-3 trucks on a line there to an unloader/building itself (basically the amount of unloading slots + one waiting outside, which does not trigger the message) and rest in nearby DO. That is obviously doable easier in RCO, in gravel processing it is not (untill you have those big BZ trucks for 25t).

Would your solution help there?
The throughput of this setup is going to be limited by the time it takes for a truck to leave the large end station, drop off or pick up its load, and enter the small end station, which is one of the main reasons I recommended having both near the point of un/loading. If your trucks can spread out enough over the entire route, then this setup shouldn't be the most limiting factor for the line's throughput, but if it is, then you can always split the line into two or more lines so multiple trucks can un/load at the same time while the rest wait in the end station.

The most I see this technique helping the gravel industry is if you had more than one truck assigned per quarry, as only one truck per quarry would ever be trying to unload at the processor at the same time, which also means you need to move less gravel per day to prevent trucks from piling up at the processor. You would still need at least one unloading spot for each quarry though to reliably eliminate traffic alerts, because I don't think there is a good way to serve multiple quarries with one line. You'll also still need to set up a line or DO to take excess gravel away for export or processing into cement, explosives, electronic components (ES DLC), and so on.

The RCO is just one point and can be served from a single source, so this technique could be used to assign more trucks to the RCO's supply without fear of overcrowding it once the demand dries up, though you'd still need a way to get rid of a truckload of gravel every 10 days to prevent the trucks from crowding the RCO's spots. One option would be to have trucks unload what they could into the RCO and take the rest to be exported or processed at a factory, but you again don't really need this technique for that to work.
< >
Showing 1-5 of 5 comments
Per page: 1530 50