# Running pywr-scenarios

## Activate pywr-scenarios

On the left panel, click on *View Network Data* icon <img src="https://2363830371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODCd8VK2OOl9jOdp5KFf%2Fuploads%2FIcFhMfJWCrvp6B16aGfa%2Fimage.png?alt=media&#x26;token=40fa29d4-8258-4895-b4e9-dd78d762d1e4" alt="" data-size="line">

<figure><img src="https://2363830371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODCd8VK2OOl9jOdp5KFf%2Fuploads%2FW21uloyn5vbrpgC81xCC%2Fimage.png?alt=media&#x26;token=377ee0de-0467-4902-90d1-55b9dc571d38" alt=""><figcaption></figcaption></figure>

This will open the right panel. In the section **Inputs**, type "*scenarios"* and click on *Add an Input* icon <img src="https://2363830371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODCd8VK2OOl9jOdp5KFf%2Fuploads%2FBOPd5wjs350BSyo5psSA%2Fimage.png?alt=media&#x26;token=68053907-c2cd-48a0-ad54-13137fec4b4c" alt="" data-size="line">

<figure><img src="https://2363830371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODCd8VK2OOl9jOdp5KFf%2Fuploads%2FZOIVT3ctzK4I5VmTiCST%2Fimage.png?alt=media&#x26;token=49989c2f-df87-4c84-931b-161b18a07d18" alt="" width="505"><figcaption></figcaption></figure>

A window will be displayed, type "*scenarios"*, select the **scenarios** attribute and click **Save** as shown in the following image

<figure><img src="https://2363830371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODCd8VK2OOl9jOdp5KFf%2Fuploads%2FDpZi15t7rkdKZ5Kbea2Z%2Fimage.png?alt=media&#x26;token=8a9d656d-3f14-4a37-9d1d-6ebfcaa84d16" alt=""><figcaption></figcaption></figure>

A new window will pop up, select **PYWR\_SCENARIOS** and click **Save**

<figure><img src="https://2363830371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODCd8VK2OOl9jOdp5KFf%2Fuploads%2F4qDCeYmzCkYiB9cPqfSt%2Fimage.png?alt=media&#x26;token=927c6021-6a86-4edf-bcb8-3ef2717f0565" alt=""><figcaption></figcaption></figure>

As the H5 file contains 4 dataframes per key, this necessitates the **size**=four (4). In this case, the pywr-scenario will be named **Climate Change**, and no **Ensemble** names will be used to differentiate between them.&#x20;

<figure><img src="https://2363830371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODCd8VK2OOl9jOdp5KFf%2Fuploads%2FbPoydWEFjDEOKTlHPkzs%2Fimage.png?alt=media&#x26;token=7fcf0dee-6598-47a4-beb5-63e857f71fbc" alt=""><figcaption></figcaption></figure>

When a pywr-scenario is finally created, you will be able to see the following window:

<figure><img src="https://2363830371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FODCd8VK2OOl9jOdp5KFf%2Fuploads%2F7WA3r4su6UHg8PS1myoy%2Fimage.png?alt=media&#x26;token=5aa65324-6e8f-44ed-9abc-e4df24b26856" alt=""><figcaption></figcaption></figure>
