Degree project in energy systems engineering