# 常数

{% embed url="<https://www.youtube.com/watch?v=0X0-BHUScC4>" %}
使用常量参数的视频
{% endembed %}

## 一般描述

一个定义常量值的简单参数。 [API 参考资料](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.ConstantParameter.html#pywr.parameters.ConstantParameter)

## 属性

| 姓名 | 描述   | 必填项 |
| -- | ---- | --- |
| 类型 | 常量参数 | 是的  |
| 价值 | 常量值  | 是的  |

## 示例

\`\`json { 类型：'常量参数'， 值：123 }

```
```


---

# 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/zhong-guo-ren/jian-mo-ji-chu-zhi-shi/parameters/simple-parameters/constant.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.
