OPTIMIZE CONFIGURATION OF MULTI ENERGY