Operating modes of a commercial and industrial building microgrid with electrical generation and storage | IEEE Conference Publication | IEEE Xplore