Comparative analysis of artificial neural networks and dynamic models as virtual sensors