Practical Receding-Horizon Optimization Control of the Air Handling

Mar 11, 2005 - An autotuning receding-horizon optimization method is proposed to ..... As long as the weight λ(·) is positive definite, the proposed...
0 downloads 0 Views 428KB Size
2848

Ind. Eng. Chem. Res. 2005, 44, 2848-2855

Practical Receding-Horizon Optimization Control of the Air Handling Unit in HVAC Systems Min Xu,† Shaoyuan Li,*,† and Wenjian Cai‡ Institute of Automation, Shanghai Jiao Tong University, 1954 Hua-Shan Road, Shanghai 200030, People’s Republic of China, and School of Electrical and Electronic Engineering, Nanyang Technological University, Singapore 639798, Singapore

This paper is concerned with air handling units (AHUs), the performances of which directly influence those of heating, ventilation and air conditioning systems. An autotuning recedinghorizon optimization method is proposed to synthesize a proportional-integral-derivative (PID) type controller for AHUs. This algorithm is composed of two levels of control. The lower level adopts a conventional PID controller to obtain an acceptable, but not necessarily optimal, performance. The higher level provides optimal low-level controller parameters through minimization of the generalized predictive control criterion. Because the method does not require changes in hardware and the definitions of conventional controller parameters, it can be both easily accepted by process engineers and widely applied to industrial areas. Compared with the performance of a well-tuned conventional PID controller, simulation and experimental results show that the proposed method for AHU systems can achieve a better performance under a wide range of operating conditions. 1. Introduction A typical centralized heating, ventilation and air conditioning (HVAC) system is comprised of five loops: namely, condenser water loop, chilled water loop, chillers, indoor air loop, and air handing unit.1 Because the performances of air handling units (AHUs) directly influence those of HVAC systems, a good control strategy for AHUs is very critical. Also, because of both the nonideal actuator and system constraints, the HVAC system is highly nonlinear, and so a satisfying controller is difficult to design. Currently, conventional proportional-integral-derivative (PID) controllers are widely used in most AHU processes because of their simplicity and effectiveness.2 To improve AHUs’ performances for a wide range of operating conditions, tuning methods for PID controller parameters and advanced algorithms have been developed in recent years. The most common PID advancement in industry is gain scheduling, which can overcome nonlinear process characteristics through tailoring of controller gains over local operating conditions. However, this scheduling is complicated because detailed process knowledge is necessary to define operating conditions and open-loop tests, in which the controller gain within each condition must be locally calibrated.3 Many advanced process control algorithms have been developed for HVAC systems, such as fuzzy control,4 neural network,5 evolutionary algorithm,6 genetic algorithm,7 autotuning (AT),8 and model predictive control (MPC).9 Among those control algorithms, MPC technology has a bright future of industrial application, as shown by a survey that has indicated that MPC technology has more than 2000 applications to date.10 * To whom correspondence should be addressed. Tel.: +86(21)-6293-2114. Fax: +86-(21)-6293-2145. E-mail: syli@ sjtu.edu.cn. † Shanghai Jiao Tong University. ‡ Nanyang Technological University.

Figure 1. Control structure diagram.

Virk and Loveday11 proposed a predictive on-off control method with both on and off states essentially to determine which gives the smaller prediction error at the next sampling instant. Their experimental data showed that 17% energy can be saved compared with a conventional on-off control algorithm. Jorgl and Pargfrieder12 presented a fuzzy controller, whose parameters are tuned based on the generalized predictive control (GPC) algorithm, aimed at maximizing user comfort as well as minimizing energy consumption. Cho and Zaheer13 developed a predictive control strategy with higher energy efficiency, where the heat supply hours per day are determined based on a forecast of hourly outdoor temperatures. Even though the above methods can improve the HVAC system performance, the controllers are very often too complicated and difficult to facilitate in real-world systems. In this paper, an AT two-level scheme, which is composed of a receding-horizon optimizer and a timevarying PID controller, is proposed for the AHU system. As shown in Figure 1, there are two levels, a lower level and a higher level. The lower level loop adopts a conventional PID controller, the initial setting of which is specified by process engineers. Also, the higher level loop exploits the receding-horizon optimization strategy to update the lower level controller parameters based on the minimization of the GPC criterion. Assuming that the system is linear and time-invariant or operating

