Theoretical 3D Model for Quasistatic Critical Derailment Coefficient of Railway Vehicles and a Simplified Formula