According to which theorem/principle the sum of pressure head, velocity head and gravity head is constant:
Bernoulli's theorem
Bernoulli's theorem states that for the streamline flow of an ideal liquid, the total energy (the sum of the pressure energy, potential energy and kinetic energy) per unit mass remains constant at every cross-section throughout the flow.