Optimising Load Selection and Sizing for Energy Systems