Towards an Optimum Design of Energy Supply Systems