power switch at night solar / accumulators / steam

This board is to show, discuss and archive useful combinator- and logic-creations.
Smart triggering, counters and sensors, useful circuitry, switching as an art :), computers.
Please provide if possible always a blueprint of your creation.
Post Reply
Minicheum
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Apr 22, 2019 9:24 pm
Contact:

power switch at night solar / accumulators / steam

Post by Minicheum » Mon Apr 22, 2019 9:52 pm

Hello everyone,
I began a few days ago and I started to reach the stage of the game where I sarted making accumulators.
Up until now I had both a steam and a solar power source.
The solar panel production is fully automated so I could go nuts on the solar panel field, but the accumulators are not quite yet.
When I started planting accumulators, I noticed an issue:
The solar panels would provide energy through the day, then the steam would take over at night, and accumulators would remain untouched.

So i began fiddling with the power switches.
My idea was to have solar power during the day, then live an accumulators, and pop up the old steam power once that was used up.
I separated properly my steam power line, my accumulators, and my factory. Then I tried cut my steam power line until the accumulator charge would go down below 10%.
That was awfull: during the night, when accumulator power was going down, the steam engines started rolling and began recharging the accumulators !

I spent some time on it, tried looking on the forum and here is the solution I decided on
power.png
power.png (874.03 KiB) Viewed 455 times
I am using the accumulator on the left as reference, it is attached to my accumulator field electric system.
A. When that accumulator charge goes down below 10% I want to activate the steam engines, and disconnect the accumulators to prevent them from recharging.
B. There is a single power pole on the top right that serves as a day/night indicator. The accumulator there would go to 0% quickly at night and then recharge during the morning. This is the cue for me to disconnect the steam engines, and plug the accumulators back in to let the solar power recharge them.
The 2 conditions are added by a combinator A + B -> C
Then power relays are set with a mutually exclusive condition: accumulators are in if C > 10 % and steam engines are in if C =< 10 %.

Qon
Smart Inserter
Smart Inserter
Posts: 1240
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: power switch at night solar / accumulators / steam

Post by Qon » Thu Apr 25, 2019 9:06 am

Minicheum wrote:
Mon Apr 22, 2019 9:52 pm
That was awfull: during the night, when accumulator power was going down, the steam engines started rolling and began recharging the accumulators !
I don't see the problem. If steam is on when accumulators are < 10% and steam charges the accumulators when it turns on then that just means that it will turn off again a short while later. And it also means you have enough steam power to actually keep your base on with just steam and won't brown out or get a power death spiral. Cutting off your accumulators is solving a non-problem. Just don't.

I made a topic about Actually reliable solar. before. You could hook up steam to it (turn on instead of turning low priority grid off) and maybe turn the low priority grid off if accumulator goes even further down. Then your steam can charge your accumulators to 100% during the day (but only if solar panels are not enough) and steam can turn on earlier if necessary during the night if steam is also not enough to together with accumulator charge.

Post Reply

Return to “Combinator Creations”

Who is online

Users browsing this forum: PsyhoBelka