A method for controlling the speed of at least one pump in a heating and water cooling system consisting of a single zone or multiple zones by means of a pump controller having a signal processor, the method comprising: receiving in the signal processor signaling containing information about a linear set point control curve derived from adaptive and constant set point control curves related to fluid being pumped by the pump in the heating and water cooling system, and determining in the signal processor corresponding signaling containing information about a control set point (P*) to control and vary adaptively the speed of the pump in the heating and water cooling system using an adaptive control algorithm that obtains the control set point (P*) from the linear set point control curve derived, based at least partly on the signaling received, characterized in that the method comprises determining in the signal processor the linear set point control curve based at least partly on the following equation: P ∗ t = P 0 ⋅ Q ∗ t / Q ̅ max + b 0, where P 0 is a constant pressure set point, Q *(t) is a requested flow rate Q max is a maximum system flow rate, Q max is a maximum adaptive flow rate, whereas Q max is obtained directly through a moving average filter or through a moving peak detector, and b 0 is a pressure threshold, including where the method comprises determining in the signal processor a system flow rate Q *(t) as a summation of each individual zone flow rate, based at least partly on the following equation: Q ∗ t = ∑ i = 1 n Q i ∗ t, where Q i ∗ t is a flow rate at zone i and n is the total number of zones. receiving in the signal processor signaling containing information about a linear set point control curve derived from adaptive and constant set point control curves related to fluid being pumped by the pump in the heating and water cooling system, and determining in the signal processor corresponding signaling containing information about a control set point (P*) to control and vary adaptively the speed of the pump in the heating and water cooling system using an adaptive control algorithm that obtains the control set point (P*) from the linear set point control curve derived, based at least partly on the signaling received, characterized in that the method comprises determining in the signal processor the linear set point control curve based at least partly on the following equation: P ∗ t = P 0 ⋅ Q ∗ t / Q ̅ max + b 0, where P 0 is a constant pressure set point, Q *(t) is a requested flow rate Q max is a maximum system flow rate, Q max is a maximum adaptive flow rate, whereas Q max is obtained directly through a moving average filter or through a moving peak detector, and b 0 is a pressure threshold, including where the method comprises determining in the signal processor a system flow rate Q *(t) as a summation of each individual zone flow rate, based at least partly on the following equation: Q ∗ t = ∑ i = 1 n Q i ∗ t, where Q i ∗ t is a flow rate at zone i and n is the total number of zones. where P 0 is a constant pressure set point, Q *(t) is a requested flow rate Q max is a maximum system flow rate, Q max is a maximum adaptive flow rate, whereas Q max is obtained directly through a moving average filter or through a moving peak detector, and b 0 is a pressure threshold, including where the method comprises determining in the signal processor a system flow rate Q *(t) as a summation of each individual zone flow rate, based at least partly on the following equation: Q ∗ t = ∑ i = 1 n Q i ∗ t,