ARCHITECTURE AND ANALYSIS OF MICRO GRID