Split and prioritize output belt (and merge multiband right)

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
Post Reply
canidae
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Thu Feb 18, 2016 6:24 pm
Contact:

Split and prioritize output belt (and merge multiband right)

Post by canidae »

rasby came up with a superior solution to the problem, check out viewtopic.php?f=202&t=32817

Previously I've used the design in the image below to prioritize belt flow after a splitter:
prioritized_track.jpg
prioritized_track.jpg (160.07 KiB) Viewed 21268 times
Unfortunately this will not work perfectly once you need full throughput on your prioritized belt. As shown in the image above some iron ore still pass through the deprioritized belt even though the prioritized belt isn't fully saturated.
Fixing this is fairly simple, so as I still see many use the design above, I thought I'd throw out my solution to the problem:
prioritized_track_2.jpg
prioritized_track_2.jpg (303.04 KiB) Viewed 21268 times
By splitting the prioritized track again then the two new tracks hold 50% of the items that will later be merged, meaning that while the prioritized track is fully saturated the sum of items on the two belts between the two new splitters will never exceed 8 as long as all the items on the prioritized belt are consumed. If all the items on the prioritized belt aren't consumed then the two belts between the splitters will start filling up and the lock on the deprioritized belt will be released.
Note: It's not necessary to send the top output of the rightmost splitter down to the prioritized track, I just dislike loose ends.
Blueprint
Last edited by canidae on Sun Sep 18, 2016 10:25 am, edited 2 times in total.

canidae
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Thu Feb 18, 2016 6:24 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by canidae »

I simplified this design to just two belts, this post is probably easier to grasp.

Now that you got your prioritized track working, you might wish to force items to the right (or left, or up, or down) on a multiband line (i.e. a "bus").
As I'm writing this I realize that going vertical was a bad idea as most people have more width than height to their monitor, sorry about that :\

This setup will merge items towards the right belt to make sure the right belt is always* saturated. One unfortunate drawback is that this design requires a fair amount of space, as in that you can't really split out a track to the side before you've shifted all belts one step to the right.
* There may be some some hickups causing the right belt to temporarily not be fully saturated. Increasing value (value should be from ">8" to ">15") for condition on locked belt may resolve issue, but setting it too high may also reduce total throughput for the 4 belts.
mutliband_merge_right.jpg
mutliband_merge_right.jpg (171.85 KiB) Viewed 21263 times
Blueprint
Last edited by canidae on Tue Sep 27, 2016 8:19 pm, edited 1 time in total.

rasby
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Sep 16, 2016 5:25 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by rasby »

I recently came up with something similar: viewtopic.php?f=202&t=32817
priority_splitter_2.png
priority_splitter_2.png (44.77 KiB) Viewed 21242 times
Preferentially outputs on the bottom lane, any overflow going to the top. The circuit conditions are read/hold on the first two, enable/anything > 12 on the low-priotity out.

canidae
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Thu Feb 18, 2016 6:24 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by canidae »

rasby wrote:I recently came up with something similar: viewtopic.php?f=202&t=32817
Your solution for merging to one side on a multiband greatly improves my design. I'm somewhat surprised that in all my testing I didn't come across this solution on my own, it's so simple!
Great work :)

rasby
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Sep 16, 2016 5:25 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by rasby »

Thanks :)

Edit: Here's a blueprint of my design. The other topic is locked, so I guess I'll put it here.
blueprint

doxsroxs
Fast Inserter
Fast Inserter
Posts: 160
Joined: Mon Aug 01, 2016 4:19 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by doxsroxs »

Really nice solution. This looks way better than a splitter cascade!

Thanks!
Send train to station ID using combinator signal is a long overdue feature!
viewtopic.php?f=6&t=74663

User avatar
brunzenstein
Smart Inserter
Smart Inserter
Posts: 1059
Joined: Tue Mar 01, 2016 2:27 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by brunzenstein »

canidae wrote:
If you save the blueprint in this format, the blueprint manager won't accept it.
the one from by rasby » Sun Sep 18, 2016 1:13 pm works

