Physics-informed hierarchical data-driven predictive control for building HVAC systems

WO2024164027A3PCT designated stage expired Publication Date: 2024-09-19DONG BING
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/US2024/017672
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-02
Filing Date
2024-02-28
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

Current data-driven predictive control strategies for building HVAC systems face challenges such as gradient vanishing and explosion issues due to recurrent architectures, and they often prioritize thermal comfort over indoor air quality, which is critical for environmental health, especially post-pandemic.

Method used

A physics-informed input convex neural network is developed for indoor environmental dynamics, coupled with a hierarchical data-driven predictive control strategy that optimizes both space cooling load and system energy usage, ensuring thermal comfort and indoor air quality while maintaining convexity and quasi-convexity in optimization problems.

Benefits of technology

The proposed solution effectively reduces energy usage by 35-72% while maintaining indoor temperature and CO2 concentration within set limits, demonstrating robust performance in tracking measurements and weather forecasts, and ensuring global optima in control strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2024017672_19092024_PF_FP_ABST
    Figure US2024017672_19092024_PF_FP_ABST
Patent Text Reader

Abstract

A programmed HVAC control system employing a physics -informed input convex neural network (PINN) to predict indoor environmental dynamics with 24 timesteps ahead. The PINN had physically consistent behavior to different control input and was used to design a hierarchical data-driven predictive control strategy to minimize both the space cooling load and airside coil load. Results indicated that the hierarchical data-driven predictive control strategy with weather forecasting had a similar performance with measured weather inputs. On average, a HDDPC strategy using the present invention can reduce more than 35% of total cooling energy and 70% of total airside coil energy with the guarantee of indoor thermal comfort and air quality.
Need to check novelty before this filing date? Find Prior Art

Description

TITLEPHYSICS-INFORMED HIERARCHICAL DATA-DRIVEN PREDICTIVE CONTROL FOR BUILDING HVAC SYSTEMSCROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present application claims priority to US Provisional Application No. 63 / 482,890, filed on February 2, 2023.BACKGROUND1 . FIELD OF THE INVENTION

[0002] The present disclosure relates to building heating, ventilating, and air conditioning (HVAC) systems and, more specifically, to a predictive control strategy for reducing energy use while guaranteeing indoor thermal comfort and air quality.2. DESCRIPTION OF THE RELATED ART

[0003] In the U.S., the building sector accounts for 74% of electricity use and 40% of primary energy use. Within the building sector, commercial building heating, ventilating, and air conditioning (HVAC) system contributes to more than 410 billion kWh of energy usage and generates 16 percent of all U.S. carbon dioxide emissions. However, 30% of the energy was wasted and 15% of the energy was wasted due to building control. One of the reasons for such a large waste is that the indoor environment is affected by many factors such as outdoor temperatures, solar radiation, occupants, and thermal lagging effect, but most control strategies do not consider all factors above and only react with current sensor readings. Therefore, improving energy efficiency and decarbonizing buildings are of great importance because it has a tremendous positive impact on our environment and energy security.Developing an advanced control strategy for the commercial HVAC system is crucial for achieving the goals.

[0004] Every day, people spend more than 90% of their time indoors. Indoor environmental quality is of great importance to people’s mental and physical health. Thermal comfort and indoor air quality are two typical indices of indoor environmental quality. To maintain indoor environmental quality, indoor temperatures need to be in a comfortable range to ensure thermal comfort, and indoor contaminant concentrations need to be under the threshold for good indoor air quality. Among many types of indoor contaminants, carbon dioxide is mostly used to quantity indoor air quality not only because of economical sensors off the shelf but also due to its nexus with other indoor contaminants. After the pandemic of coronavirus disease 2019, extended time indoors made people pay more attention to their indoor environment, which led to more strict ventilation suggestions from CDC and EPA.

[0005] HVAC systems are primarily used to regulate indoor environments and account for great portions of building energy usage. Therefore, advanced control strategies for HVAC systems will mitigate the energy-wasting issue greatly for the building sector. Among many advanced control strategies, model predictive control is the most promising because of its ability to consider multiple objectives. Research has indicated that model predictive control could provide 20-40% energy savings while maintaining good indoor environmental quality in different climate zones.

[0006] Traditional model-based predictive control requires robust predictive models, which are typically developed based on physics. The physical parameters help the model's accuracy. However, buildings are different from each other, and the types of HVAC systems are also different. Parameters of physics-based models would vary greatly and require domain expertise to develop even with the auto-tuning process, which impedes the adoption of model-based predictive control on a large scale. With the development of machine learning techniques, purely data-driven models provide great potential for scalable predictive models. In addition, most data-driven models lack the physical meaning of variables, which is important for building controls. Furthermore, many advanced control strategies aimed at improving energy efficiency will sacrifice comfort and indoor air quality, which will result in a loss of productivity.

[0007] In recent years, incorporating machine learning approaches into optimal control strategies started to emerge in different studies. According to the literature review, machine learning approaches were mostly used to 1) be a surrogate of the objective function, 2) decompose the optimal variables to low-level writable points in the control systemError! Reference source not found., 3) learn an agent-like control policyError! Reference source not found., and 4) replace the system dynamic models.

[0008] Among the four aforementioned aspects, most research studies focused on developing data-driven system dynamic models. Specifically, for optimal control of indoor environments, some have developed two ANN models to forecast indoor dynamics and thermal comfort. The models were coupled into a multi -objective MFC to balance energy cost and thermal comfort. Although the experiment demonstrated the performance of the proposed MPC strategy, the ANN models were not constructed to guarantee convexity, so the authors had to use a hybrid solver to avoid local optima.

