FactorioCalc 0.2.0
FactorioCalc is a Python module to help you symbolically plan your factory for Factorio.
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 has supports for using custom recipe data and mods. The companion mod, Recipe Exporter, provides the recipe data.
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, the author, find designing my factory symbolically more natural than using a spreadsheet and tools like FactorioLab.
- Comparison to Other Tools
- Overview
factoriocalc
package- Fractions
- Core
Default
Ingredient
Item
Fluid
Research
Electricity
Module
MachineBase
Machine
CraftingMachine
Mul
Group
Flow
OneWayFlow
FlowsState
Flows
SimpleFlows
NetFlows
Effect
Bonus
Recipe
RecipeComponent
IGNORE
InvalidModulesError
maxInputs()
MachinePrefs
rcpByName
itmByName
mchByName
recipesThatMake
recipesThatUse
mch
moduleitm
modulercp
moduleconfig
modulepresets
module- Units
Unit
wagonsPerUnit()
wagonsPerMinute()
UNIT_SECONDS
UNIT_MINUTES
UNIT_HOURS
UNIT_EXPRESS_BELTS
UNIT_FAST_BELTS
UNIT_TRANSFER_BELTS
UNIT_MEGAWATT
UNIT_STACKS_PER_SEC
UNIT_STACKS_PER_MIN
UNIT_WAGONS_PER_MIN
DU_SECONDS
DU_MINUTES
DU_HOURS
DU_EXPRESS_BELTS
DU_FAST_BELTS
DU_TRANSFER_BELTS
DU_STACKS_PER_SEC
DU_STACKS_PER_MIN
DU_WAGONS_PER_MIN
- Boxes and Produce
- Blueprints
- JSON Conversion
- Helpers
setGameConfig
mods
module- Miscellaneous
machine
modulesetGameConfig
internalsfracs
modulesolver
module
- README
- ChangeLog