The following is a quick extract from our site post How to Calculate Motor Starting Time.
The image shows a typical motor torque curve (CM) and a hypothetical load torque curve superimposed (CL). The torque (Ca) available to accelerate the motor up to speed is given by the difference between motor torque and load torque (CM - CL).

As the speed increases both the motor and load torque vary. The torque characteristic is also a function of the design and construction of the motor.
Any torque used for acceleration needs to overcome both the inertia of the motor (JM) and the load (JL). This is given by the equation for the time (ta) to accelerate from zero to the running speed (n0):

Knowing the motor and load inertias and both the motor and load torque as a function of speed (CM(n), CL(n)) it is possible to calculated the starting time. While it is possible to do this by solving the equation for an exact solution, in practice some numerical solution or piecewise approximation would generally be used..
With any complexity on the torque curves or starting arrangement, it is not a trivial matter to calculated the time. For larger or particularly important motors the effort of dealing with this complexity would be justifiable. If required, there are are software tools available to assist in the calculation.