Micro grid studies due to fault occurrence using immunity technique