By outputing the encoded train composition LTN already allows for a more versatile and complex refueling system than smart trains.
I can see how a single refueling station would be less effort than having one at every depot.
there are two aspects to refueling: when to refuel, and how to refuel.
LTN is absolutely superior when it comes to "how to refuel", by exactly matching inserters with engines, etc.
but how do you decide "when to refuel" with LTN ? i think this is not done at all, and instead you rely on trains being refueled automatically at the depots. and thus you need to have all the refueling setup at every single depot stop. when you have 20, 50 or 100 trains, it gets quite complicated to set up a stacker with 100 depots, 100 refueling setups and 100 wagon cleaning setups.
My reasoning against dedicated refueling is this. Most networks need to remove left over items from trains somewhere. Best place to do that is the depot as all trains will go there. That means you end up with a unloading mechanism at every depot so it's just a matter of adding some more inserters and chests to add a refueling system.
that might be true, but i consider this "fixing the symptoms instead of fixing the problem".
trains shouldn't have some "leftovers" that need to be cleaned, either by having dedicated stations for single item types, by loading a little less than full loads (not leaving items in the hands of inserters), etc.
also, refueling wouldn't be done like SmartTrains "on demand only", but be a forced step, simply separating the existing depots into refueler, stacker and depot. if still necessary, the cleaning of wagons could be done together with refueling at the refueler stop.
my main motivation was the 20-train-depot that i had built. it required 20 depot stops (with 20 refuelers and 20 unloaders), causing long paths from the depots to a common exit of this stacker-depot, etc. and when i tried using only 1 or 2 depot stops with a stacker in front of it, i was told that that wouldn't work since all waiting trains would get timeouts on their orders because an order is only finished by returning to a depot.
by separating the depots into refueler and depot, and having orders valid from depot to refueler, it would leave lots of options what to do with trains in between refueler and depot, how to stack them, how to route them so that they can wait right in front of the depot, etc.
currently, it is not even possible to have two trains on a single track with a single depot. the second train could timeout while waiting behind the train that is already at the depot.
Having dedicated refueling station(s) begs a lot of questions:
-- Is this even a feature that will be used by a majority of players?
if the refueler stop is done similar to the depots (with a logical signal), people can simply put refueler signal and depot signal on the same station and do everything as they do now. but by putting it on separate stops, imho it would be very easy (to understand and to use) to send trains from the depot to pickup and drop station, then end the route at the refueler and stack trains somehow afterwards. how many people would use the system probably depends on how many trains people have, and how big their depot-stackers would be in comparison to a simple stacker in front of a small depot setup.
-- Is it really less effort to ensure all possible stations and depots are reachable from the
-- refueling station than stamping down some chests and inserters in existing depots?
(existing depots? I am thinking about how to design networks, not necessarily updating old networks. and by putting logical signals "this is a refueler" and "this is a depot" on the same station, nothing should change for existing setups)
by setting up a refueler (maybe with 2 or a few lanes), followed by a stacker (any layout) and then the depot (maybe 2 or a few lanes), reachability would be no different than it is now. it only would eliminate the need to build a giant depot with enough lanes for *all* trains.
if all trains are identical (eg all L-CCC), the most simple "stacker" would be to have 1, 2 or 3 lanes and the trains waiting behind each other with normal signals to separate them. currently, they each need a separate stop, and each of them needs to be reachable from the network, as well as the network needs to be reachable from each of them. this is a lot more difficult to setup, requires a lot more space, and probably is slower too because of longer pathes that the trains have to travel.
-- How would LTN ever know which refueling station to use?
the same as for depots now: a logical signal says "this is a refueler" or "this is a depot"
i do NOT suggest anything like SmartTrain's refueler method.
btw: i just see that i never have tested how LTN currently behaves when there are several depot stops (marked with the logical signal) but different names. also not tested whether and how depot stops can be used for different train lengths (not at all? eg: do i have to build all twenty depot stops for the max train length of 10 engines+wagons when there are mostly 17 LC trains and only 3 LLL-CCCCCCC trains?)
-- Are we back to using backer names and allow only one specific naming scheme for
-- for refueling across all possible forces?
similar to currently sending trains to different depots:
either not necessary, or at least not more difficult than it currently is.
-- Why build a stacker in front of the depot?
you assume that a stacker consists of several parallel lanes, each for a single train only, each accessible from the network (through some "spaghetti" when done for lots of trains), each train able to directly go to the network (through some "spaghetti" when done for lots of trains).
this eliminates all other kinds of more simple and more complex stackers, eg a single (or very few) lanes where trains wait behind each other.
having a simple depot (1 or a few lanes) directly at the main track sends them into the network quickly, while trains from the stacker behind it can slowly refill that final real depot
-- Just plant a LTN-stop at every stacker rail. :roll:
how do you do that in the simplest form of having one lane where two trains wait behind each other?