# Using Allocation Penalties to Allocate Water

## **Create a new model**

Ceate a new network called Exercise 1a using the following template:

#### Pywr child template v1 (March 2021) - flow units in Mm3/day

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

Follow the instrucions here for a reminder on how to set up the model:

## **Set Up Time Horizon**

This step is mandatory for all networks as it defines the simulation's start, end, and timestep. For this example, we will configure a 1-year simulation horizon with a daily timestep.

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

For a reminder on how to create a project and new networks click [here](https://water-strategy.gitbook.io/water-strategy/getting-started/creating-a-new-project-and-network).


---

# 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/using-allocation-penalties.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.
