Resource scheduling in residential microgrids considering energy selling to external players | IEEE Conference Publication | IEEE Xplore