Routing trains by their contents

Smart setups of railway stations, intelligent routing, solutions to complex train-routing problems.
Please provide - only if it makes sense of course - a blueprint of your creation.
Post Reply
quyxkh
Smart Inserter
Smart Inserter
Posts: 1028
Joined: Sun May 08, 2016 9:01 am
Contact:

Routing trains by their contents

Post by quyxkh »

Pi-C wrote:
Sun Feb 03, 2019 6:08 pm
Before branches, I stop each train to read its content (which imposes a penalty on train speed already).
[edit: replaced with a single complete example]

Would it be better for throughput to just carry the manifest with the train? No need to stop the train that way, and I think combinators are efficient enough, I think it'd be close enough to free. Here's a proof-of-concept:
snap@T2314967=9648x1904+601326.75+498737.5,z2.jpg
snap@T2314967=9648x1904+601326.75+498737.5,z2.jpg (512.89 KiB) Viewed 2382 times
The split will shunt anything with less than 400 crude barrels onto the side path, put something else in the unconfigured loading chest to see it work, the output port on the signal propagators is the +0 accumulator connected to the next big pole. The extra combinators at merge entrances isolate the green-to-yellow transition, straight-line propagation works off just green-to-not-green so it's simpler.

Last edited by quyxkh on Tue Feb 05, 2019 9:43 pm, edited 2 times in total.

Pi-C
Smart Inserter
Smart Inserter
Posts: 1654
Joined: Sun Oct 14, 2018 8:13 am
Contact:

Re: Routing trains by their contents

Post by Pi-C »

Thanks, I'll take a look at the blueprint as soon as I can! Yesterday, I got new hardware for the computer Factorio runs on and I'm still restoring the system.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!

Post Reply

Return to “Railway Setups”