Modeling Hourly Energy Use in Commercial Buildings With Fourier Series Functional Forms
Modeling Hourly Energy Use in Commercial Buildings With Fourier Series Functional Forms
Modeling Hourly Energy Use in Commercial Buildings With Fourier Series Functional Forms
Dhar
Enron Corporation
Modeling Hourly Energy Use in
1400 Smith St., EB884
Houston, TX 77002 Commercial Buildings With
T. A. Reddy Fourier Series Functional Forms
Drexel University
Civil and Arctiitecturai Engineering Dept. Hourly energy use in commercial buildings shows periodic variation in daily and
Ptiiiadelpiiia, PA 19104 annual cycles. Moreover, the pattern of variation is such that Fourier series functional
forms provide one of the best approaches for modeling this behavior. Results from
numerous case studies have demonstrated the power of Fourier series as a modeling
D. E. Claridge tool to represent hourly energy use in commercial buildings. This paper describes
Texas A&M iJniversity the Fourier series approaches that have been developed for modeling energy use in
IVIeclianicai Engineering Oept. commercial buildings and presents the results of application to data collected from
Coiiege Station, TX 77843
many sites.
Journal of Solar Energy Engineering Copyright © 1998 by ASME AUGUST 1998, Vol. 1 2 0 / 2 1 7
The /f-square and C.V. values of twenty model equations 5.1 The Temperature-Dependent Model. Temperature-
developed using data from four sites are listed in Table 2. The dependent Unear (2-Parameter type) and segmented linear models
data for both pre-retrofit and post-retrofit periods have been (3-Parameter and 4-Parameter type) have been developed and
modeled. The C.V. values range from 3.8 percent to 9.6 percent used for modeling daily energy use in commercial buildings for
while the /?-square values range from 0.27 to 0.96. The results retrofit savings analysis (Claridge et al., 1991). However, model-
in general indicate extremely good model fit. The /{-square ing weather dependent energy use at the hourly level should con-
values are low for certain day-types because of less scatter of sider two important factors. (1) weather dependent energy use in
energy use around the mean for those groups. commercial buildings often exhibits a nonlinear relationship with
outdoor temperature. Three- and four-parameter model behavior
can be observed in the data obtained from different sites (Katipa-
5 Fourier Analysis of Weather Dependent Data mula et al, 1994, 1995) and a generic nonlinear functional form
may be more appropriate, (2) Interaction between outdoor temper-
Weather dependent energy uses, such as hourly cooling and ature variation and time (hour-of-day) due to factors such as build-
heating, vary in daily and annual cycles and also are affected ing thermal mass and HVAC systems characteristics is significant
by outdoor dry bulb temperature, outdoor specific humidity and at the hourly level. The final model equation described in this
horizontal solar flux. Two model equations, known as the Tem- section has been developed from these perspectives.
perature-based Fourier Series (TFS) and the Generalized Fou-
First, we describe a Fourier series functional form to represent
rier Series (GFS), have been developed for modeling hourly
the nonlinear relationship between weather dependent energy
weather dependent energy use. The GFS equation uses outdoor
use and outdoor temperature:
dry bulb temperature, outdoor specific humidity and horizontal
solar flux as the input weather variables assuming linear depen- (2irm{T - r^n)
dence, while the TFS equation uses outdoor dry bulb tempera- Er = a' + P'T + X a™ sm
ture as the weather variable, but treats nonlinear dependence. Ar
The TFS equation sacrifices little in terms of prediction accu-
racy when compared to the GFS equation and can be used when (lirmjT - r^iJ
humidity and solar data are unavailable. + Pm cos + £7 (4)
Ar
Table 2 Fourier model results of weather independent energy use at four educational buildings In Texas
mm M
GOO '•v^oosnj^od daia
3 OO
r osiduiol
O
• ugB<VVW^']*vi<V*Y^
JAM TEB MAR APR
(a)
1 SCO
1zoo -
9 0 0
rrtoosurocj eiola
6 OO -
3 0 0 -
r «»lcjwal
' . ^ K ^ ^ /•^./'V ^^V.^.^I ^ ^ . A ^^ ^'^J-^^J^ • ,^^^^/^^VM^y, .,n^.,^^_^^y.U/>A>lAX^n^ • .
2 0 2 5
(b)
Fig. 1 ( a ) - ( b ) Time series plots measured and residual whole building energy use in ZEC for (a) Jan.-Jun.
1992 and (b) May 1992
where T = (Tmax - T^m) is the range within which the outdoor would be (100/2 - 1) = 49 if there were data points at 100
temperature varies in a particular geographic location. One can discrete temperature values, but results have shown that includ-
observe that the right hand side of Eq. (4) adds a temperature ing only the first few frequencies (approximately five) in the
based Fourier series to a linear functional form ofa'+P'T.ln equation are needed for modeling weather dependent energy
this way, Eq. (7) fits both hnear and nonlinear cases efficiently. use.
The next step is to modify Eq. (7) to incorporate the effect
of the interaction between hour of day and outdoor temperature. 5.2 The Multivariate Model. The TFS equation is useful
This is accomplished by taking the product of the time series when only temperature data are available, the data of other
and the temperature series which, after a few rearrangements, weather variables (humidity and solar radiation) being unavail-
results in Eq. (5) described below. For further details on the able because either those were not measured or the measuring
derivation, see Dhar et al. (1995b). instruments failed. However, if all the weather data is available,
a more rational approach would be to use a model equation
. /2irnh\ , flirnh with all the weather variables as the regressors. The weather
ET.,. = r I <p„ sin + w„ cos dependent energy use at each individual hour can be represented
^ V 24 / ^ V 24 as a weighted linear combination of outdoor dry bulb tempera-
ture ( r ) , outdoor specific humidity difference QN^) and hori-
/iTrmjT - Tmin) zontal solar flux (/) (Katipamula et al., 1994, 1995):
ri,„ sin
AT
EH = a,, + bhTh + ChW t + d,Jh + e* (6)
2Trm(T - T^i„) W^ is expressed as W * = W - W^c where Wcc is the saturated
+ Cm cos
AT specific humidity at the cold coil surface temperature of the air-
conditioning system and can be assumed to be equal to 0.0092
pounds water per pound of dry air for normal air-conditioning
. (2'Knh\ r /2nnh\
purposes. The above equation assumes that the energy use varies
X X y„ sin I + o„ cos
V 24;
K-w) + tT.H (5)
linearly with outdoor temperature, humidity difference and solar
flux. This assertion has been supported by a detailed study
The number of maximum allowable frequencies n^ai and Wmax conducted by Kissock (1993), which indicated that higher order
depend upon the number of distinct data points within the time terms contribute insignificantly to the prediction and, therefore,
and temperature periods. There are 24 hours in a day, which can be neglected for practical purposes. The above equation
means n^ax = (24/12 - 1) = 11. For temperature series, Wmax can be generalized for all hours of the day by allowing the
Table 3 Partial f7-squares of the individual parameters of Generalized Fourier Series (GFS) and Temperature based Fourier
Series (TFS) models for cooling energy use In ZEC from Jan. through Jun. 1992. CH1 and SIH1 represent the 1st frequency of
the cosine and sine terms of the diurnal cycle while CT1 and CT2 represent the temperature based first two cosine terms in
Eq. 4
Fig. 2 Time series piots of measured and residual cooling energy use in ZEC from Jan. through Jun. 1992
when the TFS model is used
the weather dependent energy use, (iv) gain = 0.9, learning chilled water lines. This probably accounts for the better values
rate = 0.1 and bias = 0, (v) sigmoid activation function and of ZEC chilled water CV for this period obtained for all of the
(vi) a normalization range of 0 to 0.9 for all the inputs and entries in Table 5. The heating data experienced only minor
output. WaveNet is a one hidden layer neural network with a impact when the chilled water lines broke, and so this compari-
variable number of hidden nodes. The number of hidden nodes son is probably more meaningful. It may be noted that TFS
of the WaveNet were optimized using the stepwise regression models generally have fewer parameters than other models,
approach. The wavelet basis functions were generated from suggesting that TFS will often be a more accurate approach.
cubic splines (Chui, 1992).
When the model fit of the TFS equation is compared with 7 Summary and Conclusions
BPN and WaveNet, the C.V. values of TFS models are found The Fourier series functional forms have provided excellent
to be the lowest in 4 out of 8 cases (Table 5). Comparison of model fits in several cases described in this paper. However, it
ZEC cooling and heating results for 9/1/89-12/20/89 with is important to investigate the strengths and weaknesses of these
the results of winners in the ASHRAE Predictor Shootout I models in order to be able to provide suitable guidelines as to
(Kreider and Haberi, 1994) competition is likewise favorable. when these equations should be used for modeling hourly en-
The CVs for the top five cooling predictors ranged from 12.78 ergy use in commercial buildings. Fourier series models are
percent - 14.32 percent compared to 7.30 percent and 8.03 very suitable for modeling weather independent data unless the
percent for the GFS and TFS approaches. The CVs of the top daily variation of energy use is very irregular, as is sometimes
six heating predictors ranged from 15.24 percent to 31.65 per- true in primary and secondary schools. If higher frequencies
cent with only one below 28.08 percent while the GFS and TFS are present, then a local basis function approach, such as wave-
values shown are 20.88 percent and 19.56 percent respectively. lets, will do significantly better than Fourier series. On the other
It should be noted that the Predictor Shootout I data set covered hand, Fourier series will provide a better prediction with fewer
9/1/89-12/31/89 and hence includes 11 additional days. The terms in the model if the variation is harmonic or close to
11 days at the end of the year were not included in the GFS harmonic.
and TFS tests since that period contained two days of chilled When modeling weather dependent energy use, the Fourier
water data that were abnormally low due to a freeze and broken series models can be recommended in general. The variation of
Table 4 Comparison of /7-square and C.V. values of Generalized Fourier Series (GFS) and Temperature
based Fourier Series (TFS) models of weather dependent energy use in five buildings
weather dependent energy use is driven by a large number of the 1995 ASME/JSME/JSES International Solar Energy Conference, Mawuii,
Mar. 27-30, Vol. 1, pp. 125-134. Also accepted for publication in ASME JOUR-
parameters. However, results show that a nonlinear temperature NAL OF SOLAR ENERGY ENGINEERING.
dependent Fourier series model (TFS) gives very good predic- 6 Dhar, A., Reddy, T. A., and Claridge, D., 1995c, "An Artificial Neural
tion in most of the cases examined. TFS is a very efficient way Network With Wavelet Basis Functions to Predict Hourly Heating and Cooling
of capturing this nonlinear variation, since only a few terms of Energy Use in Commercial Buildings with Temperature as the Only Weather
the TFS equation are adequate to represent the variation and Variable," Proceedings of the 1995 ASME/JSME/JSES International Solar En-
ergy Conference, Mawuii, Mar, 27-30, Vol. 1, pp. 145-156.
often give better results than other nonlinear techniques. 7 Dhar A., 1995, "Development of Fourier Series and Artificial Neural
Network Approaches to Model Hourly Energy Use in Commercial Buildings,"
Ph.D. Dissertation, Mechanical Engineering Department, Texas A&M University,
8 Acknowledgments College Station, Texas, May.
We gratefully acknowledgefinancialsupport from the Texas 8 Hittle, D. C , and Pedersen, C, O., 1981, "Periodic and Stochastic Behav-
ior of Weather Data," ASHRAE Transactions, Vol. 87, Part 2, pp. 173-194.
State Energy Conservation Office of the Intergovernmental Di- 9 Katipamula, S., Reddy, T. A., and Claridge, D. E., 1994, "Development
vision of the General Services Commission (State Agencies and Application of Regression Models to Predict Cooling Energy Consumption
Program) as part of the LoanSTAR Monitoring and Analysis in Large Commercial Buildings," Proceedings of the 1994 ASME/JSME/JSES
Program. Discussions with Dr. Srinivas Katipamula, Dr. Kelly International Solar Energy Conference, San Francisco, Mar. 27-30, pp. 307-
Kissock, Dr. Jeff Haberl and Dr. Sabratnam Thamilseran have 322.
10 Katipamula, S., Reddy, T. A., and Claridge, D. E., 1995, "Effect of Time
been extremely useful. Resolution of Statistical Modeling of Cooling Energy Use in Large Commercial
Buildings," ASHRAE Transactions-Research, Vol. 101, Pt. 2.
11 Kissock, J. K., 1993, "A Methodology to Measure Retrofit Energy Savings
References in Commercial Buildings," Ph.D. Dissertation, Mechanical Engineering Depart-
1 Chui, C. K., 1992, An Introduction to Wavelets, Academic Press Inc., San ment, Texas A&M University, College Station, Texas, Dec.
Diego, California. 12 Kreider, J. F., and Haberl, J. S., 1994, "Predicting Hourly Building Energy
2 Claridge, D., Haberi, J., Turner, W., O'Neal, D., Heffington, W., Tomban, Usage: The Great Predictor Shootout—Overview and Discussion of Results,"
C , and Jeager, S., 1991, "Improving Energy Conservation Retrofits with Mea- ASHRAE Transactions, Vol. 100, Pt. 2, pp. 1104-1118.
sured Savings," ASHRAE Journal, Oct., pp. 14-22. 13 Ott, L., 1988, An Introduction to Statistical Methods and Data Analysis,
3 Dhar, A., Reddy, T. A., and Claridge, D., 1994, "Improved Fourier Series PWS-KENT Publishing Company, Boston.
Approach to Modeling Hourly Energy Use in Commercial Buildings," ASME/ 14 Pandit, S. M., and Wu, S. M., 1983, Time Series and System Analysis with
JSME/JSES International Solar Energy Conference, San Francisco, Mar. 27-30, Applications, John Wiley and Sons, New York.
pp. 455-468. 15 Philips, W. F., 1984, "Harmonic Analysis of Climatic Data," ASME
4 Dhar, A., Reddy, T. A., and Claridge, D., 1995a, "Generalization of the JOURNAL OF SOLAR ENERGY, Vol. 32, No. 3, pp. 319-328.
Fourier Series Approach to Model Hourly Energy Use in Commercial Buildings," 16 Seem, J. E., and Braun, J. E., 1991, "Adaptive Methods for Real-time
Accepted for publication in ASME JOURNAL OF SOLAR ENERGY ENGINEERING . Forecasting of Building Electrical Demand,'' ASHRAE Transactions, Vol. 97, Pt.
5 Dhar, A., Reddy, T. A., and Claridge, D., 1995b, " A Fourier Series Ap- 1, pp. 710-721.
proach to Predict Hourly Heating and Cooling Energy Use in Commercial Build- 17 Tolstov, G. P., 1962, Fourier Series, Translated by Richard A. Silverman,
ings with Outdoor Temperature as the Only Weather Variable," Proceedings of Dover Publications Inc., New York.