A real-time prediction and control method, device and storage medium for building energy consumption based on digital twin technology

Establishing a building energy consumption prediction model and an indoor environment satisfaction prediction model through digital twin technology, combined with a multi-objective optimization model, solves the problem of mismatch between the model and the actual situation in the existing technology, achieves real-time prediction and control of building energy consumption, and improves improve the accuracy and interpretability of the model.

CN118445900BActive Publication Date: 2024-10-25SHANDONG JIANZHU UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410792989.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-25
Estimated Expiration
2044-06-19

Smart Images

  • Figure CN118445900B_ABST
    Figure CN118445900B_ABST
Patent Text Reader

Abstract

The present application relates to a real-time prediction and control method for building energy consumption using digital twin technology, including establishing a digital twin model of a building, establishing a building energy consumption prediction model and an indoor environment satisfaction prediction model based on ideal data, inputting data from the digital twin model during operation into the prediction model, and finally establishing a multi-objective optimization model with control instruction data as decision variables, outputting optimal control commands to achieve real-time prediction of building energy consumption. The present application solves the problem that the existing building energy consumption prediction model cannot match the actual situation of the building and the lack of interpretability of the results. The present application can reduce the difference between the model and the building, improve the authenticity of the model, and provide an interpretable and well-founded reference for the formulation of energy-saving strategies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of building model energy consumption optimization, and specifically relates to a real-time prediction and control method, device, and storage medium for building energy consumption based on digital twin technology. Background Art

[0002] Building energy consumption accounts for 40% of the world's total energy consumption and more than 30% of greenhouse gas emissions. Therefore, reducing overall building consumption and carbon emissions is of great significance to the green and sustainable development of buildings.

[0003] In terms of improving building performance, model predictive control (MPC) technology based on data-driven models has attracted much attention in recent years. Data-driven models do not require a large amount of physical information about the building itself, and are particularly good at describing complex relationships of multi-variable coupling. However, data-driven models are mostly based on historical data, and there is often a problem of mismatch between the model and the actual building situation.

[0004] Digital twin (DT) technology can dynamically describe the state and behavior of real objects on the digital end, providing real-time prediction data for building energy monitoring, which can effectively reduce the difference between the model and the actual object. At present, modeling methods based on machine learning technology such as deep learning have been successful in many fields including building energy consumption, but the algorithm logic itself has not gotten rid of the black box nature, making it impossible to simplify and transparently explain the final results. Summary of the invention

[0005] The present invention provides a real-time prediction and control method, device and storage medium for building energy consumption based on digital twin technology, which solves the problems that the existing building energy consumption prediction model cannot match the actual situation of the building and the results lack interpretability.

[0006] The technical solution of the present invention is as follows:

[0007] A real-time prediction and control method for building energy consumption based on digital twin technology comprises the following steps:

[0008] Step 1: Establish a digital twin model of the building, wherein the digital twin model is connected to a physical device through a standard communication protocol for the operation of the digital twin model;

[0009] Step 2: Establish a building energy consumption prediction model and an indoor environment satisfaction prediction model based on ideal data;

[0010] The building energy consumption prediction model outputs an energy consumption prediction result, and the indoor environment satisfaction prediction model outputs an indoor environment satisfaction score;

[0011] The ideal data refers to energy usage data, climate environment data, control instruction data and time series data generated by the building under ideal operating conditions;

[0012] The ideal operating state is the operating state when the composition and physical equipment of the building remain unchanged;

[0013] Step 3: Run the digital twin model, obtain the energy usage data, climate and environment data, control instruction data, and time series data generated by the digital twin model during operation, and pre-process the acquired data;

[0014] Step 4: Establish a multi-objective optimization model with the control instruction data as decision variables and set constraints, and the multi-objective optimization model outputs the optimal control command;

[0015] Step 5: Input the optimal control command to the model predictive controller, and the model predictive controller executes the optimal control command.

[0016] Furthermore, the physical equipment in step one includes a sound level meter, a temperature sensor, a humidity sensor, an illumination sensor, a carbon dioxide concentration sensor, a wind speed sensor, and a water flow sensor.

[0017] Furthermore, in step 2, the energy usage data includes the total energy consumption of the building, the real-time power and operating time of the physical equipment, and the supply water temperature, return water temperature, and hot water flow rate of the heating system;

