Helmod: Assistant for planning your factory

by Helfima

Assistant for planning your factory. Can calculate required ingredients, products, machines, modules, and beacons. Can also calculate power production / consumption.

Utilities
10 days ago
0.14 - 1.1
373K

g How to deal with inputs that are also outputs?

3 years ago
(updated 3 years ago)

Helmod 0.10.21
Factorio 0.18.21-0
Space exploration 0.2.16 (and all dependencies)

Simple example (see string below) of "Timespace Anomaly Data" that (among other things) requires (in this example) 100 "Entanglement Data" - But also outputs 60 of those. I.e. only 40 are actually consumed (per minute)
If I click "Entanglement Data" I get a line with 100 as the output target (per minute) - But I don't actually need that many new ones every minute... Only 40...
(Bug? in fact it puts 100.1 - Some rounding error?)

The Output even correctly identifies that I have 60 surplus items.

How do I make helmod just put in the 40 (per minute) that I need - and not 100?

I've tried setting Production% to 40% - and that seems to give me the right values.
But I'm unsure if this is the correct way to handle it, because:
- If "Entanglement Data" was part of more than one recipe the percentage calculation would depend on the ratio between each of those - That gets complicated fast...
- "Entanglement Data" is still listed in the Input area as needing 60 (which for the first run is correct - but not every minute...)
- "Entanglement Data" is still listed in the Output are with a surplus of 60 - (Which again is correct for the first run - But not every minute)

And because of the above - I have to suddenly manually keep track of which items are actually fulfilled or not - Instead of simply observing what is left in the Input area.
Definitely not ideal.

Which is why I'm thinking I'm perhaps doing it wrong - and there is a better way (than just setting Production to 40%)?

String
H4sIAAAAAAAA/+1Y3Y6jNhR+lVWuncgESCZacdkXmPauqiIHnKw7xkbGzO50xLv3GExisJlhslOpleqb4L/v/Pic488p5Bcuc8K/HLNXVmSrUhaUH6MIr5D8
LqjKVr9JJX6VDV+hE6x8qrPX7ve47TfYzgoJUtJsVdO1ZiWtK5LTNRGyJPxlXRBNAni5bITOIlTJ7zAR4QPeJ3ifIiYuihaMCg3CfjeQF0WeAVUrlq81rXWP
+Ef2ehUaXoH0SwXzTNPyKg5jVGuiabZtUQf+F1VyXUkm9JqChpcXH31mySJ4MIOIC6clfPjI/mwAdDfFPEuV0zOjvPARp3PLlPwhNXiuBtc3nCimA06YW7NI
QB8QuZScgKF1U1FlOrQYiZhfZYWcecOKQco2juNN7LR0alVZBQ25DQd0348x4ySeoDIp1rVWlJQjVGc4pGw0r2yLKiWLJr+G+0wGudLmksy3Z4shoaqm++gl
RtaQT8yq3RT7M6M++meC1MP/yazy8D61sPjeuCe4BxBsQf5sxJOPcRsN5Xa6nWhyUvKJCh/GHV9i0Tj7v0n9Rm0wsx+qCRGkmaI5qyhk2eOuv7wedytIjoL+
AMcsTK0ewy10Nnkh/+EuO5NcS/Xi6e1kUr3m5CQVMesGVMgDCNUBNcWojwbA70oQqitKC4DnrGTmFOGabrixpEX0fKZd6ejX3PR5BkTo5lLUDQSF0Q8mJedN
/92inFT3bHM6G7wbt/3Bqn7UUhOepVE/fNtkJ7YYNrstbtGJEhA7+K7vhaPYuid5MDthtDzJLEFwXRyHA8Cb1O0fjT1QdHQWB53o6ozbn7DhcW9Daz+EVoTe
r3uTqIqnd5AbZHiTzIZZRRSUP27yhHNWUBUOsCjaRKO2HTza27r/7wTcLpocluGQCX7wDitJNonb0n9vvC03oUWs/qXX7Ux4Ta/VrBGciSfws1YN9QN3inRA
4PuSmIjqDWB0ICNv1y+/Qr9T6Vy/pnhU+f3g9dFnA3x0RRlO1R+nea4sPWXYdDuidpyZxtPLnyU28Z3MX8ykEvwue7DoW3QHjbjCB8iOxU3QR1jPFfANdmaB
U3QPTUvwkieEFbFDn/aWCNIsK2aP7n5MBB8RFvYB3f+a6OhNLRs4sK7CdI/q7svwGUO2nqFvaugKbw6bOLXv+SNcVlvLjMz3w/LHiHe9feRREiKgPaDjhfeI
aJiA9jAHtJyIvkVArZV4LrKWM1E4ov+r7LjK3nju8OfP7a73L6kWXcx6YylsJnnelFA9oDeIdYaCUQeErfMFnJwCIwXljvHOYGjvzhYiDTkJVfbCBHU2u6Oh
3VHStu1XRXWjxJfjVyqKvwGuqVYHehMAAA==

3 years ago

Hello,
I have do a little change on my calculation
I will do roll back in next release because it's wrong in your case

3 years ago

can you try v0.10.22

3 years ago

That's much better :-)
Thank you for the very quick fix!

New response