A machining condition determination method for determining a machining condition when a machine tool driven by a servo control device performs machining,
- the machining condition determination method comprising:
- calculating a positon command to a drive shaft of the machine tool by simulating an operation of a numerical control device that controls the servo control device, and outputting the calculated position command;
- calculating a torque command to the drive shaft by simulating an operation of the servo control device on a basis of the position command, and outputting the calculated torque command;
- simulating an operation of the drive shaft on a basis of the torque command, and outputting operation information indicating an operation of the drive shaft;
- evaluating a machining result of machining by the machine tool on a basis of information corresponding to an operation of the drive shaft;
- generating an inference model for inferring the machining condition from the machining result;
- and
- determining a machining condition by using the inference model, the machining condition corresponding to a machining result input by an operator, wherein
- the method further comprises:
- outputting position information indicating a position of the drive shaft obtained by simulating the operation of the drive shaft;
- simulating feedback control of the drive shaft by using the position information;
- and
- evaluating the machining result obtained when the feedback control of the drive shaft is simulated.