Simulation of yield decline as a result of water stress with a robust soil water balance model