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

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