234
Views
6
CrossRef citations to date
0
Altmetric
Regular Articles

Development of control quality factor for HVAC control loop performance assessment I—Methodology (ASHRAE RP-1587)

, &
Pages 656-673 | Published online: 30 Jan 2019
 

Abstract

This article is the second paper from the ASHRAE research project RP-1587, focusing on the methodology of obtaining a control quality factor (CQF). This article presents a development of two CQFs for assessing the heating, ventilation, and air-conditioning (HVAC) control loop performance. Both CQFs are able to detect whether the control loop is able to maintain the setpoint and identify the loop’s ability to handle disturbances. In addition, the reversal behaviors are assessed as well. The first CQF (CQF-Harris) is proposed based on the normalized Harris index using the recursive least squares method. This recursive least squares method is selected because of its computational efficiency compared with the maximum likelihood estimation method. The second CQF (CQF-EWMA) is based on the exponentially weighted moving average of the error ratio. The assessment scale of excellent, good, fair, bad, and failed, which indicates the quality of the HVAC control loops, is established as well. The sensitivity analysis for both CQFs is also conducted, and it provides insights on choosing the appropriate parameters to compute such CQFs. Such parameters include the sampling frequency, the length of the moving window, and the variance of the unmeasured disturbance. The field evaluations and tests of the proposed CQFs for simulated control loops and real control loops can be found in the companion paper with the title “Development of Control Quality Factor for HVAC Control Loop Performance Assessment—III: Field Testing and Results (ASHRAE RP-1587).”

Acknowledgments

Part of this work was supported by ASHRAE through RP-1587 “Control Loop Performance Assessment.” This work emerged from the Annex 60 project, an international project conducted under the umbrella of the International Energy Agency (IEA) within the Energy in Buildings and Communities (EBC) Programme. Annex 60 developed and demonstrated new generation of computational tools for building and community energy systems based on Modelica, Functional Mockup Interface, and BIM standards.

Appendix A. ARMA model for HVAC control loop output

For the ARMA fitting, the order of AR and MA modeling is very important. Numeral approaches have been proposed to select the appropriate order to minimize the fitting error. The widely used approaches are the autocorrelation plot (Box and Jenkins Citation1976), partial autocorrelation plot (Box and Jenkins Citation1976), Akaike information criterion with correction (AICc) (Hurvich and Tsai Citation1989), and Bayesian information criterion (BIC) (Schwarz Citation1978). However, they all have some drawbacks. This is still an active research area. There are some new progress lately for the order selection for ARMA models, such as the focused information criterion (Claeskens and Hjort Citation2003; Rohan and Ramanathan Citation2011). In our research, we select the order of AR to be 2, and the order of MA to be 1, with acceptable accuracy.

After we decide the correct ARMA order, the next step is to get the impulse response coefficient. Here we derive the equations on how to convert the ARMA model into the MA model, from which we can get the impulse response coefficients. The lag operator (denoted as L) is usually applied to simplified the converting. The lag operator is used to move the process output one time step back. Multiple (k) use of L will move the process output back multiple (k) times. The details are shown next: (22) Lyt=yt1(22) (23) Lkyt=ytk(23)

The lag operator is also applicable to the addition, such as (24) Lyt+xt=yt1+xt1(24)

For the ARMA model equation, (25) yt=ϕ1yt1+ϕ2yt2++ϕpytp+εt+θ1εt1+θ2εt2++θqεtq(25)

We rewrite the ARMA equation of the process outputs (EquationEquation 25) into (26) ytϕ1yt1ϕ2yt2ϕpytp=εt+θ1εt1+θ2εt2++θqεtq(26)

Applying the lag operator, we get the new equation: (27) yt1ϕ1Lϕ2L2ϕpLp=εt1+θ1L+θ2L2++θqLq(27)

Further derivation can be written as: (28) yt=1ϕ1Lϕ2L2ϕpLp11+θ1L+θ2L2++θqLqεt(28)

To simplify the preceding equation the process outputs can be written as a MA model as follows: (29) yt=Φ1(L)Θ(L)εt(29) where (30) ΦL=1ϕ1Lϕ2L2ϕpLp(30) (31) ΘL=1+θ1L+θ2L2++θqLq(31)

The ARMA model is converted to the new MA model as (32) yt=Ψ(L)εt(32) in which the new MA coefficients are written as (33) ΨL=Φ1(L)Θ(L)(33)

Expand the new MA coefficients with lag operators as (34) ΨL=φ0+φ1L+φ2L2++φsLs(34)

Next, we obtain the new MA coefficients from the original AR coefficients and MA coefficients by (35) ΦLΨL=Θ(L)(35) (36) ΘL=ΦLΨL(36)

Expand the coefficients: (37) 1+θ1L+θ2L2++θqLq=[φ0+φ1L+φ2L2++φsLs][1ϕ1Lϕ2L2ϕpLp] (37)

EquationEquation 37 can be solved for the ARMA (2, 2) model without losing generality, and we can get: (38) 1=φ0(38) (39) θ1=φ1ϕ1φ0(39) (40) θ2=ϕ2φ0ϕ1φ1+φ2(40)

Thus, the impulse response coefficients are obtained as: (41) φ0=1(41) (42) φ1=θ1+ϕ1φ0(42) (43) φ2=θ2+ϕ2φ0+ϕ1φ1(43)

In all, the calculated impulse response coefficients are used for Harris index calculation.

Appendix B. Recursive least square method

The RLS is similar to the MLE method. Instead, it takes another approach by minimizing the cost function. This part presents the principles of the recursive least square method for ARMA fitting. We use ARMA(2, 2) as an example to show the whole process.

For an ARMA(2, 2) model, we have the following equation: (44) yt=a1yt1+a2yt2+b1wt1+b2wt2+w(t)(44)

Rewrite EquationEquation 44 into the vector format: (45) yt=y(t1)y(t2)w(t1)w(t2)a1a2b1b2+w(t)(45)

We get the simplified vector form (46) yt=htθt+w(t)(46) where (47) ht=y(t1)y(t2)w(t1)w(t2)(47) (48) θt=a1a2b1b2(48) and w(t) is the unmeasured disturbance term at current time step.

For a specified moving window with a sample of n data, we get the vector format: (49) Yt=Htθ(t)+W(t)(49) (50) Yt=y(t)y(t1)y(tn)(50) (51) Wt=w(t)w(t1)w(tn)(51) (52) Ht=h(t)h(t1)h(tn+1)(52) (53) Ht=y(t1)y(t2)y(t2)y(t3)w(t1)w(t2)w(t2)w(t3)y(tn+1)y(tn)w(tn+1)w(tn)(53)

According to the least square principles, we need to minimize the function: (54) Jθ=12i=1nyih(i)θ(i)2(54)

The recursive steps updating the parameters are given as (LJung Citation1999): (55) θ̂t= θ̂t1+P(t)ĥtytĥtθ̂t1(55) (56) Pt=Pt1P(t1)ĥtĥTtPt11+ĥTtPt1ĥt(56) (57) ŵt=ytĥtθ̂t(57) (58) ĥt=y(t1)y(t2)ŵt1ŵt2(58)

The initial conditions are given as: (59) P0=P0I(59) (60) θ0=In/P0(60) (61) P0=106(61)

The initial condition of y(1) is given as: (62) y1=a1y0+a2y1+b1w0+b2w1(62) (63) y1=y(0)y(1)w0w1a1a2b1b2=h(0)θ(0)(63)

In all, we obtain the AR and MA coefficients based on this RLS method. The AR and MA coefficients are used for the Harris index calculation.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 61.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 78.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.