[0009] In other studies, the data-driven models were developed as either physics- informed or input convex. Inspired by the one-step state-space model, the authors in Error! Reference source not found.Error! Reference source not found.one study proposed aneural state-space structure. The neural networks were developed to replace the state, control, disturbance, and output terms. Moreover, a recurrent architecture was used for multi-step prediction. Similarly on the inspiration but differently in the approach, the authors in Error! Reference source not found, incorporated physics-informed terms in the loss function to force a physically consistent behavior for the neural network. In both studies, the authors did not directly tackle the optimization problem. Instead, in the first few studiesError!Reference source not found.Error! Reference source not found., the authors used the neural network with an MPC-inspired loss function to learn a differentiable control law, while the authors in the second study developed a reinforcement learning framework to facilitate optimal control Error! Reference source not found.. Another physics-informed neural network developed by Error! Reference source not found, consists of two multi-step predictors. An encoder-LSTM-decoder model predicted unforced thermal dynamics. A physics-inspired model predicted energy accumulation in the building. The combining output from two predictors gave actual indoor temperature predictions. The neural network outperformed the RC model with physically consistent predictions, but no control strategy was developed accordingly.

[0010] As for convex approaches, Biinning et al. represented indoor thermal dynamics using a random forest with linear regression Error! Reference source not found., input convex neural network Error! Reference source not found., and physics-informed linear regressor Error! Reference source not found.. Since both models and problems were formulated to be convex, the authors directly solved optimization problems for predictive control strategies. The experiments demonstrated the control performance with significant savings in heating and cooling energy. However, recurrent architecture was used for multi- step prediction, and indoor air quality was not considered in the predictive control strategies.

[0011] Many research studies have demonstrated that model predictive control strategies have a great performance in balancing building energy cost and indoor comfort. However, it needs much expertise to develop, especially to develop a control-oriented model. Researchers reported that the model development typically takes 79 person-days, which accounts for 33% of the total effort required for the implementation and operation of MPC. A scalable model is needed for the large-scale implementation of MPC strategies.

[0012] Some data-driven models were proposed in research studies as a surrogate of indoor thermal dynamic models. Such models tend to predict one-step-ahead indoor dynamics. However, in predictive control strategies, multiple-step-ahead predictions are needed, which requires a recurrent architecture for one-step-ahead prediction models. Therecurrent structure will cause gradient vanishing and explosion issues. Although the issue can be addressed by the LSTM structure, the convexity of the model cannot be guaranteed due to non-convex activation functions. Therefore, a data-driven model without a recurrent architecture is needed for the multi-step prediction of indoor dynamics. Although many data- driven predictive control strategies were developed and evaluated, most of them considered thermal comfort as constraints. As another important indoor environmental quality index, indoor air quality was not considered in aforementioned studies. Therefore, a control-oriented data-driven model was developed in this study to describe the dynamic of indoor air quality and coupled into the data-driven predictive control strategy.

[0013] In summary, current research gaps of data-driven predictive control for building systems are that most studies leveraged recurrent architectures which have potential issues of gradient vanishing and explosion. Although LSTM architecture could address the issue, non-convexity from dynamic and time-varying built environment system would impede optimal control design. In addition, most data-driven predictive control strategies focused on indoor thermal comfort. Indoor air quality, which tracks much more attention now due to the pandemic, was hardly considered.BRIEF SUMMARY

[0014] The present invention is a predictive-control-oriented hierarchical data-driven model with physically interpretable behaviors and a predictive control strategy to balance HVAC system energy usage, thermal comfort, and indoor air quality. The present invention includes a physics-informed input convex neural network for indoor environmental dynamics that predicts indoor temperature and CO2 changes with physically constrained weights and connections. The present invention also includes a hierarchical data-driven predictive control strategy that optimizes both space cooling load and system energy usage with consideration of both thermal comfort and indoor air quality. The present invention additionally includes proof of the convexity of hierarchical data-driven predictive control (HDDPC) in different operation levels and situations, where the room-level optimization was proven to be convex while the system-level optimization was proven to be quasi-convex when free cooling can be used and convex otherwise. The present invention further includes an evaluation of the performance of the HDDPC comprehensively in three cases in which HDDPC was used to minimize energy usage of both levels while a) tracking indoor temperature measurement; b) maintaining predefined indoor environmental requirements without and c) with weather forecasts.BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING(S)

[0015] The present invention will be more fully understood and appreciated by reading the following Detailed Description in conjunction with the accompanying drawings, in which:

[0016] FIG. 1 is a schematic of an overall framework of data-driven predictive control strategy according to the present invention.

[0017] FIG. 2 is a schematic of a masked neural network for use with an approach according to the present invention.

[0018] FIG. 3 is a photograph of the outside of a test location along with a plan view of the testbed.

[0019] FIG. 4 is a series of graphs of a temperature model sanity check with different cooling loads on July 23rd. Light green lines were results with reduced cooling load. Orange lines were results with increased cooling load. Dark green lines were results with measured cooling loads. Grey lines were measurements.

[0020] FIG. 5 is a series of graphs of a CO2 model sanity check with different outdoor airflow on July 23rd. Light green lines were results with reduced outdoor airflow. Orange lines were results with increased outdoor airflow. Dark green lines were results with original outdoor airflow. Grey lines were measurements

[0021] FIG. 6 is a temperature model sanity check with different outdoor air temperature on July 23rd. Light green lines were results with decreased outdoor air temperature. Orange lines were results with increased outdoor air temperature. Dark green lines were results with measured outdoor air temperature.

[0022] FIG. 7 is a temperature model sanity check with different solar radiation on July 23rd. Light green lines were results with decreased solar radiation. Orange lines were results with increased solar radiation. Dark green lines were results with measured solar radiation.

[0023] FIG. 8 is a series of graphs of case 1 simulation results. The plot on the top shows the comparison between simulated and measured indoor temperature. The second plot shows the comparison of cooling energy with / without using DDPC. The third plot shows that comparison between simulated and measured indoor CO2 concentration. The last plot shows the comparison of coil energy with / without using DDPC.

[0024] FIG. 9 is a series of graphs of the control inputs of Case 1. Plot show supply airflow rate (top), supply air temperature (middle), and outdoor air damper position (bottom) against outdoor air temperature.

