Essays on Optimal Energy Policy