There is no such thing as a free market. Well maybe apart from fruit market.
there are plenty of things to convert to electricity, which can run at night.
desalination plants would be one of them
also nuclear can be used to cover base load, and then other source to cover peak load...