Application of optimal production control theory for home energy management in a micro grid | IEEE Conference Publication | IEEE Xplore