Thanks cvg for the tip.
Normal inverters dont cut it, because the power delivered by the solar array is variable, but the output of the inverter should always be the same. The pump should be able to run fast when there is a lot of sun, and slow when there is little.
By the way BigInch...