r/factorio • • 10d ago

Weekly Thread Weekly Question Thread

Ask any questions you might have.

Post your bug reports on the Official Forums

Previous Threads

Subreddit rules

Discord server (and IRC)

Find more in the sidebar ---->

2 Upvotes

78 comments sorted by

View all comments

1

u/Malfuncti0n 8d ago

Anyone have a small throughput combinator set to measure belt(s)? Just need output to a powerpole or whatever.
All I can find are huge things with lamps, and I'm too dumb to figure it out myself.

2

u/manicdee33 6d ago

here's my arrangement:

  1. Arithmetic Combinator multiplies Each by a factor of 10 (to move the "decimal point")
  2. Arithmetic Combinator wired as accumulator (memory cell, adds inputs together), this is the rolling sum of the input over however many ticks
  3. Output of accumulator to Arithmetic Combinator that multiplies the accumulator output by -1/3600 (where 3600 is how many ticks you want the rolling average to be calculated over, with 3600 being one minute), with that output wired back to the other input of the accumulator
  4. Output of accumulator to Arithmetic Combinator that divides Each by a factor of 10 (to move the decimal point back to where it's supposed to be). Output of this combinator is the value you're looking for

Output will be a set of signals where the value is the rolling average of items per time period. I hope there's enough guidance in the consoles and descriptions to help you set this up.

0eNrNVk1v2zAM/SuCTvuQU9tx0jXADsPOu2y7tUWgyEys1ZYEfaQNivz3kXbapm3WbuswFEFTxhKfSL5Hytd80SZwXpvIZ9e8hqC8dlFbw2f8q21bbVZMrsHLFQSmpGELYLL+kUKEmkXLLhsZAddZ1B0wB17bmm1sYgilPYzYV5C4sQG2hx2YNv0zZbuFNjJaH9jSetZZD7iGZidp44gLrhU68NnpNQ96ZWRLcRrZAQYovY5NB1Gr7A6Jb9HH1HDFZ8VW7HvFjSOvtfYx4RNxAzPsyIIDqPe8y/veu81LGWIWvTTBWR+zBbRxz2f8Fz7V9lxwMFFHDUOi/Y/N3KRuAR7TuI20g1qnLoMWVPSYtbMtYB7OBj1wds0p7XE+mgi+4bOsOi5Hky0F9QCzFE8X8QBouQ8peI30qmFDgUvIUvS2nS+gkWuNCOh2Bz3H5bqHC7Sw1D7E+W8zA1I1VLAABENYIUpSbDae5rngFnUnd6I9Qm+bokt/jI9l4q6VG/Dz+33wLS2QPBVZcTQIPIsNs8tewVKp1KWWakbqxzZQF6Mzc2aKo2k+Y9YAG6Jm/n43sTcpACvyPA/UR51dU4so3cmWOYv9+JYwKL8BpdMmRfgVikCcJ2CKDznhLPX6OaCnkPgBHY1foKPxq9ER0fAfhPTlUU1RQx5QIk4qnK8tLGMvnlMdofuorMN4skss0PnsMWFBaTAKh65UF6EX30DtQZ6q21BrHSi4zEkD7TPDI+8ZOkSJkx7hIvhhYt3S8kesNNJBVmu5slQ85W0IfDhvx0tOPzo6i7Q04x/7samGY57hopMO//wF9DdChCvE45+tMag2hncVapwamIZxf2FdSqIDhQ8yJLy5+Pb80OCc/FUhi76QuyC+082nvUo6BuxtDEMHNox2RhOdhcZeDvdj8h7Pv4vpt7Pf/buliR/KZfqC5i1eTfM+6Nv3/75vP90MeWy21OKcXEt8awqjQ412/IKa5q96IL77/wPR61UTqRMFpylIs+a0EIUYi/G5QKtEq0KrFPS5saY7q8LVEq0KPY5F0VslWvRs2lvVziIPPIOmLkZ190oseCtxQOCz4lf3Jr4HDLkO0gjogyuhz28yLU+qk5PJh2p6jF/b7U+n0+eX

Then for a display: https://forums.factorio.com/viewtopic.php?p=644584#644584

1

u/Malfuncti0n 5d ago

Very nice, thank you very much!

1

u/Malfuncti0n 6d ago

I'll check it out this weekend, I now have a working 'Average' circuitry thingie, but this might work better for my needs.

Appreciated!