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

# Indizierter Array-Parameter

## Allgemeine Beschreibung

Parameter, der einen IndexParameter verwendet, um ein Array von Parametern zu indizieren.

Ein Beispiel für die Verwendung dieses Parameters besteht darin, einen Bedarfseinsparfaktor (als Float) zurückzugeben, der auf dem aktuellen Bedarfseinsparniveau basiert (berechnet durch *Indexparameter*). [API Referenz](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.IndexedArrayParameter.html#pywr.parameters.IndexedArrayParameter)

## Attribute

<table><thead><tr><th width="158">Name</th><th width="409">Beschreibung</th><th>Erforderlich</th></tr></thead><tbody><tr><td>Indexparameter</td><td>Indexparameter</td><td>Ja</td></tr><tr><td>Parameter</td><td>iterierbar von <em>Parameter</em> oder schwimmt</td><td>Ja</td></tr></tbody></table>

## Beispiel

```
{
	„Typ“: „indexedarrayparameter“,
	„index_parameter“: „Reservoir-Kontrollkurve“,
	„Parameter“: [
		1,
		0.9,
		0.8,
		0.5
	]
}

```

Der obige Code verwendet den Index, der durch den Parameter „Reservoir control curve“ bereitgestellt wird, was ein [Parameter für den Steuerkurvenindex.](https://water-strategy.gitbook.io/water-strategy/modelling-fundamentals/parameters/control-curve-index-parameter) Index 0 gibt eine 1 zurück, Index 2 gibt 0.9 zurück usw\...

In diesem Beispiel wird dieser Parameter verwendet, um einen Bedarf auf der Grundlage einer Reservoirsteuerkurve zu reduzieren. Bitte gehen Sie zum [Beispiel für einen aggregierten Parameter](https://water-strategy.gitbook.io/water-strategy/modelling-fundamentals/parameters/aggregated-parameter#example) um zu sehen, wie das gemacht wird.

Bitte sehen Sie, wie der Parameter Reservoir-Kontrollkurve definiert ist.


---

# 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/deutsch/grundlagen-der-modellierung/parameters/array-based-parameters/indexed-array-parameter.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.
