building calculations: adapted to new model
limit to one metric for now
adjustment to have energy type showing on graph