> 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/zhong-guo-ren/jiao-cheng/creating-and-running-a-simple-model/creating-and-running-a-model/setting-the-time-horizon.md).

# 设定时间范围

请观看视频页面了解更多详情。

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

点击 **网络级数据** 菜单按钮。

<figure><img src="https://2456626420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FroBiEJ09sszXPUfSv5uk%2Fuploads%2Fgit-blob-adb992c841c892fe56c2042e52d6a91bb47c2643%2Fimage%20(83).png?alt=media" alt=""><figcaption></figcaption></figure>

出现网络级数据窗口。

这个 **timestepper.start，timestepper.end** 和 **timestepper.timestep** 需要定义设置，即模型时间范围的开始和结束日期以及模型运行的时间步长。

我们的数据集中的时间序列为每月一次，但我们将以 1 天的时间步 (1D) 运行模型。时间步长可以是任意天数，每周 (W) 和每月 (M)。

请按以下方式设置数据：

**timestepper.end** = 2021-12-**1234567890**\_\_\_\_-**1234567890**\_\_

**timestepper.start =** 2020-01-**1234567890\_\_\_\_\_\_\_1234567890**\_\_

**timestepper.timestep =** D

点击 **编辑** 按钮，选择 **描述符** 对于每个时间步长属性。

在上面输入以下数据，然后单击 **保存**。

这个时间范围可能比我们的输入数据短，但开始和结束日期必须在您的数据范围内。日期格式和语法很严格。

<figure><img src="https://2456626420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FroBiEJ09sszXPUfSv5uk%2Fuploads%2Fgit-blob-2660c08ef9dee235aefa71fbb6e1668f35650fd7%2FScreen%20Shot%202024-08-08%20at%201.03.19%20AM.png?alt=media" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://water-strategy.gitbook.io/waterstrategy/zhong-guo-ren/jiao-cheng/creating-and-running-a-simple-model/creating-and-running-a-model/setting-the-time-horizon.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
