The pump discharge pressure should be calculated and set based on: