Modelling and validation of non homogeneous Poisson processes