Fit of a baseline model
Baselines and Routine Adjustments
On this page
A contractor improves the cooling plant of a building and is paid a share of the saving. The season after the work is cool, the bills fall by 23 percent, and the owner pays on 23 percent. The next hot season the bills rise again and the owner wants the money back. Half of that 23 percent was weather, and nobody had agreed how to remove the weather from the comparison. This lesson shows how to build the baseline that does it: a model of what the site uses under given conditions, adjusted to the conditions the site really met. #EnergyBaseline #AvoidedEnergy #MeasurementAndVerification
Learning Objectives
By the end of this lesson, you will be able to:
- Choose a baseline period that covers the full range of operating conditions
- Separate independent variables, which change routinely, from static factors, which should not change
- Fit a baseline model by least squares and test it against commonly cited limits
- Calculate the adjusted baseline and the avoided energy of a reporting period, in kWh and in money
- Explain the difference between avoided energy and normalised savings, and why the plan must name one
Real-World System Problem: A site that never repeats a month
An office building has one utility meter that is read each day and a sensor for the outdoor temperature. Most of its electricity goes to cooling, lighting and office equipment. On day 500 of a two-year record, a measure is fitted to the cooling plant. The saving will be claimed at the utility meter, so the measurement boundary is the whole facility.
The building never uses the same energy twice. A weekday uses about 180 kWh more than a weekend day, and a hot month uses far more than a cool one. These movements are larger than the saving, so a comparison of the bills before and after the measure reports the measure, the season and the calendar added together.
A saving is the difference between what was used and what would have been used without the measure, which no meter can show. It is estimated by a baseline model, and the record is divided so that the model can be built and tested before it is used.
Fundamental Theory: What the site would have used
The baseline period
The baseline period is the span of time before the project whose data describe how the site used energy. The reporting period is the span after the project over which the saving is determined.
The baseline period must contain a full cycle of the site’s operation. For a building whose energy follows the weather, that is a whole year, so that the coldest and the hottest months are both in it. For a factory it must include low and high production. The model will later be asked what the site would have used on a hot weekday, and it can answer only from days of that kind it has seen.
Check the record before you fit anything. Sum the daily readings between two reading dates of the utility bill and compare the total with the bill: a good meter agrees within about 1 percent, and a larger gap means a wrong meter constant, a lost day or a reading copied twice. Look for missing days, repeated days and days of zero. Leave a lost day out rather than fill it with a guess, and write in the plan how gaps will be treated in both periods.
Independent variables and static factors
An independent variable is a measured quantity that changes routinely and changes the energy with it: outdoor temperature, production, occupancy, the minutes a cold room door stands open. The baseline model contains these variables, and the correction it makes for them is called a routine adjustment.
A static factor is a feature of the site that affects energy and is expected to stay as it is: floor area, the number of shifts, the list of installed equipment, a set point. Static factors are not in the model. They are written down for the baseline period, and they are watched.
| Independent variable | Static factor | |
|---|---|---|
| Behaviour | Changes every day or month | Expected not to change |
| Examples | Weather, production, door minutes | Floor area, shifts, set points |
| Treatment | A term in the baseline model | Recorded in the plan and checked |
| If it changes | Routine adjustment, by the model | Non-routine adjustment, made separately |
The baseline model
The baseline model is a formula, fitted to the baseline period, that gives the energy of a day (or a month) from its independent variables. For a cooled building a common form is
is the modelled energy of the day in kWh. is the cooling degree days of the day, where is the mean outdoor temperature and is the base temperature below which the building needs no cooling, both in °C. is 1 on a weekday and 0 on a weekend day. is the base load in kWh a day, is the energy for each cooling degree day, and is the extra energy of a weekday.
The base temperature is not known in advance. A common start is 18 °C; fit the model with several values (for example 14 to 22 °C) and keep the one with the smallest RMSE.
The coefficients are found by least squares: the values that make the sum of the squared differences between the model and the meter as small as possible. In Python, numpy.linalg.lstsq does this.
Goodness of fit
A model is judged by how far it lies from the data. Let
RMSE, the root mean square error, is the typical error of one day in kWh. CV(RMSE) is the same error as a fraction of the mean. NMBE, the normalised mean bias error, shows whether the model reads high or low on average.
ASHRAE Guideline 14 sets limits, and two sets of them are often confused:
- For a regression baseline used at a whole-facility meter, as here, it asks for a CV(RMSE) of at most 20 percent when fewer than 12 months of reporting data will be used (25 percent for 12 to 60 months, 30 percent beyond), a bias over the baseline period of practically zero (it states 0.005 percent), and a savings uncertainty below 50 percent of the saving at 68 percent confidence.
- The figures quoted most often, a CV(RMSE) of 15 percent with an NMBE within ±5 percent for monthly data, and 30 percent with ±10 percent for hourly data, are its tests for calibrating a simulation model (Option D). Many practitioners also apply them to regression baselines as a stricter screen.
Read the current edition for the data interval you use, and write in the plan which limits apply. Passing a limit is a minimum, not proof of a good model.
The sister course, Engineering Statistics and Time Series, treats this same data set in more statistical depth, with residual plots and the choice of the base temperature.
The adjusted baseline and avoided energy
To make a routine adjustment, apply the baseline model to the conditions of each day of the reporting period: its real temperature and its real day of the week. The sum is the adjusted baseline energy, the energy the unchanged site would have used in those conditions.
Avoided energy
The first sum is the adjusted baseline energy over the
Avoided energy against normalised savings
There are two ways to put the baseline period and the reporting period on equal terms.
Avoided energy moves the baseline to the conditions of the reporting period. It needs one model, and its second term is a plain meter reading. It answers “what did the project save in the period that just ended?”. Contracts that pay on performance most often use it, because the payment then follows the energy and the bills of that period.
Normalised savings move both periods to standard conditions, for example a typical weather year. They need a second model, fitted to the reporting period, and an agreed definition of the standard conditions. They answer “what does the project save in a normal year?”: the fair figure for comparing one year with another, because it does not rise in a hot year and fall in a cool one.
The two methods give different kWh for the same project, and both are correct. So the measurement and verification plan must name the method, and the standard conditions if used, before the project starts; left open, each party will later prefer the method that favours it.
The range of the baseline
A fitted model describes the conditions inside its data and nothing outside them. Asked about a day hotter than any it has seen, it still returns a number by continuing its straight line, which the real plant may not follow: a second compressor starts, or a chiller reaches its capacity.
State the range of each independent variable beside the model. When a reporting period goes outside it, say so in the report.
Application 1: The whole-site baseline and the saving from day 500
Step 1: Fit the baseline and test it
Click to reveal the baseline model
-
Fit on days 0 to 364.
The base load is 306.6 kWh a day, each cooling degree day adds 41.61 kWh, and a weekday adds 182.1 kWh. ✅
-
Goodness of fit. The RMSE is 27.30 kWh.
This is far inside the 20 percent of Guideline 14 for a whole-facility baseline, and inside the stricter 15 percent often quoted. Daily scatter does not average out as monthly scatter does, so a daily model usually has the larger CV(RMSE); 4.74 percent a day is a strong fit. ✅
-
Test the bias on days the model has not seen. Over days 365 to 499, before the measure, the meter recorded 0.53 percent more than the model. This NMBE is inside the commonly cited ±5 percent, and here it is a real test. ✅
Step 2: The adjusted baseline and the avoided energy
Click to reveal the avoided energy
-
Adjust the baseline to the reporting period. The model is a sum of three terms, so its total over 230 days needs only the three sums of the reporting period.
The script, with all digits of the coefficients, gives 120,871 kWh. This is the adjusted baseline energy. ✅
-
Avoided energy.
The measure avoided 13,857 kWh in 230 days, which is 60.2 kWh a day. ✅
-
As a percentage of the adjusted baseline.
The saving is 11.46 percent. ✅
-
Money.
This is the avoided cost of energy for the 230 days, at today’s price. ✅
Step 3: The normalised saving for a standard year
Click to reveal the normalised saving
-
Fit a reporting-period model. The same form, fitted to days 500 to 729, gives
with an RMSE of 24.65 kWh. This is how the building behaves with the measure in place. ✅
-
Baseline model in the standard year.
(The value is from the script. The rounded coefficients give 210,147.) Because the standard year is the baseline year, this is also what the meter recorded in that year. ✅
-
Reporting model in the standard year.
(Also from the script. The rounded coefficients give 186,193.) With the measure, the building would use 186,195 kWh in the weather of the standard year. ✅
-
Normalised saving.
At 12.00 per kWh this is 287,532 currency units a year. ✅
Step 4: Compare the two results and check
Click to reveal the comparison
-
Per day. The avoided energy is 60.2 kWh a day. The normalised saving is
kWh a day. ✅ -
Why they differ. The reporting period was cool: its mean was 2.14 cooling degree days a day, against 3.34 in the standard year. A measure that lowers cooling energy saves more kWh when there is more cooling to do. ✅
-
As percentages. 11.46 and 11.40 percent. The two methods agree on the share and differ on the kWh, because they describe different weather. ✅
-
Check a second way. Divide each coefficient of the reporting model by the same coefficient of the baseline model:
, and . All three are close to 0.88. The data were generated with a true saving of 12 percent applied to every part of the energy from day 500, and both results, 11.46 and 11.40 percent, are close to it. ✅
Application 2: A baseline for the cold room
Step 1: Fit the baseline model
Click to reveal the fit
-
Least squares on the 120 days.
Each minute of open door costs 0.1633 kWh, and each °C of outdoor temperature costs 0.400 kWh a day. ✅
-
Goodness of fit. The RMSE is 0.760 kWh.
One day’s energy is typically 0.76 kWh from the model. ✅
-
Compare with the truth. The data were generated from
with random noise of standard deviation 0.8 kWh. The fitted values 8.97, 0.1633 and 0.400 are close to the true 9.0, 0.16 and 0.42, and the RMSE of 0.760 estimates the noise of 0.8. On a real room the truth is never known, so the fit must be tested on days it has not seen. ✅
Step 2: The adjusted baseline and the avoided energy
Click to reveal the avoided energy
-
Adjusted baseline for the 30 days.
Without the curtain, the room would have used 523.2 kWh in these 30 days. ✅
-
Avoided energy.
This is 5.34 kWh a day and
percent of the adjusted baseline. At 12.00 per kWh it is 1,924 currency units for the month. ✅ -
Without the routine adjustment. The unadjusted comparison is the baseline mean times 30 days, minus the meter.
The reporting month had more door traffic (38.1 against 35.0 minutes a day) and was slightly warmer, so the unadjusted figure is 19 kWh too low. ✅
-
Check against the truth. In the generated data the curtain removes 85 percent of the door coefficient. The true avoided energy is
The estimate of 160.3 kWh is 5.0 kWh above it. By the simple rule of twice the RMSE times the square root of the days, the baseline over 30 days is uncertain by
kWh, so the difference is ordinary. ✅
Step 3: A baseline period with a narrow range
Click to reveal the effect of a narrow baseline
-
Keep only the quiet, cool days. Suppose the baseline had been recorded only on days with the door open for less than 30 minutes and the outdoor temperature below 25 °C. That leaves 22 of the 120 days. ✅
-
Fit the same model to them.
The standard error of the door coefficient is 0.0340, against 0.0048 for the full baseline: seven times less certain. ✅
-
Use it on the reporting period. It gives an adjusted baseline of 546.5 kWh and an avoided energy of 183.6 kWh, which is 18 percent above the true 155.3 kWh. ✅
-
Why. Of the 30 reporting days, 26 lie outside the range this baseline has seen. The slope was estimated over a short span, where the noise is large against the change in energy, and a small error in a slope becomes a large error far from the data. ✅
Verify It in Python
The script generates both data sets with fixed seeds and reproduces every number of the two applications. It saves one figure: the whole-site energy with the adjusted baseline, and the cold room energy against door minutes before and after the curtain.
"""Baselines and routine adjustments: a whole-site baseline and a cold room baseline."""import numpy as npimport matplotlib.pyplot as plt
PRICE = 12.00 # currency units per kWh
def building_daily(seed=23, days=730): rng = np.random.default_rng(seed) d = np.arange(days) temp = 21.0 + 4.5 * np.sin(2 * np.pi * (d - 20) / 365.0) + rng.normal(0, 1.6, days) weekday = (d % 7) < 5 cdd = np.clip(temp - 18.0, 0.0, None) energy = 310.0 + 42.0 * cdd + np.where(weekday, 180.0, 0.0) + rng.normal(0, 28.0, days) energy[500:] *= 0.88 return d, temp, weekday, energy # kWh a day
def fit(X, y): """Least squares: coefficients, RMSE (n - p in the denominator), CV(RMSE).""" b, *_ = np.linalg.lstsq(X, y, rcond=None) res = y - X @ b n, p = X.shape rmse = np.sqrt((res ** 2).sum() / (n - p)) return b, rmse, rmse / y.mean()
# ---------- Application 1: the whole site ----------d, temp, weekday, energy = building_daily()cdd = np.clip(temp - 18.0, 0.0, None)X = np.column_stack([np.ones(d.size), cdd, weekday.astype(float)])BASE, CHECK, REPORT = slice(0, 365), slice(365, 500), slice(500, 730)
b, rmse, cv = fit(X[BASE], energy[BASE])print("Application 1: whole-site baseline, days 0 to 364")print(f" mean energy {energy[BASE].mean():.1f} kWh a day, " f"temperature {temp[BASE].min():.1f} to {temp[BASE].max():.1f} degC")print(f" baseline = {b[0]:.1f} + {b[1]:.2f} x CDD + {b[2]:.1f} x weekday")print(f" RMSE {rmse:.2f} kWh, CV(RMSE) {100 * cv:.2f} %")err = energy[CHECK] - X[CHECK] @ bprint(f" check on days 365 to 499: NMBE {100 * err.sum() / energy[CHECK].sum():+.2f} %")
m = 230adj = X[REPORT] @ bB, M = adj.sum(), energy[REPORT].sum()S = B - Mprint(f" reporting period: {m} days, temperature " f"{temp[REPORT].min():.1f} to {temp[REPORT].max():.1f} degC, " f"mean CDD {cdd[REPORT].mean():.2f}, weekdays {weekday[REPORT].sum()}")print(f" adjusted baseline {B:.0f} kWh, measured {M:.0f} kWh")print(f" avoided energy {S:.0f} kWh = {100 * S / B:.2f} %")print(f" avoided cost {round(S) * PRICE:.0f} currency units")pre = energy[:500].mean()print(f" unadjusted: {pre:.1f} kWh a day before day 500, {M / m:.1f} after, " f"apparent saving {100 * (1 - M / m / pre):.1f} %")hand = m * b[0] + b[1] * cdd[REPORT].sum() + b[2] * weekday[REPORT].sum()print(f" second way, from the sums: CDD sum {cdd[REPORT].sum():.1f}, baseline {hand:.0f} kWh")
r, rmse_r, cv_r = fit(X[REPORT], energy[REPORT])print(f" reporting model = {r[0]:.1f} + {r[1]:.2f} x CDD + {r[2]:.1f} x weekday, " f"RMSE {rmse_r:.2f} kWh")std = X[BASE] # standard conditions: the first yearBn, Rn = (std @ b).sum(), (std @ r).sum()print(f" standard year: CDD sum {cdd[BASE].sum():.1f}, weekdays {weekday[BASE].sum()}")print(f" standard year: baseline model {Bn:.0f} kWh, reporting model {Rn:.0f} kWh")print(f" normalised saving {Bn - Rn:.0f} kWh = {100 * (Bn - Rn) / Bn:.2f} %, " f"{round(Bn - Rn) * PRICE:.0f} currency units")print(f" a day: avoided {S / m:.1f} kWh, normalised {(Bn - Rn) / 365:.1f} kWh; " f"mean CDD {cdd[REPORT].mean():.2f} and {cdd[BASE].mean():.2f}")print(" reporting model over baseline model, coefficient by coefficient: " + ", ".join(f"{x:.3f}" for x in r / b))
# ---------- Application 2: the cold room ----------def cold_room(days, door_coeff, rng): door = rng.uniform(10.0, 60.0, days) # door-open minutes a day t_out = rng.uniform(18.0, 32.0, days) # outdoor mean temperature, degC kwh = 9.0 + door_coeff * door + 0.42 * (t_out - 20.0) + rng.normal(0, 0.8, days) return door, t_out, kwh
rng = np.random.default_rng(7)door0, t0, e0 = cold_room(120, 0.16, rng) # baseline perioddoor1, t1, e1 = cold_room(30, 0.16 * 0.15, rng) # strip curtain fitted
X0 = np.column_stack([np.ones(120), door0, t0 - 20.0])c, rmse_c, cv_c = fit(X0, e0)print("Application 2: cold room baseline, 120 days")print(f" door {door0.min():.1f} to {door0.max():.1f} min, " f"temperature {t0.min():.1f} to {t0.max():.1f} degC, mean {e0.mean():.2f} kWh a day")print(f" means: door {door0.mean():.1f} min, temperature {t0.mean():.1f} degC")print(f" baseline = {c[0]:.2f} + {c[1]:.4f} x door + {c[2]:.3f} x (T - 20)")print(f" RMSE {rmse_c:.3f} kWh, CV(RMSE) {100 * cv_c:.2f} %")X1 = np.column_stack([np.ones(30), door1, t1 - 20.0])Bc, Mc = (X1 @ c).sum(), e1.sum()print(f" reporting period: 30 days, door {door1.min():.1f} to {door1.max():.1f} min " f"(sum {door1.sum():.1f}), temperature {t1.min():.1f} to {t1.max():.1f} degC " f"(sum of T - 20: {(t1 - 20).sum():.1f})")print(f" means: door {door1.mean():.1f} min, temperature {t1.mean():.1f} degC")print(f" adjusted baseline {Bc:.1f} kWh, measured {Mc:.1f} kWh")print(f" avoided energy {Bc - Mc:.1f} kWh = {100 * (Bc - Mc) / Bc:.1f} %, " f"{(Bc - Mc) / 30:.2f} kWh a day")print(f" expected from the true door effect: {0.85 * 0.16 * door1.sum():.1f} kWh")print(f" 2 x RMSE x sqrt(30) = {2 * rmse_c * np.sqrt(30):.1f} kWh")print(f" unadjusted: baseline mean x 30 - measured = {30 * e0.mean() - Mc:.1f} kWh")
quiet = (door0 < 30.0) & (t0 < 25.0) # a baseline that saw only quiet, cool daysq, rmse_q, _ = fit(X0[quiet], e0[quiet])se_full = rmse_c * np.sqrt(np.diag(np.linalg.inv(X0.T @ X0)))se_q = rmse_q * np.sqrt(np.diag(np.linalg.inv(X0[quiet].T @ X0[quiet])))print(f" narrow baseline ({quiet.sum()} days, door < 30 min and T < 25 degC): " f"{q[0]:.2f} + {q[1]:.4f} x door + {q[2]:.3f} x (T - 20)")print(f" standard error of the door coefficient: full {se_full[1]:.4f}, narrow {se_q[1]:.4f}")print(f" reporting period by the narrow baseline: {(X1 @ q).sum():.1f} kWh, " f"avoided {(X1 @ q).sum() - Mc:.1f} kWh")print(f" reporting days outside the narrow range: " f"{((door1 >= 30.0) | (t1 >= 25.0)).sum()} of 30")
# ---------- Plot ----------fig, ax = plt.subplots(2, 1, figsize=(8, 8))ax[0].plot(d, energy, linewidth=0.6, label="measured")ax[0].plot(d[REPORT], adj, linewidth=0.8, label="adjusted baseline")ax[0].axvline(365, color="gray", linewidth=0.8)ax[0].axvline(500, color="gray", linewidth=0.8)ax[0].set_xlabel("day")ax[0].set_ylabel("energy (kWh a day)")ax[0].set_title("Whole site: measured energy and the adjusted baseline")ax[0].legend()ax[1].plot(door0, e0 - c[2] * (t0 - 20.0), ".", label="baseline period")ax[1].plot(door1, e1 - c[2] * (t1 - 20.0), "s", label="with strip curtain")dd = np.linspace(10.0, 60.0, 50)ax[1].plot(dd, c[0] + c[1] * dd, "k-", linewidth=1.0, label="baseline model at 20 degC")ax[1].set_xlabel("door-open minutes a day")ax[1].set_ylabel("energy corrected to 20 degC (kWh a day)")ax[1].set_title("Cold room: energy against door traffic")ax[1].legend()fig.tight_layout()fig.savefig("baselines_routine_adjustments.png", dpi=120)print("Saved baselines_routine_adjustments.png")Expected output
Application 1: whole-site baseline, days 0 to 364 mean energy 575.8 kWh a day, temperature 12.6 to 29.0 degC baseline = 306.6 + 41.61 x CDD + 182.1 x weekday RMSE 27.30 kWh, CV(RMSE) 4.74 % check on days 365 to 499: NMBE +0.53 % reporting period: 230 days, temperature 13.3 to 27.9 degC, mean CDD 2.14, weekdays 164 adjusted baseline 120871 kWh, measured 107014 kWh avoided energy 13857 kWh = 11.46 % avoided cost 166284 currency units unadjusted: 602.3 kWh a day before day 500, 465.3 after, apparent saving 22.8 % second way, from the sums: CDD sum 492.2, baseline 120871 kWh reporting model = 272.2 + 37.14 x CDD + 159.3 x weekday, RMSE 24.65 kWh standard year: CDD sum 1218.7, weekdays 261 standard year: baseline model 210156 kWh, reporting model 186195 kWh normalised saving 23961 kWh = 11.40 %, 287532 currency units a day: avoided 60.2 kWh, normalised 65.6 kWh; mean CDD 2.14 and 3.34 reporting model over baseline model, coefficient by coefficient: 0.888, 0.893, 0.875Application 2: cold room baseline, 120 days door 10.2 to 59.8 min, temperature 18.2 to 31.7 degC, mean 16.80 kWh a day means: door 35.0 min, temperature 25.3 degC baseline = 8.97 + 0.1633 x door + 0.400 x (T - 20) RMSE 0.760 kWh, CV(RMSE) 4.52 % reporting period: 30 days, door 12.0 to 59.0 min (sum 1141.6), temperature 18.9 to 31.5 degC (sum of T - 20: 169.1) means: door 38.1 min, temperature 25.6 degC adjusted baseline 523.2 kWh, measured 362.9 kWh avoided energy 160.3 kWh = 30.6 %, 5.34 kWh a day expected from the true door effect: 155.3 kWh 2 x RMSE x sqrt(30) = 8.3 kWh unadjusted: baseline mean x 30 - measured = 141.2 kWh narrow baseline (22 days, door < 30 min and T < 25 degC): 8.34 + 0.1915 x door + 0.460 x (T - 20) standard error of the door coefficient: full 0.0048, narrow 0.0340 reporting period by the narrow baseline: 546.5 kWh, avoided 183.6 kWh reporting days outside the narrow range: 26 of 30Saved baselines_routine_adjustments.pngIn the upper plot the adjusted baseline lies above the meter from day 500 and follows the same weather. In the lower plot the points with the curtain lie on a much flatter line than the baseline points.
Common Mistakes
- Comparing the bills before and after and calling the difference a saving. Compare the meter with the baseline adjusted to the conditions of the reporting period.
- Using a short baseline period that misses the hot season or the busy days. The model then has to guess where it has no data.
- Including days after the project in the baseline fit. The model learns part of the saving and reports less of it.
- Quoting the NMBE of the fitting period as a test. It is zero by construction. Test the model on later days before the project.
- Leaving the choice between avoided energy and normalised savings until the results are known. Name it in the plan.
Summary
- The baseline period must cover the full range of the site’s conditions, because the model is valid only inside the range it has seen.
- Independent variables change routinely and are terms in the baseline model. Static factors are recorded and watched.
- Avoided energy is the adjusted baseline energy minus the metered energy of the reporting period, with any non-routine adjustments.
- For the building, the baseline
gave an adjusted baseline of 120,871 kWh and an avoided energy of 13,857 kWh, 11.46 percent, worth 166,284 currency units. - Normalised savings put both periods at standard conditions: 23,961 kWh a year, 11.40 percent. The plan must say which method is used.
- For the cold room, the baseline with door minutes and temperature gave 160.3 kWh avoided in 30 days, 30.6 percent. A baseline from a narrow range of days overstated it by 18 percent.
Exercises
1. Use the building’s baseline model,
Answer
Adjusted baseline:
2. A monthly baseline model with 2 coefficients is fitted to 12 months. The sum of its squared residuals is 90,000,000 and the mean monthly energy is 40,000 kWh. Over 6 later months, before the project, the meter records 246,000 kWh and the model gives 241,200 kWh. Find the RMSE, the CV(RMSE) and the NMBE of the later months, and compare them with the commonly cited limits.
Answer
3. A baseline model is
Answer
Baseline:
4. Use the cold room model,
Answer
Baseline:
5. Change the script so that the building’s baseline is fitted on days 0 to 179 only. Give the coefficients, the RMSE, and the adjusted baseline and avoided energy for days 500 to 729. Why is the result still close to that of the full year?
Answer
Use fit(X[:180], energy[:180]). The model is
References
- Efficiency Valuation Organization, International Performance Measurement and Verification Protocol (IPMVP): Core Concepts, current edition.
- ASHRAE, Guideline 14-2014: Measurement of Energy, Demand, and Water Savings, ASHRAE, 2014.
- B. L. Capehart, W. C. Turner and W. J. Kennedy, Guide to Energy Management, 8th edition, Fairmont Press, 2016.
- D. C. Montgomery and G. C. Runger, Applied Statistics and Probability for Engineers, 7th edition, Wiley, 2018.
A measure is fitted to the cooling plant of an office building. The mean daily energy falls from 602.3 kWh before the measure to 465.3 kWh after it, a fall of about 23 percent. How much did the measure save?
The lesson's baseline model, 306.6 + 41.61 × CDD + 182.1 × W kWh a day, for a month of 30 days with 22 weekdays. The metered energy is taken as the model times one minus the true saving, with no daily scatter, so the adjusted saving always comes out exact. The grey bar is the mean month of the baseline year, 575.8 × 30 = 17,274 kWh, which a plain comparison of bills uses. Play runs the weather through a year of months.
Check yourself
Three questions. Each wrong choice is a mistake people really make, so read the note after you answer.
1. Use the lesson's model, 306.6 + 41.61 × CDD + 182.1 × W kWh a day. In one week after the measure there were 5 weekdays and 20 cooling degree days in total, and the meter recorded 3,450 kWh. What is the avoided energy of the week?
2. Halfway through the reporting period the site adds a second shift. The baseline model has terms for the weather and for weekdays. How is the effect of the new shift handled?
3. A measure lowers the cooling energy of a building by about the same share all year. The reporting year is much hotter than the standard year of the plan. Which figure is larger in kWh?
- The baseline year: each dot is one day, its energy against its cooling degree days.
- Least squares draws the model: 306.6 kWh, plus 41.61 per CDD, plus 182.1 on a weekday.
- The days scatter about the model by an RMSE of 27.3 kWh, 4.74 % of the mean day.
- The model on each reporting day's weather and weekday gives the adjusted baseline: 525.5 kWh a day.
- The meter read 465.3 kWh a day. Avoided: 60.2 a day, 13,857 kWh in 230 days.
- Normalised: both models in a standard year give 210,156 − 186,195 = 23,961 kWh.
Discussion
No comments yet. Questions, results from your own build, a better way to explain it: all welcome.
My notes on this page
Kept on this device only. Nothing is sent anywhere.
Tip: select words in the lesson, or tap a figure or an equation, to put a note right there.
Notes on earlier wording
The lesson has changed and these words are no longer in it. Your notes are kept, with the words you chose.