Open Martin-Pitt opened 1 year ago
I've added links to all the algorithms as comments in /src/lib/calc.js; whether wiki mentions or the actual source code.
Hi, I worked out a more accurate calculation for the crushing wheel based on some testing and the source code:
processingDuration = floor( (recipeDuration - 20) / clamp( 4*RPM/50/floor(log2(stackSize)), 0.25, 20 ) ) + 1 + inputDelay
processingDuration is equivalent to ticks/input or ticks/stack size. I'll collect more data when I have the time to confirm this is accurare.
Need someone or myself to check the calculations are actually correct.
I remember doing a few spot checks here and there and it seemed accurate but more methodical testing with a stopwatch is needed.
Test at some different RPM values (E.g. 32, 64, 128, 256?) and check different setting combinations.
Don't need to be too strict, I just want to be in the right ballpack at first and we can refine from there :)
Checklist: