An experimental real-time emulator for railway drive controllers testing