[0025] FIG. 10 is a series of graphs of distributions of outdoor temperature prediction of each time step (colored) and measurement (black).

[0026] FIG. 11 is a series of graphs of distributions of solar radiation prediction of each time step (colored) and measurement (black).

[0027] FIG. 12 is a pair of graphs of overall indoor temperature (top) and CO2 concentration (bottom) from measurement (red), Case 2 simulation (blue), and Case 3 simulation (green).

[0028] FIG. 13 is a pair of plots of Control inputs of measurement (grey) and Cases 2(dark red) and 3 (yellow). Plot shows supply airflow rate (top) and outdoor air damper position (bottom) against outdoor air temperature.

[0029] FIG. 14 is a pair of graphs of total cooling energy (top) and airside coil energy (bottom) of measurement (green), Case 2 (brown), and Case 3 (light blue).

[0030] FIG. 15 is a series of graphs indoor temperature (top), cooling load (middle), supply airflow rate (bottom) results of cases 2 (red) and 3 (green) on July 28th.

[0031] FIG. 16 is a graph of the outdoor temperature forecast on July 15 th.| 0032 | FIG. 17 is a graph of the solar radiation forecast on July 15th.

[0033] FIG. 18 is a graph of the outdoor temperature forecast on July 28th.

[0034] FIG. 19 is a graph of the solar radiation forecast on July 28th.DETAILED DESCRIPTION

[0035] Referring to the figures, wherein like numerals refer to like parts throughout, there is seen in FIG. 1 a building heating, ventilating, and air conditioning (HVAC) control system 10 that may be implemented in a combination of hardware, firmware, and / or software to implement discrete calculations and functionality for controlling an HVAC system to optimize energy consumption while constrained by thermal comfort and indoor air quality requirements. As seen in FIG. 1, the various hardware and programmable components include an occupancy prediction module 12 programmed to output an occupancy prediction 14 for a location, a weather forecast module 16 programmed to provide an outdoor temperature and solar radiation prediction 18; and a physics-informed input convex building model 22 programmed to output a prediction of indoor environment dynamics 24. An HVAC system control module26 uses outputs from occupancy prediction module 12, weather forecast module 16, and a physics-informed input convex building model 22 to output an optimized control sequence 28 that can be implemented in a building HVAC system 30 to optimize energy consumption while maintaining user supplied constraints 32, such as predefined level of thermal comfort and indoor air quality. As seen in FIG. 1, occupancysensors 34 and a weather station 36 may be used to collect occupancy and weather data for storage in a database 38 and subsequent retrieval by a sensor data module 40 for use by the occupancy prediction model 12 and the weather forecasting module 16.

[0036] As described above, the present invention may be a system, a method, and / or a computer program associated therewith and is described herein with reference to flowcharts and block diagrams of methods and systems such as FIG. 1. The flowchart and block diagrams illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer programs of the present invention. It should be understood that each block of the flowcharts and block diagrams can be implemented by computer readable program instructions in software, firmware, or dedicated analog or digital circuits to form a physical device, referred to herein as a system. These computer readable program instructions may be implemented on the microcontroller or microprocessor of a general purpose computer, a special purpose computer, or other programmable data processing apparatus (referred to herein as a controller) to produce a machine that implements a part or all of any of the blocks in the flowcharts and block diagrams. Each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that each block of the block diagrams and flowchart illustrations, or combinations of blocks in the block diagrams and flowcharts, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions. For example, the controller may comprise any conventional hardware or firmware capable of being programmed to run conventional machine learning and artificial intelligence algorithms, such as neural networks capable of being implemented through the use of platforms like TensorFlow and MATLAB.

[0037] Gray-box models are widely used in model predictive control strategies. In a previous study, a physics-based 3R2C building thermal model was used to predict indoor temperature changes in a student office. Meanwhile, the physics-based indoor air quality model was developed and linearized to a state-space representation, and coupled with the building thermal model. However, as the physics-based model requires expertise to develop and vanilla black-box models were not designed for control purposes, the present invention involves a control-oriented data-driven model inspired by the structure of the physics-based model.

[0038] A general form of the coupled one-step model is x(t + 1) = λ x(t) + Bu(t) + Ew(t), where x, u, and w are state, controllable, and disturbance variables, respectively; A, B, and E are coefficient matrices. For predictive control purposes, the one-step state-space model was reformed as a multi-step state-space model:

[0039]

[0040] Where h is the prediction horizon; Ah, Bh, Eh, and are obtained based on coefficient matrices and expressed as:

[0041]

[0042]

[0043]

[0044] When solving the optimization problem in each control step, the multi-step state-space model, rather than the one-step state-space model, plays the key role of predicting indoor environmental dynamics. Therefore, this research seeks to use a black-box model as a surrogate of the multi-step state-space model. Because the matrices Bhand Ehare lower triangular, for each control time step, the prediction of the next step only relates to historical and current control and disturbance variables. Inspired by such nature, the present invention uses a partially connected neural network to predict indoor dynamics.

[0045] In the partially connected neural network, the neurons of each layer were separated into different blocks. Each block represents different time steps and only contains information no more than this time step. In other words, each block only leverages current and historical information and contains no future information. To achieve this characteristic, each block needs to be connected in a special way which forces the weights related to future information to be zeros. By this means, the neural network was partially connected. The approach is called a masked neural network because some neurons are ‘masked’ with respect to certain neurons.

[0046] More specifically, the connection between different layers can be formulated as follows:

[0047] For the first layer,

[0048]

[0049] Wherez1(i)(i ∈ [t, t + h - 1]) is the output of the block in the 1st layer that contains information no more than the fih time step, which can contain a certain number of neurons; 91 is the activation function of the first layer.

[0050] Different from fully connected neural networks, the weight matrix of the first layer,w1, is expressed as:

[0051]

[0052] Whereis the weight related to the th block of the 1st layer. The‘masked’ weight matrix allows the neurons in each block to leverage only current and historical information.

