Modelling of stochastic hybrid systems with applications to accident risk assessment by J. Krystul