> 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/setting-the-time-horizon.md).

# Setting the Time Horizon

Please watch the video page for more detail.

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

Click on the the **network level data** menu button.

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

The network level data window appears.&#x20;

The **timestepper.start, timestepper.end** and **timestepper.timestep** settings need to be defined which are the start and end dates of the models time horizon and the time step at which the model will be run.&#x20;

The time series in our data set is monthly however we will run the model at a 1 Day time step (1D). Time steps can be in any number of days, weekly (W) and monthly (M).

Please set the data as follows:

&#x20;**timestepper.end** = 2021-12-01

&#x20;**timestepper.start =** 2020-01-01

**timestepper.timestep =** D

Click the **Edit** button, select **Descriptor** for each of the time step attributes.&#x20;

Input the following data above and click **Save**.

This time horizon can be shorter than our input data, but the start and end dates must be within the range of your data. The date format and syntax is strict.

<figure><img src="/files/6lrCIfUuTXWrwBso13qQ" 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/setting-the-time-horizon.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.