[0053] Similarly, for hidden layers:

[0054]

[0055] Where zj(i)is the output of the block in the jth layer that contains information no more than the fih time step; and is the activation function of the / th layer.

[0056] The weight matrix of the / th layer, wj, is expressed as:

[0057]

[0058] Wherewi-j is the weight related to theith block of the / th layer.

[0059] Lastly, for the output layer:

[0060]

[0061] The weight matrix of the output layer,wo, is expressed as:

[0062]

[0063] Note that in the formulation and this study, biases were not considered.

[0064] To be more explicit, the graphical interpretation is shown in FIG. 2. In the input layer, the disturbances are also included as features. In essence, disturbances can be treated in the same way as input variables. Therefore, including disturbances does not cause the loss of generality for the aforementioned formulations. Using the aforementioned weight matrices, partial connections can be achieved in each layer. Block t of Layer 1 contains the information of thetth timestamp, which are current values of the state, input, and disturbance variables, while Block t + 1 of Layer 1 contains the information of the tth and t + 1th time steps and so on. In the hidden layers, each block receives current and historical information. Exemplifying by Block t + 2 of Layer 3, it receives outputs of Blocks t, t + 1, and t + 2 in Layer 2, which come from corresponding outputs from Layer 1 and hence input features.Lastly, in the output layer, the prediction ofx(t + 2) iscalculated based on the value of x(t), u(t), w(t), u(t + 1), w(t + 1) frominputs, which indicates that future control inputs and disturbances have no effect on its value. Such characteristics embedded physical information into the neural network. For example, the outdoor temperature at 6:00 PM does not affect theindoor temperature at 1:00 PM of the same day. If the neural network is fully connected, this nature does not hold anymore, which indicates that all future inputs affect the prediction of a given time step which is not true in the actual indoor temperature dynamics. Moreover, to facilitate optimization, the weight of each neuron was set as a non-negative value. The activation function was selected to be convex. In this research study, the ReLU activation function was used. Such, the neural network is constructed as an input convex neural network Error! Reference source not found..

[0065] Even though the neural networks were formed to be physics-informed and convex with respect to inputs, they still need to be tested to guarantee the control performance. The model sanity check includes three parts:

[0066] Effect of accumulative errors: in a real implementation and model training, the prediction of next-h-hour indoor temperature and CO2 was based on the current measurement, along with control inputs and disturbances. However, in a simulation environment, such measurement was not included. Instead, the model prediction was treated as the response from the real environment and used recurrently in the next step, which would cause accumulative errors. Therefore, the model performance under such a recurrent process needs to be tested.

[0067] Responses to control inputs: there is a need to check whether the neural networks have reasonable responses to different control inputs. For example, the indoor air temperature and CO2 prediction should be higher (lower) than the measurement if less (more) cooling load (fresh air) was provided. On the other hand, the effects of future inputs on the current time step prediction need to be tested by different scenarios.

[0068] Response to disturbances: Lastly, there is a need to check the response of neural networks with different disturbance inputs. For the indoor air temperature neural network, the prediction should respond physics-consistently with disturbances.

[0069] Therefore, in this study, the model sanity' was checked by following cases with different scenarios:

[0070] All input features are the same as measurement, except that the input indoor state values were from previous time step.

[0071] The control inputs were increased or decreased by a certain amount. Different scenarios were tested in each case. In the first scenario, all control inputs were changed. In the second scenario, the first control input was the same as the measurement, but the remaining control inputs were changed, and so on. In the last scenario, the control inputswere the same as the measurement except for the last one. Different scenarios were to test if future inputs have effects on the prediction for the current time step.

[0072] It is essentially the same as the second model sanity check, but instead of control inputs, disturbance inputs were changed.

[0073] Weather forecasting

[0074] Prior research studies show that long short-term memory (LSTM) neural networks are widely used for weather forecasting and have better performance compared to the ANN models. Therefore, two LSTM neural networks were developed to forecast outdoor air temperature and solar radiation for this study.

[0075] Specifically, for the outdoor temperature LSTM model, the input features were historical outdoor temperature and solar radiation, time of the day, and day of the year. For the radiation LSTM model, the input features were historical solar radiation, time of the day, and day of the year. The outputs were forecasts for the next hours with 15-minute time intervals. In this study. 6 hours was the prediction horizon. The input sequence lengths were 6 hours for the temperature forecast model, and 3 days for the solar radiation forecast model. Both models had two LSTM layers with 50 neurons. The loss function was MSE loss for the outdoor temperature LSTM model. For the solar radiation LSTM model, the loss function had an additional term to penalize negative predictions:

[0076] Loss = MSE + ∑(—min(ŷ,0)) (5)

[0077] The weather data was acquired from Syracuse University Weather Station. Two-year data of 2019 and 2020 was used to train the models, and the first half-year data in 2021 was used for testing.

[0078] Hierarchical data-driven predictive control framework

[0079] Based on data-driven indoor dynamic and w eather forecasting models, a hierarchical data-driven predictive control (HDDPC) strategy was developed for the HVAC system. The room and system descriptions were the same as the ones in our previous study (FIG. 3). In short, it was a small student office with an air handler unit and four VAVs. In this study, four VAVs were treated as a whole, and therefore the office was treated as a single zone. The predictive control strategies had both room-level and system-level controls.

[0080] For the room-level predictive control strategy, the cooling load from the HVAC system was optimized with the constraints of indoor thermal comfort:

[0081]

[0082]

[0083]

[0084] Where Phvac is the cooling load from the HVAC system; Troomis indoor air temperature; froom(x) is the input convex neural network of indoor thermal dynamics. The lower and upper bars represent the lower and upper bounds, respectively.

[0085] After room-level optimization was solved, on the system level, the air-side coil load was optimized with the constraints of indoor air quality and system operation limits:

[0086]

[0087]

[0088]

[0089]

[0090]

[0091]

