Guidelines for modelling and simulation of hybrid systems