Well a 3HP, 18GS30 would pump exactly 17 GPM from 147’ and 130 PSI. You can even put a 3HP pump end on the existing 5 HP motor. The only problem is you probably have single-phase power, and the VFD is converting single phase to three phase, because the VFD needs a three phase motor to work with. This is also how they lock you into keeping the VFD, even after you have decided you don’t need or want it, because without the VFD you would have to purchase a new single-phase motor.
No more often than a cistern fill pump will be cycling on and off, a soft starter is not at all necessary. And if it you want a soft start anyway, using the longest length of the smallest wire recommend works like a resistor, which makes a soft starter by limiting the starting current and torque. With a 3HP single-phase set at 147’, using 190’ of #12 wire makes a good soft starter all by itself.
BTW the minimum cooling flow required for a 5HP motor in 6” casing is 13 GPM. So a VFD is limited in that it can only vary the flow from 17 to 13 GPM. But varying the flow is not needed if the well makes 17 GPM, the pump needs to produce 17 GPM. Give me the model number for the pump you have, and I can tell you the maximum hertz or speed to set it at so it can only produce 17 GPM. Then you won’t need a transducer at all, just a float switch in the cistern to turn the pump on and off as needed.
If you have even one more problem with the VFD pump system, you would be better off cutting your losses now by changing out the system to a 3HP with a standard single phase control box. The VFD is doing absolutely no good in this application, and is turning your well into a 147’ deep money pit.