الإمارات AED

اختر دولتك

فرق ومستودعات محلية في 10 دول. تتحول الأسعار إلى عملتك.

مستودعنا في الإمارات ←
English اليوم والغد · موزع مكونات الطاقة الشمسية منذ 2013

الوحدة 4 من 7

Baselines: regression, degree days and CUSUM

Degree days as a weather variable

Heating and cooling energy depend on the weather. Degree days turn daily temperatures into a single number that tracks heating or cooling demand.

  • Heating degree days (HDD): for each day, the amount by which the daily mean outdoor temperature falls below a base temperature, summed over the period. Days warmer than the base add zero.
  • Cooling degree days (CDD): for each day, the amount by which the daily mean temperature exceeds a base temperature, summed over the period.

The base temperature is the outdoor temperature at which the building needs no heating (or no cooling). It depends on insulation, internal heat gains and set points. Published data often uses conventional bases, such as 15.5 °C for heating in the UK or about 18 °C in many other places. The best base for a particular building is found from its own data, for example by testing which base gives the best regression fit.

Worked example

Base temperature 15.5 °C. Daily mean temperatures over five days: 10.5, 12.0, 15.5, 17.0 and 8.5 °C.

DayMean (°C)HDD
110.55.0
212.03.5
315.50
417.00
58.57.0
Total15.5

Day 4 is warmer than the base, so it adds zero, not a negative number. With a cooling base of 15.5 °C, the same five days would have 1.5 CDD, all from day 4.

Using degree days well

  • Use a weather station close to the site, and the same source for the baseline and reporting periods.
  • Match the degree-day period to the meter-reading period. If bills run from the 12th to the 11th, total the degree days for the same dates.
  • Plot energy against degree days before modelling. A clear straight-line pattern suggests a good relationship; a scatter with no pattern suggests weather is not a major driver, or that other variables dominate.
  • Remember that degree days are a simple model. They ignore solar gain, wind and thermal mass. Where humidity loads are large, cooling energy may track enthalpy, the total heat content of air, better than temperature.

Degree days, production and other relevant variables can be combined in one regression model, as the next lesson shows.

Regression models and goodness of fit

Linear regression finds the straight-line relationship that best fits the data, by minimising the sum of the squared differences between actual and predicted values. A typical energy model is:

E = a + b × HDD + c × P

where E is energy in the period, a is the fixed energy per period, b is the extra energy per degree day, and c is the extra energy per unit of production P. The coefficients are estimated from baseline data, usually at least 12 monthly points, or more frequent daily or weekly points.

Worked example

A factory's monthly baseline model is E (MWh) = 120 + 0.8 × HDD + 0.05 × P, where P is tonnes produced. In a month with 250 HDD and 3,000 tonnes:

  • Expected E = 120 + 0.8 × 250 + 0.05 × 3,000 = 120 + 200 + 150 = 470 MWh.
  • If actual use was 440 MWh, performance was 30 MWh better than expected, about 6.4%.

Goodness of fit

  • Coefficient of determination (R²): the share of the variation in energy explained by the model, from 0 to 1. A value of at least about 0.75 is a commonly used rule of thumb, but a high R² alone does not prove a model is right.
  • CV(RMSE), the coefficient of variation of the root mean square error: the typical model error relative to the mean. It is the square root of (sum of squared residuals ÷ (n − p)), divided by the mean of actual energy, where n is the number of data points and p the number of model parameters. A residual is actual minus predicted.
  • Net mean bias: whether the model over- or under-predicts on average.
  • t-statistics: whether each variable genuinely helps. A common rule of thumb is that each should exceed about 2.

ASHRAE Guideline 14, a widely used guide on measuring energy savings, sets indicative limits for CV(RMSE) and net mean bias in baseline models. Check the current edition for the exact thresholds.

Worked example: CV(RMSE)

A model with 2 parameters is fitted to 12 months of data. Mean monthly energy is 400 MWh, and the sum of squared residuals is 3,000 MWh².

  • RMSE = square root of (3,000 ÷ (12 − 2)) = square root of 300 ≈ 17.3 MWh.
  • CV(RMSE) = 17.3 ÷ 400 ≈ 4.3%.

That is a tight fit. Also plot the residuals over time: a drift or a step suggests a missing variable or a real change in performance.

Normalisation and CUSUM

Once a baseline model exists, it can be used to compare periods fairly and to track performance continuously.

Normalisation in practice

A building's monthly baseline model is E (MWh) = 50 + 0.4 × HDD. The baseline year had 2,100 HDD and actual use of 1,500 MWh. The reporting year was colder, with 2,400 HDD, and actual use was 1,430 MWh.

  • A raw comparison shows a fall of 1,500 − 1,430 = 70 MWh.
  • Expected use in the reporting year = 12 × 50 + 0.4 × 2,400 = 600 + 960 = 1,560 MWh.
  • Normalised improvement = 1,560 − 1,430 = 130 MWh, about 8.3% of expected use.

The raw comparison understated the improvement, because colder weather hid part of it.

CUSUM

Cumulative sum (CUSUM) analysis adds up, period by period, the difference between actual and expected energy, with expected values from the baseline model. Plotting the running total shows changes in performance clearly:

  • A line that wanders around zero means performance matches the baseline.
  • A steady downward slope means actual use is consistently below expected: performance has improved.
  • An upward slope means performance has worsened.
  • A change of slope marks when something changed, such as a project going live or a control fault.

Worked example

MonthExpected (MWh)Actual (MWh)DifferenceCUSUM
1100101+1+1
2110109−10
3120121+1+1
4115108−7−6
510598−7−13
610094−6−19

For three months the CUSUM stays near zero. From month 4 it falls by 6 to 7 MWh a month, which matches a new control strategy installed at the start of month 4. The saving since month 4 is 7 + 7 + 6 = 20 MWh; the CUSUM shows 19 MWh because the first three months net to +1.

CUSUM reveals small, persistent changes that are hard to see on a normal chart of monthly consumption, and it is a simple way to show savings to managers. If the line flattens again, the saving has stopped and should be investigated.

النقاط الرئيسية

  • HDD and CDD sum daily differences from a base temperature; days on the other side of the base add zero.
  • Match degree-day periods to meter-reading periods and plot the data before modelling.
  • Regression models such as E = a + b × HDD + c × P separate fixed and variable energy.
  • Judge models with R², CV(RMSE), net mean bias, t-statistics and residual plots; ASHRAE Guideline 14 gives indicative limits.
  • Normalised comparisons can reveal savings that raw comparisons hide.
  • CUSUM tracks the running total of actual minus expected; a downward slope means savings.

اختبار تدريبي

للتدريب فقط، ولا يُحتسب ضمن الشهادة.

1. With a base temperature of 18 °C, three days have mean temperatures of 12, 16 and 20 °C. How many heating degree days is that?
2. A model is E = 80 + 1.2 × HDD (MWh). In a month with 150 HDD, actual use is 250 MWh. How does actual compare with expected?
3. What does a steady downward slope on a CUSUM chart indicate?
4. Why can a raw year-on-year comparison understate savings?

اشترك في نشرتنا

عروض باور والمنتجات الجديدة وأخبار سوق الطاقة الشمسية في بلدك — مرة شهرياً، دون إزعاج.

اطلب عرض سعر

أخبرنا بما تحتاجه وسيرد فريقنا خلال يوم عمل واحد.

By submitting you agree to our privacy policy.