I had a train delivering defense material to multiple outposts but only wanted to drop off what was needed. Inserters limited to 5 filtered items and setting filters "passively" caused stalls due to needed items filter being outside the scope of the inserters filter limit. I started off trying the single combinator RS-Latch and racked my brain for a few hours to come up with this.
BoneyardWolf-SR-Latch-Dynamic-Filter.png (1.17 MiB) Viewed 1250 times
It sets request signals based on Demand side content and the manually set Min Max values in the Constant Combinators 1A and 2A. Then takes that and compares with what is available in the Supply side. If the request signal does not match any of the available signals than its not passed to the inserts filters.
Re: SR-Latch + Dynamic Filter
Posted: Thu Jan 30, 2025 3:03 am
by gGeorg
Supply train stations are one of the most intriguing tasks to build.
Your test bed, might work. It would be better post your bluprint of working station. Best make a simple circle test track as whole blueprint.
I have my own train station improved several times, would like to compare. Perhaps we find some inspiration.
Re: SR-Latch + Dynamic Filter
Posted: Tue Mar 25, 2025 8:37 am
by antecureuil
I have made a supply network with one train, one supply hub and multiple stations.
Every station publishes its demand over a radio channel. For instance based on its local logistic network unfulfilled requests.
The hub tries and fills the train with everything requested, for instance by requesting from hub’s local logistic network.
Then the hub publishes contents of the train on another radio channel.
Stations compare that with their demand, and set their priority to nonzero value if matched as well as publish a GO radio signal.
Once ready to go (when full or inactive) train heads to a station to where station unloads what it needs and publishes the remaining train contents over the radio.
Stations update their priorities and the train proceeds to the next and so on until it’s empty or not needed anywhere (GO signal is zero) —> it goes back to hub.
Later I also added waste disposal, so that train will take away everything that is not needed from a station and when comes to hub - dumps it at the hub.
The above became my ultimate supply tech, that combined with ghost detector mod allows to simply build new outposts while having all their needs fulfilled automatically.
One network can effectively service about 10 stations.
The only problem I had was when it was saturated with artillery shells requests of one of stations. They fill up the wagons very quickly. Otherwise - woks like a breeze.
Re: SR-Latch + Dynamic Filter
Posted: Tue Mar 25, 2025 10:50 am
by Fabriken AGI
antecureuil wrote: Tue Mar 25, 2025 8:37 am
I have made a supply network with one train, one supply hub and multiple stations.
Every station publishes its demand over a radio channel. For instance based on its local logistic network unfulfilled requests.
The hub tries and fills the train with everything requested, for instance by requesting from hub’s local logistic network.
Then the hub publishes contents of the train on another radio channel.
Stations compare that with their demand, and set their priority to nonzero value if matched as well as publish a GO radio signal.
Once ready to go (when full or inactive) train heads to a station to where station unloads what it needs and publishes the remaining train contents over the radio.
Stations update their priorities and the train proceeds to the next and so on until it’s empty or not needed anywhere (GO signal is zero) —> it goes back to hub.
Later I also added waste disposal, so that train will take away everything that is not needed from a station and when comes to hub - dumps it at the hub.
The above became my ultimate supply tech, that combined with ghost detector mod allows to simply build new outposts while having all their needs fulfilled automatically.
One network can effectively service about 10 stations.
The only problem I had was when it was saturated with artillery shells requests of one of stations. They fill up the wagons very quickly. Otherwise - woks like a breeze.
Use inactive artillery wagons for this purpose, they can fit 99 shells
Re: SR-Latch + Dynamic Filter
Posted: Thu Mar 27, 2025 7:36 am
by antecureuil
Fabriken AGI wrote: Tue Mar 25, 2025 10:50 am
Use inactive artillery wagons for this purpose, they can fit 99 shells
Thanks! I thought as well to create a separate network, the classical one interrupts were meant for to deliver just shells or any bulk cargo.
But I ended up leaving as is, because problem with shells was only temporary, while a new outpost with artillery cleans up the area. So I switched to other challenges.
Fabriken AGI wrote: Tue Mar 25, 2025 10:50 am
Use inactive artillery wagons for this purpose, they can fit 99 shells
Thanks! I thought as well to create a separate network, the classical one interrupts were meant for to deliver just shells or any bulk cargo.
But I ended up leaving as is, because problem with shells was only temporary, while a new outpost with artillery cleans up the area. So I switched to other challenges.
If you ever think "do i need more trains?" the answer is always yes