how do i calculate energy balance of a grinding mill