Enhancing emergency and restorative controls in electrical power systems via expert systems