WaterStrategy reports errors when there is either a technical fault, or the model has been incorrectly configured. Learning how to understand and use a model error report to find a problem in a model is an important and essential modelling skill.
This chapter gives an example of how to read an error report to find the part of a model that leads to the error.
How to get the error report
When a run fails, you will see the run turn red in runs section.
Click the red run bar to get the error report
Click the red run bar and you will get an overview of the run, including the error report.
The error report
Scroll to the end of the report. This is where the run will reports its error.
Find the error type at the end of the report
For this run, it can be found that a monthly profile has not been entered correctly.
In some cases, more detail will be given about an error within the run report. It is important to look back through the run logs to see if there are any clues as to the issue.
Upon scrolling up we see 'CRITICAL'. This is an indication that an error has been recognized. In the same line, it indicates where the error is.
Find which monthly profile is incorrect
The input 'evaporation' of the 'Example reservoir' node is incorrect.
We can edit the 'evaporation' parameter to solve this problem.
Click to edit the 'evaporation' parameter
The 'evaporation' parameter
There are 13 values in the monthly profile, we need to remove the value that does not belong. In this case '3.14' was not meant to be in the monthly profile.