A model of site-specific nutrient management