Modelling and simulation of static and Coulomb friction in a class of automotive systems