10.1021/ie0499411 CCC: $30.25 © 2005 American Chemical Society Published on Web 03/11/2005

Ind. Eng. Chem. Res., Vol. 44, No. 8, 2005 2849

Figure 2. Schematic diagram of an AHU cooling-coil system.

Figure 3. Fitting result of the AHU model.

conditions are in a narrow range, this controller structure simplifies a conventional PID controller with welltuned parameters. Once operating conditions have a large variation, causing the system parameters change, the receding-horizon optimization strategy calculates a new optimal control action and delivers it to the lower level controller. On the basis of cooling-coil models with different load conditions, simulation results exhibit better performances compared with a well-tuned conventional PID controller. Also, experiments on a realtime AHU system demonstrate that a fast setting time and a small overshoot can be obtained by the proposed strategy, even in the presence of disturbance. Because the method does not require changes in hardware and the definitions of conventional controller parameters, it can be both easily accepted by process engineers and widely applied to industrial areas.

is proposed in the part that is based on a static-state model developed by Lu and Cai.14 The static-state model of cooling-coil and energy balance equations can be written as

2. Control Problem of the AHU Figure 2 only shows a schematic diagram of a coolingcoil system, which consists of cooling coils, air dampers, fans, chilled water pumps, and valves. Fresh air enters the AHU through the outdoor air damper, depending on the mixing box damper settings. It may be mixed with return air passing through the recirculation air damper. Return air is drawn from each zone by the return fan and is either exhausted or recirculated, depending on the positions of the mixing box dampers. Hence, the conditions at the exit of the mixed air plenum are determined by both the temperatures and flow rates of the outdoor and recirculation air streams. Then, air exiting the mixed air plenum passes through the cooling coils. After being conditioned in the coils, the air is then distributed to each zone through the supply air ductwork. One of the primary purposes of an AHU is to distribute conditioned air to the occupied zones of a building and maintain Tao at the set-point value. To provide a comfortable environment for occupants, the supply air to a particular zone must offset cool loads imposed on that zone. Therefore, the cool load condition is an important factor affecting system output Tao. Because the cool loads for each zone can vary markedly, system parameters may change with it. However, a conventional PID control scheme is favorable in cases where system parameters are fixed or varying in a narrow range, whereas it is not suitable for AHUs of a large building coping with a wide range of operating conditions and characterized with different model parameters under different cool load conditions. Furthermore, the cooling-coil system exhibits strong nonlinear characteristics. A dynamic cooling-coil model

Q)

c1Fae 1 + c2(Fa/Fcw)e

(Tai - Tcwi)

(1)

and

Q ) ccwFcw(Tcwo - Tcwi) ) caFa(Tai - Tao)

(2)

where Q is the cooling load, ccw and ca are the specific heats of chilled water and air, and c1, c2, and e are AHU system parameters. Tai, Taiwb, and Fa are the dry-bulb temperature, the wet-bulb temperature, and the coolingcoil air flow in the on-coil state, respectively. Likewise, the above variables are noted as Tao and Taowb in the off-coil state. When eqs 1 and 2 are combined, Tao can be described as

Tao ) Tai -

(c1/ca)Fae-1Fcwe (Tai - Tcwi) Fcw + c2Fae

