High precipitation can lead to vague error messages
The error message "MichaelisMenten: Fluxdensity is not a number." I was getting was due to high precipitation causing soil nodes to have hydraulic heads larger than 0. This NaN value is passed around a lot before finally being recognised. Solution:
- Detect this earlier so that the error message helps you locate the problem.
- Improve the way boundary conditions in the top layer of soil nodes are handled so that any excess water is just assumed to run off.