A simulation model of the effects of vertical mixing on primary productivity