A microgrid connects to the grid at a point of common connection that maintains a voltage equal to that of the original grid unless there is some kind of problem or disconnection in the grid. A switch can separate the microgrid from the main grid automatically or manually and it acts as an island.