If e ) 0.6 (engineering rule of thumb value) is adopted, the model only has two parameters, c1 and c2, to be determined. The fitting result of eq 1 with the parameters c1 ) 0.45, c2 ) 0.7, and e ) 0.61 is shown in Figure 3, and the system has nonlinear characteristics with the parameters of Tao, Fcw, and Fa. Assuming that the air flow rate Fa acts as a disturbance, then eq 1 describes a linear model. Otherwise, three parameters in this model need to be determined with a nonlinear leastsquares method. The nonlinear curve of the model surface based on the relationship of Tao, Fcw, and Fa is shown in Figure 4. It is obvious that a conventional PID control algorithm is best suited for linear systems. The performance of a cooling-coil controller can vary when operating conditions change. A well-tuned PID controller for one set of environmental conditions may become sluggish or oscillatory at a different set of conditions.15 Therefore, a two-level control structure is proposed. In the lower level, a conventional PID controller is adopted:

∆u(k) ) Kp[e(k) - e(k-1)] + Kie(k) + Kd[e(k) 2e(k-1) - e(k-2)] Rewrite the incremental PID controller as

∆u(k) ) w0e(k) + w1e(k-1) + w2e(k-2)

(3)

2850

Ind. Eng. Chem. Res., Vol. 44, No. 8, 2005

) [∆u(k-1)]/C and yj(k) ) y(k)/C, where C is assumed to be a minimum phase. Supposing that C(z-1) ) 1, the j-step predictor is as follows:

yˆ (k+j|k) ) Gj∆u(k+j-1) + Hj∆u(k-1) + Fjy(k) When the future control action eq 4 is introduced into the j-step process output prediction, we obtain 2

yˆ (k+j|k) ) Gj[

wi(k+j-1) e(k+j-i-1)] + ∑ i)0 Hj∆u(k-1) + Fjy(k)

Figure 4. Nonlinear curve of the AHU model surface.

where w0 ) Kp + Ki + Kd, w1 ) -Kp - 2Kd, and w3 ) Kd. To cope with the nonlinear dynamic behavior of a cooling-coil system and adapt a wide range of operating conditions, it is necessary to explore a time-varying lower level controller. For this purpose, we rewrite the lower level controller as

Therefore, the lower level PID control parameters can be obtained through minimization of a GPC criterion on a moving-horizon scenario. To find optimal parameters {w/0(k), w/1(k), w/2(k)}, a multistage cost function is defined at every sample time k N1

J ) E{

[yˆ (k+j|k) - r(k+j)]2 + ∑ j)N 0

Nu

∆u(k) ) w0(k) e(k) + w1(k) e(k-1) + w2(k) e(k-2) Suppose that this time series is the output of a linear time-varying adaptive finite impulse response filter 2

∆u(k) )

wi(k) e(k-i) ) WT(k) e(k) ∑ i)0

(4)

where WT(k) ) [w0(k), w1(k), w2(k)] and e(k) ) [e(k), e(k-1), e(k-2)]T. If operating conditions vary in a narrow range, the lower level controller parameters are fixed, i.e., wi(k) ) wi(k-1), or the higher level algorithm optimizes the lower level controller parameters.

λ(j) [∆u(k+j-1)]2} ∑ j)1

where yˆ (k+j|k) is the predicted output j steps into the future at time k, r(k+j) is the future reference trajectory, N0 and N1 are the minimum and maximum predictive horizons, respectively, Nu is the control horizon, and N ) N1 - N0 ) Nu. Note that J(k,W) is an index performance at time k. Substituting eq 4 into eq 5 results in N

J(k,W) ) E{

[(k,W)]2 + ∑ j)1 N

λ(j) [WT(k+j-1) e(k+j-1)]2} ∑ j)1

3. Receding-Horizon Optimal PID Controller A cooling-coil system can be represented by the following CARIMA (controlled autoregressive and integrated moving average) model:

A(z-1) y(k) ) B(z-1) u(k-1) + C(z-1) ξ(k)/∆ where A, B, and C are polynomials in the backward shift operator z-1 of degrees na, nb, and nc, respectively. ξ(k) is an external white noise disturbance with zero mean and variance σ2. The j-step output of the system for the process can be derived by using two Diophantine equations

