# Running the Model and Visualizing its Outputs

Please watch the video for more details.

{% embed url="<https://www.youtube.com/watch?v=Eknj7-lOYEE#t=4m29s>" %}

Click the **Run a Model** icon ![](/files/61NeEozwPdpKE60bzfVo), select **Run Pywr** and click **Submit**.

<figure><img src="/files/5vTHOf8cHVueeQyxLYxw" alt=""><figcaption></figcaption></figure>

The model will be submitted to run on the cloud.

You will see the Run appear in the Runs menu.

A blue ribbon means the Run is running.

<figure><img src="/files/HYLnNomcKeJRsWRqTAEl" alt=""><figcaption></figcaption></figure>

A yellow ribbon means the Run is queing

<figure><img src="/files/wlM6xcktyB53OSc0IgwC" alt=""><figcaption></figcaption></figure>

A green ribbon means the Run has finished successfully

<figure><img src="/files/9I8S9Yr61b0dlEaeWldi" alt=""><figcaption></figcaption></figure>

&#x20;A red ribbon means the Run has termined with an error.

<figure><img src="/files/Qlqp3UcgJFJyFQrBgiIu" alt=""><figcaption></figcaption></figure>

Clicking on the ribbon opens a window with the Run log. If there is an error, a traceback will appear at the bottom and can be used to help identify why the Run had an error.

<figure><img src="/files/HjlAf9Wuzut2XYUPfZvj" alt=""><figcaption></figcaption></figure>

Once the model has sucessfully ran, you can click on the various nodes to examine their time series output. In this case, the main output attribute is the 'simulated flow'.&#x20;

Double click on the node of interest. “Simulated\_flow” will be available under the Output Section, click on the edit button ![](/files/8Uwsl27YnF0KnybAc8l8)to see results. Click on the Demand node which is the node on the right.

<figure><img src="/files/BpYfqMQSAK7BP4yYvHHb" alt=""><figcaption></figcaption></figure>

A time series table first appears:

<figure><img src="/files/ZQ4AOrWSFxNPSQ25i4Ub" alt=""><figcaption></figcaption></figure>

Click on **Plot** to see a plot of the time series.

<figure><img src="/files/8uxmSSUw9XZ7G2n56Sph" alt=""><figcaption></figcaption></figure>

As the max\_flow of the demand node was set to 0, there is no flow in this node.

On the next flow, we will create a new scenario and change the max\_flow of the demand node.

What is the simulated flow on the downstream output node representing the river outlet?

<figure><img src="/files/Z5ljUx42toDkWjkX6qo4" alt=""><figcaption></figcaption></figure>


---

# 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/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model/running-the-model-and-visualizing-its-outputs.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.
