Energy efficiency : real time energy infrastructure investment and risk management