> 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/espanol/conceptos-basicos-de-modelado/parameters/control-curve-parameters/control-curve-piecewise-interpolated-parameter.md).

# Parámetro interpolado por partes de la curva de control

## Descripción general

Parámetro de la curva de control que interpola entre dos o más pares de valores.

Los valores devueltos se interpolan linealmente entre un par de valores según el almacenamiento actual. El primer par se utiliza entre el máximo y la primera curva de control, el siguiente par entre la primera curva de control y la segunda curva de control, y así sucesivamente hasta que se utilice el último par entre la última curva de control y el valor mínimo. El primer valor de cada par es el valor de la posición superior y el segundo el valor de la posición inferior. [API Referencia](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.control_curves.ControlCurvePiecewiseInterpolatedParameter.html)

## Atributos

<table><thead><tr><th width="158">Nombre</th><th width="473">Descripción</th><th>Necesario</th></tr></thead><tbody><tr><td>almacenamiento_</td><td>nodo</td><td>El storage node para comparar las curvas de control con el control Sí</td></tr><tr><td>_curvas</td><td>Una lista de parámetros que representan la (s) curva (s) de control. Suelen ser MonthlyProfileParameters o DailyProfileParameters, pero pueden ser cualquier parámetro que devuelva valores entre 0.0 y 1.0. Si se pasan los valores flotantes, se convierten en <em>Parámetro constante</em></td><td>Sí</td></tr><tr><td>valora</td><td>Una lista de pares de valores entre los que interpolar. La longitud de la lista debe ser de 1 + len (control_curves)</td><td>Sí</td></tr><tr><td>mínimo</td><td>El almacenamiento consideró la parte inferior de la curva inferior, 0-1 (predeterminado = 0)</td><td>Sí</td></tr><tr><td>máximo</td><td>El almacenamiento consideró la parte superior de la curva superior, 0-1 (predeterminado = 1)</td><td>Sí</td></tr></tbody></table>

## Ejemplo

próximamente...

```json
{

}
```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://water-strategy.gitbook.io/waterstrategy/espanol/conceptos-basicos-de-modelado/parameters/control-curve-parameters/control-curve-piecewise-interpolated-parameter.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
