> 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/russkii/osnovy-modelirovaniya/node-types/water-transport/piecewiselink-node.md).

# PiecewiseLink Node

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

The **PiecewiseLink node** является расширением Node, представляющим собой нелинейное [Ссылка](/waterstrategy/russkii/osnovy-modelirovaniya/node-types/water-transport/link-node.md) с функцией поштучной стоимости. Этот объект предназначен для моделирования ситуаций, когда использование определенных скоростей потока выгодно, но при превышении фиксированного предела стоимость изменяется (или обнуляется). [API Справка](https://pywr.github.io/pywr-docs/master/api/generated/pywr.nodes.PiecewiseLink.html).

Этот узел реализован с использованием структуры составных узлов, например:

```
        | Отдельный домен         |
Выход -> Подссылка 0 -> Дополнительный выход -> Вход
       -> Подссылка 1 ---^
       ...             |
       -> Подссылка на ---|
```

Это означает, что маршруты не проходят напрямую через этот узел из-за отдельного домена, расположенного посередине. Вместо этого для каждой подссылки и подключения к узлу Output/Input создается несколько новых маршрутов. Причина такого разрыва маршрута заключается в том, чтобы избежать геометрического увеличения количества маршрутов при наличии нескольких PieceWiseLink на одном маршруте.

## Основные атрибуты

минимальное значение)\_течь

<table><thead><tr><th width="180.33333333333331">Имя</th><th width="318">Описание</th><th>Требуется</th><th></th><th></th></tr></thead><tbody><tr><td>штраф за распределение</td><td>Стоимость единицы потока через узел</td><td>Опционально</td><td></td><td></td></tr><tr><td>макс_</td><td></td><td></td><td></td><td></td></tr><tr><td>расход</td><td>Максимальное ограничение потока на узле (</td><td>необязательное</td><td>Минимальное ограничение потока на узле</td><td>Опционально</td></tr></tbody></table>

## Примеры

скоро...


---

# 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/russkii/osnovy-modelirovaniya/node-types/water-transport/piecewiselink-node.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.
