Title: Design and development of a simulation software package for an adaptively controlled grinding process