Emergency Load-Shedding Algorithm for Large Industrial Plant