canidae
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Thu Feb 18, 2016 6:24 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by canidae »

brunzenstein wrote:
canidae wrote:
If you save the blueprint in this format, the blueprint manager won't accept it.
the one from by rasby » Sun Sep 18, 2016 1:13 pm works
Thanks for the heads up. I've been using Killkrog's Blueprint Manager (although recently replaced it with Foreman), could've be some issues there.

canidae
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Thu Feb 18, 2016 6:24 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by canidae »

rasby wrote:I recently came up with something similar: viewtopic.php?f=202&t=32817
priority_splitter_2.png
priority_splitter_2.png (44.77 KiB) Viewed 20541 times
Preferentially outputs on the bottom lane, any overflow going to the top. The circuit conditions are read/hold on the first two, enable/anything > 12 on the low-priotity out.
Quite late to bring this up, but I just noticed something in rasby's design that may not be apparent for all readers:
If you have two inputs to the first splitter and want the prioritized belt to be fully saturated, then rasby's design will not work properly once both inputs are nearly saturated. When that happens the top right circuited belt (with Enable/Disable condition) will be enabled and both outputs will be equally nearly saturated.
If there's only one input to the first splitter then all input will go to the prioritized belt and only overflow to the other belt once the prioritized belt is getting backed up (which was the problem I wanted to solve in this thread).
If you have two input belts and two output belts where you want one to be fully saturated before the other receive any overflow (and you don't want the input belts to be slowed) then read about Overflow splitting.

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by ssilk »

I created a mechnical version of prio-splitting: viewtopic.php?f=202&t=33695
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

CaptainKonzept
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed May 03, 2017 8:07 am
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by CaptainKonzept »

Hey, I made a video comparing the different priority splitter designs I could find (and come up with myself). Check it out here: https://www.youtube.com/watch?v=Ta6PnPC7MOI
Kudos to your geat design!

canidae
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Thu Feb 18, 2016 6:24 pm
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by canidae »

Saw your post on reddit, great video. I have a ton of comments for you, I'll see if I can give you a proper response there :)

tamanous
Fast Inserter
Fast Inserter
Posts: 138
Joined: Wed Aug 10, 2016 8:35 am
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by tamanous »

Thank you, CK.
I really liked the idea of the contrastive look at the different desings - though I'd preferred written with images over video.
I rebuilt some of the shown layouts to see how zwaans layout would benchmark when build thoroughly. Quite well, indeed. When I got to the point of comparing the throughputs of the different bus lanes, I ran into the problem of a reliable measurement - just to see that you're already working on that, too. So I guess I'll wait and see and head to other problems :)

Anyways, I'd like to ask you to share the (a) blueprint of your setup to save the time of the ppl working on the same thing.

CaptainKonzept
Burner Inserter
Burner Inserter
Posts: 8
Joined: Wed May 03, 2017 8:07 am
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by CaptainKonzept »

It's been a while, but I always wanted to do an update video where I fixed your splitter according to your feedback, tried to improve on my concepts and have a better testing setup. Now with the new output priority mechanic it was a good motivation to not only do that video, but also compare the new mechanic to the old designs: https://www.youtube.com/watch?v=HkR3pDTNUv8

McDuff
Fast Inserter
Fast Inserter
Posts: 236
Joined: Sun Jan 11, 2015 11:09 am
Contact:

Re: Split and prioritize output belt (and merge multiband right)

Post by McDuff »

CaptainKonzept wrote:It's been a while, but I always wanted to do an update video where I fixed your splitter according to your feedback, tried to improve on my concepts and have a better testing setup. Now with the new output priority mechanic it was a good motivation to not only do that video, but also compare the new mechanic to the old designs: https://www.youtube.com/watch?v=HkR3pDTNUv8
Here's a question about that - I always put the lane balancers after the lanes that have been split off, so that it's drawing roughly evenly from both lanes from the perspective of the belt even if it's unbalanced at the factory end. That seems like it should even up the throughput with the new mechanics without having to do all that lane balancing on the bus itself.

Post Reply

Return to “Combinator Creations”