shpaass / yafc-ce

Powerful Factorio calculator/analyser that works with mods
GNU General Public License v3.0
54 stars 20 forks source link

Autobalance the production vs consumption. #175

Closed veger closed 1 month ago

veger commented 3 months ago

Currently, it is possible in the Summary page to click an unbalanced production item to match the production to the requested/required consumption. While this works, it often triggers changes in consumption (as one just changed production amounts). So one need to click again (for multiple items) to balance these other item(s). Triggering new changes, etc, etc.

It would be nice to automate this clicking, and thus rebalance the complete factory automatically.

:warning: Be aware that not always a balance can be reached (e.g. it is 'flipping' between (two) states), causing infinite 'clicking' deadlocking Yafc! So there is some mechanism required to 'give' up' when certain conditions are met.