Cost function for sub-agent elements in multi-agent energy management system | IEEE Conference Publication | IEEE Xplore