> For the complete documentation index, see [llms.txt](https://docs.myrspoven.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.myrspoven.com/ai-features/adaptive-min-max.md).

# Adaptive min/max

Adaptive min/max is a tuning lever in myCoreAI to restrict how far supply-temperature setpoints on heating circuits may deviate from the baseline supply curve. Two values define the band: one above the baseline, one below, each expressed as a fraction of the signal's configured full range. The signal's original min and max are always respected — adaptive min/max can only narrow the operating range, never widen it.

## How it works

The baseline is the expected supply temperature for current conditions, derived from the building's supply curve. myCoreAI applies adaptive min/max as a band around it:

$$
\text{upper bound} = \text{baseline} + \text{adaptive\_max} \times (\text{max} - \text{min})
$$

$$
\text{lower bound} = \text{baseline} - \text{adaptive\_min} \times (\text{max} - \text{min})
$$

Where `min` and `max` are the signal's configured boundaries.

* `adaptive_max = 0` — myCoreAI cannot push the setpoint above the baseline.
* `adaptive_max = 100` — myCoreAI may reach the configured maximum.
* `adaptive_min` behaves symmetrically on the lower side.

A small margin is always preserved between the lower and upper bound to avoid numerical issues during optimization.

### Example

| Setting             | Effect                                                    |
| ------------------- | --------------------------------------------------------- |
| `adaptive_max = 20` | Setpoint may rise up to 20% of full range above baseline. |
| `adaptive_min = 15` | Setpoint may fall up to 15% of full range below baseline. |

A district-heated office with a supply signal configured from 25 °C to 65 °C and `adaptive_max = 20`, `adaptive_min = 15` gives myCoreAI eight degrees of headroom above the baseline and six degrees below.

## Choosing values

If there is no specific reason, keep both values at `100`. This gives other energy-saving features room to work. A restrictive Adaptive Min can, for example, block [Comfort schedule](/ai-features/comfort-schedule.md) and [Loadshift](/ai-features/loadshift.md).

## Negative values

Negative values flip a boundary to the opposite side of the baseline.

A negative `adaptive_min` places the lower boundary *above* the baseline, forcing myCoreAI to heat more than the baseline curve suggests. This is occasionally useful for short-term comfort recovery or diagnostic tests, but it works directly against energy savings.

Negative values must be reset once no longer needed — a negative `adaptive_min` left in place drives extra energy use indefinitely.

## Where it applies

Adaptive min/max applies to heating-circuit supply-temperature signals. It does not apply to air handling unit (AHU) supply temperatures, indoor temperature limits, or ventilation pressure.


---

# 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://docs.myrspoven.com/ai-features/adaptive-min-max.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.