y(k+j) )

Hj Fj E jB ∆u(k+j-1) + y(k) + y(k) + Ejξ(k+j) C C C

where Ej and Fj are polynomials in the backward shift operator z-1 of degrees min (j - 1, nc) and nc - j, respectively.16 With this expectation, the j-step predictor for the process output becomes

j (k-1) + Fjyj(k) yˆ (k+j|k) ) Gj∆u(k+j-1) + Hj∆u z-1

of where Gj and Hj are polynomials in the operator j (k-1) degrees j - 1 and max (nEB - j + 1, nc - 1) and ∆u

(5)

Assume that the set point is constant, i.e., r(k) ) r(k+j), where

(k,W) ) r(k) - yˆ (k+j|k) and W*(k-1) is the optimal parameter vector based on the minimization of the J(k-1,W) criterion. When the index performance of eq 5 is computed up to an k - 1 instant, it will fulfill the condition

|

∂J(k-1,W) ∂W

W*(k-1)

)0

(6)

For the sake of finding an optimal solution at time instant k, a second-order Taylor expansion of J(k,W) over W*(k-1) is given by

J(k,W) ≈ J[k,W*(k-1)] +

|

∂J(k,W) ∂W

W*(k-1)

[W - W*(k-1)] +

|

∂2J(k,W) 1 [W - W*(k-1)]T 2 ∂W2

[W - W*(k-1)] + W*(k-1)

O(|W - W*(k-1)|3) (7)

Ind. Eng. Chem. Res., Vol. 44, No. 8, 2005 2851

O(W) is the high-order expansion term, which will be small and can be omitted if W*(k-1) is the optimal solution for the time instant k - 1. Minimization of eq 7 with respect to W gives

W*(k) ) W*(k-1) -

[

|

∂2J(k,W) ∂W

2

W*(k-1)

][ -1

|

∂J(k,W) ∂W

W*(k-1)

]

(8)

and the AT controller algorithm is obtained as (see the appendix for detailed derivations)

W*(k) ) W*(k-1) + P(k) {[k,W*(k-1)] S[k,W*(k-1)] λ[W*(k-1)]Te(k) e(k)} (9a) Q(k) e(k) eT(k) Q(k) P(k) ) Q(k) - λ T λe (k) Q(k) e(k) + 1 P(k-1) S(k) ST(k) P(k-1)

Q(k) ) P(k-1) - λ

λST(k) P(k-1) S(k) + 1

Figure 5. Plant of a centralized HVAC system.

(9b)

(9c)

yˆ (k+j|k) ) Gj{[W*(k-1)]T e(k)} + Hj∆u(k-1) + Fjy(k) (9d) At time k, the lower level controller ∆u(k) is given by W(k); then execute the system. Next time, a new control action ∆u(k+1) is recalculated by the estimated model and system criterion on a moving-horizon window. Because the estimated model and system criterion is the same as that for a standard GPC algorithm, better control quality can be obtained by the proposed strategy than by a conventional PID controller. The purpose of taking a new measurement at each time step is to obtain the optimal parameters and compensate for unmeasured disturbances and model inaccuracy, both of which cause the measured system output to be different from that predicted by the model. The optimal control action that minimizes the cost function will be derived from now on and updated throughout a wide range of operating conditions. Hence, some conclusions are as follows: Remark 1 (Practicability). Our choice of presenting this particular design is motivated by its explicit structure and well-defined stability. Any processes with a conventional PID control algorithm can utilize the proposed strategy to cope with a wide range of operating conditions. Because the system hardware and the definitions of the controller parameters do not need to be changed, the method can be easily grasped by process engineers. Remark 2 (Robustness). As long as the weight λ(‚) is positive definite, the proposed algorithm can provide a robust design. Here, an estimated model is adopted in the control receding calculation, and the plant-model mismatch is considered in a GPC objective function. The philosophy is to decrease the weight influence on the control action in the objective function in the case of large model mismatch. Remark 3 (Stability). Because of stability considerations, we should choose an infinite prediction horizon. Usually, three “ingredients”, which include a terminal cost, a terminal constraint set, and a local controller, have been found to be useful in developing stabilize model predictive controllers.17

