Page 1 of 1

Limiting maximum electric power

Posted: Wed Sep 05, 2018 3:20 pm
by Nilaus
Hi
I was wondering if anyone know if it is possible to control the maximum electric power generated/used through a mod i.e. you cannot exceed 100 MW. This could be linked to tech or other triggers.
Thanks

Re: Limiting maximum electric power

Posted: Wed Sep 05, 2018 11:08 pm
by DaveMcW
There is no way to limit it directly.

Your best strategy is probably a control.lua script that counts buildings, and destroys (or mines and refunds) anything over the limit.

Re: Limiting maximum electric power

Posted: Thu Sep 06, 2018 5:23 am
by darkfrei
DaveMcW wrote:Your best strategy is probably a control.lua script that counts buildings, and destroys (or mines and refunds) anything over the limit.
Or deactivate them. https://lua-api.factorio.com/latest/Lua ... ity.active

Re: Limiting maximum electric power

Posted: Fri Sep 07, 2018 8:37 am
by Ragequit
Hi Nilaus, really enjoying your YouTube series on bulding Vanilla and Megabase. I'm addicted! (I've watched nearly every episode ….. I swear I have a life... honest). Keep up the amazing work. R

Re: Limiting maximum electric power

Posted: Tue Sep 11, 2018 2:03 am
by foodfactorio
yeah ive seen nilaus vids too :)
greetings to mister nilaus in the house :D

Re: Limiting maximum electric power

Posted: Wed Sep 12, 2018 8:12 am
by bobingabout
the only power limiter I've seen is to use an accumulator. if you have an accumulator with your 100MW flow limit set placed in an area covered by power poles of 2 different networks, then it effectively allows power to flow from 1 network to another with a maximum flow of 100MW.

Re: Limiting maximum electric power

Posted: Wed Sep 12, 2018 10:26 am
by darkfrei
bobingabout wrote: Wed Sep 12, 2018 8:12 am the only power limiter I've seen is to use an accumulator. if you have an accumulator with your 100MW flow limit set placed in an area covered by power poles of 2 different networks, then it effectively allows power to flow from 1 network to another with a maximum flow of 100MW.
It's possible to cut by small electric poles all wires and place to them hidden accumulator entity. So they are connected, but have limited through put. For visualization you can connect them with red wires.