OPTIMIZATION OF POWER OUTPUT RATIO FOR MICRO GRID SYSTEM