Page 1 of 1

Routing trains by their contents

Posted: Tue Feb 05, 2019 5:06 pm
by quyxkh
Pi-C wrote: Sun Feb 03, 2019 6:08 pmBefore 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 2576 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.


Re: Routing trains by their contents

Posted: Wed Feb 06, 2019 12:02 am
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.