Consumer, Producer, and Prosumer Based Mathematical Models for Optimal Energy Storage Sizing | IEEE Conference Publication | IEEE Xplore