IMPLEMENTATION OF A REAL TIME SIMULATOR FOR PROTECTIVE RELAY TESTING