Patent ID: 8616154

Claim:
A method of milking a dairy animal, comprising: connecting teat cups to teats of the dairy animal; milking the teats of the dairy animal; measuring, for each teat, a milking parameter representative of a milk flow from that teat; assigning, during milking, a first group of teats and a second group of teats, wherein the second group includes at least a last teat being milked; calculating a set of first comparison values associated with the first group of teats, each of the first comparison values being associated with a respective teat from the first group, each first comparison value being calculated in a first manner of calculation, the first manner of calculation depending on the milking parameter of each respective teat from the first group, and calculating a set of second comparison values associated with the second group of teats, each of the second comparison values being associated with a respective teat from the second group, each second comparison value being calculated in a second manner of calculation, the second manner of calculation depending on the milking parameter of each respective teat from the second group, and the second manner of calculation being different from the first manner of calculation; and ending the milking of each teat once the respective first or second comparison value reaches a deactivation threshold associated with that teat.