I made a calculator for all you OCD planners out there

Calculate optimal ratios for feeding recipes, search through the research-tree, specialized tools to view game-information.

Re: I made a calculator for all you OCD planners out there

Postby AntiBlueQuirk » Wed May 03, 2017 3:02 pm

I love tools like this, and I haven't seen any of them getting updated, so I forked, updated, and made a pull request. (Well, it looks like there's been some recent activity in this thread, but I only noticed after I put in all the work. :) )It's up to rubyruy to pull the changes in, but in the meantime, you can use my fork. Just use his original url, and replace "rubyruy" with "antibluequirk". (I'd post a link, but I'm not allowed yet.)
AntiBlueQuirk
Long Handed Inserter
Long Handed Inserter
 
Posts: 51
Joined: Wed May 03, 2017 2:57 pm

Re: I made a calculator for all you OCD planners out there

Postby brindyblitz » Fri May 05, 2017 7:11 am

Hey folks, I was trying to avoid this until rubyruy could merge my changes, but it's clear the community's patience is starting to wear thin...

I've made a fork of my own which is 0.15.x compatible. Additionally, it has a lot of new features, such as:
  • Support for adding multiple recipes, which all then contribute to the main total
  • UI cleanup to make it more readable
  • "Explain" function that tries to educate the user on how the tool arrived at the numbers
  • Bulk Import/Export. Enter multiple recipes as text, which you can then save locally as a text field
  • Add support for calculating the number of miners needed for ore

You can find it at https://abrindam.github.io/factorio-calc/

I am still working to get my changes merged into the original rubyruy version so hopefully eventually we can go back to that URL.
brindyblitz
Burner Inserter
Burner Inserter
 
Posts: 8
Joined: Sat Apr 29, 2017 10:14 pm

Re: I made a calculator for all you OCD planners out there

Postby brindyblitz » Sun May 07, 2017 6:07 am

Updated my fork with 0.15.9 given the big changes to the science pack recipes.
brindyblitz
Burner Inserter
Burner Inserter
 
Posts: 8
Joined: Sat Apr 29, 2017 10:14 pm

Re: I made a calculator for all you OCD planners out there

Postby BAIZOR » Sun May 07, 2017 9:11 pm

Thanks. Its very nice that you updated it to 15 version.
Please fix this issue with limited layout rendering
Attachments
Capture.PNG
Capture.PNG (40.53 KiB) Viewed 1007 times
BAIZOR
Manual Inserter
Manual Inserter
 
Posts: 2
Joined: Sun May 07, 2017 9:09 pm

Re: I made a calculator for all you OCD planners out there

Postby brindyblitz » Sun May 07, 2017 10:10 pm

OK, I think I've fixed the issue with the layout section being cut off.

If the layout is too big to fit on the screen, it should now scroll horizontally.

Give it a try and let me know what you think!
brindyblitz
Burner Inserter
Burner Inserter
 
Posts: 8
Joined: Sat Apr 29, 2017 10:14 pm

Re: I made a calculator for all you OCD planners out there

Postby BAIZOR » Mon May 08, 2017 3:57 pm

Yeah! It works awesome. Good job! :D
BAIZOR
Manual Inserter
Manual Inserter
 
Posts: 2
Joined: Sun May 07, 2017 9:09 pm

Re: I made a calculator for all you OCD planners out there

Postby justincuster » Tue May 09, 2017 10:12 am

brindyblitz wrote:Updated my fork with 0.15.9 given the big changes to the science pack recipes.


Thank you!
- Justin -
justincuster
Inserter
Inserter
 
Posts: 21
Joined: Sun Apr 30, 2017 11:13 am

Re: I made a calculator for all you OCD planners out there

Postby Fashnoth » Mon May 22, 2017 8:08 pm

Amazing thx
:D
Fashnoth
Manual Inserter
Manual Inserter
 
Posts: 1
Joined: Mon May 22, 2017 8:04 pm

Re: I made a calculator for all you OCD planners out there

Postby ThwartMantella » Wed Sep 13, 2017 2:57 pm

I currently play on the experimental 1.15.x and the info box of yellow belts states a speed of 13.333 items/s. 13.333 * 60 = 799.9999998 items/minute or 800 items/min as also stated on the official Factorio Wiki. The calculator uses a speed of 399.60 items/min for yellow belts. The speeds for red and blue belts seem to be off too. Is this a bug?
ThwartMantella
Manual Inserter
Manual Inserter
 
Posts: 4
Joined: Tue Sep 12, 2017 9:24 pm

Re: I made a calculator for all you OCD planners out there

Postby brindyblitz » Sun Sep 17, 2017 6:21 am

Mostly, the issue here is what the actual values means, rather than a calculation error.

You'll notice the value you're getting is approximately half of what you expect. This is because the value you're getting, "# Assembly Lines," considers an assembly line to be one side of the belt, rather than both sides. The values you have (13.333) is for BOTH sides of the belt, so therefore these numbers are off by half.

I believe the "Explain" link in the UI should mention the value is for one side of the belt.

I completely understand that whether you interpret "# Assembly Lines" be one or both sides of the belt is basically a toss-up, so I'm open to suggestions on what should be changed to clarify this. Let me know!

In addition, there appears to be slight discrepancies in the number due to rounding (the real number for one side of the belt is 400 items/min, not 399.60). This is due to us inputting the belt speed with just two decimals places of precision. We should fix that.
brindyblitz
Burner Inserter
Burner Inserter
 
Posts: 8
Joined: Sat Apr 29, 2017 10:14 pm

Re: I made a calculator for all you OCD planners out there

Postby Lilly » Tue Dec 19, 2017 1:13 pm

brindyblitz wrote:In addition, there appears to be slight discrepancies in the number due to rounding (the real number for one side of the belt is 400 items/min, not 399.60). This is due to us inputting the belt speed with just two decimals places of precision. We should fix that.

I believe that this discrepancy is intentional. Even though 400/min is the maximum throughput, it is near impossible to reach in practice. Which means your assemblers will be idle some of the time, resulting in an output that is slightly less than what you specified. Reducing the belt capacity by a tiny amount (0.1%), ensures that belts won't be a bottleneck.
Lilly
Inserter
Inserter
 
Posts: 42
Joined: Mon Apr 11, 2016 6:42 pm

Re: I made a calculator for all you OCD planners out there

Postby Maddhawk » Thu May 24, 2018 1:21 am

This tool is out of date. To some extent the numbers are correct, however I suspect certainly belt changes have not been taken into account. It is telling me that a normal belt can handle only 10 steel smelters worth of output of copper/iron plate per belt. In 0.16 this is actually 24 smelters worth of output with 12 on each side.
Maddhawk
Inserter
Inserter
 
Posts: 27
Joined: Sat May 05, 2018 6:53 am

Re: I made a calculator for all you OCD planners out there

Postby brindyblitz » Thu May 24, 2018 1:29 am

Looks like you're hitting this issue, https://github.com/rubyruy/factorio-calc/issues/50

This is lame, but you can fix it by switching the belt speed to fast and then back basic again and it will give you the correct results.

Now that someone's complained, I'll try to fix that bug (anyone else with programming knowledge is also welcome to give it a try too!).
brindyblitz
Burner Inserter
Burner Inserter
 
Posts: 8
Joined: Sat Apr 29, 2017 10:14 pm

Previous

Return to Cheatsheets / Calculators / Viewers

Who is online

Users browsing this forum: No registered users and 2 guests