Page 1 of 1

accumulator priority help

Posted: Sun Apr 07, 2019 12:48 pm
by jaaaco
so i built some accumulator priority but it has a problem
power switch jumps from on and off like 3 times a second its like a infinite loop

i just did this:
https://imgur.com/a/UtY2sGH so yeah.. i want to do when energy is below 7.5k it will turn on steam engines while it will charge accumulators to 100% then steam engines will turn off

any tips how to do this?

and if there are some grammar mistakes im sorry this is not my native language

Re: accumulator priority help

Posted: Sun Apr 07, 2019 10:20 pm
by Serenity
You need a hysteresis so it doesn't constantly switch on and off at the same point. Use this:
https://wiki.factorio.com/Tutorial:Circ ... er_version

Though instead of a power switch I simply switch the water pumps

Also, you only need to connect a single accumulator. All accumulators discharge at the same time, so you can just read one and a charge that goes from 0-100

Re: accumulator priority help

Posted: Mon Apr 08, 2019 5:53 am
by zOldBulldog
Hysteresis... Brilliant!

Re: accumulator priority help

Posted: Tue Apr 09, 2019 11:59 am
by jaaaco
thank you guys it really helped!

now i dont use that much coal in reality its nearly 0 fir steam engines