> 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/francais/bases-de-la-modelisation/recorders/deficit-recorders/numpy-array-node-deficit-recorder.md).

# Enregistreur de déficit de nœuds Numpy Array

## Description générale

Enregistreur de séries chronologiques de déficit provenant d'un *Nœud*. Cette classe enregistre le déficit d'un nœud spécifique pour chaque pas temporel d'une simulation. Les données sont enregistrées en interne à l'aide d'une vue en mémoire. Les données sont accessibles via *données* attribut ou \_vers \_méthode dataframe () \_.[ API Référence](https://pywr.github.io/pywr-docs/master/api/generated/pywr.recorders.NumpyArrayNodeDeficitRecorder.html#pywr.recorders.NumpyArrayNodeDeficitRecorder)

```
déficit = maximum_débit - réel_flux
```

## Attributs

<table><thead><tr><th width="155">Nom</th><th width="395">Descriptif</th><th>Nécessaire</th></tr></thead><tbody><tr><td>modèle</td><td></td><td></td></tr><tr><td>nœud</td><td>Instance de nœud à enregistrer</td><td>Facultatif</td></tr><tr><td>temporel_agg_func</td><td>Fonction d'agrégation utilisée au fil du temps lors du calcul d'une valeur par scénario. Cela peut être utilisé pour renvoyer, par exemple, le débit médian sur une simulation. Pour l'agrégation des scénarios, consultez le <em>agg_func</em> argument de mot-clé.</td><td>Facultatif</td></tr></tbody></table>

## Exemple

à venir...

\`\`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/francais/bases-de-la-modelisation/recorders/deficit-recorders/numpy-array-node-deficit-recorder.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.
