Modeling milk production in the lactation period and the effect of feeding frequency on milk production