Model for energy flow optimization and planning | IEEE Conference Publication | IEEE Xplore