Financial engineering with optimum investment structure to maximize energy savings