# Пороговое значение текущего года

## Общее описание

Возвращает одно из двух значений в зависимости от года текущего временного шага. [API Справка](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.CurrentYearThresholdParameter.html)

## Атрибуты

<table><thead><tr><th width="158">Имя</th><th width="409">Описание</th><th>Требуется</th></tr></thead><tbody><tr><td>порог</td><td>Пороговое значение для сравнения значения рекордера с</td><td>Да</td></tr><tr><td>храповик</td><td>Если значение равно true, параметр ведет себя как храповик. При первом срабатывании он остается в срабатывающем положении (default=false)</td><td>Да</td></tr></tbody></table>

## Пример

скоро...

```json
{

}
```


---

# 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/russkii/osnovy-modelirovaniya/parameters/threshold-parameters/current-year-threshold.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.
