RESEARCH ON GRID CONNECTED AND OFF GRID