Microgrids: Operation and Control Under Emergency Conditions