Reconciling models of primary production and photoacclimation