Design optimization of a distributed energy system through cost and exergy assessments. (May 2017)