A model-based energy efficiency diagnosis method, system, device and medium
Through the model-based energy efficiency diagnosis method, the energy consumption prediction model library is used to analyze building energy consumption, which solves the problem of limited diagnosis accuracy and scope in the existing technology, and achieves more accurate energy efficiency diagnosis and discovery of energy waste points. Support building energy efficiency monitoring and energy conservation management.
Patent Information
- Application Number
- CN202111201398.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-14
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-10-14
Smart Images

Figure CN113887986B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy efficiency diagnosis, and in particular to a model-based energy efficiency diagnosis method, system, equipment and medium. Background Art
[0002] With the trend of energy conservation and emission reduction, building energy consumption metering is becoming more standardized, and with the development of Internet technology, corresponding various types of building energy efficiency monitoring, control and management platforms are gradually established. These platforms can timely discover energy waste points in building energy consumption through on-site real-time monitoring, analysis and other processing of building energy consumption, guide and assist operation and maintenance personnel to implement energy-saving management. To discover and determine energy waste points, it is necessary to diagnose the energy efficiency of the building (for example, various building energy consumption, etc.) in real time / timely and accurately. In actual operation, there are problems such as a single type of building energy consumption metering, limited analysis ability of ordinary managers when using manual analysis, and insufficient professional diagnostic personnel, resulting in a large amount of electricity consumption data piling up, and unable to accurately and timely mine implicit information from the data, and unable to give constructive suggestions for energy saving, thereby wasting the initial investment in the construction of the data monitoring (collection) system, and still unable to accurately and timely discover energy waste points in building energy consumption, and unable to meet the effect of energy efficiency monitoring to assist energy saving.
[0003] At present, the existing whole-building energy efficiency diagnosis methods have the following problems:
[0004] 1. For example, ABCAT is more suitable for long-term faults (calculated in weeks or months). After using cosine similarity and Euclidean distance similarity, there are still problems such as this method is more focused on finding the cause of the fault and is only effective for a single fault. The automatic diagnosis capability is slightly insufficient.
[0005] 2: Many studies have not verified actual data, and there is also a phenomenon that researchers only rely on manual analysis of measured energy consumption data.
[0006] 3. The relatively systematic evaluation indicators for the energy efficiency of public buildings only exist in air conditioning, and the evaluation of other energy-consuming systems and equipment is still incomplete (which means that there are no sufficiently complete evaluation standards in technology). Summary of the invention
[0007] The purpose of the present invention is to provide a model-based energy efficiency diagnosis method, system, device and medium, which can solve the problem in the prior art that the diagnostic accuracy and scope are limited due to the lack of depth of sub-item metering data.
[0008] In order to achieve the above object, the present invention provides a model-based energy efficiency diagnosis method, comprising:
[0009] Acquire historical energy consumption data of the target building, wherein the energy consumption data includes: total power consumption data and air conditioning power consumption data of the target building;
[0010] Selecting a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the length of the diagnosis cycle and preset rules;
[0011] Inputting the historical energy consumption data into the energy consumption prediction model for training and prediction, and predicting to obtain the benchmark energy consumption data of the target building;
[0012] The real-time energy consumption data of the target building is obtained, and the energy efficiency diagnosis result of the target building is obtained based on the real-time energy consumption data and the benchmark energy consumption data.
[0013] Furthermore, the selecting a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the length of the diagnosis cycle and preset rules includes:
[0014] According to the target building type, a diagnosis period is selected, and the standard deviation coefficient of variation of the historical energy consumption data is calculated;
[0015] A corresponding energy consumption prediction model is selected from a preset energy consumption prediction model library according to the diagnosis period and the standard deviation coefficient of variation.
[0016] Furthermore, the preset energy consumption prediction model library includes: a regression model, a feature average model and an upper and lower limit model, wherein the regression model, the feature average model and the upper and lower limit model include: one or more corresponding sub-models.
[0017] Furthermore, the energy efficiency diagnosis result of the target building is obtained based on the real-time energy consumption data and the benchmark energy consumption data, including:
[0018] Calculating a relative error value and an absolute error value between the real-time energy consumption data and the benchmark energy consumption data;
[0019] Comparing the relative error value with a preset relative error threshold to obtain a first comparison result;
[0020] Comparing the absolute error value with a preset absolute error threshold to obtain a second comparison result;
[0021] An energy efficiency diagnosis result of the target building is obtained according to the first comparison result and the second comparison result.
[0022] Furthermore, the target buildings include: office buildings, shopping mall buildings and comprehensive buildings.
[0023] Furthermore, the diagnosis cycle includes: weekly, daily and hourly.
[0024] The present invention also provides a model-based energy efficiency diagnosis system, comprising: a data acquisition module, a selection module, a prediction module and a diagnosis module, wherein;
[0025] The data acquisition module is used to acquire historical energy consumption data of the target building, wherein the energy consumption data includes: total power consumption data of the target building and air conditioning power consumption data;
[0026] The selection module is used to select a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the length of the diagnosis cycle and preset rules;
[0027] The prediction module is used to input the historical energy consumption data into the energy consumption prediction model for training and prediction, and predict the benchmark energy consumption data of the target building;
[0028] The diagnostic module is used to obtain real-time energy consumption data of the target building, and obtain energy efficiency diagnostic results of the target building based on the real-time energy consumption data and benchmark energy consumption data.
[0029] Furthermore, the selection module is specifically used to:
[0030] According to the target building type, a diagnosis period is selected, and the standard deviation coefficient of variation of the historical energy consumption data is calculated;
[0031] A corresponding energy consumption prediction model is selected from a preset energy consumption prediction model library according to the diagnosis period and the standard deviation coefficient of variation.
[0032] The present invention also provides a computer terminal device, comprising: one or more processors; a memory coupled to the processor and used to store one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the energy efficiency diagnosis method as described in any one of the above items.
[0033] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the energy efficiency diagnosis method as described in any one of the above items.
[0034] Compared with the prior art, the model-based energy efficiency diagnosis method, system, device and medium provided by the present invention have the following beneficial effects:
[0035] The present invention considers the data types and accuracy in different periods, and divides the diagnosis into three levels according to the length of the time period: weekly, daily, and hourly diagnosis. At the same time, in the selection of diagnostic methods, it is based on the energy consumption prediction model, and the energy consumption law of the building is reflected by the energy consumption characteristics of historical data, and the benchmark energy consumption is obtained and compared with the existing energy consumption data, so as to more accurately diagnose the abnormal electricity consumption of the building. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a flow chart of a model-based energy efficiency diagnosis method provided by the present invention;
[0037] Figure 2 It is a schematic diagram of the algorithm flow of automatically selecting a model in the week-by-week diagnosis provided by the present invention;
[0038] Figure 3 It is a schematic diagram of the algorithm flow of automatically selecting a model in the day-by-day diagnosis provided by the present invention;
[0039] Figure 4 It is a schematic diagram of the diagnostic flow of selecting a regression or feature average model in the week-by-week diagnosis provided by the present invention;
[0040] Figure 5 It is a schematic diagram of the diagnostic flow of selecting the upper and lower limit models in the week-by-week diagnosis provided by the present invention;
[0041] Figure 6 It is a schematic diagram of the air conditioning item diagnosis process of selecting a regression or feature average model in the day-by-day diagnosis provided by the present invention;
[0042] Figure 7 It is a schematic diagram of the non-conditioning item diagnosis process of selecting a regression or feature average model in the day-by-day diagnosis provided by the present invention;
[0043] Figure 8 It is a schematic diagram of the diagnostic flow of selecting the upper and lower limit models in the daily diagnosis provided by the present invention;
[0044] Fig. 9 It is a schematic diagram of the diagnostic flow of hourly diagnosis provided by the present invention;
[0045] Fig.10 It is a structural schematic diagram of a model-based energy efficiency diagnosis system provided by the present invention. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] It should be understood that the step numbers used in this document are only for convenience of description and are not intended to limit the order in which the steps are executed.
[0048] It should be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0049] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0050] The term "and / or" means and includes any and all possible combinations of one or more of the associated listed items.
[0051] like Figure 1 As shown, the present invention provides a model-based energy efficiency diagnosis method, including steps S1-S4, and the specific steps are as follows:
[0052] S1. Obtain historical energy consumption data of a target building, wherein the energy consumption data includes: total power consumption data and air conditioning power consumption data of the target building;
[0053] Specifically, due to the different cooling and heating loads of different building types, the opening time of their air-conditioning systems is also different. This study selects one year of measured historical data on the total power consumption and air-conditioning power consumption of three different types of buildings: office buildings, shopping malls, and comprehensive buildings, and conducts correlation analysis with the daily average temperature of that year to derive the corresponding seasonal division scheme.
[0054] S2. Selecting a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the length of the diagnosis cycle and preset rules;
[0055] Specifically, the diagnosis cycles include: week by week, day by day, and hour by hour;
[0056] It should be noted that the preset energy consumption prediction model library includes regression model, feature average model and upper and lower limit model, wherein the regression model, feature average model and upper and lower limit model include one or more corresponding sub-models.
[0057] Specifically, the regression models include: weekly regression model and daily regression model.
[0058] The feature average model includes: weekly feature average model and daily feature average model;
[0059] It should be noted that the weekly energy consumption regression model includes:
[0060] 1. Weekly regression model 1 - social meteorological parameter regression model. The specific calculation formula is as follows:
[0061] a) Office and complex buildings:
[0062] i. Cooling season:
[0063] Y = C0 + C1 × Days + C2 × HDH12;
[0064] ii. Transition Season:
[0065] Y=C0+C1×Days+C2×CDH20+C3×HDH12;
[0066] iii. Heating season:
[0067] Y = C0 + C1 × Days + C2 × HDH12;
[0068] b) Shopping mall building:
[0069] i. Cooling season:
[0070] Y = C0 + C1 × CDH15;
[0071] ii. Transition Season:
[0072] Y=C0+C1×CDH15+C2×HDH10;
[0073] iii. Heating season:
[0074] Y=C0+C1×HDH10;
[0075] Where Y is the weekly power consumption value of this item (from Sunday to Saturday), in kWh; Days is the number of working days in the week, which is based on the public holiday arrangements announced by the National Holiday Office, in 1; CDH is the cooling degree hours of the week, in ℃·h: For office and comprehensive buildings, when the outdoor average temperature at a certain hour in the week is higher than 20℃, multiply the degree higher than 20℃ by 1h, and add up the products to get CDH20.
[0076] For shopping mall buildings, when the average outdoor temperature at a certain hour in the week is higher than 15℃, multiply the degree higher than 15℃ by 1h, and add up the products to get CDH15.
[0077] HDH is the heating degree hours for the week, in ℃·h: for office and comprehensive buildings, when the average outdoor temperature at a certain hour in the week is lower than 12℃, multiply the degree below 12℃ by 1h, and add the products to get HDH12; for shopping mall buildings, when the average outdoor temperature at a certain hour in the week is lower than 10℃, multiply the degree below 10℃ by 1h, and add the products to get CDH10; C0, C1, C2, and C3 are model regression parameters, which are obtained by regression of training data.
[0078] 2. Weekly regression model 2 - a regression model that takes air conditioning power consumption as the independent variable. The specific calculation formula is as follows:
[0079] Office and mixed-use buildings:
[0080] Y=C0+C1×Days+C2×E AC ;
[0081] Shopping mall building:
[0082] Y=C0+C1×E AC ;
[0083] Among them, Y is the weekly electricity consumption value of this item (from Sunday to Saturday), in kWh; EAC is the energy consumption of air conditioning electricity in that week, in kWh; C0, C1, and C2 are model regression parameters, which are obtained by regression of training data.
[0084] It should be noted that the daily energy consumption regression model includes:
[0085] 1. Day regression model 1 - meteorological parameter regression model, the specific calculation formula is as follows:
[0086] Y=C0+C1×T+C2×T 2 ×C3×T 3 ;
[0087] Among them, Y is the daily power consumption value of the item, in kWh; T is the average temperature of the day, in °C; C0, C1, and C2 are model regression parameters, which are obtained by regression of training data.
[0088] 2. Daily regression model 2 - a regression model that takes air conditioning power consumption as the independent variable. The specific calculation formula is as follows (regardless of working days and rest days):
[0089] Y=C0+C1×WW+C2×E AC ;
[0090] Among them, Y is the daily power consumption value of this item, in kWh; WW is the working nature parameter, which is 1 on working days and 0 on rest days; E AC is the energy consumption of air conditioning electricity on that day, in kWh; C0, C1, and C2 are model regression parameters, which are obtained by regression of training data.
[0091] 3. Daily regression model 3 - a regression model that takes air conditioning power consumption as the independent variable. The specific calculation formula is as follows (separately for working days and rest days):
[0092] Y=C0+C1×E AC ;
[0093] Where Y is the daily power consumption value of the item, in kWh; E AC is the energy consumption of air conditioning electricity on that day, in kWh; C0 and C1 are model regression parameters, which are obtained by regression of training data.
[0094] It should be noted that the weekly characteristic average model includes:
[0095] 1. Weekly characteristic average model 1 - for the unseparated data for the whole year, the specific calculation formula is as follows:
[0096]
[0097] Among them, x represents the weekly power consumption data in kWh; n represents the number of weeks in a year.
[0098] 2. Weekly characteristic average model 2: For the data separated by season, the specific calculation formula is as follows:
[0099]
[0100] Where s represents the season, which can be cooling, transition, or heating season; n s Indicates the week number of the season.
[0101] It should be noted that the daily feature average model includes:
[0102] 1. Daily feature average model 1: For data that are not separated between working days and rest days, the specific calculation formula is as follows:
[0103]
[0104] Among them, y represents daily power consumption data, the unit is kWh; m represents month, ranging from 1 to 12; w represents the nature of work, ranging from working days to rest days; p m,w Indicates the number of days of this nature of work in this month.
[0105] 2. Daily feature average model 2: For data separated from working days and rest days, the specific calculation formula is as follows:
[0106]
[0107] It should be noted that although the daily feature regression models 1 and 2 are completely consistent in form, the corresponding training data sets may be different in actual use. This is because when using the training data, considering that there may be a small number of abnormal data values in the training data, the idea of box-and-whisker plot is used to eliminate the data, and both the full-year data and the two sets of data classified by the nature of work will be eliminated. There may be some abnormal data that is not eliminated when eliminating the full-year data but is eliminated when eliminating the classified data, resulting in inconsistency in the training data sets corresponding to the daily feature regression models 1 and 2.
[0108] 3. Daily feature average model 3 - For data separated only by season, the specific calculation formula is as follows:
[0109]
[0110] Among them, p s Indicates the number of days in the season.
[0111] 4. Daily feature average model 4 - For data separated only by season, the specific calculation formula is as follows:
[0112]
[0113] Among them, p s,w Indicates the number of days of this nature of work in this season.
[0114] The specific calculation formula of energy consumption prediction model is as follows:
[0115]
[0116] Where z represents the hourly power consumption data in kWh, h represents the time number, ranging from 0 to 23; q m,w,h Indicates the hour at that time of the day for that nature of work in that month.
[0117] It should be noted that the upper and lower limit model gives the upper and lower limits of reasonable energy consumption based on historical data when the regression model or the characteristic average model cannot be used to obtain specific predicted energy consumption values. Energy consumption data outside the upper and lower limits are considered abnormal. The specific values of the upper and lower limits are given according to the idea of the box-and-whisker diagram. The range is wide and only some rough judgments can be made. Therefore, it is only used when the regression model and the characteristic average model cannot be used. The calculation formula of the upper and lower limits is:
[0118] HL = Q3 + 1.5 × IQR;
[0119] LL = Q1 - 1.5 × IQR;
[0120] Among them, HL and LL refer to the upper and lower limits respectively; Q1 and Q3 refer to the lower quartile and upper quartile of a set of data respectively; IQR refers to the range between quarterbacks, that is, IQR = Q3-Q1.
[0121] It should be noted that the preset rules are:
[0122] like Figure 2 As shown in the figure, when weekly diagnosis is adopted, the rules for selecting the energy consumption prediction model are as follows:
[0123] 1. Calculate CV of training data σ , determine whether the weekly power consumption throughout the year varies with the seasons (the algorithm process requires training data for at least one year).
[0124] a) If CV σ If the weekly power consumption of this item does not change with the season, the weekly characteristic average model 1 is selected as its energy consumption prediction model.
[0125] b) If CV σ , if CV σ >20%, it is considered that the weekly electricity consumption of this item varies with the season, and then it is determined whether it is the total electricity consumption or the air-conditioning electricity consumption.
[0126] i. If yes, divide the weekly power consumption data of the whole year into three seasons and calculate their CV respectively. σ .
[0127] 1. If CV σ If the weekly electricity consumption is less than or equal to 20%, it is considered that the weekly electricity consumption does not change much in this season, and the weekly characteristic average model 2 is selected.
[0128] 2. If CV σ >20%, it is considered that the electricity consumption varies significantly with the meteorological parameters in this season, and a weekly regression model1 is tried.
[0129] a) If the accuracy requirements are met, the weekly regression model 1 is selected as the energy consumption prediction model.
[0130] b) If not satisfied, the upper and lower limit model is used.
[0131] ii. If not, calculate the correlation coefficient ρAC between this power consumption and the air conditioning power consumption at the corresponding time. This is to determine whether the power consumption of this item is mixed with the air conditioning power consumption. 0.4 is selected as the baseline.
[0132] 1. If ρAC>0.4, it is considered that the seasonal variation of electricity consumption is caused by the inclusion of air conditioning electricity. Try to use weekly regression model 2.
[0133] a) Select this model if the accuracy requirements are met.
[0134] b) If the accuracy requirements are not met, it is considered that the energy consumption characteristics cannot be represented and the upper and lower limit models are selected.
[0135] 2. If ρ AC ≤0.4, it is considered that its energy consumption characteristics cannot be characterized, and the upper and lower limit model is selected.
[0136] It should be noted that the preset rules are:
[0137] like Figure 3 As shown in the figure, when daily diagnosis is adopted, the rules for selecting the energy consumption prediction model are as follows:
[0138] 1. First, perform box plot elimination to eliminate abnormal data in E1 and obtain the energy consumption data E2 after elimination.
[0139] 2. Determine the absolute value of the correlation coefficient between E2 and WW (WW is a work nature parameter, 1 for working days and 0 for rest days) |ρ WW |. Decide whether it is necessary to split the analysis into working days and rest days.
[0140] a) If |ρ WW |<0.4, it is considered that the energy consumption is irrelevant to the nature of the work, and the CV of this group of data is calculated. σ .
[0141] i. If CV σ ≤20%, it is considered that the difference between this group of data and its mean is not large, and the daily characteristic average model 1 can be selected to calculate the predicted power consumption.
[0142] ii. If CV σ ≥20%, continue to determine whether E2 is the total power consumption or air conditioning power consumption.
[0143] 1. If E2 is not the total power consumption or air-conditioning power consumption, determine whether the median of E2 is less than 10% of the median of air-conditioning power consumption in the corresponding time period. This is to determine the relationship between this power consumption and the air-conditioning power consumption in the corresponding time period. If this power consumption is large enough, a regression model that takes air-conditioning power consumption as an independent variable may be selected.
[0144] a) If the median value of E2 is less than 10% of the median value of air conditioning power consumption, the daily characteristic average model 1 is selected.
[0145] b) If the median value of E2 is greater than 10% of the median value of air conditioning power consumption, calculate the correlation coefficient ρ between E2 and air conditioning power consumption AC .
[0146] i. If ρ AC ≤0.4, it is considered that the electricity consumption of air conditioning is not mixed in this electricity consumption, but the energy consumption data cannot be represented by a known specific model, so the upper and lower limit model is selected.
[0147] ii. If ρ AC >0.4, it is considered that the item is mixed with air conditioning electricity, and try to use day regression model 2.
[0148] 1. If the trained model meets the accuracy requirements, select regression model 2.
[0149] 2. If the accuracy requirements are not met, select the upper and lower limit model.
[0150] 2. If E2 is the total power consumption or air conditioning power consumption, divide E2 into three data sets according to season and calculate their CVσ respectively.
[0151] a) If CV σ ≤20%, the daily characteristic average model 3 is selected.
[0152] b) If CV σ >20%, try training with Day Regression Model 1.
[0153] i. If the trained model meets the accuracy requirements, the daily regression model 1 is used to calculate the predicted power consumption.
[0154] ii. If the accuracy requirement is not met, select the upper and lower limit model.
[0155] b) If |ρ WW |≥0.4, it is considered that the energy consumption is related to the nature of the work, and it is divided into working day energy consumption E according to the nature of the work. 2w and rest day energy consumption E 2uw Then, the two groups of data obtained by the new split are used to remove abnormal values according to the box-whisker plot method to obtain the working day energy consumption E 3w and rest day energy consumption E 3uw This is intended to eliminate abnormal energy consumption on some rest days. For example, the air conditioner should be turned off on rest days but is not turned off, resulting in high power consumption. However, if it is analyzed together with the working days in the annual data, it will not be eliminated as an abnormal value. After splitting, it can be determined that this data is abnormal.
[0156] i. To E 3w and E 3uw Calculate CV separately σ .
[0157] 1. If CV σ ≤20%, the daily characteristic average model 2 is selected.
[0158] 2. If CV σ >20%, continue to judge E 3w and E 3uw Whether it is total power consumption or air conditioning power consumption.
[0159] a) If E 3w and E3uw If it is not the total power consumption or air conditioning power consumption, then determine E3w and E 3uw Whether the median value of is less than 10% of the median value of air conditioning power consumption in the corresponding time period.
[0160] i. If it is less than, the daily characteristic average model 2 is selected.
[0161] ii. If it is greater than, calculate the correlation coefficient ρ between E2 and air conditioning power consumption AC .
[0162] 1. If ρ AC ≤0.4, select the upper and lower limit model.
[0163] 2. If ρ AC >0.4, try using daily regression model 3.
[0164] a) If the trained model meets the accuracy requirements, the day regression model 3 is selected.
[0165] b) If the accuracy requirements are not met, select the upper and lower limit model.
[0166] b) If E 3w and E 3uw is the total power consumption or air conditioning power consumption, then E 3w and E 3uw
[0167] Divide into three data sets according to season and calculate their CVσ respectively.
[0168] i. If CV σ ≤20%, the daily characteristic average model 4 is selected.
[0169] ii. If CV σ >20%, try training with day regression model 1.
[0170] 1. If the trained model meets the accuracy requirements, select the day regression model 1.
[0171] 2. If the accuracy requirements are not met, select the upper and lower limit model.
[0172] S3, inputting the historical energy consumption data into the energy consumption prediction model for training and prediction, and predicting to obtain the benchmark energy consumption data of the target building;
[0173] Specifically, it is based on the energy consumption prediction model, reflects the building energy consumption law through the energy consumption characteristics of historical data, and then predicts the benchmark energy consumption data.
[0174] S4. Acquire real-time energy consumption data of the target building, and obtain energy efficiency diagnosis results of the target building based on the real-time energy consumption data and the benchmark energy consumption data.
[0175] Specifically, Figure 4 -8, calculate the relative error and absolute error of the real-time energy consumption data and the benchmark energy consumption data; compare the values of the relative error and the absolute error with the preset thresholds of the relative error and the absolute error to obtain a comparison result; and obtain the energy efficiency diagnosis result of the target building based on the comparison result.
[0176] It should be noted that if Fig. 9 As shown, Fig. 9 This is a schematic diagram of the hourly diagnosis process. Hourly diagnosis is used to evaluate whether there is an abnormality in energy consumption at a specific moment. Since the time span is too short, some emergency factors cannot be considered, so it is only used as a supplement to daily diagnosis. The characteristic average model is used for hourly diagnosis. In order to reduce false alarms and facilitate operation, the relative threshold is ±30%; the absolute threshold is 10kWh.
[0177] Specifically, the diagnostic levels and diagnostic results are shown in Tables 1 and 2.
[0178] Table 1 Energy efficiency diagnosis level based on energy consumption prediction model.
[0179]
[0180]
[0181] Table 2 Diagnosis results based on energy consumption prediction model.
[0182]
[0183] It should be noted that 1% of the median (median) of the total weekly power consumption of the entire building throughout the year is taken as the lower absolute threshold;
[0184] Take 10% of the median (median) of the total weekly electricity consumption of the entire building throughout the year as the upper absolute threshold.
[0185] The diagnostic result levels and corresponding operations are:
[0186] Level 1: The power consumption may be slightly higher or lower, and it is advisable to conduct relevant investigations;
[0187] Level 2: The power consumption may be moderately high or low, and relevant investigation should be carried out;
[0188] Level 3: The power consumption may be seriously too high or too low, and relevant investigation must be carried out.
[0189] In a certain embodiment of the present invention, the selecting a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the length of the diagnosis cycle and a preset rule includes:
[0190] Select an appropriate diagnosis period and calculate the standard deviation coefficient of variation of the historical energy consumption data;
[0191] A corresponding energy consumption prediction model is selected from a preset energy consumption prediction model library according to the diagnosis period and the standard deviation coefficient of variation.
[0192] In one embodiment of the present invention, the preset energy consumption prediction model library includes: a regression model, a feature average model and an upper and lower limit model, wherein the regression model, the feature average model and the upper and lower limit model include: one or more corresponding sub-models.
[0193] In one embodiment of the present invention, obtaining the energy efficiency diagnosis result of the target building according to the real-time energy consumption data and the benchmark energy consumption data includes:
[0194] Calculating a relative error value and an absolute error value between the real-time energy consumption data and the benchmark energy consumption data;
[0195] Comparing the relative error value with a preset relative error threshold to obtain a first comparison result;
[0196] Comparing the absolute error value with a preset absolute error threshold to obtain a second comparison result;
[0197] An energy efficiency diagnosis result of the target building is obtained according to the first comparison result and the second comparison result.
[0198] In one embodiment of the present invention, the target buildings include: office buildings, shopping mall buildings and comprehensive buildings.
[0199] In one embodiment of the present invention, the diagnosis cycle includes: weekly, daily and hourly.
[0200] Compared with the prior art, the energy efficiency diagnosis method based on the model provided by the present invention has the following beneficial effects:
[0201] The present invention considers the data types and accuracy in different periods, and divides the diagnosis into three levels according to the length of the time period: weekly, daily, and hourly diagnosis. At the same time, in the selection of diagnostic methods, it is based on the energy consumption prediction model, and the energy consumption law of the building is reflected by the energy consumption characteristics of historical data, and the benchmark energy consumption is obtained and compared with the existing energy consumption data, so as to more accurately diagnose the abnormal electricity consumption of the building.
[0202] like Fig.10 As shown, the present invention also provides a model-based energy efficiency diagnosis system 200, comprising: a data acquisition module 201, a selection module 202, a prediction module 203 and a diagnosis module 204, wherein;
[0203] The data acquisition module 201 is used to acquire historical energy consumption data of a target building, wherein the energy consumption data includes: total power consumption data of the target building and air conditioning power consumption data;
[0204] The selection module 202 is used to select a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the length of the diagnosis cycle and preset rules;
[0205] The prediction module 203 is used to input the historical energy consumption data into the energy consumption prediction model for training and prediction, and predict the benchmark energy consumption data of the target building;
[0206] The diagnosis module 204 is used to obtain real-time energy consumption data of the target building, and obtain energy efficiency diagnosis results of the target building based on the real-time energy consumption data and benchmark energy consumption data.
[0207] In one embodiment of the present invention, the selection module is specifically used to:
[0208] According to the target building type, a diagnosis period is selected, and the standard deviation coefficient of variation of the historical energy consumption data is calculated;
[0209] A corresponding energy consumption prediction model is selected from a preset energy consumption prediction model library according to the diagnosis period and the standard deviation coefficient of variation.
[0210] The present invention also provides a computer terminal device, comprising: one or more processors; a memory coupled to the processor and used to store one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the energy efficiency diagnosis method as described in any one of the above items.
[0211] It should be noted that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor, or the processor can be any conventional processor. The processor is the control center of the terminal device, and various parts of the terminal device are connected using various interfaces and lines.
[0212] The memory mainly includes a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function, etc., and the data storage area can store related data, etc. In addition, the memory can be a high-speed random access memory, or a non-volatile memory, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, and a flash card (FlashCard), etc., or the memory can also be other volatile solid-state storage devices.
[0213] It should be noted that the above-mentioned terminal device may include, but is not limited to, a processor and a memory. Those skilled in the art will understand that the above-mentioned terminal device is merely an example and does not constitute a limitation on the terminal device. It may include more or fewer components, or a combination of certain components, or different components.
[0214] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the energy efficiency diagnosis method as described in any one of the above items.
[0215] It should be noted that the computer program can be divided into one or more modules / units (such as computer program, computer program), and the one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the terminal device.
[0216] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A model-based energy efficiency diagnosis method, characterized in that: include: Acquire historical energy consumption data of the target building, wherein the energy consumption data includes: total power consumption data and air conditioning power consumption data of the target building; Selecting a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the length of the diagnosis cycle and preset rules; wherein the diagnosis cycle includes weekly, daily and hourly; selecting a diagnosis cycle according to the target building type, and calculating the standard deviation coefficient of variation of the historical energy consumption data; selecting a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the diagnosis cycle and the standard deviation coefficient of variation; The energy consumption prediction model library includes a regression model, a feature average model and an upper and lower limit model, wherein the regression model, the feature average model and the upper and lower limit model include: one or more corresponding sub-models; wherein the regression model includes: a weekly regression model and a daily regression model; the feature average model includes: a weekly feature average model and a daily feature average model; Among them, the weekly energy consumption regression model corresponding to the weekly regression model includes a social meteorological parameter regression model and a regression model with air conditioning power consumption as an independent variable; the daily energy consumption regression model corresponding to the daily regression model includes a social meteorological parameter regression model, a regression model with air conditioning power consumption as an independent variable when working days and rest days are not distinguished, and a regression model with air conditioning power consumption as an independent variable when working days and rest days are separated; the weekly energy consumption characteristic average model corresponding to the weekly characteristic average model includes a first week characteristic average model for data that are not separated throughout the year and a second week characteristic average model for data separated by seasons; the daily energy consumption characteristic average model corresponding to the daily characteristic average model includes a first day characteristic average model for data that are not separated from working days and rest days, a second day characteristic average model for data separated from working days and rest days, a third day characteristic average model for data separated only by seasons, and a fourth day characteristic average model for data separated only by seasons; When the diagnosis cycle is hour by hour, the calculation formula of the energy consumption prediction model is as follows: Among them, z represents the hourly power consumption data; h represents the time; qm,w,h represents the number of hours at that time in the day of the work nature in that month; The rule for selecting the energy consumption prediction model is: When the diagnosis cycle is weekly, calculate the CV of the historical energy consumption data σ , if the CV σ ≤20%, the first week characteristic average model is selected as its energy consumption prediction model; If the CV σ >20%, it is determined whether the historical energy consumption data is total power consumption data or air conditioning power consumption data; When the historical energy consumption data is the total power consumption data or the air conditioning power consumption data, the historical energy consumption data is divided into three seasons, and the CV corresponding to the data in each season is calculated. σ ; If CV σ If CVσ is less than or equal to 20%, the second week characteristic average model is selected as the energy consumption prediction model corresponding to the data in the current season; if CVσ>20%, the social meteorological parameter regression model or the upper and lower limit model is selected as the energy consumption prediction model corresponding to the data in the current season; When the historical energy consumption data is not the total power consumption data or the air conditioning power consumption data, the correlation coefficient between the historical energy consumption data and the air conditioning power consumption at the corresponding time is calculated, and when the correlation coefficient is greater than 0.4, a regression model or an upper and lower limit model using the air conditioning power consumption as an independent variable is selected as the energy consumption prediction model; When the correlation coefficient is ≤0.4, the upper and lower limit models are selected as the energy consumption prediction model; When the diagnosis cycle is daily, the historical energy consumption data is subjected to box plot elimination to obtain the eliminated energy consumption data, and the absolute value of the correlation coefficient between the eliminated energy consumption data and the working property parameter is calculated; When the absolute value is less than 0.4, calculate the CV of the energy consumption data after elimination σ , if the CV σ ≤20%, the first-day feature average model is selected as its energy consumption prediction model; If the CVσ>20%, then determine the CV of the energy consumption data after elimination. σ Whether it is total power consumption data or air conditioning power consumption data; If it is not the total power consumption data or the air-conditioning power consumption data, determine whether the median value of the energy consumption data after elimination is less than 10% of the median value of the air-conditioning power consumption in the corresponding time period; if it is less than or equal to 10% of the median value of the air-conditioning power consumption in the corresponding time period, select the first day feature average model as the energy consumption prediction model; if it is greater than 10% of the median value of the air-conditioning power consumption in the corresponding time period, calculate the correlation coefficient between the energy consumption data after elimination and the air-conditioning power consumption at the corresponding time; If the correlation coefficient is ≤0.4, the upper and lower limit model is selected as the energy consumption prediction model; if the correlation coefficient is greater than 0.4, a regression model or an upper and lower limit model that takes air conditioning power consumption as an independent variable regardless of working days and rest days is selected as the energy consumption prediction model; If it is the total power consumption data or air conditioning power consumption data, the historical energy consumption data is divided into three data sets, and the CV corresponding to the data in each data set is calculated. σ ; If CV σ ≤20%, the third-day characteristic average model is selected as the energy consumption prediction model corresponding to the data in the current season; if CVσ>20%, the social meteorological parameter regression model or the upper and lower limit model is selected as the energy consumption prediction model corresponding to the current data set; When the historical energy consumption data is not the total power consumption data or the air conditioning power consumption data, the correlation coefficient between the historical energy consumption data and the air conditioning power consumption at the corresponding time is calculated, and when the correlation coefficient is greater than 0.4, a regression model or an upper and lower limit model using the air conditioning power consumption as an independent variable is selected as the energy consumption prediction model; When the correlation coefficient is ≤0.4, the upper and lower limit models are selected as the energy consumption prediction model; When the absolute value is ≥0.4, the historical energy consumption data is split into initial working day energy consumption data and initial rest day energy consumption data according to the nature of the work, and then the abnormal values in the initial working day energy consumption data and the initial rest day energy consumption data are eliminated according to the box-whisker plot method to obtain working day energy consumption data and rest day energy consumption data; Calculate the CVσ corresponding to the working day energy consumption data and the rest day energy consumption data respectively. If the CVσ≤20%, select the second day characteristic average model as the energy consumption prediction model; if the CVσ>20%, determine whether the working day energy consumption data and the rest day energy consumption data are total power consumption data or air conditioning power consumption data; If it is not the total power consumption data or the air-conditioning power consumption data, then determine whether the median of the working day energy consumption data and the rest day energy consumption data is less than 10% of the median of the air-conditioning power consumption in the corresponding time period; if it is less than or equal to 10% of the median of the air-conditioning power consumption in the corresponding time period, then select the second day characteristic average model as the energy consumption prediction model; if it is greater than 10% of the median of the air-conditioning power consumption in the corresponding time period, then calculate the correlation coefficient between the working day energy consumption data and the air-conditioning power consumption in the corresponding time; If the correlation coefficient is ≤0.4, the upper and lower limit model is selected as the energy consumption prediction model; if the correlation coefficient is greater than 0.4, a regression model or an upper and lower limit model that separates working days from rest days and takes air conditioning power consumption as an independent variable is selected as the energy consumption prediction model; If it is the total power consumption data or air conditioning power consumption data, the working day energy consumption data and the rest day energy consumption data are divided into three data sets, and the CV corresponding to the data in each data set is calculated. σ ; If CV σ ≤20%, the fourth-day characteristic average model is selected as the energy consumption prediction model corresponding to the data in the current data set; if CVσ>20%, the social meteorological parameter regression model or the upper and lower limit model is selected as the energy consumption prediction model corresponding to the data in the current data set; Inputting the historical energy consumption data into the energy consumption prediction model for training and prediction, and predicting to obtain the benchmark energy consumption data of the target building; The real-time energy consumption data of the target building is obtained, and the energy efficiency diagnosis result of the target building is obtained based on the real-time energy consumption data and the benchmark energy consumption data.
2. The energy efficiency diagnosis method according to claim 1, characterized in that: The energy efficiency diagnosis result of the target building is obtained according to the real-time energy consumption data and the benchmark energy consumption data, including: Calculating a relative error value and an absolute error value between the real-time energy consumption data and the benchmark energy consumption data; Comparing the relative error value with a preset relative error threshold to obtain a first comparison result; Comparing the absolute error value with a preset absolute error threshold to obtain a second comparison result; An energy efficiency diagnosis result of the target building is obtained according to the first comparison result and the second comparison result.
3. The energy efficiency diagnosis method according to claim 1, characterized in that: The target buildings include: office buildings, shopping mall buildings and comprehensive buildings.
4. A model-based energy efficiency diagnosis system, characterized in that: include: Data acquisition module, selection module, prediction module and diagnosis module, among which; The data acquisition module is used to acquire historical energy consumption data of the target building, wherein the energy consumption data includes: total power consumption data of the target building and air conditioning power consumption data; The selection module is used to select a corresponding energy consumption prediction model from a preset energy consumption prediction model library according to the length of the diagnosis cycle and preset rules; wherein the diagnosis cycle includes weekly, daily and hourly; according to the target building type, the diagnosis cycle is selected, and the standard deviation coefficient of variation of the historical energy consumption data is calculated; according to the diagnosis cycle and the standard deviation coefficient of variation, the corresponding energy consumption prediction model is selected from the preset energy consumption prediction model library; The energy consumption prediction model library includes a regression model, a feature average model and an upper and lower limit model, wherein the regression model, the feature average model and the upper and lower limit model include: one or more corresponding sub-models; wherein the regression model includes: a weekly regression model and a daily regression model; the feature average model includes: a weekly feature average model and a daily feature average model; Among them, the weekly energy consumption regression model corresponding to the weekly regression model includes a social meteorological parameter regression model and a regression model with air conditioning power consumption as an independent variable; the daily energy consumption regression model corresponding to the daily regression model includes a social meteorological parameter regression model, a regression model with air conditioning power consumption as an independent variable when working days and rest days are not distinguished, and a regression model with air conditioning power consumption as an independent variable when working days and rest days are separated; the weekly energy consumption characteristic average model corresponding to the weekly characteristic average model includes a first week characteristic average model for data that are not separated throughout the year and a second week characteristic average model for data separated by seasons; the daily energy consumption characteristic average model corresponding to the daily characteristic average model includes a first day characteristic average model for data that are not separated from working days and rest days, a second day characteristic average model for data separated from working days and rest days, a third day characteristic average model for data separated only by seasons, and a fourth day characteristic average model for data separated only by seasons; When the diagnosis cycle is hour by hour, the calculation formula of the energy consumption prediction model is as follows: Among them, z represents the hourly power consumption data; h represents the time; qm,w,h represents the number of hours at that time in the day of the work nature in that month; The rule for selecting the energy consumption prediction model is: When the diagnosis cycle is weekly, calculate the CV of the historical energy consumption data σ , if the CV σ ≤20%, the first week characteristic average model is selected as its energy consumption prediction model; If the CV σ >20%, it is determined whether the historical energy consumption data is total power consumption data or air conditioning power consumption data; When the historical energy consumption data is the total power consumption data or the air conditioning power consumption data, the historical energy consumption data is divided into three seasons, and the CV corresponding to the data in each season is calculated. σ ; If CV σ If CVσ is less than or equal to 20%, the second week characteristic average model is selected as the energy consumption prediction model corresponding to the data in the current season; if CVσ>20%, the social meteorological parameter regression model or the upper and lower limit model is selected as the energy consumption prediction model corresponding to the data in the current season; When the historical energy consumption data is not the total power consumption data or the air conditioning power consumption data, the correlation coefficient between the historical energy consumption data and the air conditioning power consumption at the corresponding time is calculated, and when the correlation coefficient is greater than 0.4, a regression model or an upper and lower limit model using the air conditioning power consumption as an independent variable is selected as the energy consumption prediction model; When the correlation coefficient is ≤0.4, the upper and lower limit models are selected as the energy consumption prediction model; When the diagnosis cycle is daily, the historical energy consumption data is subjected to box plot elimination to obtain the eliminated energy consumption data, and the absolute value of the correlation coefficient between the eliminated energy consumption data and the working property parameter is calculated; When the absolute value is less than 0.4, calculate the CV of the energy consumption data after elimination σ , if the CV σ ≤20%, the first-day feature average model is selected as its energy consumption prediction model; If the CVσ>20%, then determine the CV of the energy consumption data after elimination. σ Whether it is total power consumption data or air conditioning power consumption data; If it is not the total power consumption data or the air-conditioning power consumption data, determine whether the median value of the energy consumption data after elimination is less than 10% of the median value of the air-conditioning power consumption in the corresponding time period; if it is less than or equal to 10% of the median value of the air-conditioning power consumption in the corresponding time period, select the first day feature average model as the energy consumption prediction model; if it is greater than 10% of the median value of the air-conditioning power consumption in the corresponding time period, calculate the correlation coefficient between the energy consumption data after elimination and the air-conditioning power consumption at the corresponding time; If the correlation coefficient is ≤0.4, the upper and lower limit model is selected as the energy consumption prediction model; if the correlation coefficient is greater than 0.4, a regression model or an upper and lower limit model that takes air conditioning power consumption as an independent variable regardless of working days and rest days is selected as the energy consumption prediction model; If it is the total power consumption data or air conditioning power consumption data, the historical energy consumption data is divided into three data sets, and the CV corresponding to the data in each data set is calculated. σ ; If CV σ ≤20%, the third-day characteristic average model is selected as the energy consumption prediction model corresponding to the data in the current season; if CVσ>20%, the social meteorological parameter regression model or the upper and lower limit model is selected as the energy consumption prediction model corresponding to the current data set; When the historical energy consumption data is not the total power consumption data or the air conditioning power consumption data, the correlation coefficient between the historical energy consumption data and the air conditioning power consumption at the corresponding time is calculated, and when the correlation coefficient is greater than 0.4, a regression model or an upper and lower limit model using the air conditioning power consumption as an independent variable is selected as the energy consumption prediction model; When the correlation coefficient is ≤0.4, the upper and lower limit models are selected as the energy consumption prediction model; When the absolute value is ≥0.4, the historical energy consumption data is split into initial working day energy consumption data and initial rest day energy consumption data according to the nature of the work, and then the abnormal values in the initial working day energy consumption data and the initial rest day energy consumption data are eliminated according to the box-whisker plot method to obtain working day energy consumption data and rest day energy consumption data; Calculate the CVσ corresponding to the working day energy consumption data and the rest day energy consumption data respectively. If the CVσ≤20%, select the second day characteristic average model as the energy consumption prediction model; if the CVσ>20%, determine whether the working day energy consumption data and the rest day energy consumption data are total power consumption data or air conditioning power consumption data; If it is not the total power consumption data or the air-conditioning power consumption data, then determine whether the median of the working day energy consumption data and the rest day energy consumption data is less than 10% of the median of the air-conditioning power consumption in the corresponding time period; if it is less than or equal to 10% of the median of the air-conditioning power consumption in the corresponding time period, then select the second day characteristic average model as the energy consumption prediction model; if it is greater than 10% of the median of the air-conditioning power consumption in the corresponding time period, then calculate the correlation coefficient between the working day energy consumption data and the air-conditioning power consumption in the corresponding time; If the correlation coefficient is ≤0.4, the upper and lower limit model is selected as the energy consumption prediction model; if the correlation coefficient is greater than 0.4, a regression model or an upper and lower limit model that separates working days from rest days and takes air conditioning power consumption as an independent variable is selected as the energy consumption prediction model; If it is the total power consumption data or air conditioning power consumption data, the working day energy consumption data and the rest day energy consumption data are divided into three data sets, and the CV corresponding to the data in each data set is calculated. σ ; If CV σ ≤20%, the fourth-day characteristic average model is selected as the energy consumption prediction model corresponding to the data in the current data set; if CVσ>20%, the social meteorological parameter regression model or the upper and lower limit model is selected as the energy consumption prediction model corresponding to the data in the current data set; The prediction module is used to input the historical energy consumption data into the energy consumption prediction model for training and prediction, and predict the benchmark energy consumption data of the target building; The diagnostic module is used to obtain real-time energy consumption data of the target building, and obtain energy efficiency diagnostic results of the target building based on the real-time energy consumption data and benchmark energy consumption data.
5. A computer terminal device, characterized in that: include: one or more processors; A memory, coupled to the processor, for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the energy efficiency diagnosis method according to any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the energy efficiency diagnosis method according to any one of claims 1 to 3 is implemented.
