Replace a single speed pump with a variable speed.

I want a variable speed pump to repalce this 1hp pump (below). I have 1.5" piping and no water features. I do plan to purchase an automatice cleaner this summer. I have about 50’ of head. I have a Hayward Model SP0714 series Vari-Flo sand filter, but if I need to replace it due to the new pump I will. I also have an in-line cholrinator. The pool is 27460 gallons.