> 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/interpolation-parameters/interpolated-volume.md).

# Interpoliertes Volumen

{% embed url="<https://www.youtube.com/watch?v=0X0-BHUScC4#t=4m40s>" %}
Video mit dem Parameter „Interpolierte Lautstärke“
{% endembed %}

## Allgemeine Beschreibung

Generischer Interpolationsparameter, der einen Wert zurückgibt, der auf dem aktuellen Volumen (Zeitschritt) eines Reservoirs oder eines Storage-Knotens basiert. Der

parameter verwendet eine **Reihe** (Tabelle) von **Volumen des Reservoirs** und entsprechende Werte. In diesem Fall sind die zugehörigen Werte die entsprechenden **Gebiet des Stausees** für eine bestimmte **Volumen**.

Interpolation wird verwendet, um Werte zwischen Punkten zu berechnen, die im Interpolationsfeld angegeben sind. [API Referenz](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.InterpolatedVolumeParameter.html#pywr.parameters.InterpolatedVolumeParameter)

## Attribute

<table><thead><tr><th width="167">Name</th><th width="392">Beschreibung</th><th>Erforderlich</th></tr></thead><tbody><tr><td>Art</td><td>interpoliertes Volumen</td><td>Ja</td></tr><tr><td>Knoten</td><td>Storage node um Eingabevolumenwerte für die Interpolationsberechnung bereitzustellen</td><td>Ja</td></tr><tr><td>Volumina</td><td>x-Koordinaten der Datenpunkte für die Interpolation</td><td>Ja</td></tr><tr><td>Werte</td><td>y-Koordinaten der Datenpunkte für die Interpolation</td><td>Ja</td></tr><tr><td>interp_kwargs</td><td>Wörterbuch der Schlüsselwortargumente, an die übergeben werden soll <em>scipy.interpolate.interp1d</em> Klasse und wird für die Interpolation verwendet</td><td>Fakultativ</td></tr></tbody></table>

## Beispiel

Das folgende Json zeigt ein Beispiel für eine Härtung mit der Bewertung von Fläche und Volumen für ein Reservoir. Dies könnte verwendet werden, um das Area-Attribut eines Speicher- oder Reservoir-Knotens zu definieren.

```json
{
  „type“: „InterpolatedVolumeParameter“,
  „node“: „Reservoir oder Storage node Name“,
	„Bände“: [
		0,
		7,
		10,
		15,
		25
	],
	„Werte“: [
		1,
		2,
		4,
		6,
		14
	],

	„interp_kwargs“: {
		„kind“: „linear“
	},
  „Kommentar“: „Volumen: Mm3, Werte: Km2"
}
```

Das Json steht für die folgende Tabelle:

<table><thead><tr><th width="166">Volumen (Mm3)</th><th width="182">Fläche (Km2)</th></tr></thead><tbody><tr><td>0</td><td>1</td></tr><tr><td>7</td><td>2</td></tr><tr><td>10</td><td>4</td></tr><tr><td>15</td><td>6</td></tr><tr><td>25</td><td>14</td></tr></tbody></table>

Wenn es geplottet ist, sieht es so aus:

Unten finden Sie ein Beispiel für eine Gebietsbewertungstabelle

<table><thead><tr><th width="166">Volumen (Mm3)</th><th width="182">Fläche (Km2)</th></tr></thead><tbody><tr><td>0</td><td>1</td></tr><tr><td>7</td><td>2</td></tr><tr><td>10</td><td>4</td></tr><tr><td>15</td><td>6</td></tr><tr><td>25</td><td>14</td></tr></tbody></table>

Wenn es geplottet ist, sieht es so aus

<figure><img src="https://1875979063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM66QWevUBo6VXSGCmO4L%2Fuploads%2Fgit-blob-d0301f4465b5c6bbb3573f129822ddd045b29514%2Fimage%20(123).png?alt=media" alt=""><figcaption></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/deutsch/grundlagen-der-modellierung/parameters/interpolation-parameters/interpolated-volume.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.