Remark 4 (Computation Complexity). Because the existing computational resource is similar to that of the conventional MPC, the proposed algorithm does not bear the burden of computation. The difference between them is the objective function. Besides, only the system performance deteriorates in a wide range of operating conditions, and the controller parameters tuning procedure starts to work. The AT predictive PID controller algorithm is given as follows: Step 1: Estimate the CARIMA model to yield G, H, E, and F, and set the maximum and minimum predictive horizons and control horizon. Step 2: Take k ) 0, W*(0) ) 0, and P(0) ) I. Step 3: Calculate the predictive output yˆ (k+j|k). Step 4: Compute W*(k) based on eq 9. Step 5: Determine the control action by ∆u(k) ) [W*(k)]T e(k). Step 6: Set k ) k + 1, and go back to step 1. Thereby, the optimal parameters are retuned to update the conventional PID controller parameters. 4. Simulation and Experimental Results The experiment is conducted on a centralized HVAC system (shown in Figure 5) that has three chillers, three zones with three AHUs, three cooling towers, and flexible partitions of up to 12 rooms. All motors (fans, pumps, and compressors) are controlled by variablespeed drives. The cooling-coil system consists of two rows and dimensions of 25 cm × 25 cm × 8 cm (shown in Figure 6). The measurement signals for the experiment are the water and air flow rates, on-coil air dry-bulb/web-bulb temperatures, and cooling-coil inlet and outlet water temperatures. The experiment is implemented under the following conditions: fixed chilled water supply temperature and cooling load variation caused by the air and water flow rates (illustrated in Table 1). In the simulation and experiment, the Chien-HronesReswick tuning rule18 is adopted to obtain PI controller parameters because of its universality and high availability in industrial processes. Different models have been tested to verify the control algorithm effectiveness in a variety of realistic operating conditions. Suppose that the model switches at the times t ) 3000 and 6000 s. As can be seen in Figure 7, a larger overshoot and long setting time are obtained by a conventional PID control algorithm than by the recedinghorizon optimization strategy. A set of optimal PID

2852

Ind. Eng. Chem. Res., Vol. 44, No. 8, 2005

Figure 8. Designed with a non-AT predictive PID.

Figure 6. Cooling-coil system.

Figure 9. Designed with receding-horizon optimization.

Figure 10. PID parameters w0, w1, and w2.

Figure 7. (a) Designed by the model of the first region. (b) Designed by the model of the second region. (c) Designed by the model of the second region.

parameters is designed on the basis of the first region operating conditions. It is seen from Figure 7a that the nonlinear system response in the first region has a few overshoots and faster setting time in comparison with that of other regions. The same, only 18% overshoots and 200 s rise time, is obtained in the second region, and the results are shown in Figure 7b. The optimal controller parameters are designed on the basis of the second region operating conditions. No large oscillation

is achieved for the third region compared with other regions (shown in Figure 7c), and the results are shown in Figure 7c. As can be seen in Figure 7, a conventional PID controller designed by a nominal model may not obtain satisfactory control quality for a plant with a wide range of operating conditions. On the basis of the model in the second region, the results (shown in Figure 8) using a predictive PID method appear to be a large oscillation and overshoots. Compared with a well-tuned conventional PID controller, the rise time is smaller for its model prediction. However, the robustness of the system is weak in the presence of a disturbance. Figure 9 exhibits a satisfactory tradeoff between achieving a fast and nonoscillatory convergence of the controlled output toward the set point and supplying smooth feasible control actions. The variations of lower level controller parameters are shown in Figure 10. Figures 11-13 show the different responses of a conventional PID controller and AT predictive PID controller for the case of temperature set-point change and air flow rate fluctuation. First, we let the off-coil temperature stabilize at 18.7 °C, when the air flow rate is 60% of the full range, and then the set points go up to 19.5 °C at time t ) 250 s. Second, when the air flow rate is decreased to 40% of the full range, which leads to an increase in the flow

