Energy consumption and modeling in hard milling