FactorioRatioCounter

Calculate optimal ratios for feeding recipes, search through the research-tree, specialized tools to view game-information.
Post Reply
BAndrisHuN
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Jun 30, 2016 10:08 pm
Contact:

FactorioRatioCounter

Post 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/
Last edited by BAndrisHuN on Fri Mar 08, 2019 4:07 pm, edited 2 times in total.

mrvn
Smart Inserter
Smart Inserter
Posts: 5696
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: FactorioRatioCounter

Post 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.

BAndrisHuN
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Jun 30, 2016 10:08 pm
Contact:

Re: FactorioRatioCounter

Post 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.

mrvn
Smart Inserter
Smart Inserter
Posts: 5696
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: FactorioRatioCounter

Post 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.

BAndrisHuN
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Jun 30, 2016 10:08 pm
Contact:

Re: FactorioRatioCounter

Post 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.

BAndrisHuN
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Jun 30, 2016 10:08 pm
Contact:

Re: FactorioRatioCounter

Post by BAndrisHuN »


BAndrisHuN
Burner Inserter
Burner Inserter
Posts: 17
Joined: Thu Jun 30, 2016 10:08 pm
Contact:

Re: FactorioRatioCounter

Post 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

Post Reply

Return to “Cheatsheets / Calculators / Viewers”