Does it have batteries on board? How does it connect the power to the grid? O_o