Text this: Hidden Markov Models in Dynamic System Modelling and Diagnosis