calculate effective energy ball milling