[0092]

[0093] Where Pcoil is the air-side coil load; a, Qsup, and Tsup are outdoor air fraction in total supply airflow, total supply airflow rate, and supply air temperature, respectively, which are system-level optimal variables;CP and P are specific heat and density of the air, respectively; Tmixand Tambare mixed and ambient air temperature, respectively. As connections between system-level and room-level optimizations, Troom was treated as constants from room-level optimization, and Phvac was calculated by supply temperature and airflow rate which are related with system-level optimal variables. To solve this optimization problem, the COBYLA algorithm from the SciPy package was used, which was the same as prior research studies.

[0094] Proof of convexity analysis for HDDPC

[0095] The local optima affected the performance of the predictive control strategy significantly. However, a convex optimization problem leads to global optima. To guarantee a global optimum, the hierarchical DDPC was used and approved convexity as follows.

[0096] For room-level optimization, the objective function was solely related to the cooling load without decomposition to any low-level variables. As for constraints, the lower and upper bounds of optimal variables were convex; and the room temperature constraints were also convex because the indoor thermal dynamic model was input convex. Therefore,room-level optimization is essentially a least square problem with convex constraint functions.

[0097] For system-level optimization, the equalify constraint can be coupled into the objective function:

[0098]

[0099] The system-level objective function is essentially the summation for the quadratic composition with affine mapping. Based on the operation that preserves convexity, the system-level objective function is a convex function.

[0100] Eliminating the variable by substituting the equalify constraint (15) into (13):which is a quasi-convex constraint function because the lower and upper contour sets are convex sets.

[0102] As for other constraint functions, constraints (11) and (12) are bounds and therefore convex constraints. The constraint (14) is constructed as input convex and therefore also a convex constraint. Therefore, the system-level optimization is a quasi-convex problem.

[0103] Because room-level and system-level optimizations were either convex or quasi-convex, the proposed hierarchical DDPC strategy' could reach global optima when solutions were feasible.

[0104] Simulation case studies

[0105] To comprehensively evaluate the performance of the proposed HDDPC strategy, three simulation cases were studied.

[0106] Case 1: Evaluate energy reduction potential while tracking measured temperature dynamics. In this case, the constraints of both levels were as follows:

[0107]

[0108]

[0109]

[0110]

[0111]

[0112] For indoor temperature difference, the 1.8 °F error bound was decided based on the temperature sensor error and model error. The bounds of supply airflow rate and temperature were based on system settings and actual measurement data. For the CO2 measurements, the indoor concentration hardly exceeded 600 PPM. Therefore, a strict CO2requirement of 550 PPM was given to test DDPC's performance in maintaining IAQ. As input features of physics-informed input convex neural networks, the measured outdoor weather data (both temperature and solar radiation) were used.

[0113] Case 2: Evaluate energy reduction potential with measured weather information while maintaining indoor temperature and CO2 concentration in a range. Most constraints were the same as in the first case, except70 < Troom< 75 F, 6 ; 00 AM ~ 0 ; 00PM

