> 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/portugues/nocoes-basicas-de-modelagem/parameters/combining-multiple-parameters/aggregated-parameter.md).

# Parâmetro agregado

## Descrição geral

Uma coleção de IndexParameters. Essa classe se comporta como um conjunto. Os parâmetros podem ser adicionados ou removidos dele. Seu valor é o valor de seus parâmetros filhos agregados usando uma função de agregação (por exemplo, soma).[ API Referência](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.AggregatedParameter.html#pywr.parameters.AggregatedParameter)

## Atributos

<table><thead><tr><th width="154">Nome</th><th width="395">Descrição</th><th>Obrigatório</th></tr></thead><tbody><tr><td>tipo</td><td>agregado</td><td>sim</td></tr><tr><td>parâmetros</td><td>Os parâmetros a serem agregados</td><td>Opcional</td></tr><tr><td>agg_func</td><td>A função de agregação. Deve ser uma das {“sum”, “min”, “max”, “mean”, “product”} ou uma função que pode ser chamada que aceite uma lista de valores</td><td>Opcional</td></tr></tbody></table>

## Exemplo

```json
{
	“tipo”: “Parâmetro agregado”,
	“agg_func”: “produto”,
	“parâmetros”: [
		“Demanda básica”,
		“Fator de demanda da curva de controle”
	]
}
```

Nesse caso, o parâmetro agregado está multiplicando dois parâmetros juntos

* [Demanda básica](https://water-strategy.gitbook.io/water-strategy/modelling-fundamentals/parameters/constant#example)
* Fator de demanda da curva de controle

Este exemplo mostra uma demanda de linha de base sendo multiplicada por um fator que reduz a demanda com base em uma curva de controle do reservatório. Você pode clicar em cada um desses parâmetros para ver como eles são definidos.


---

# 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/portugues/nocoes-basicas-de-modelagem/parameters/combining-multiple-parameters/aggregated-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.
