Real time virtual system for electric drive testing: basic concepts and implementation