.Buildings.Controls.Predictors.BaseClasses.weatherRegression

Information

Function that predicts the current load using a linear regression model. The load is assumed to be linear in the temperature. The argument k determines how many data points will be used for the regression. This is needed as during the start of the simulation, the complete history is not yet built up.

Interface

function weatherRegression
  extends partialBaselinePrediction;
  input Modelica.Units.SI.Temperature TCur "Current temperature";
  input Modelica.Units.SI.Temperature T[:] "Vector of temperatures of each interval of the current time of day";
end weatherRegression;

Revisions


Generated at 2024-12-27T19:26:12Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos