Rail transport modeling