# Scenario Wrapper Parameter

## General Description

Parameter that utilises a different child parameter in each scenario ensemble.

This parameter is used to switch between different child parameters based on different ensembles in a given *Scenario*. It can be used to vary data in a non-scenario aware parameter type across multiple scenario ensembles. For example, many of control curve or interpolation parameters do not explicitly support scenarios. This parameter can be used to test multiple control curve definitions as part of a single simulation. [API Reference](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.ScenarioWrapperParameter.html)

## Attributes

<table><thead><tr><th width="158">Name</th><th width="473">Description</th><th>Required</th></tr></thead><tbody><tr><td>scenario</td><td>The scenario instance which is used to select the parameters</td><td>Yes</td></tr><tr><td>parameters</td><td>The child parameters that are used in each of <em>scenario</em>’s ensembles. The number of parameters must equal the size of the given scenario</td><td>Yes</td></tr></tbody></table>

## Example

coming soon...

```json
{

}
```


---

# Agent Instructions: 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:

```
GET https://water-strategy.gitbook.io/waterstrategy/modeling-basics/parameters/others/scenario-wrapper-parameter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