[0018] The climate environment data include indoor A-weighted sound pressure level, indoor humidity, indoor temperature, indoor and outdoor temperature and humidity, indoor and outdoor illumination, indoor and outdoor wind speed, and indoor and outdoor CO2 concentration;

[0019] The control instruction data includes the air conditioning set temperature, the heating valve rotation angle, the lighting equipment opening and closing, and the window opening ratio;

[0020] The time series data includes timestamp information corresponding to various types of data such as energy usage data, climate environment data, and control instruction data.

[0021] Furthermore, the building energy consumption prediction model described in step 2 is as follows:

[0022] ;

[0023] In the formula, Q represents the predicted value of building energy consumption, X 1 is the vector representation of the building’s energy usage data and climate environment data, U It is the vector representation of the control instruction data of the building;

[0024] In the building energy consumption prediction model, the building is described by a dynamic model, as follows:

[0025] ;

[0026] In the formula, Indicates the trend of building energy consumption; x State variables representing building energy usage data and climate environment data; u Control variables representing control instruction data of the building; t represents a time series;

[0027] but:

[0028] ;

[0029] ;

[0030] A candidate function library for a building energy consumption prediction model is established, wherein the candidate function library is:

[0031] ;

[0032] Set a weight coefficient for each function in the candidate function library x , then the building energy consumption prediction model is expressed as:

[0033] ;

[0034] In the formula, Ψ represents the weight coefficient x The weight matrix composed of

[0035] The least squares method and regularization are used to solve the optimal weight matrix when the gap between the measured data and the predicted value is the smallest. The solution formula of the optimal weight matrix is ​​as follows:

[0036] ;

[0037] A parameter threshold is set in the solution formula of the optimal weight matrix, and the coefficients in the weight matrix that are less than the parameter threshold are reset to zero and then substituted into the solution formula of the optimal weight matrix of the building energy consumption prediction model until the weight matrix converges.

[0038] Furthermore, the indoor environment satisfaction model in step 2 is as follows:

[0039] ;

[0040] In the formula, C represents the predicted value of indoor environment satisfaction, X 2 is the vector representation of indoor temperature, indoor illumination, indoor CO2 concentration and indoor A-weighted sound pressure level; UA vector representation of control command data representing a building;

[0041] In the indoor environment satisfaction prediction model, the building is described by a dynamic model, as follows:

[0042] ;

[0043] In the formula, Indicates the changing trend of indoor environment satisfaction; It is the indoor temperature, indoor illumination, indoor CO2 concentration and indoor A-weighted sound pressure level; u Control variables representing control instruction data of the building; t represents a time series;

[0044] but:

[0045] ;

[0046] ;

[0047] A candidate function library for indoor environment satisfaction prediction model is established, and the candidate function library is:

[0048] ;

[0049] Set a weight coefficient for each function in the candidate function library x , then the indoor environment satisfaction prediction model is expressed as:

[0050] ;

[0051] In the formula, Ψ represents the weight coefficient x The weight matrix composed of

[0052] The least squares method and regularization are used to solve the optimal weight matrix when the gap between the measured data and the predicted value is the smallest. The solution formula of the optimal weight matrix is ​​as follows:

[0053] ;

[0054] A parameter threshold is set in the solution formula of the optimal weight matrix, and the coefficients in the weight matrix that are less than the parameter threshold are reset to zero and then substituted into the solution formula of the optimal weight matrix of the indoor environment satisfaction prediction model until the weight matrix converges.

[0055] Furthermore, in step 4, the multi-objective optimization model is as follows:

[0056] ;

[0057] In the formula, w 1 and w2 represent the weights of building energy consumption and indoor environment satisfaction respectively.

[0058] A real-time prediction and control device for building energy consumption based on digital twin technology, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute a real-time prediction and control method for building energy consumption based on digital twin technology as described above when running the program instructions.

[0059] A computer-readable storage medium stores a computer program, which implements the method described above when executed by a processor.

[0060] Due to the adoption of the above technical solution, the beneficial effects of this application are as follows:

[0061] 1. This application realizes real-time information interaction between building entities and building models based on digital twin technology, avoiding the problem of mismatch between models and entities caused by modeling based on historical data, reducing the difference between models and buildings, and improving the authenticity of models.

