> 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/recorders/flow-duration-curve-recorders/flow-duration-curve-deviation-recorder.md).

# Registrador de desviación de la curva de duración del flujo

## Descripción general

Esta grabadora calcula una curva de duración del flujo (FDC) para cada escenario y, a continuación, calcula su desviación con respecto a los FDC objetivo superiores e inferiores. La segunda dimensión de la lista de curvas y percentiles de duración objetivo debe tener la misma longitud y estar en el mismo orden (valores de mayor a menor o de menor a mayor).

La desviación se calcula como positiva si el FDC real está por encima del objetivo superior o por debajo del objetivo inferior. Si el FDC real se sitúa entre los objetivos superior e inferior, se devuelve una desviación cero. [API Referencia](https://pywr.github.io/pywr-docs/master/api/generated/pywr.recorders.FlowDurationCurveDeviationRecorder.html)

## Atributos

<table><thead><tr><th width="158">Nombre</th><th width="473">Descripción</th><th>Necesario</th></tr></thead><tbody><tr><td>modelo</td><td>Pywr.Core.Model</td><td>Sí</td></tr><tr><td>nodo</td><td>El nodo que se va a grabar</td><td>Sí</td></tr><tr><td>percentiles</td><td>Los percentiles que se utilizarán en el cálculo de la curva de duración del flujo. Los valores deben estar en el rango 0-100</td><td>Sí</td></tr><tr><td>inferior_objetivo_fdc</td><td>El FDC más bajo con el que se comparan los FDC hipotéticos</td><td>Sí</td></tr><tr><td>superior_objetivo_fdc</td><td>El FDC superior con el que se comparan los FDC del escenario</td><td>Sí</td></tr><tr><td>agg_func</td><td>Función utilizada para agregar las desviaciones del FDC entre los percentiles.</td><td></td></tr><tr><td>Se admiten las funciones de estilo numérico que admiten un argumento de eje. Sí, fdc</td><td></td><td></td></tr><tr><td>_agg_func</td><td>Función diferente opcional para la agregación entre escenarios</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 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/espanol/conceptos-basicos-de-modelado/recorders/flow-duration-curve-recorders/flow-duration-curve-deviation-recorder.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.
