> 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/nocoes-basicas-de-modelagem/recorders.md).

# Gravadores

Esta página descreve o processo de criação de um novo gravador em WaterStrategy e uma seleção dos tipos de Pywrrecorder mais usados e dos atributos mais usados. A lista completa de gravadores embutidos e sua lista exaustiva de atributos são [aqui](https://pywr.github.io/pywr-docs/master/api/pywr.recorders.html).

{% embed url="<https://youtu.be/ZAGU8HQ78to>" %}

## 1. Criando um gravador em WaterStrategy

Em uma página de rede, clique na guia “Gravadores”:

<figure><img src="/files/3yMnIjXehpquKTfzWSm4" alt=""><figcaption><p>Clique na guia “Gravadores”</p></figcaption></figure>

Ao lado do texto “Categorias do tipo gravador”, clique no botão '+' e selecione 'PYWR\ \_RECORDER':\\

<figure><img src="/files/fKNgumFnj7ZFwJq1C7Fl" alt=""><figcaption></figcaption></figure>

Digite o nome do seu gravador. Isso pode ser o que você quiser, <mark style="color:red;">**mas deve ser exclusivo dentro da rede**</mark>**.**

<figure><img src="/files/PpnWL3X22EHP9AdYSnPF" alt=""><figcaption></figcaption></figure>

Preencha o gravador no editor JSON:

<figure><img src="/files/QBFYJIonxzzlNMAMEb3l" alt=""><figcaption></figcaption></figure>

## 2. Editores de gravadores em WaterStrategy

Atualmente, existem duas maneiras diferentes de inserir um gravador em WaterStrategy...

## 3. Gravador Numpy Array Node

Gravador para informações de séries temporais de um Node. [API Referência](https://pywr.github.io/pywr-docs/master/api/generated/pywr.recorders.NumpyArrayNodeRecorder.html#pywr.recorders.NumpyArrayNodeRecorder)

Essa classe armazena o fluxo de um nó específico para cada etapa de tempo de uma simulação. Os resultados de um gravador são exibidos no painel Network Attributes e serão denominados 'simulados\ \_\<recordername>'

### 3.1. Atributos

<table><thead><tr><th width="196">Nome</th><th width="243">Descrição</th><th>Obrigatório</th><th>Valor padrão</th></tr></thead><tbody><tr><td>tipo</td><td>gravador de nós de matriz numpy</td><td>sim</td><td>Nenhum</td></tr><tr><td>nó</td><td>Nome do nó a ser gravado</td><td>sim</td><td>Nenhum</td></tr><tr><td>temporal_engasgo_func</td><td></td><td>Opcional</td><td>média</td></tr><tr><td>agg_func</td><td></td><td>Opcional</td><td>média</td></tr></tbody></table>

### 3.2. Exemplo

```json
{
	“tipo”: “NumpyArrayNodeRecorder”,
	“node”: “Reservatório 1",
	“temporal_engasgo_func”: “significa”,
	“agg_func”: “significa”
}
```


---

# 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/nocoes-basicas-de-modelagem/recorders.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.
