The question is not that Krastorio 2 has portable generators. They interact with other elements in the equipment grid. And your mod has a completely different mechanics isolated from the equipment mesh.
And that is why I was interested in the question of the interaction of batteries in the fuel grid and elements in the equipment grid.
Basically, this is your mod. I just expressed my interest and my thoughts on this matter.
In any case, thanks for your replies!