> 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.md).

# Tutorials

- [Creating and running a simple model](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model.md)
- [Creating and Running a Model](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model.md)
- [Setting up a Project and Network](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model/setting-up-a-project-and-network.md)
- [Adding Nodes and Links (Edges)](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model/adding-nodes-and-links-edges.md)
- [Add Data to the Nodes](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model/add-data-to-the-nodes.md)
- [Setting the Time Horizon](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model/setting-the-time-horizon.md)
- [Running the Model and Visualizing its Outputs](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)
- [Creating a New Scenario](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model/creating-a-new-scenario.md)
- [Using a Monthly Profile in a New Scenario](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model/using-a-monthly-profile-in-a-new-scenario.md)
- [Exercise](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/creating-and-running-a-model/exercise.md)
- [Making Changes to a Model](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/making-changes-to-a-model.md)
- [Adding a Reservoir](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/making-changes-to-a-model/adding-a-reservoir.md)
- [Adding Basic Operating Rules](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-and-running-a-simple-model/making-changes-to-a-model/adding-basic-operating-rules.md)
- [Modelling basin reservoir systems](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system.md)
- [Creating a New Project and Network](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/creating-a-new-project-and-network.md)
- [Adding a Dam (Reservoir)](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-a-dam-reservoir.md)
- [Adding a Demand](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-a-demand.md)
- [Adding a Water Treatment Works with Losses](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-a-water-treatment-works-with-losses.md)
- [Adding a Source Representing Groundwater](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-a-source-representing-groundwater.md)
- [Additional Exercises](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/additional-exercises.md)
- [Adding reservoir bathymetry, evaporation, and rainfall](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-reservoir-details.md)
- [Background on Evaporation and Precipitation on Reservoirs](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-reservoir-details/background-on-evaporation-and-precipitation-on-reservoirs.md)
- [Adding reservoir bathymetry (Area)](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-reservoir-details/adding-reservoir-bathymetry-area.md)
- [Adding reservoir bathymetry (Level)](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-reservoir-details/adding-reservoir-bathymetry-level.md)
- [Adding monthly evaporation and rainfall](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/adding-reservoir-details/adding-monthly-evaporation-and-rainfall.md)
- [Using allocation penalties and control rules to balance sources](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/additional-exercises-using-allocation-penalties-and-control-rules.md)
- [Control Curves and Demand Savings](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/control-curves-and-demand-savings.md)
- [Adding reservoir control curves and demand savings (reductions)](https://water-strategy.gitbook.io/waterstrategy/tutorials/creating-a-reservoir-system/control-curves-and-demand-savings/modelling-catchment-reservoir-systems.md)
- [Using Allocation Penalties to Allocate Water](https://water-strategy.gitbook.io/waterstrategy/tutorials/using-allocation-penalties.md)
- [Exercise 1a Two nodes](https://water-strategy.gitbook.io/waterstrategy/tutorials/using-allocation-penalties/exercise-1a-two-nodes.md)
- [Exercise 1b Two demands](https://water-strategy.gitbook.io/waterstrategy/tutorials/using-allocation-penalties/exercise-1b-two-demands.md)
- [Exercise 1c Minimum Flow Properties](https://water-strategy.gitbook.io/waterstrategy/tutorials/using-allocation-penalties/exercise-1c-minimum-flow-properties.md)
- [Exercise 2a Simple system with reservoir draw downs](https://water-strategy.gitbook.io/waterstrategy/tutorials/using-allocation-penalties/exercise-2a-simple-system-with-reservoir-draw-downs.md)
- [Exercise 2b Simple system with overflow](https://water-strategy.gitbook.io/waterstrategy/tutorials/using-allocation-penalties/exercise-2b-simple-system-with-overflow.md)
- [Pywr-scenarios reading external DataFrame and adding Custom Rules](https://water-strategy.gitbook.io/waterstrategy/tutorials/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules.md)
- [Uploading Files](https://water-strategy.gitbook.io/waterstrategy/tutorials/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/uploading-files.md)
- [Reading CSV DataFrame](https://water-strategy.gitbook.io/waterstrategy/tutorials/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-csv-dataframe.md)
- [Running pywr-scenarios](https://water-strategy.gitbook.io/waterstrategy/tutorials/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/running-pywr-scenarios.md)
- [Reading h5 DataFrame for pywr-scenarios](https://water-strategy.gitbook.io/waterstrategy/tutorials/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/reading-h5-dataframe-for-pywr-scenarios.md)
- [Create Custom Rule - TranscientDecisionParameter](https://water-strategy.gitbook.io/waterstrategy/tutorials/pywr-scenarios-reading-external-dataframe-and-adding-custom-rules/create-custom-rule-transcientdecisionparameter.md)


---

# 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.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.
