A real time digital simulator for testing relays | Synapse