So came home today and pool pump wasn’t running and was cold to the touch. Have a GE digital pump timer and it had black stuff around it. Opened it up and wiring and circuit board inside are melted. Pump has been running hot all summer and was planning on replacing it and sand filter next spring anyways. They are both very old. Like old old. Filter is Hayward s240 (discontinued) and pump is Hayward also, single speed and I believe 1.5hp. Pool is 18x36 22k gallon chlorine with new liner this past spring. One skimmer, one main drain, and two returns. It’s overwhelming looking at sand filters and pumps. Current filter is side valve and seems most I see new are top valve. Anyone have any direction or insight? Not looking to spend a fortune but not wanting to buy cheap junk either. Thank you