Hello
In the matrix solver, if material X (in included save: rutile) have a main recipe and is a by product of another recipe (in save: silica).
WHEN : the requested amount of X for further recipe down the line is sufficently produced by the byproduct alone.
EXPECTED RESULT: some of the byproduct amount is used for the recipe and the rest is marked as byproduct in the top of the window. The main recipe should be at zero energy usage as it is not needed.
ACTUAL RESULT: the main recipe have a negative energy usage value, there is no material X marked as byproduct and more, some of the ingredient for the main recipe appear as byproduct in top of the window as if it was being made (they can't, they are ingredient, not result (the sulfuric acid in the save included))
You can find below a link to a factorio save that have three floor:
- The first one is the normal case without problem, there is not enough byproduct made to trigger the problem.
- The second floor trigger the bug as there is enough rutile made as byproduct.
- The third one showcase that the problem occur event if consumption of rutile is a byproduct recipe.
That show that a perfectly valid floor can bug if amount changes (and that happen a lot during my nullius run).
The save only have bare minimum nullius and factory planner as mod (easier to reproduce my actual problem than trying to find the problem in vanilla)
http://neemys.name/factory_planner_bug.zip