Topics in Optimization for Sustainable Energy Planning