RBF Profile
General Description
Section titled “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
Attributes
Section titled “Attributes”| Name | Description | Required |
|---|---|---|
| days_of_year | The days of the year at which the interpolation values are defined. The first value should be one | Yes |
| values | Values to use for interpolation corresponding to the days_of_year | Yes |
| lower_bounds | The lower bounds of the values when used during optimisation | Yes |
| upper_bounds | The upper bounds of the values when used during optimisation | Yes |
| variable_days_of_year_range | 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 days_of_year | Yes |
| min_value, max_value | 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 | Yes |
| rbf_kwargs | Optional dictionary of keyword arguments to base to the Rbf object | Optional |
Example
Section titled “Example”coming soon…
{
}