Applications of Microprocessors in Power System Control and Analysis