Stav dette: Integrated design by optimization of electrical energy systems