KirkMcDonald / kirkmcdonald.github.io

Simple web-based calculator for the game Factorio.
Apache License 2.0
553 stars 147 forks source link

Does not calculate correctly with some 0.17 science #134

Closed zearmhot closed 5 years ago

zearmhot commented 5 years ago

Some science packs now yield multiple per craft. The calculator does not factor this in.

For example, you get 3x utility science packs per craft. So I put in that I want "60 items/min". That means only 20 crafts per minute. However, it assumes I want 60 crafts per minute and claims I need (40!) assembly machines making low density parts.

I vastly overbuilt my factory before realizing it was doing this. I assume this is not intended? I would at least reword it to "crafts/minute" if this is intended.

adrianvanderwal commented 5 years ago

image

In your example of LDS, I think you are forgetting the time factor (20 second craft times).

In my example maths, I'm using Assembler 1's Simple maths means: 60 Utility Packs = 60 LDS per minute 1 LDS takes 1/(0.5/20) = 40 seconds to make 60 LDS takes 40*60 = 2400 seconds to make, which equates to 40 assemblers to make 60 per minute.

The calculator is not wrong.

KirkMcDonald commented 5 years ago

Yep. Those 20 second craft times mean you need a lot of assembling machines. The calculator is, indeed, reporting items/minute correctly.