Table 1. Model Parameters region

load range (kW)

c1

c2

e

a1

b0

b1

b2

Kp

Ki

first second third

[0.40, 0.75] [0.75, 1.00] [1.00, 1.20]

0.7132 0.7076 0.7403

0.5402 0.6499 0.9183

0.8 0.8 0.8

[-0.3292, -0.4092] [-0.3679, -0.4346] [-0.3858, -0.4493]

[55.48, 50.1] [13.96, 13.03] [49.01, 46.75]

[38.43, 37.07] [61.69, 60.35] [35.75, 36.85]

[0, 0] [7.167, 7.475] [0, 0 ]

11.38 8.384 7.565

0.0078 0.0074 0.0057

Ind. Eng. Chem. Res., Vol. 44, No. 8, 2005 2853 Table 2. Performance Comparison

testing

criteria

conventional PID parameter

set-point change

overshoot (°C) settling time (s) max error (°C) settling time (s) max error (°C) settling time (s)

0.6 650 -0.6 430 0.6 460

disturbance (flow rate increase) disturbance (flow rate decrease)

predictive PID parameter 0.15 250 -0.2 270 0.2 250

5. Conclusions

Figure 11. Change of the air flow rate for the experiment.

Figure 12. Temperature using a conventional PID control method.

Because of human error or time drifting, a well-tuned PID controller will heavily deteriorate the system performance. Although many methods are developed to detune the PID controller, it is very difficult to obtain optimal settings because it is not easy for the process engineer to understand the advanced strategy. Hence, a novel receding-horizon optimization strategy with two level control structures, based on the GPC criterion and CARIMA model, has been designed for a cooling-coil system. The purpose of the higher level is to minimize the sum of square errors between the predicted and desired output trajectories with an additional term weighting the projected control increment. Through minimization of the criterion and tuning of the lower level PID controller parameters, a satisfied control quality can be obtained for a wide range of operating conditions. Simulation and experiments show that the proposed controller can rapidly reject the effects of both static and dynamic disturbances. The performance of a cooling-coil system is improved compared with that of a conventional PID controller. We have also shown that energy economics in the HVAC system can be effectively implemented by the proposed control scheme. Acknowledgment

Figure 13. Temperature using a receding-horizon optimization algorithm.

This work was supported by the National Natural Science Foundation of China under Grant 60474051 and the Key Technology and Development Program of Shanghai Science and Technology Department under Grant 04DZ11008 and partly by the Specialized Research Fund for the Doctoral Program of Higher Education of China (Grant 20020248028). The authors are grateful to anonymous reviewers for their valuable recommendations. Appendix

rate of the cooling water, the set point of the temperature is the same at time t ) 1500 s. Third, when the air flow rate is increased to 80% of the full range, which leads to a decrease in the flow rate of the cooling water, the set point of the temperature is the same at time t ) 2200 s. Figures 11 and 12 give comparisons of the proposed controller and a well-tuned PID controller in the coolingcoil system. It is shown that the proposed strategy has a faster rise time and smaller temperature variations. As can be seen in the figures, the overshoot is only up to 0.2 °C with the proposed algorithm, while that of a conventional PID control algorithm is larger than 0.7 °C. We summarize the performances of the rise time and overshoots between the two methods (shown in Table 2). The simulation and results show that the proposed algorithm economizes the energy under the same conditions.

The criterion given by eq 5 can be rewritten as

