Design and operate utilities distribution network to deliver required energy with minimum loss