Optimization for Energy Systems and Supply Chains