Distributed energy resources, such as electric vehicles and roof-top solar panels have become increasingly popular essential components of power distribution systems. However, their growth poses significant challenges to system operation, bidirectional flow, intermittent generation, increased peak demand, unexpected frequency/voltage fluctuation. To tackle these challenges, we developed a vehic...