[0062] 2. This application establishes a building energy consumption prediction model based on nonlinear dynamics. The model structure is simple and has strong interpretability, which can provide an explainable and well-founded reference for the formulation of energy-saving strategies. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0064] Figure 1 A flow chart of a real-time prediction and control method for building energy consumption based on digital twin technology is provided for this application;

[0065] Figure 2 This is a flow chart for constructing the building energy consumption prediction model for this application. DETAILED DESCRIPTION

[0066] Based on the background technology, digital twin (DT) can dynamically describe the state and behavior of real objects on the digital end, providing real-time data for building energy monitoring and prediction. This application provides a real-time prediction and control method for building energy consumption based on digital twin technology, including the following steps:

[0067] Step 1: Establish a digital twin model of the building, and connect the digital twin model to the physical device through a standard communication protocol for the operation of the digital twin model.

[0068] By digitizing the building entity through laser point cloud, oblique photography or BIM technology, a digital twin model of the building can be established. The digital twin model can support various standard communication protocols, and the physical equipment is connected to the DT model through standard communication protocols for real-time information transmission between the real building and the model. The physical equipment may include sound level meters, temperature sensors, humidity sensors, illuminance sensors, carbon dioxide concentration sensors, wind speed sensors, water flow sensors, etc., as well as intelligent interactive devices such as intelligent building control systems. The physical equipment should correspond to the type of ideal data in step 2.

[0069] Step 2: Establish a building energy consumption prediction model and an indoor environment satisfaction prediction model based on ideal data;

[0070] The building energy consumption prediction model outputs an energy consumption prediction result, and the indoor environment satisfaction prediction model outputs an indoor environment satisfaction score;

[0071] The ideal data refers to energy usage data, climate environment data, control instruction data and time series data generated by the building under ideal operating conditions;

[0072] The ideal operating state is the operating state when the composition and physical equipment of the building remain unchanged.

[0073] The composition of a building will affect the physical properties of the building itself. The composition of a building refers to the building's roof, walls, floor slabs, doors and windows, beams and columns, as well as internal furniture and decorative lights. When the composition of a building and the physical equipment connected to it remain unchanged, the energy consumption of the building is in a stable state, that is, the ideal operating state in this application. The data generated by the building operating in an ideal state is ideal data, which includes energy usage data, climate and environmental data, control instruction data, and time series data. It should be noted that the ideal data can also use the measured data of the building.

[0074] The energy usage data includes the total energy consumption of the building, the real-time power and operating time of the physical equipment, and the supply water temperature, return water temperature, and hot water flow of the heating; the climate and environmental data includes the indoor A-weighted sound pressure level, indoor humidity, indoor temperature, indoor and outdoor temperature and humidity, indoor and outdoor illumination, indoor and outdoor wind speed, and indoor and outdoor CO2 concentration; the control instruction data includes the air conditioning set temperature, the rotation angle of the heating valve, the opening and closing of the lighting equipment, and the window opening ratio; the time series data includes the timestamp information corresponding to each type of data in the energy usage data, climate and environmental data, and control instruction data.

[0075] The building energy consumption prediction model in this embodiment is as follows:

[0076] ;

[0077] In the formula,Q represents the predicted value of building energy consumption, X 1 is the vector representation of the building’s energy usage data and climate environment data, U It is the vector representation of the control instruction data of the building;

[0078] In the building energy consumption prediction model, the building is described by a dynamic model, as follows:

[0079] ;

[0080] In the formula, Indicates the trend of building energy consumption; x State variables representing building energy usage data and climate environment data; u Control variables representing control instruction data of the building; t represents a time series;

[0081] but:

[0082] ;

[0083] ;

[0084] x i ( t l ) means that l The first sampling time measured i The state of the dimension, i =1,2, … n ; l =1,2,… k . u i ( t l ) means that l At the sampling time i Control commands executed in dimensions, i =1,2, … n ; l =1,2, … k .

[0085] The candidate function library of the building energy consumption prediction model of this application is established based on the function library in the reference Kaiser E, Kutz JN, Brunton S L. Sparse identification of nonlinear dynamics for model predictive control in the low-data limit [J]. The Royal Society, 2018, A474: 20180335, and the candidate function library is:

[0086] ;

