Hurkyl wrote: Wed May 27, 2026 3:25 pm
Is that 5:2:1:2 breakdown of the day-night cycle the same on all planets? I've had trouble finding any documentation on that.
Tertius wrote: Wed May 27, 2026 1:02 pmSo we need to buffer for this 58.8 seconds of dusk+dawn and for the night of 42s to sustain 42 kW. Not for 84 seconds + 42 seconds.
energy = (58.8s + 42s) * 42 kW = 4233.7 kJ
You're missing that the solar panels are sill supplying half of the energy during those 58.8 seconds as they scale linearly between 70% and 0% power.
It's not missing. Look at the graph in the wiki and take into account we compute energy as the area of shapes (rectangles and triangles):
dusk is 58.8 seconds and dawn is 58.8 seconds.
We don't have to deal with triangles. Do a bit of cut+paste with paper and scissors, and you get this. Cut the triangle of dusk and paste it against dawn to get a rectangle:

- 05-27-2026, 19-48-12.png (20.97 KiB) Viewed 206 times
Now, area A is neither consuming nor charging the accumulator - it's balanced for the time of dawn (A). But dusk (night+B) is now completely supplied by the accumulator. This area is what we need as charge in the accumulator. Its length is night + length of dusk until 42 kW, which is 70%. This is the energy we need to supply from the accumulator, which is 42 kW * (42s + 0.7*84s) = 4233.6 kWs = 4233.6 kJ.
The whole energy collected by the solar panel can be calculated the same way, also cutting the triangle of the whole dusk and paste it to dawn to make it a rectangle, so the length of the whole rectangle is day + dusk (or dawn, but not both) = 210 s + 84 s = 294 s. The height is 60 kW, so:
energy production = 294 s * 60 kW = 17640 kJ.
At the same time consumption is the whole area below the 42 kW line.
This is the whole day+dusk+dawn+night (420 s) with 42 kW:
energy consumption = 420 s * 42 kW = 17640 kJ
We see, consumption equals production.
ps.
after looking at the wiki tutorial cited by Loewchen I have to apologize to ignore integrals but use just ordinary rectangles for area calculation. But it's really not that complicated. As far as I see, this tutorial page is too convoluted to be of practical use. A wiki article should be up to the point and not a lengthy monograph about a single topic.