So I wanted to start a new factory, really nice one, to have high availability of finished products. Then I thought about doing it train based with a delivery system and there it all gone crazy. I spent like 3 days cabling uncabling testing.. I had done some stuff with combinators but this was not easy.
The Smarter trains mod has to be installed and all the trains that we intend to operate in the same circuit must belong to the same line. On this line all the stations must be listed, my recommendation to speed up is to put all the providers in the beginning of the line and all the requesters at the end. If you know how many stations youll have you can create "dummy" stations for the future provider's but that is too much detail.
Let's see the Depot:
The signals that are used for communication between stations are unusable for transporting items, this means my system cannot transport diesel locomotives, train stations, wooden chests or cargo wagons. this could be changed masquerading those signals i did it in the depot in fact since the last memory cell is a bit problematic. But for now these i thought wouldn't be very useful to transport by rail ^^
let's make an example and talk about it so I went to my factory and get some plate running. The depot would start polling with the train station signal, it will go increasing the station signal till a certain value (for me now is below 50). When it get's some request it will star searching for a provider that has this quantity available. The poll will be in this second round with wooden chests. Then the internal calculation and the final order. For our example I removed all the trains from the Depot so the polling will stop (why to poll if you don't have trains to deliver right?) and we can see the booked order and understand it:
A couple of sidenotes, in theory you can have different trains with different number of wagons, this is not fully implemented now and I don't see the real need but i think with a bit of tweaking it cound be properly managed. i made all the stations so they can book multiple orders but when cabling them for normal use i modified them so they can only accept one and wait for the deliver to be finished to order another. this makes sense since we can deliver multiple trains and otherwise even if what it is promised is taken into account at the outpost, could lead to more requests tan desired. There are many details and it is hard to go through them, I realize while I write that many things are left to be described but as I said it is not a full detailed guide.
So let's ride to our provider, the depot will pass the P15 to the train and we¡ll be on our way. before arrriving we'll see the Provider ready to serve:
let's talk a bit about the config of the trains:
On the depot they wait for signal P
on any provider they wait for signal R
on any requester they wait for signal D (alwais = 1 a.k.a. the Depot) AND empty cargo inventory
That's why you can see the lamp on in the requesters when they are booked but not on the providers since they have to load first and sometimes you don't want them full. Always some excess of material will be transported, that's why I usually make the standard requests smaller than one train.
Regarding connecting the requesters and providers, please add them to the line in smart trains before connecting anything, even electricity for the requester will lead to malfunction. Once they have their smarstation number asigned then you can connect them. Also remember each time you add a station you have to configure the line so the train will be directed to Signal#
Before leaving let me show you the multirequester station (in reality is a small polling system similar to the one used in the train system but just for the factory), it can book a configurable amount of trains (for me if 3 trains are on their way it waits) then a big filtering belt to feed the buffer that will feed the central bus. There is a pic of our order booked on the factory buffer. Then i have a system connecting all the factory outputs and a smart loading station to make trains with the quantities you configure, this if is interesting for somebody I can share. I hope you enjoyed and please let me know any idea to improve it or to work on.