hardware in the loop simulation