JapaneseMom wrote: ↑Sun Oct 11, 2020 6:39 pm
[...]
TheRangerLOL wrote: ↑Sun Oct 11, 2020 5:03 pm
Your main power grid should be whatever is connected to your factory. The boilers are going to be backup power from now on, right?
yess. so is this connection correct? (ill ask regarding the programming again once the connection already in place)
Screenshot (1292)_LI.jpg
[...]
There are 2 parts to this question, and unfortunately, the answer to both is no. The first part is how you make the connections for power and circuit logic.
TheRangerLOL's post answers this part of the question.
The second part of the question is what you connect, and this needs to be split in 2 parts too:
First, you need to make sure the power connections are on the correct sides of the switch. In your screenshot, it looks like you have steam power and your base connected to one side of the switch, but solar power, your accumulators, and the circuit control are all not connected:
- SSedit.png (1.87 MiB) Viewed 1003 times
In order to use steam as a backup, the power switch must be able to disconnect it from everything else, so steam power must be by itself on one side of the switch (with the control circuit, so the control circuit always has power), and everything else (base, solar, accumulators) needs to be on the other side:
- bakdemoedit.png (371.54 KiB) Viewed 1003 times
After that, you have to figure out how to set up the control circuit. How you connect the circuit wires will depend on which logic circuit you use. There are basically 3 different kinds of logic most commonly used, and 2 have been presented in this thread. You need to choose one in order to figure out how to connect the circuit:
Type 1 logic is the simplest, because it doesn't need any combinators (though it may use 1). However, this logic only lets you set 1 threshold for when to turn the backup on and off, and will cause thrashing (fast, repeated switching) of the switch when it reaches that threshold. Type 1 logic is shown in these posts:
Yoyobuae wrote: ↑Wed Oct 07, 2020 7:52 pm
[...]
Type 2 logic requires 1 decider combinator and 1 arithmetic combinator, and allows you to set 2 power thresholds, 1 to turn on, and 1 to turn off, but it requires some math to calculate the thresholds, and can still cause thrashing of the switch under certain circumstances. Since it hasn't otherwise been described in this thread, I'll stop here:
- t2demo.png (684.14 KiB) Viewed 1003 times
Type 3 logic is what I showed in
my example post. This uses 3 decider combinators, and lets you set a low power threshold to turn the backup on, and a high power threshold to turn the backup off. Since the 3rd combinator helps the circuit remember its on/off state, the switch will not thrash:
- bakstates.png (622.01 KiB) Viewed 1003 times