Currently in my mod, I use a hacky, performance heavy workaround to have a certain amount of energy generation per locomotive in the equipment grid.
It would be quite useful if I could have an Electric Energy Interface for the equipment grid so that I could make the locomotive power be able to be stored in batteries, as well as not being as performance heavy.
Currently, every 30 ticks (1/2 second) I update a special battery to be equal to the power that would have been generated in that half second by that number of locomotives. It used to be every tick, which is quite performance heavy since I have to get all of the entities that have my equipment grid, check if it has the Locomotive Power Link, and then set power on the first one.
Equipment Grid EEI
-
herrkatze0658
- Burner Inserter

- Posts: 5
- Joined: Sun Nov 09, 2025 7:52 pm
- Contact:
- protocol_1903
- Filter Inserter

- Posts: 413
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Equipment Grid EEI
+1
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
https://mods.factorio.com/user/protocol_1903
Re: Equipment Grid EEI
I think I'm missing something. That's functionally just the generator equipment - which generates a fixed amount of energy per tick.
Or is it, you want a generator equipment that you can adjust the generation runtime?
Or is it, you want a generator equipment that you can adjust the generation runtime?
If you want to get ahold of me I'm almost always on Discord.
- protocol_1903
- Filter Inserter

- Posts: 413
- Joined: Fri Sep 09, 2022 4:33 pm
- Contact:
Re: Equipment Grid EEI
That, a runtime adjustable generator/consumerRseding91 wrote: Tue Dec 09, 2025 2:57 pm I think I'm missing something. That's functionally just the generator equipment - which generates a fixed amount of energy per tick.
Or is it, you want a generator equipment that you can adjust the generation runtime?
Py and PyBlock developer, wielder of LUA in arbitrary ways. I make mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
https://mods.factorio.com/user/protocol_1903
