I looked, but couldn't find anything close to what I wanted, so I wrote a Python package to that effect. About a year ago, I released the first version and posted on reddit without it getting much attention. It has been under continuous development since then and now version 0.2.0 is available.
With FactorioCalc you can:
- Symbolically express your exact machine configuration and ask it what the resulting inputs and outputs is.
- Import a blueprint and determine what it produces.
- Specify the recipes you want to use and let FactorioCalc determine the exact number of machines needed.
- Specify what you want, and let FactorioCalc determine both the recipes and the number of machines required.
- Combine factories, which were created using any of the above methods, to create a larger factory.
FactorioCalc contains a custom simplex solver so it can easily handle complex cases that involve recipes with more than one output, such as oil and uranium processing.
I have used FactorioCalc to help produce a factory that produces around 2k science packs per minute, and with Space Exploration and Krastorio 2.
I personally find FactorioCalc a better way to plan my factory than using FactorioLab and perhaps a spreadsheet. I also find it more flexible than in game tools such as "Factory Planner" or "Helmod". That being said I realize I have a tendency to go about things in a unique way, so I am really interested if anyone other than me finds this useful.
If this sounds like something you are interested in please check out the documentation at and try it out. You can find it on PyPI (https://pypi.org/project/factoriocalc/) and GitHub (https://github.com/FactorioCalc/FactorioCalc). The overview section of the documentation is available as Jupyter notebook that you can use in your browser.