[0087] Set a weight coefficient for each function in the candidate function library x , then the building energy consumption prediction model is expressed as:

[0088] ;

[0089] In the formula, Ψ represents the weight coefficient x The weight matrix composed of

[0090] The least squares method and regularization are used to solve the optimal weight matrix when the gap between the measured data and the predicted value is the smallest. The solution formula of the optimal weight matrix is ​​as follows:

[0091] ;

[0092] A parameter threshold is set in the solution formula of the optimal weight matrix, and the coefficients in the weight matrix that are less than the parameter threshold are reset to zero and then substituted into the solution formula of the optimal weight matrix of the building energy consumption prediction model until the weight matrix converges.

[0093] The indoor environment satisfaction model is as follows:

[0094] ;

[0095] In the formula, C represents the predicted value of indoor environment satisfaction, X 2 is the vector representation of indoor temperature, indoor illumination, indoor CO2 concentration and indoor A-weighted sound pressure level; U A vector representation of control command data representing a building;

[0096] In the indoor environment satisfaction prediction model, the building is described by a dynamic model, as follows:

[0097] ;

[0098] In the formula, Indicates the changing trend of indoor environment satisfaction; It is the indoor temperature, indoor illumination, indoor CO2 concentration and indoor A-weighted sound pressure level; u Control variables representing control instruction data of the building; t represents a time series;

[0099] but:

[0100] ;

[0101] ;

[0102] A candidate function library for indoor environment satisfaction prediction model is established, and the candidate function library is:

[0103] ;

[0104] Set a weight coefficient for each function in the candidate function library x , then the indoor environment satisfaction prediction model is expressed as:

[0105] ;

[0106] In the formula, Ψ represents the weight coefficient x The weight matrix composed of

[0107] The least squares method and regularization are used to solve the optimal weight matrix when the gap between the measured data and the predicted value is the smallest. The solution formula of the optimal weight matrix is ​​as follows:

[0108] ;

[0109] A parameter threshold is set in the solution formula of the optimal weight matrix, and the coefficients in the weight matrix that are less than the parameter threshold are reset to zero and then substituted into the solution formula of the optimal weight matrix of the indoor environment satisfaction prediction model until the weight matrix converges.

[0110] Indoor environment satisfaction evaluation model reference Yang D, Mak CM. Relationships betweenindoor environmental quality and environmental factors in universityclassrooms[J]. Building and Environment, 2020, 186: 107331.

[0111] The indoor environment satisfaction evaluation model is used to obtain the indoor environment satisfaction score. It is a white box model that calculates the indoor satisfaction score through temperature, sound pressure, illumination and carbon dioxide concentration.

[0112] ;

[0113] In the formula, O Indicates the indoor satisfaction score. The output of the model is the indoor satisfaction score, which is used for data training of the indoor environment satisfaction prediction model. t Indicates the indoor temperature. C Indicates the indoor CO2 concentration. E Indicates the indoor illumination. L Indicates the indoor A-weighted sound pressure level;

[0114] Step 3: Run the digital twin model to obtain the energy usage data, climate and environmental data, control instruction data, and time series data generated by the digital twin model during operation, and pre-process the acquired data.

[0115] Preprocessing includes data cleaning and feature engineering. Data cleaning includes removing or correcting missing values ​​and outliers in the data and unifying timestamps from different data sources. Feature engineering includes converting timestamps into time features that can be recognized by the model, such as the date of the year or the hour of the day.

[0116] Step 4: Establish a multi-objective optimization model with the control instruction data as decision variables and set constraints, and the multi-objective optimization model outputs the optimal control command.

[0117] The multi-objective optimization model is as follows:

[0118] ;

[0119] In the formula, w 1 and w 2 represent the weights of building energy consumption and indoor environment satisfaction respectively.

[0120] The control command data includes the air conditioning set temperature, the heating valve rotation angle, the lighting equipment opening and closing, and the window opening ratio. When modeling, it is necessary to determine the value range of the control command data. In this embodiment, the value range of the room temperature set value is {18°C, 19°C, 20°C, 21°C, 22°C, 23°C, 24°C}, the value range of the lighting equipment opening and closing is {0, 0.5, 1} (0 means fully closed, 0.5 means half open, and 1 means fully open), the value range of the heating valve rotation angle is {0˚, 45˚, 90˚, 135˚, 180˚}, and the value range of the window opening ratio is {0, 0.5, 1} (0 means fully closed, 0.5 means half open, and 1 means fully open).