J(k,W) ) [r - yˆ ]2 + λ[u]2 ) (k,W)T(k,W) + λ[WT(k) e(k)]T[WT(k) e(k)] (10) where

rT ) [r(t+1), ..., r(t+N)] yT ) [yˆ (t+1), ..., yˆ (t+N)] uT ) [∆u(k), ..., ∆u(k+N-1)] (k,W) ) r(k) - yˆ (k+j|k) Differentiating this expression twice with respect to W, we obtain

2854

Ind. Eng. Chem. Res., Vol. 44, No. 8, 2005

∂J(k,W) ∂(k,W) ) (k,W) + ∂W ∂W ∂[WT(k) e(k)] ∂J(k-1,W) + (11a) λWT(k) e(k) ∂W ∂W ∂2J(k,W) ∂W

2

) (k,W)

∂2(k,W) ∂W

+

2

∂(k,W) ∂(k,W) + ∂W ∂W

2λe(k) eT(k) +

∂2J(k-1,W) ∂W2

(11b)

R(k)-1 ) {R(k-1) + S[k,W*(k-1)] S[k,W*(k-1)]T}-1 {R(k-1) + S[k,W*(k-1)] S[k,W*(k-1)]T}-1e(t) {e(k)T{R(k-1) + S[k,W*(k-1)] S[k,W*(k-1)]T}-1 + 1/λ}-1e(k) {R(k-1) + S[k,W*(k-1)] S[k,W*(k-1)]T}-1 Denoting

P(k) ) R(k)-1 and Q(k) ) {R(k-1) + S[k,W*(k-1)] S[k,W*(k-1)]T}-1

where

(k,W) ) r(k+j) - yˆ (k+j|k)

then

∂[WT(k) e(k)] ∂WT ∂eT ) e(k) + W(k) ) e(k) ∂W ∂W ∂W Because W*(k-1) is optimal at k - 1, the following equation holds:

|

∂J(k-1,W) ∂W

W*(k-1)

)0

(12)

When eq 12 is substituted into eq 11a, the first derivative at W*(k - 1) can be written as

|

∂J(k,W) ∂W

W*(k-1)

|

∂(k,W) + ∂W W*(k-1) T λ[W*(k-1)] e(k) e(k) (13)

) [k,W*(k-1)]

The optimal W*(k) is very close to W*(k-1), because k is big enough, and then the following approximation is correct:

{

|

∂2J(k,W) ∂W

2



|

∂2J(k,W)

W*(k-1)

∂W

2

(14)

W*(k)

Using eqs 8, 13, and 14, the optimal vector W*(k) is written as

W*(k) ) W*(k-1) + R(k)-1{[k,W*(k-1)] S[k,W*(k-1)] λ[W*(k-1)]Te(k) e(k)} (15)

{

R(k) )

|

∂2J(k,W) ∂W2

W*(k)

|

∂(k,W) S[k,W*(k-1)]) ∂W

(16)

W*(k-1)

To avoid the matrix inversion in eq 15, a known lemma will be used in the procedure of computing the optimal control variable.19 Therefore, substituting eq 14 into eq 16 and applying the lemma results in

R(k) ) R(k-1) + S[k,W*(k-1)] S[k,W*(k-1)]T + 2λe(k) e(k)T Therefore

which is eq 9b. Apply the known lemma about matrix inversion again, giving assignment

Q(k) ) {R(k-1)-1 - R(k-1)-1S[k,W*(k-1)] {S[k,W*(k-1)]TR(t-1)-1S[k,W*(k-1)] + 1/λ}-1[S(k,W*(k-1))]TR(t-1)-1 Thus

Q(k) ) P(k-1) - λ

P(k-1) S(k) ST(k) P(k-1) λST(k) P(k-1) S(k) + 1

which is eq 9c.

O[W*(k) - W*(k-1)] f 0

where

Q(k) e(k) eT(k) Q(k) P(k) ) Q(k) - λ T λe (k) Q(k) e(k) + 1

