# 处理模型错误

{% embed url="<https://www.youtube.com/watch?v=I0-sVlKyXiI>" %}

如果存在技术故障或模型配置不正确，WaterStrategy 会报告错误。学习如何理解和使用模型错误报告来发现模型中的问题是一项重要而必不可少的建模技能。

本章举例说明如何阅读错误报告以查找模型中导致错误的部分。

## 如何获取错误报告

当运行失败时，您将在运行部分看到运行变为红色。

<figure><img src="/files/7WlwlXztJuz3slfVuTH4" alt=""><figcaption><p>点击红色的运行栏获取错误报告</p></figcaption></figure>

点击红色的运行栏，您将获得运行概览，包括错误报告。

<figure><img src="/files/3La31WPGy5mDrkKuaiB4" alt=""><figcaption><p>错误报告</p></figcaption></figure>

**滚动到报告的末尾。** 运行将在此处报告其错误。

<figure><img src="/files/f54ZafMXc1tKYXzYPuPe" alt=""><figcaption><p>在报告末尾找到错误类型</p></figcaption></figure>

在这次运行中，可以发现月度配置文件输入不正确。

在某些情况下，将提供有关运行报告中错误的更多详细信息。请务必回顾运行日志，看看是否有任何与该问题相关的线索。

向上滚动时，我们会看到 “关键”。这表示已识别出错误。在同一行中，它指出了错误在哪里。

<figure><img src="/files/ChVksvAsaNWfHDFe5Y2k" alt=""><figcaption><p>找出哪个月度资料不正确</p></figcaption></figure>

“示例储层” 节点的输入 “蒸发” 不正确。

我们可以编辑 “蒸发” 参数来解决这个问题。

<figure><img src="/files/hCQu2EI1x5WL850ft6NA" alt=""><figcaption><p>点击编辑 “蒸发” 参数</p></figcaption></figure>

<figure><img src="/files/9m6soOsBnRlCkLZ24m9F" alt=""><figcaption><p>“蒸发” 参数</p></figcaption></figure>

每月资料中有 13 个值，我们需要删除不属于的值。在这种情况下，“3.**1234567890**\_\_” 不应该出现在月度简介中。

<figure><img src="/files/H1a20KIxNXolIhU6pdr1" alt=""><figcaption><p>校正后的 “蒸发” 参数</p></figcaption></figure>

保存参数并再次运行此模型。

现在模型已成功运行。

<figure><img src="/files/GnOgNx9zqykGbA9GTk1c" alt=""><figcaption><p>成功运行</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://water-strategy.gitbook.io/waterstrategy/zhong-guo-ren/ru-men/dealing-with-model-errors.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
