On the moon you generally need more solar panels and power collectors than usual.
Planetbase solar panel.
E g you might have one massive solar panel generating 40 kw.
They do not cause damage to structures but any colonists who are outside will become injured with radiation sickness.
Solar flares only happen during the daylight so.
During each tick every building s listed power rating is subtracted from the power grid or added in the case of solar panels wind turbines.
Excess deficit power is then applied to the power collector s.
Two very large solar panels will fill 3 to 4 large batteries.
Values may change depending on time of day and other variables requires tech to unlock 50 generation on ice planet.
Damage from solar flares can be prevented by setting a yellow or red alert once a control center has been built.
Adding the cost of one connection 1 metal to the cost of building the actual solar panel the power generation per metal is therefore 10kw per metal regardless of size.
Solar flares are a type of natural disaster.
Therefore 3 large batteries and 2 solar panels will easily handle 76 kw of power demand.
You might have an educated guess that the panel gets fixed when they reach a good status which is about 75 of full output.
So lets say all your panel is at 75 output so we add 25 to our night time base power consumption as a safe storage amount so as to get through to the morning.
On the storm planet build solar panels windmills and also lightning rods they protect your base and deliver power when hit by lightning and build more power collectors than usual.