Page 1 of 1

FactorioRatioCounter

Posted: Mon Oct 23, 2017 2:05 pm
by BAndrisHuN
A command prompt app that helps to measure the optimal ratio for any direct product-ingredient recipes.

https://github.com/EpicGamingVideos/Fac ... r/releases
https://github.com/EpicGamingVideos/Fac ... tioCounter

Online page: https://andrisborbas.github.io/FactorioRatioCounter/

Re: FactorioRatioCounter

Posted: Mon Oct 23, 2017 2:14 pm
by mrvn
You should give the ratio as integer independent of how many machines you need for items per minute.

Useful info would also be the number of items per second (or seconds per item) for one set with the perfect ratio (minimum number of machines with the right ratio) and the number of sets for your target speed.

Re: FactorioRatioCounter

Posted: Mon Oct 23, 2017 2:32 pm
by BAndrisHuN
mrvn wrote:You should give the ratio as integer independent of how many machines you need for items per minute.
What do you mean by that?
mrvn wrote:Useful info would also be the number of items per second (or seconds per item) for one set with the perfect ratio (minimum number of machines with the right ratio) and the number of sets for your target speed.
I'll add that asap.

Re: FactorioRatioCounter

Posted: Mon Oct 23, 2017 2:58 pm
by mrvn
BAndrisHuN wrote:
mrvn wrote:You should give the ratio as integer independent of how many machines you need for items per minute.
What do you mean by that?
In the code is a comment that the ratio will only be integers if it fits nicely with the numbers per minute or such. I imagine you get ratios like 5.5 : 3 if it doesn't fit instead of 11 : 6 as it should be, even if you only need 3 machines for the second item to reach your goal.

Re: FactorioRatioCounter

Posted: Mon Oct 23, 2017 3:21 pm
by BAndrisHuN
mrvn wrote:In the code is a comment that the ratio will only be integers if it fits nicely with the numbers per minute or such. I imagine you get ratios like 5.5 : 3 if it doesn't fit instead of 11 : 6 as it should be, even if you only need 3 machines for the second item to reach your goal.
But then you would not get optimal ratios, because you can't put down a half assembling machine.
And also I am working with the remainder of numbers and that only works with whole numbers.

Re: FactorioRatioCounter

Posted: Mon Oct 23, 2017 4:07 pm
by BAndrisHuN

Re: FactorioRatioCounter

Posted: Fri Mar 08, 2019 4:03 pm
by BAndrisHuN
Released an online page: https://andrisborbas.github.io/FactorioRatioCounter/

The only problem it has, is that if there is a box with no numbers in it, the page freezes. If anyone could help me why that is, that would be awesome.

Source code availabe at: https://github.com/AndrisBorbas/Factori ... aster/docs