> 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/russkii/osnovy-modelirovaniya/recorders.md).

# Рекордеры

На этой странице описывается процесс создания нового рекордера в WaterStrategy, а также список наиболее часто используемых типов Pywrrecorder и наиболее часто используемых атрибутов. Полный список встроенных рекордеров и их исчерпывающий список атрибутов [здесь](https://pywr.github.io/pywr-docs/master/api/pywr.recorders.html).

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

## 1. Создание рекордера в WaterStrategy

На странице «Сеть» перейдите на вкладку «Записывающие устройства»:

<figure><img src="/files/kFXJdX1ciRHv3b1ms2Bm" alt=""><figcaption><p>Перейдите на вкладку «Рекордеры»</p></figcaption></figure>

Рядом с текстом «Категории типов рекордеров» нажмите кнопку «+» и выберите «PYWR\ \_RECORDER»:\\

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

Введите имя вашего рекордера. Это может быть все, что угодно, <mark style="color:red;">**но должен быть уникальным в сети**</mark>**.**

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

Заполните регистратор в редакторе JSON:

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

## 2. Редакторы рекордеров в WaterStrategy

В настоящее время существует два разных способа ввода рекордера в WaterStrategy...

## 3. Регистратор узлов Numpy Array

Регистратор информации о таймсериях с узла. [API Справка](https://pywr.github.io/pywr-docs/master/api/generated/pywr.recorders.NumpyArrayNodeRecorder.html#pywr.recorders.NumpyArrayNodeRecorder)

В этом классе хранится поток из определенного узла на каждом временном этапе моделирования. Результаты записи выводятся на панель «Сетевые атрибуты» и будут называться «смоделировано»\ \_\<recordername>'

### 3.1. Атрибуты

<table><thead><tr><th width="196">Имя</th><th width="243">Описание</th><th>Требуется</th><th>Значение по умолчанию</th></tr></thead><tbody><tr><td>типа</td><td>регистратор узлов числового массива</td><td>Да</td><td>Нет</td></tr><tr><td>узел</td><td>Имя записываемого узла</td><td>Да</td><td>Нет</td></tr><tr><td>временной_кляп_функция</td><td></td><td>Опционально</td><td>означать</td></tr><tr><td>agg_func</td><td></td><td>Опционально</td><td>означать</td></tr></tbody></table>

### 3.2. Пример

```json
{
	«тип»: «Регистратор узлов NumpyArray»,
	«узел»: «Резервуар 1»,
	«временный_кляп_func»: «среднее значение»,
	«agg_func»: «среднее значение»
}
```


---

# 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/russkii/osnovy-modelirovaniya/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.
