On the derailment of a railway vehicle. Influence of different parameters