Factor Ledger records the movement of materials in an operational Factorio factory as bookkeeping data. You could perhaps think of it as a simple SAP WM concept.
You can register and unregister machines, chests, tanks and interfaces. Registered inserter movements are logged as explicit transaction postings (TAKE/GIVE), from which inventory balances, transit buffers, and accounts for shipping and receiving are derived. A player can carry materials back and forth or even craft something by hand, which of course also changes the inventory and affects my accounting. So I created which observes the player and generates transactions from it, which are also posted to the factory ledger: https://mods.factorio.com/mod/big_brother_1984.
In addition to transactions, the mod regularly takes snapshots of the current state, including inventories, machine activity, power usage, pollution and virtual buffers where material accumulates or disappears. Factor Ledger also extracts structural data, such as blueprint inventories and item cost bases. This provides a stable foundation of data for further analysis outside the game.
The mod does not optimise or automate anything. Its purpose is to make material flows observable, auditable and reproducible for analysis, experiments and teaching. A description of the mod you can read here:
https://martins-wahre-logistik.blogspot.com/2026/01/factorio-logistics-controlling-analysis.html
and here is a case study i created für my students:
https://martins-wahre-logistik.blogspot.com/2026/01/a-factorio-case-study-in-industrial.html
⌨️ Hotkeys (Default)
| Key | Action |
|---|---|
| Shift + B | Toggle Log Window |
| Shift + R | Register Entity |
| Shift + U | Unregister Entity |
| Shift + P | Protect Entity |
⌨️ Supportet entities
| Entity | Action |
|---|---|
| Chests | get the inventory |
| Machine | activity status |
| interter | TAKE (source decreases) and GIVE (destination increases) |
| T00 | TRANSIT virtual location |
| RECV | RECEIVE virtual INBOUND |
| SHIP | SHIPPING virtual OUTBOUND |
| WIP | Work in Progress virtual |
| MAN | Manual Crafting virtual |