The situation on the dairy market and perspectives of change related to global dairy industry trends force breeders to intensively develop their farms as regards the implementation of new technology. The last several decades saw the implementation of new milking systems, such as the automatic milking system (AMS). Since the beginning of the 21st century the AMS has become an increasingly popular system in Europe (Koning & Rodenburg, 2004) as it offered the possibility of reducing labor and of adjusting the milking frequency to the animal's individual preferences and, theoretically, resulted in higher productivity of animals (Hayashi & Kawamura, 2002; Hogeveen, Ouweltjes, De Koning, & Stelwagen, 2001). The intensive growth of this market branch may be indicated by the fact that by 2017 one of the companies has installed more than 25,000 AMS (Lely, 2017). The most common reasons cattle breeders decide to install AMS on their farms is to decrease manual labor and to increase the milk yield of cows (Svennersten-Sjaunja & Pettersson, 2008). The profitability of milk production at a farm with AMS depends predominantly on the milk yield, which may be affected by a number of other factors, including: milking time and frequency, number of cows and milk flow rate, type of barn, traffic type, lying stalls, and feeding area (André, Berentsen, Engel, de Koning, &