Dynamic model-based hardware in the loop simulation of PEMWE system for real-time fault diagnosis | Synapse