Page 1 of 1

Logistics Router

Posted: Tue Mar 05, 2019 9:23 pm
by adam_bise
This is a system to request items back and forth between disjoint logistic networks. It basically reads roboport logistic data and sets requests on requester chests. This was useful for me in belt pathways snaking through biter nests where repair items were needed and to prevent bots from flying over nests.
lr1.png
lr1.png (990.7 KiB) Viewed 6181 times
Constant combinators define a set of items that will be requested from the parent network if they fall below the set number, and excess items will be sent to the parent.

These can be used in a chain, and requests happen on each parent in a hop so there is no waiting for multiple transactions. You can fork multiple children off a single parent in any fashion. Requests from children that don't appear in a hops list is forwarded up the chain.

The Router:
lr2.png
lr2.png (1.31 MiB) Viewed 6181 times
The router circuit fulfills requests from child networks and accepts excess items. A bot switch ensures that items being ferried by bots will not cause duplicate requests. An adjustable belt timer allows the items to travel along the belt before accepting another request. The belt timer uses a constant combinator T to set the number of tiles between the router and bridge. Set T to the number of belts between the router steel chest and bridge active provider plus 2 for the inserter time. The belt speed multiple is set to 32 ticks per tile for yellow belts. Change this to 16 for red and 11 for blue.





Inventory Control:
lr3.png
lr3.png (936.24 KiB) Viewed 6181 times
The inventory control circuit sends item requests. Requests for items from parents are on the red channel and requests for items to parents are on the green channel. Constant combinators set the desired inventory to be kept within the current network. An excess multiple is used to determine how much excess items are kept before sending them upstream. This can be +1 or *10 for example. Items not specified will be sent to the parent network.

It also accepts requests from downstream and simply adds the signal to its own inventory signal.

Additional constant combinators can be added if needed.



Bot Control:
lr4.png
lr4.png (806.01 KiB) Viewed 6181 times
The bot control circuit determines whether logistic bot total = available and blocks requests if not. It also includes a requester chest for adding bots to the network.


Re: Logistics Router

Posted: Wed Mar 13, 2019 10:51 pm
by cid0rz
Hello, it looks very nice, congratulations and thanks for sharing. A lot of time to develop such a system eh? xD worst is debugging :mrgreen:. I have developped similar system to request different materials into buffers from the same train stations. So i did a order booking system for the buffer that I can see the similarities even without going into the details. So it's nice to have another combinator enthusiast creation shared!

Re: Logistics Router

Posted: Sat Mar 23, 2019 1:07 am
by adam_bise
cid0rz wrote:
Wed Mar 13, 2019 10:51 pm
Hello, it looks very nice, congratulations and thanks for sharing. A lot of time to develop such a system eh? xD worst is debugging :mrgreen:. I have developped similar system to request different materials into buffers from the same train stations. So i did a order booking system for the buffer that I can see the similarities even without going into the details. So it's nice to have another combinator enthusiast creation shared!
Thank you. Here is a new version capable of seeding itself with logi bots, assuming the networks are separated by only 1 tile.
lr5.png
lr5.png (712.64 KiB) Viewed 5606 times

Re: Logistics Router

Posted: Sun May 19, 2019 12:22 am
by adam_bise
Another version with option to increase inventory by a percentage for each child.

Useful for many successive segments with the same inventory.

Set percentage on this combinator.
lr6.png
lr6.png (1.01 MiB) Viewed 4988 times

Re: Logistics Router

Posted: Tue May 21, 2019 3:12 pm
by adam_bise
Simplified version is dramatically faster, but relies on a 1 tile separation of networks and doesn't minimize duplicate requests.

Removed belt timer, and accompanying bot switch. Removed child count buffer. Added circuit to round inventory signal up to the nearest multiple of your bots cargo capacity.

Set the capacity on these, typically 4.
lr7.png
lr7.png (2.27 MiB) Viewed 4927 times


Edit: Add missing filter condition.
Edit: Isolate request signal. Request only logi bots when none.
Edit: Fix green signal leak to red. Ignore negative source values.

Re: Logistics Router

Posted: Wed Feb 05, 2020 3:15 am
by MassiveDynamic
Here is a smaller, less complex version that is designed for single gap separated networks. Enter your desired request in the constant combinator and the system maintains a balance between the requester chest and the provider. The two networks are divided along the two lights.
Screenshot (31).png
Screenshot (31).png (2.09 MiB) Viewed 3829 times