Energy index: a tool for energy system evaluation