Literature Cited (1) ASHRAE. ASHRAE handbooksfundamentals; American Society of Heating, Refrigerating and Air-Conditioning Engineers Inc.: Atlanta, GA, 1997. (2) Astrom, K. J.; Hagglund, T. PID Controllers: theory, design, and tuning; Instrument Society of America: Research Triangle Park, NC, 1995. (3) Prabhat, A.; Lakshminarayanan, S. Tuning proportionalintegral-derivative controllers using achievable performance indices. Ind. Eng. Chem. Res. 2003, 42 (22), 5576-5582. (4) Rahmati, A.; Rashidi, F.; Rashidi, M. A hybrid fuzzy logic and PID controller for control of nonlinear HVAC systems, IEEE International Conference on Systems, Man and Cybernetics; IEEE: Piscataway, NJ, 2003; pp 2249-2254. (5) Wu, J.; Cai, W. J. Development of an adaptive neuro-fuzzy method for supply air pressure control in HVAC system. IEEE International Conference on Systems, Man and Cybernetics; IEEE: Piscataway, NJ, 2000; pp 3806-3809. (6) Nassif, N.; Kaji, S.; Sabourin, R. Evolutionary algorithm for multi-objective optimization in HVAC system control strategy. IEEE Annual Meeting of Fuzzy Information; IEEE: Piscataway, NJ, 2004; pp 51-56. (7) Chow, T. T.; Zhang, Q. G.; Lin, Z.; Song, C. L. Global optimization of absorption chiller system by genetic algorithm and neural network. Energy Buildings 2002, 34 (1), 103-109. (8) Bi, Q.; Cai, W. J.; et al. Advanced controller auto-tuning and its application in HVAC systems. Control Eng. Pract. 2000, 8 (2), 633-644. (9) Dexter, A. L.; Haves, P. A robust self-tuning controller for HVAC applications. ASHRAE Trans. 1989, 2, 431-439. (10) Qin, S. J.; Badgwell, T. A. A survey of industrial model predictive control technology. Control Eng. Pract. 2003, 11 (7), 733-764.

Ind. Eng. Chem. Res., Vol. 44, No. 8, 2005 2855 (11) Virk, G. S.; Loveday, D. L. A comparison of predictive, PID and on/off control techniques for energy management control. ASHRAE Trans. 1991, 97 (2), 3-10. (12) Jorgl, H. P.; Pargfrieder, J. An integrated control system for optimizing the energy consumption and user comfort in buildings. IEEE International Symposium on Computer Aided Control System Design Proceedings, Glasgow, Scotland, U.K., Sept 2002; IEEE: Piscataway, NJ, 2002; pp 127-132. (13) Cho, S. H.; Zaheer, M. Predictive control of intermittently operated radiant floor heating systems. Energy Convers. Manage. 2003, 44 (8), 1333-1342. (14) Lu, L.; Cai, W. J.; et al. HVAC system optimizationcondenser water loop. Energy Convers. Manage. 2004, 45 (4), 613663. (15) Salsbury, T. I. A temperature controller for VAV airhandling units based on simplified physical models. ASHRAE HVAC&R Res. J. 1998, 4 (3), 200-214.

(16) Clarke, D. W. Generalized Predictive Control. Automatica 1987, 23 (5), 149-16. (17) Mayne, D. Q.; Rawlings, J. B.; et al. Constrained model predictive control: stability and optimality. Automatica 2000, 36 (6), 789-814. (18) Cohen, G. H.; Coon, G. A. Theoretical consideration of retarded control. ASHRAE Trans. 1953, 75 (2), 827-834. (19) Ljung, L.; Soderstrom, T. Theory and practices of recursive identification; MIT Press: Cambridge, MA, 1983; pp 24-33.

Received for review January 18, 2004 Revised manuscript received January 20, 2005 Accepted February 7, 2005 IE0499411