Optimal power dispatch of energy networks including external power exchanges | IEEE Conference Publication | IEEE Xplore