An automatic self-driving pump system, comprising: a controller having a signal processor configured to receive sensed signaling that is obtained with a sensorless converter or with sensors and that contains information about parameters for automatic pump control design, initial setup and run to control a pump drive for operating in a hydronic pump system, and provide control signaling that contains information to control the pump drive for an initial startup configuration and subsequent operation in the hydronic pump system after the initial startup, based upon the sensed signaling received; characterized in that the controller comprising: an automatic self-driving module configured to receive the control signaling and pressure and flow signaling that contains information about the pressure and flow of the pump drive, and provide automatic self-driving module signaling that contains information to control the pump drive for the initial startup configuration and subsequent operation in the hydronic pump system after initial startup; and an automatic system and flow moving average peak detector configured to receive the pressure and flow signaling, and provide automatic system and flow MAP detector signaling based upon a moving average peak determined; the MAP being determined and defined as following: C ̅ vmax t = { MAP C v t, C v < C ̅ vmax C v t, C v ≥ C ̅ vmax Q ̅ max t = { MAP Q t, Q < Q ̅ max Q t, Q ≥ Q ̅ max where the MAP function is a moving average peak detector, C v is a system dynamic friction coefficient derived by a system flow equation of C v = Q / ΔP, where ΔP is differential pressure of pump, C vmax represents the MAP of C v. receive sensed signaling that is obtained with a sensorless converter or with sensors and that contains information about parameters for automatic pump control design, initial setup and run to control a pump drive for operating in a hydronic pump system, and provide control signaling that contains information to control the pump drive for an initial startup configuration and subsequent operation in the hydronic pump system after the initial startup, based upon the sensed signaling received; characterized in that the controller comprising: an automatic self-driving module configured to receive the control signaling and pressure and flow signaling that contains information about the pressure and flow of the pump drive, and provide automatic self-driving module signaling that contains information to control the pump drive for the initial startup configuration and subsequent operation in the hydronic pump system after initial startup; and an automatic system and flow moving average peak detector configured to receive the pressure and flow signaling, and provide automatic system and flow MAP detector signaling based upon a moving average peak determined; an automatic self-driving module configured to receive the control signaling and pressure and flow signaling that contains information about the pressure and flow of the pump drive, and provide automatic self-driving module signaling that contains information to control the pump drive for the initial startup configuration and subsequent operation in the hydronic pump system after initial startup; and an automatic system and flow moving average peak detector configured to receive the pressure and flow signaling, and provide automatic system and flow MAP detector signaling based upon a moving average peak determined; receive the pressure and flow signaling, and provide automatic system and flow MAP detector signaling based upon a moving average peak determined; the MAP being determined and defined as following: C ̅ vmax t = { MAP C v t, C v < C ̅ vmax C v t, C v ≥ C ̅ vmax Q ̅ max t = { MAP Q t, Q < Q ̅ max Q t, Q ≥ Q ̅ max where the MAP function is a moving average peak detector, C v is a system dynamic friction coefficient derived by a system flow equation of C v = Q / ΔP, where ΔP is differential pressure of pump, C vmax represents the MAP of C v.