Describir: Implementing condition-based maintenance using modeling and simulation: a case study of a permanent magnet synchronous motor