> 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/modeling-basics/parameters/time-series-and-profiles/rbf-profile.md).

# RBF Profile

## General Description

Parameter which interpolates a daily profile using a radial basis function (RBF).

The daily profile is computed during model *reset* using a radial basis function with day-of-year as the independent variables. The days of the year are defined by the user alongside the values to use on each of those days for the interpolation. The first day of the years should always be one, and its value is repeated as the 366th value. In addition the second and penultimate values are mirrored to encourage a consistent gradient to appear across the boundary. The RBF calculations are undertaken using the *scipy.interpolate.Rbf* object, please refer to Scipy’s documentation for more information. [API Reference](https://pywr.github.io/pywr-docs/master/api/generated/pywr.parameters.RbfProfileParameter.html)

## Attributes

<table><thead><tr><th width="158">Name</th><th width="409">Description</th><th>Required</th></tr></thead><tbody><tr><td>days_of_year</td><td>The days of the year at which the interpolation values are defined. The first value should be one</td><td>Yes</td></tr><tr><td>values</td><td>Values to use for interpolation corresponding to the <em>days_of_year</em></td><td>Yes</td></tr><tr><td>lower_bounds</td><td>The lower bounds of the values when used during optimisation</td><td>Yes</td></tr><tr><td>upper_bounds</td><td>The upper bounds of the values when used during optimisation</td><td>Yes</td></tr><tr><td>variable_days_of_year_range</td><td>The maximum bounds (positive or negative) for the days of year during optimisation. A non-zero value will cause the days of the year values to be exposed as integer variables (except the first value which remains at day 1). This value is bounds on those variables as maximum shift from the given <em>days_of_year</em></td><td>Yes</td></tr><tr><td>min_value, max_value</td><td>Optionally cap the interpolated daily profile to a minimum and/or maximum value. The default values are negative and positive infinity for minimum and maximum respectively</td><td>Yes</td></tr><tr><td>rbf_kwargs</td><td>Optional dictionary of keyword arguments to base to the Rbf object</td><td>Optional</td></tr></tbody></table>

## Example

coming soon...

```json
{

}
```


---

# 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/modeling-basics/parameters/time-series-and-profiles/rbf-profile.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.
