Electric vehicle integration in a smart microgrid environment. (2021)