Optimum Local Energy Trading considering Priorities in a Microgrid | IEEE Conference Publication | IEEE Xplore