Hybrid modeling: Applications in real-time diagnosis