> For the complete documentation index, see [llms.txt](https://water-strategy.gitbook.io/waterstrategy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://water-strategy.gitbook.io/waterstrategy/portugues/comecando/dealing-with-model-errors.md).

# Lidando com erros de modelo

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

WaterStrategy relata erros quando há uma falha técnica ou quando o modelo foi configurado incorretamente. Aprender a entender e usar um relatório de erro de modelo para encontrar um problema em um modelo é uma habilidade de modelagem importante e essencial.

Este capítulo fornece um exemplo de como ler um relatório de erro para encontrar a parte de um modelo que leva ao erro.

## Como obter o relatório de erro

Quando uma execução falhar, você verá a execução ficar vermelha na seção de corridas.

<figure><img src="/files/z4ovhz6NMFh4Wck1QFtb" alt=""><figcaption><p>Clique na barra de execução vermelha para obter o relatório de erros</p></figcaption></figure>

Clique na barra vermelha de execução e você terá uma visão geral da execução, incluindo o relatório de erros.

<figure><img src="/files/JWCw4ltItdeh9Sv9Y1aB" alt=""><figcaption><p>O relatório de erro</p></figcaption></figure>

**Role até o final do relatório.** É aqui que a execução relatará seu erro.

<figure><img src="/files/TbAbT8a6e3xchVxUpm8E" alt=""><figcaption><p>Encontre o tipo de erro no final do relatório</p></figcaption></figure>

Para esta execução, pode-se verificar que um perfil mensal não foi inserido corretamente.

Em alguns casos, serão fornecidos mais detalhes sobre um erro no relatório de execução. É importante examinar os registros de execução para ver se há alguma pista sobre o problema.

Ao rolar para cima, vemos “CRÍTICO”. Isso é uma indicação de que um erro foi reconhecido. Na mesma linha, indica onde está o erro.

<figure><img src="/files/g7mrW5aZX7McTlb4TqCq" alt=""><figcaption><p>Descubra qual perfil mensal está incorreto</p></figcaption></figure>

A entrada 'evaporação' do nó 'Exemplo de reservatório' está incorreta.

Podemos editar o parâmetro 'evaporação' para resolver esse problema.

<figure><img src="/files/awcU0EN6pxL5j1w2umoq" alt=""><figcaption><p>Clique para editar o parâmetro 'evaporação'</p></figcaption></figure>

<figure><img src="/files/pVSX9HFXhb4L4JQg0N9k" alt=""><figcaption><p>O parâmetro 'evaporação'</p></figcaption></figure>

Há valores 13 no perfil mensal. Precisamos remover o valor que não pertence. Nesse caso, '3.14' não deveria estar no perfil mensal.

<figure><img src="/files/buyM8ZnRxt7i94HE6Hoo" alt=""><figcaption><p>O parâmetro 'evaporação' após a correção</p></figcaption></figure>

Salve o parâmetro e execute esse modelo novamente.

Agora, o modelo foi executado com sucesso.

<figure><img src="/files/NibzhqWzORiTgdXBBRUV" alt=""><figcaption><p>Execução bem-sucedida</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://water-strategy.gitbook.io/waterstrategy/portugues/comecando/dealing-with-model-errors.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
