You have your enormous electric desalination plant, or metal smelter. It needs cheap electricity to be profitable, but there is cheap enough electricity during the day to be feasible. As a result, coal is now dirt cheap. You build a coal plant to keep working at night.