> 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/parameters/array-based-parameters/indexed-array-parameter.md).

# Параметр индексного массива

## Общее описание

Параметр, который использует IndexParameter для индексации массива параметров.

Примером использования этого параметра является возврат коэффициента экономии спроса (в виде числа с плавающей запятой) на основе текущего уровня экономии спроса (рассчитанного по формуле *Параметр индекса*). [API Справка](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.IndexedArrayParameter.html#pywr.parameters.IndexedArrayParameter)

## Атрибуты

<table><thead><tr><th width="158">Имя</th><th width="409">Описание</th><th>Требуется</th></tr></thead><tbody><tr><td>параметр_индекса</td><td>Параметр индекса</td><td>Да</td></tr><tr><td>параметры</td><td>повторяемый из <em>параметры</em> или плавает</td><td>Да</td></tr></tbody></table>

## Пример

```
{
	«тип»: «indexedarrayparameter»,
	«index_parameter»: «Кривая управления резервуаром»,
	«параметры»: [
		1,
		0.9,
		0.8,
		0.5
	]
}

```

В приведенном выше коде используется индекс, заданный параметром «Кривая управления резервуаром», который представляет собой [Параметр индекса контрольной кривой.](https://water-strategy.gitbook.io/water-strategy/modelling-fundamentals/parameters/control-curve-index-parameter) Индекс 0 возвращает 1, индекс 2 возвращает 0.9 и т. д.

В данном примере этот параметр используется для снижения спроса на основе кривой управления резервуаром. Пожалуйста, перейдите к [Пример агрегированного параметра](https://water-strategy.gitbook.io/water-strategy/modelling-fundamentals/parameters/aggregated-parameter#example) чтобы увидеть, как это делается.

Посмотрите, как определяется параметр контрольной кривой резервуара.


---

# 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:

```
GET https://water-strategy.gitbook.io/waterstrategy/russkii/osnovy-modelirovaniya/parameters/array-based-parameters/indexed-array-parameter.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.