[0121] The multi-objective optimization model can be solved by genetic algorithm. For a moment, different control command data matrices are first randomly generated by SEGA algorithm, and then the weights of building energy consumption and indoor environment satisfaction and the relevant data obtained from the digital twin model are input into the multi-objective optimization model until the optimal control command corresponding to the minimum objective function is found; finally, the air conditioner, heating, lighting and windows are adjusted to make each device consistent with the optimal control command to complete the solution at that moment; at the next sampling moment, the relevant data at that moment and the weights of building energy consumption and indoor environment satisfaction are input into the multi-objective optimization model, and the genetic algorithm is used again to solve it, so as to achieve rolling optimization.

[0122] Step 5: Input the optimal control command to the model predictive controller, and the model predictive controller executes the optimal control command.

[0123] Model predictive control includes prediction models, optimization, controllers and the like, including a controller. It is a well-known technology in the art that the controller can regulate the optimal control command.

[0124] The embodiment of the present disclosure also provides a real-time prediction and control device for building energy consumption based on digital twin technology, including a processor and a memory. Optionally, the device may also include a communication interface and a bus. The processor, the communication interface, and the memory may communicate with each other through the bus. The communication interface may be used for information transmission. The processor may call the logic instructions in the memory to execute the real-time prediction method for building energy consumption of the above embodiment.

[0125] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.

[0126] The memory, as a computer-readable storage medium, can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor executes the function application and data processing by running the program instructions / modules stored in the memory, that is, realizing the real-time prediction method of building energy consumption in the above embodiment.

[0127] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory may include a high-speed random access memory and may also include a non-volatile memory.

[0128] The embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned real-time prediction method for building energy consumption.

[0129] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.

[0130] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.

[0131] Anything not described in this application can be achieved by adopting or drawing on existing technologies.

[0132] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A real-time prediction and control method for building energy consumption based on digital twin technology, It is characterized in that The following steps are included: Step 1: Establish a digital twin model of the building, and the digital twin model is connected to physical devices through a standard communication protocol for the operation of the digital twin model; the physical devices in step 1 include a sound level meter, a temperature sensor, a humidity sensor, an illuminance sensor, a carbon dioxide concentration sensor, a wind speed sensor, and a water flow sensor; Step 2: Establish a building energy consumption prediction model and an indoor environment satisfaction prediction model based on ideal data; The building energy consumption prediction model outputs an energy consumption prediction result, and the indoor environment satisfaction prediction model outputs an indoor environment satisfaction score; The ideal data refers to energy usage data, climate environment data, control instruction data and time series data generated by the building under ideal operating conditions; The ideal operating state is the operating state when the composition and physical equipment of the building remain unchanged; In step 2, the energy usage data includes the total energy consumption of the building, the real-time power and operating time of the physical equipment, and the supply water temperature, return water temperature, and hot water flow rate of the heating system; The climate environment data include indoor A-weighted sound pressure level, indoor humidity, indoor temperature, indoor and outdoor temperature and humidity, indoor and outdoor illumination, indoor and outdoor wind speed, and indoor and outdoor CO2 concentration; The control instruction data includes the air conditioning set temperature, the heating valve rotation angle, the lighting equipment opening and closing, and the window opening ratio; The time series data includes timestamp information corresponding to various types of data in energy usage data, climate and environment data, and control instruction data; Step 3: Run the digital twin model, obtain the energy usage data, climate and environment data, control instruction data, and time series data generated by the digital twin model during operation, and pre-process the acquired data; Step 4: Establish a multi-objective optimization model with the control instruction data as decision variables and set constraints, and the multi-objective optimization model outputs the optimal control command; Step 5: Input the optimal control command to the model predictive controller, and the model predictive controller executes the optimal control command.

2. A real-time prediction and control device for building energy consumption based on digital twin technology, comprising a processor and a memory storing program instructions, It is characterized in that The processor is configured to execute the real-time prediction and control method for building energy consumption based on digital twin technology as described in claim 1 when running the program instructions.

3. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and when the program is executed by a processor, the method as claimed in claim 1 is implemented.