Development of a hybrid real-time fully digital simulator for the study and control of large power systems