Fix exception when plotting energy chart for house wih solar panel