[0114] 65 < Tro(rm< 80 F, otherwise

[0115] Cas 3: Evaluate energy reduction potential with predicted weather information while maintaining indoor temperature and CO2 concentration in a range. The third case was similar to the second case. However, weather forecasting from LSTM neural networks was used in input features. This case aimed to simulate a real implementation situation and test the robustness of the HDDPC w ith proposed weather forecast models.

[0116] Results and discussions

[0117] Model sanity check results

[0118] Data measured from a student office was used to evaluate the performance of proposed neural networks and DDPC strategy. The description of the office room can be found in our previous work. Briefly, the measured data was collected every 5 minutes and resampled as 15 minutes and included indoor environmental information, weather information, and HVAC operational information.

[0119] The input convex neural network (ICNN) performance improved significantly with more than four-week training data. In this study, with the physics-informed structure, it was found that starting from three-week training data could guarantee prediction errors less than sensor errors, which was 0.9 °F for temperature sensors and 50 PPM for CO2 sensors. Since the indoor air quality data was available after June 23rd, 2021, our testing was started on July 14th, 2021. To mimic a real implementation, the amount of training data was increased by days as the testing date moved. Because students went on vacation after the week of August 13th, the simulation study stopped on August 13th. The input features of the indoor temperature model included the current step indoor temperature and 6 hours, with a 15-minute resolution, of cooling loads, solar radiation, occupant numbers, and ambient temperature. The input features of the indoor CO2 model were the current sensor reading and 6 hours of fresh airflow rate and occupant number w ith the same time interval. The outputs of the two models were the next 6-hour indoor temperature and CO2 concentration.respectively. Both models were constructed with 3 hidden layers, with 40 neurons in each block.

[0120] In the model training and testing, the input state values were from the measurement. However, in the simulation, the response from indoor dynamic models was treated as from the real indoor environment. Therefore, the results of the model sanity check case was presented first, in which the prediction was used as next-step input to evaluate accumulative model errors during each testing day.

[0121] Model sanity check for actual control inputs

[0122] As show n in dark green lines in FIG. 4 and FIG. 5, indoor temperature and CO2 concentration predictions on July 23rd followed the same trend as the measurement over different steps if the actual control input was used. Even without correction from measured data at each time step, the MAPE was around 1% for the temperature prediction and 4.2% for the CO2 prediction. The absolute error of both kinds of predictions was within the sensor errors at the most time steps. Both models exhibited such performance on each testing day, and the overall model performance is listed in Table 1 and Table 2. The average indoor temperature prediction MAPE during the one-month test was around 1.1% for all prediction steps. The average MAE of indoor temperature prediction was around 0.8 °F for all prediction steps, which was less than the temperature sensor error (0.9 °F). On the other hand, the average indoor CO2 prediction MAPE and MAE were around 4.7% and 21 PPM, respectively, which was also less than the sensor error (50 PPM).

[0123] Table 1 . Average MAPE (%) and MAE (°F) of indoor temperature model of each step during the testing period.

[0124] Table 2. Average MAPE (%) and MAE (PPM) of indoor CO2 model of each step during the testing period.

[0125] Model sanity check for perturbed control inputs

[0126] For the model sanity check with more and fewer control inputs, the results of July 23rd only were presented to illustrate, as shown in light green and orange lines in FIG. 4 and FIG. 5.

[0127] To check indoor temperature model responses. 50% less and 100% more cooling loads were given in the aforementioned two cases, respectively. In each case, 24 scenarios were tested, in which different steps of cooling load were changed.

[0128] Case 1: Model response with less cooling loads. In the first plot of FIG. 4, in which all cooling loads were changed, indoor temperature deviated from measurement. The indoor temperature prediction increased significantly in the case without any cooling load. The maximum outdoor temperature was 80 °F, and the maximum solar radiation was 1020W / m2 on July 23rd. Also considering internal heat gain from occupants and devices, such an increase was physically interpretable.

[0129] Case 2: Model response with more cooling loads. When 100% more cooling load was consistently given, the indoor air temperature prediction decreased but not incredibly. For the scenarios in which the cooling load was not changed in the first certain steps, the corresponding temperature predictions converged the results with the measured cooling load.

[0130] For the indoor CO2 model. 2 cases were tested with 24 different scenarios.

[0131] Case 1: Model response with less fresh airflow rate. For the case with more outdoor airflow rate, doubled fresh air was given. For the other case, 30 CFM of fresh air was given. Similarly, the indoor CO2 prediction increased (decreased) with less (more) outdoorairflow rate. Even with the maximum outdoor airflow rate, the indoor CO2 predictions were still around 400 PPM, which was similar to the outside CO2 concentration.

[0132] Case 2: Model response with more fresh airflow rate. On the other hand, when less outdoor air was given, the indoor CO2 concentration increased during the day and reached a maximum of more than 600 PPM in the afternoon when there were 6 students in the office. When the fresh air flow rate was kept the same as the measurement in the first certain time steps, the corresponding CO2 prediction was neither affected by the future fresh airflow rate, as shown in scenarios 2 to 24. Such behavior in both models indicated that future control inputs didn’t affect the prediction for the current steps, which validated our physics- informed model structure.

[0133] Model sanity check for disturbances

[0134] For the model sanity check with different disturbances, similarly, the temperature model response with increased (decreased) outdoor temperature and solar radiation, respectively, w ere presented in FIG. 6 and FIG. 7. For the case with different outdoor air temperatures, measured values were increased (decreased) by 10 °F shown as light green (orange) lines in FIG. 6. Similarly, for the case with increased solar radiation, measured values were increased by 375 watts per square meter and set the radiation to 0 in another case with decreased solar radiation, shown as light green and orange lines in FIG. 7, respectively. As indicated in the two figures, the indoor temperature model had physics- consistent predictions with different disturbances. Moreover, scenarios 2 to 24 indicated that the future outdoor temperature and solar radiation had no effect on the prediction of the current time step, which validated our model structure.

[0135] In summary, the model prediction errors were within sensor errors for different prediction steps. Moreover, with different control inputs and disturbances at different prediction steps, the models had physically consistent responses, which benefited from physics-informed model structures. Therefore, in the study of the DDPC strategy, the model outputs were treated as responses from the real building environment.

[0136] Simulation results

[0137] Case 1: HDDPC by tracking indoor temperature measurements

[0138] The results of the case 1 simulation are shown in Figures FIG. 8 and FIG. 9. Most of the time, simulated indoor temperature can track a similar trajectory as the measurement with less cooling load. The sudden increase in indoor temperature on August 11th and 12th was due to a system fault caused by fire alarms. The cooling load reduction w as 36.27% on average and 47.25% at maximum. Such a reduction was due to the nature ofthe predictive control strategy to leverage the thermal inertia of the building and heat loss through the ambient environment. As for indoor air quality, different from the measurement, with the proposed DDPC strategy, the indoor CO2 concentration never went above the requirement. It w as also thanks to the nature of the predictive control strategy. Since the occupant schedule was known ahead of time, the DDPC strategy could control the system accordingly to meet the requirements. With a similar temperature trajectory and guarantee of indoor air quality, the DDPC strategy significantly reduced air side coil energy usage, as shown in the bottom plot of FIG. 8. Two main reasons contributed to such a reduction.

[0139] First, except for faulty and minimum airflow rate, most of the measured airflow rate lay in the region between 75 and 90°F, as shown in the top plot of FIG. 9. Differently, most of the simulated temperature lay in the left region of 75°F ambient temperature because the DDPC strategy could leverage cool outside air more than the default control strategy . Moreover, compared to the measurement, most of the simulated airflow' rates were less than 1000 CFM due to reduced cooling load.

[0140] Second, most of the measured supply air temperatures were between 55 and 60 Fahrenheit. It is unnecessary because the measured indoor temperature could be 70 Fahrenheit or even less. However, the most simulated supply air temperature w as betw een 60 and 65 Fahrenheit. The simulated supply air temperature decreased when the outdoor air temperature was more than 75 Fahrenheit to meet the increased cooling demand as shown in the middle plot of FIG. 9.

[0141] Third, during the test period, the HVAC system operated with a 100% outdoor airflow' rate whatever the outside temperature w as. It was to reduce the infection risk of COVID- 19, as suggested by CDC. However, with the proposed DDPC strategy , the outdoor air fraction changed dynamically as shown in the bottom plot of FIG. 9. Most of the time, the simulated outdoor air fraction lay at maximum (minimum) when the outside air temperature was below 70°F (above 75 °F). The fraction in between was either in seeking to meet the required cooling load or indoor air quality'.

[0142] Therefore, by the combined effect of reduced and shifted airflow rate, increased supply air temperature, and more dynamic outdoor air fraction, the average air side coil energy reduction over the whole simulation period was 72.72%.

[0143] Case 2 & Case 3: Maintaining indoor environmental quality without / with weather forecast

[0144] Different from Case 1, Cases 2 and 3 were simulated to evaluate HDDPC’s energy reduction potential under pre-defined indoor temperature and CO2 bounds. Thedifference between Cases 2 and 3 was without and with actual weather information. The measured weather data was used in Case 2 as an ideal situation, while the weather forecasting was used in Case 3 for a real application situation.

[0145] Results of weather forecasting

[0146] LSTM models were developed for next-6-hour outdoor air temperature and solar radiation forecasts, respectively. After training with 2-year measured data, Table 3 and Table 4 show the overall performance during the testing period. Both models had the most accurate predictions in the 1 st step. The model performances degraded as the prediction time step moved aw ay from the current time step. As shown in FIG. 10, the increased error in outdoor air temperature prediction w as due to the underestimation of the actual temperature. Such underestimation increased with the increase of prediction steps. On the other hand, as shown in FIG. 11, the increased error of solar radiation prediction was due to the overestimation of low solar radiation when the prediction step was more than 12 and the underestimation of the peak solar radiation in all prediction steps. Nevertheless, most prediction results are aligned with the measured data with MAPE less than 4.5%. Therefore, the weather forecast by the proposed LSTM models was used in Case 3.

[0147] Table 3. Average MAPE (%) of outdoor temperature forecast of each step during the testing period.period.

[0149] Results of case 2 and 3

[0150] For Cases 2 and 3 simulations, the overall results were shown in FIG. 12 and FIG. 14, compared with the measurement. The supply air temperature shared a similar behavior to which in FIG. 9 and therefore was not shown in detail. Supply airflow rate and outdoor air damper position results were shown in FIG. 13. As indicated by the top plot in FIG. 12, the simulated temperature was higher than the measurement most time. Because less cooling load was supplied to the room by the room-level controller. Instead of increasing unboundedly, in the late afternoon, the simulated indoor air temperature was fixed at 75 Fahrenheit. As for indoor air quality, shown in the bottom plot in FIG. 12, at the beginning of each testing day. the simulated indoor CO2 concentration distribution was similar to the measurement because the room was unoccupied. Differently during the day, the simulated indoor CO2 concentration was less than 550 PPM, while the measurement sometimes violated the requirement between 11 AM and 5 PM. Comparing Cases 2 and 3, the underestimated weather conditions caused the insufficient cooling load, which was reflected by a wider interquartile range from 10 AM to 2 PM. Even with a sub-optimal cooling load compared to the ideal Case 2, most indoor temperature from Case 3 was still maintained below' 75 Fahrenheit after 2 PM. The indoor CO2 concentration from Case 3 was similar to which from Case 2. Most time, the concentration could be maintained below the requirement. The exception happened between 2 and 3 PM, in which the concentration was slightly higher than 550 PPM in a small number of time steps. Since the underestimated cooling load from the room-level controller resulted in a reduced fresh airflow rate.

[0151] As shown in FIG. 14. the proposed HDDPC strategy significantly reduced total space cooling load and airside coil energy usage in both Case 2 and Case 3. The average space cooling load reductions were 35.7% and 36%, respectively, for Case 2 and Case 3. The average airside coil energy' reductions were 72.7% and 72.8%, respectively, for Cases 2 and 3. The cooling energy' reduction was due to a lower cooling load supplied at most time steps. The reduced airside coil energy usage was because of the reduced supply airflow rate and more intelligent fresh air intake controls, as shown in FIG. 13. The slightly higher reductionfrom Case 3 somewhat contradicted our intuition that imperfect weather forecasts would cause less energy reduction. However, this can be interpreted as follows.

[0152] The most obvious cooling load differences between Cases 2 and 3 can be recognized on July 15 and 28th from FIG. 14. On July 15th, the measured maximum outdoor temperature and solar radiation were 77.1 °F and 901 watts per square meter, respectively, while the forecasted maximums at the 24th step were 73.7 °F and 657 watts per square meter, respectively. On July 28th. the measured maximum outdoor temperature and solar radiation were 88.2 °F and 929 watts per square meter, respectively, while the forecasted maximums at the 24th step were 86.4 °F and 729 watts per square meter, respectively. The time-series weather forecast results were shown in FIGS. 16 through 19. Such underestimations were also reflected in FIGS. 10 and 11. Due to the underestimated weather conditions, an insufficient cooling load was supplied, resulting in more cooling energy reduction. As a tradeoff, the indoor temperature w as increased sometimes to more than 76 Fahrenheit, as shown in FIG. 12 and FIG. 15. On the same two dates, the coil energy differences were not as noticeable as the cooling energy differences. On the one hand, the insufficient cooling load w ould result in a reduced supply airflow rate, which would reduce the airside coil load. On the other hand, the underestimated weather conditions also limited airflow rate when the outdoor temperature was relatively cool and increased the fresh air intake in the hot period, which would increase the coil load, as shown respectively in FIG. 15 around noon and 3:00 PM on July 28th. Also as shown in FIG. 13. the outdoor air damper in Case 3 was at the upper bound more frequently than w hich in Case 2 when the outdoor temperature was higher than 75 °F. The combined effect made less difference between Cases 2 and 3 on coil energy usage. Except for these two days, in Case 3, the HDDPC strategy with the proposed weather forecast models had little difference from the ideal case most time.

[0153] Limitations and future works

[0154] Although the proposed HDDPC strategy with weather forecasting provided significant energy' reduction on both room and system levels, there were still some limitations that need to be discussed and improved.

[0155] Physics-informed loss function', although the proposed neural network structure was physics -informed, the physics-informed loss function was not used. Due to system faults in the training period, open-loop data was also included in the dataset, therefore richer indoor dynamics w ere included. The indoor environmental dynamics w ere learned from historical data and validated in different sanity check cases. In a well-regulated building, open-loop data is hard to obtain. However, including physics-informed terms in theloss function would guarantee the model behavior in such scenarios. Future work will be on combining physics-informed model structure with the physics-informed loss function and test in different buildings.

[0156] Solution feasibility, in the formulation of optimization problems, although the problems were proven to be convex, the feasibility was not guaranteed due to the hard constraints and uncertainty of weather forecasts. In the simulation studies, the violation of temperature bounds was observed in some time steps. Optimization failures would impede the application of predictive control strategies. The slack variables can be used to allow a small violation of constraints to guarantee feasibility. However, according to Error! Reference source not found., slack variables will make state lower bounds non-convex. To facilitate the implementation, make-up controllers can be adopted.

[0157] Coordination between the room and system', in the HDDPC strategy, indoor CO2 concentration was not considered in the room-level controller. In the system-level controller, the fresh air flow rate was dependent on the cooling load from the room-level controller. If the room-level and system-level optimization problems could be solved simultaneously, a more significant energy reduction would be expected. However, based on the simulation results, the solution of a combined problem was highly dependent on the initial guess, which indicates that convexity was not guaranteed. Expertise is needed to directly solve the combined problem. However, an agent-based control policy can be developed and trained based on the proposed models, which will be one of our future works.

[0158] Impact of occupancy prediction', occupancy prediction was not considered in this research study because most students in the office were from the same research group and worked based on the schedule. However, for implementations in other buildings, an occupant prediction model will be needed, which will be developed and evaluated in our future research studies.

[0159] Conclusion

[0160] The present invention involves a novel physics-informed neural network to facilitate predictive control strategies. Using historical data starting from 3 weeks, both indoor air temperature and CO2 concentration prediction errors were less than corresponding sensor errors. The models had physics-consistent behaviors with different control inputs. Then, a convex hierarchical data-driven predictive control strategy was formulated to balance indoor environmental requirements and energy usage of room and system levels. Three case studies were simulated to evaluate the HDDPC strategy. To simulate a real implementation situation, w eather forecast models were developed based on two-year histoneal data.Simulation results indicated that the performance of the HDDPC strategy with the proposed weather forecast models was comparable with the ideal case. The average cooling energy and airside coil energy reduction during the one-month simulation were over 35% and 70%, respectively.

Claims

CLAIMSWhat is claimed is:

1. A building heating, ventilating, and air conditioning (HVAC) control system, comprising: an input for receiving weather data for a predetermined location and occupancy data for the predetermined location; a controller programmed to generate an optimized control sequence for an HVAC system controller of an HVAC system using hierarchical data-driven predictive control to optimize energy consumption of the HVAC system while constrained by a predetermined level of thermal comfort and a predetermined level of indoor air quality, wherein the optimized control sequence is generated from an indoor environment dynamics prediction that considers an occupancy prediction for the predetermined location that is generated by an occupancy prediction module and an outdoor temperature and solar radiation prediction that is generated by a weather forecast module; and an output for providing the optimized control sequence to the HVAC system controller.

2. The system of claim 1, further comprising a database coupled to the controller for storing occupancy data and weather data.

3. The system of claim 2, further comprising an occupancy sensor coupled to the database to provide occupancy data for a predetermined location.

4. The system of claim 3, further comprising a weather station coupled to the database to provide weather data for the predetermined location.

5. The system of claim 1, wherein the weather forecast module is programmed to determine the outdoor temperature and solar radiation prediction using a long short-term memory (LSTM) neural network with historical outdoor temperature, solar radiation, time of the day, and day of the year as inputs to the LSTM neural network.

6. The system of claim 1, wherein the controller is programmed to determine the indoor environment dynamics prediction by using an input convex neural network.

7. The system of claim 6, wherein a weight of each neuron in the input convex neural network is set as a non-negative value.

8. The system of claim 7, wherein an activation function of the input convex neural network is a rectified linear unit (ReLU).

9. A method of controlling a building heating, ventilating, and air conditioning (HVAC) system, comprising the steps of :receiving via an input weather data for a predetermined location and occupancy data for the predetermined location; processing the weather data with a controller that is programmed with an occupancy prediction module to output an occupancy prediction for the predetermined location using the occupancy data; processing the weather data with a weather forecast module to output an outdoor temperature and solar radiation prediction based on the weather data; applying a physics-informed input convex building model programmed into the controller to output an indoor environment dynamics prediction based on the occupancy prediction and the outdoor temperature and solar radiation prediction; generating an optimized control sequence for an HVAC system in the controller using hierarchical data-driven predictive control to optimize energy consumption while constrained by a predetermined level of thermal comfort and a predetermined level of indoor air quality based indoor environment dynamics prediction; and providing the optimized control sequence to an HVAC system controller for operation of the HVAC system.

10. The method of claim 9, wherein the step of receiving via the input weather data for the predetermined location and occupancy data for the predetermined location comprises retrieving occupancy data and weather data stored in a database.

11. The method of claim 10, further comprising the step of using an occupancy sensor coupled to the database to provide the occupancy data.

12. The method of claim 11, further comprising the step of using a weather station coupled to the database to provide the weather data.

13. The method of claim 9. wherein the step of processing the weather data comprises using a long short-term memory (LSTM) neural network with historical outdoor temperature, solar radiation, time of the day, and day of the year as inputs to the LSTM neural network.

14. The method of claim 9, wherein the step of applying the physics-informed input convex building model comprises using an input convex neural network.

15. The method of 14, wherein a weight of each neuron in the input convex neural network is set as a non-negative value.

16. The method of 15, wherein an activation function of the input convex neural network is a rectified linear unit (ReLU).

Citation Information

Patent Citations

  • Techniques for using machine learning for control and predictive maintenance of buildings

    US20200379417A1

  • Control methods and systems using external 3D modeling and neural networks

    US20210294172A1

  • Hierarchical method for prediction of loads with high variance

    US20220294216A1

  • Heating, ventilation, and air-conditioning system and method of controlling a heating, ventilation, and air-conditioning system

    US20230009603A1