It isn't quite as simple as that.
Coal power costs about 4c/kWh to generate, and lets assume maybe 8c for the distributor.
AFAIK, if you install a grid interactive solar system, you don't get to sell ALL the power back to the grid, only your surplus.
However the companies are happy to pay you a premium, because:
(a) they can use/sell the carbon credits from the power you generate
(b) if it means they can delay the construction of new power stations, they are saving money overall.
Bookmarks