Dynamic simulation of an induction-motor centrifugal-pump system under variable speed conditions