Factorio

Factorio

檢視統計資料:
Stillkill 2017 年 5 月 9 日 上午 11:42
Throughput counter
Can someone drop me a blueprint string of a throughput counter? I need one that counts how many items are currently on a belt piece, and one that counts how many items total have passed through a belt
< >
目前顯示第 1-10 則留言,共 10
GMC 2017 年 5 月 10 日 上午 1:39 
Obtaining the number of items currently on a belt just requires hooking the belt up to the circuit network, and setting it to "read belt contents" and "hold mode".

Counting an accumulated total requires setting the belt to "pulse mode", and connecting it to a combinator which copies its output to its input (e.g. an arithmetic combinator calculating X+0 or X*1), and connecting the combinator's output to its input. Inputs are automatically summed, so at each pulse, the combinator's output will be the sum of its previous output and the value of the pulse.

Note that you can't do both of these for a single belt piece, as hold mode and pulse mode are mutually exclusive.
Emmote 2017 年 5 月 10 日 上午 3:09 
You could use a splitter. Put one belt after the splitter to read and the other to hold, and then merge them again. Both belts will read half what they should so simply multiply by 2?
Speadge 2017 年 5 月 10 日 上午 4:21 
why use a splitte if u could hook 2 pieces of the belt on the circuit?

Yeas, its offtopic.

Topic:
i made a counter that counts "values per second" i.e. to check how fast a tank fills - or in your example the throughput.
it has a variable interval - but i would need to look it up again - so just tell me if u still need it, so i can update it to 0.15.9
Stillkill 2017 年 5 月 11 日 上午 8:42 
引用自 Speadge
why use a splitte if u could hook 2 pieces of the belt on the circuit?

Yeas, its offtopic.

Topic:
i made a counter that counts "values per second" i.e. to check how fast a tank fills - or in your example the throughput.
it has a variable interval - but i would need to look it up again - so just tell me if u still need it, so i can update it to 0.15.9

Thats alright. I made my own. Took a few hours though
Speadge 2017 年 5 月 11 日 上午 11:27 
feel free to share it ;)
最後修改者:Speadge; 2017 年 5 月 11 日 上午 11:27
AlexMBrennan 2017 年 5 月 11 日 下午 1:02 
If you want to check how much a value has changed in the last 10 ticks (could be extended as necessary for slow changes if you want to hand-place all those combinators) you could build this:
http://steamcommunity.com/sharedfiles/filedetails/?id=923740847
0eNrlnF1uo0gQgO/C464zoquq+bFmL7Gat9XK8g+ZaSnGFobMRJEPsLfYs+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zSatmaS1lDRNlbRF8oBI8ihtIR2xSUdM0pGUNE6VtEUNgUgNqchCOmaTjpmkYynpaKqkLUIJREJJxRbSCZt0wiSdSEnrqZK2aCgQGQ+VWEinbNIpk3QqJR1PlbSMZGpJtQy5JDUzqxLlFuz8lQt6U6Sk8OxpUs1v9Gtwv4llpCRNsiODo59Y2tevyiWxCjxaWvnvn3/HS6zmJ7aJaBFbLSJTLSI45F6BR+lzo2JWbMwgwszPqGd6RUSXdC3waQVnVNDsSglEEWi2VUSmVURySPECj1IpR8WMbMwkwsyvOWAqRdQOWWHgUfLlqJjZlSSoRZjZPhGZPhEjh0Qy8Chfc1TMmo05EmFmy0RkykSMHXLPwKMUz1ExR2zMsQgz2yQi0yRi4pCuBh5lhY6KOWZjTkSY2RoRmRoRU4cMN/AokXRUzAkbcyrCzHaIyHSIFDokxYFHeYyjYk65mCmUYNZswUjcsm0nEUbTy1ftqu9k+xEQUUZL6g8xa2vIRX7RBNNauxiwlQioIUqktYTArOcgJ+NF06sN6GLL9iAwyGu22DKLT8lFctH0Sk+70LLdB+AQ99FCyywPIRexRdMr5+9Cy/YdMMhettAyq4/JRWbR9ApZu9CyHQfoIY6jhZZZi0IuAoum9wCHLrRsrwGDLGULLbOWmVykFU2vLLYLLdtlQDzEZbSeWMZ87gq5iCqa3tMgutCy/QUMspGtq5ZZGa1d5BRN7wEEXQjYuTuQDkPboKtjn54DOr96bOgseMyKw/lxf0SgVURJiMfj/1oe6jE=
最後修改者:AlexMBrennan; 2017 年 5 月 11 日 下午 1:08
Speadge 2017 年 5 月 11 日 下午 2:07 
ehm... you can solve this with <8 combis for every value
AlexMBrennan 2017 年 5 月 11 日 下午 2:48 
Sliding window requires you to store 10 values (more for longer time periods), so how are you going to encode and store that in <8 combinators?
Speadge 2017 年 5 月 11 日 下午 2:54 
you can "store" by sending values to "itself".

will come back on the weekend with my old setup.

i used it once to see how fast a oil-tank is filling up, another time when i tried to check how much items pass the belt.

It works - is just a bit more complicated
Speadge 2017 年 5 月 11 日 下午 3:08 
ok, found it already:

0eNrtl1GPmzAMx79LHieYCgVaodt9kWlCKbitJUhQCNVQxXefAxsH9ODS3um2h720CsR27N/fSbiyQ15DqVBoFl8ZplJULP5+ZRWeBM/NM92UwGKGGgrmMMELM8ogxQyUm8rigIJrqVjrMBQZ/GSx1/5wGAiNGqH31g2aRNTFARRNGPyYeJoLPXbksFJWZCuFCU/+XJrf0J9PITJUkPbvfMeYayXz5ABnfkGyJYMj5hrUQhYXVLqmJ8MC+hmuZ5afytqUwRsn0j0Woo9ZGU+e+VGQjRNDGgU0E1Vao+6GxrZtnZvc/bUavpL617BP3rNK/rfPhN5lOCz5iKrSiXUxuGj0GcWpr0kPiMUbMyhKrrqVxuyZ7GSty/oOz3ABNfZdNklX9OSoZJGgIGcs1qqG1r7u21GRzTiccvCNGE8KQMwN/ZuJFNRfiBLN6U6D7m7g2wVdUsl2qFwBGdaFCzmVQmHqljKHV3Tiv7SIZd0sVxLcpdfNH7n6nydXb6rTbTRX6tMDSvU+TqDLYggWFWgzfa7BNyS6t+Md3se7p03Yp7yDz+M9p/1thfb0ECO8JeVX5lzDx+He2e4/0S2Q5f3Hsluju+h5/+m9fSgs0AvXuy2453CxbM3dkDtXqM8FaDoPrG4PG6vd+MXr+xADT89TyuYGJ4kW7+OzL4/cHTqv70K5giC0Q7B/oL+8f6i9nv9ye0VzJqtnlP/AyWnbXuS5SzgefQE5jO6nVccoCgI/9KJgv9m27S9GB4Po


just link ur belt to the powerpole with red wire and the comb on bottom right gives u the amount of items (default copper plates).
Set time interval on upper right comb

preview:
http://imgur.com/L423Qwe
最後修改者:Speadge; 2017 年 5 月 11 日 下午 3:10
< >
目前顯示第 1-10 則留言,共 10
每頁顯示: 1530 50

張貼日期: 2017 年 5 月 9 日 上午 11:42
回覆: 10