CN110458340B - Autoregressive prediction method of building air conditioning cooling load based on pattern classification - Google Patents

Autoregressive prediction method of building air conditioning cooling load based on pattern classification Download PDF

Info

Publication number
CN110458340B
CN110458340B CN201910675653.2A CN201910675653A CN110458340B CN 110458340 B CN110458340 B CN 110458340B CN 201910675653 A CN201910675653 A CN 201910675653A CN 110458340 B CN110458340 B CN 110458340B
Authority
CN
China
Prior art keywords
day
load
prediction
building air
cluster
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910675653.2A
Other languages
Chinese (zh)
Other versions
CN110458340A (en
Inventor
丁研
李沛霖
张强
田喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN201910675653.2A priority Critical patent/CN110458340B/en
Publication of CN110458340A publication Critical patent/CN110458340A/en
Application granted granted Critical
Publication of CN110458340B publication Critical patent/CN110458340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • G06F18/23213Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions with fixed number of clusters, e.g. K-means clustering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Probability & Statistics with Applications (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Marketing (AREA)
  • Mathematical Analysis (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computational Mathematics (AREA)
  • Evolutionary Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Computation (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Artificial Intelligence (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Algebra (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

本发明公开了一种基于模式分类的建筑空调冷负荷自回归预测方法。可应用于建筑空调系统相关领域的科学研究和工程应用。该方法包括:对所有模型的输入数据进行预处理,获得原始数据集;对空调负荷进行聚类分析,即对负荷模式进行预先分类;确定日前和当日两种时间尺度预测模型的影响因素,明确日前和当日预测模型的输入选择;采用斯皮尔曼相关性系数分析法检查冷负荷与影响因素之间的相关性;确定预测日的负荷模式;最后,建立日前和当日冷负荷预测模型。本预测方法可以提高建筑空调冷负荷预测结果的准确性,加快预测模型的计算速度,指导建筑空调系统的运行调控。

Figure 201910675653

The invention discloses an auto-regression prediction method for building air-conditioning cooling load based on pattern classification. It can be applied to scientific research and engineering applications in related fields of building air conditioning systems. The method includes: preprocessing the input data of all models to obtain the original data set; performing cluster analysis on the air-conditioning load, that is, pre-classifying the load pattern; determining the influencing factors of the two time scale prediction models of the day before and the day, and clearly The input selection of the day-ahead and day-ahead forecasting model; using the Spearman correlation coefficient analysis method to check the correlation between the cooling load and the influencing factors; determining the load pattern of the forecast day; finally, establishing the day-ahead and day cooling load forecasting model. The prediction method can improve the accuracy of the prediction results of the building air-conditioning cooling load, accelerate the calculation speed of the prediction model, and guide the operation and regulation of the building air-conditioning system.

Figure 201910675653

Description

基于模式分类的建筑空调冷负荷自回归预测方法Autoregressive prediction method for building air conditioning cooling load based on pattern classification

技术领域Technical Field

本发明涉及一种建筑空调冷负荷预测方法,具体涉及一种基于模式分类的建筑空调冷负荷自回归预测方法。The invention relates to a building air-conditioning cooling load prediction method, in particular to a building air-conditioning cooling load autoregression prediction method based on pattern classification.

背景技术Background Art

许多研究表明,供暖、通风和空调(HVAC)系统消耗的能量是建筑总能耗的主要组成部分。当前空调系统大多采用传统的反馈控制方法,基于用户侧的回水温度来调整系统。但是由于建筑结构复杂,人员行为多变,反馈控制已经不能满足人们的需求。通过预测未来一段时间的建筑物冷负荷,可以实时的响应室内情况的变化,因此,冷负荷预测是提高空调系统能效的有效途径。冷负荷预测可以提前通知运行人员未来的制冷需求,运行人员可以根据预测的冷负荷对系统进行管理和设置,暖通空调系统的调节由“反馈”模式变为“前馈”模式。用于指导系统管理和运行的预测模型大致可分为日前和当日。日前预测模型用于确定第二天的冷负荷。可指导操作人员提前编制暖通空调系统管理计划,如安排冷水机组、预测日使用的水泵、冷却塔等,并对其他设备进行维护或维修。当日预测模型用于确定未来几个小时预测时间的冷负荷,能准确地预测一段时间内的制冷需求,指导操作人员制定暖通空调系统的运行策略。Many studies have shown that the energy consumed by heating, ventilation and air conditioning (HVAC) systems is a major component of total building energy consumption. Most current air conditioning systems use traditional feedback control methods to adjust the system based on the return water temperature on the user side. However, due to the complex structure of buildings and the changeable behavior of personnel, feedback control can no longer meet people's needs. By predicting the cooling load of buildings in the future, it is possible to respond to changes in indoor conditions in real time. Therefore, cooling load prediction is an effective way to improve the energy efficiency of air conditioning systems. Cooling load prediction can notify operators of future cooling needs in advance. Operators can manage and set the system based on the predicted cooling load, and the regulation of the HVAC system changes from "feedback" mode to "feedforward" mode. The prediction models used to guide system management and operation can be roughly divided into day-ahead and day-ahead prediction models. Day-ahead prediction models are used to determine the cooling load for the next day. They can guide operators to prepare HVAC system management plans in advance, such as arranging chillers, pumps used on the forecast day, cooling towers, etc., and maintaining or repairing other equipment. The day-ahead prediction model is used to determine the cooling load for the forecast time in the next few hours. It can accurately predict the cooling demand over a period of time and guide operators to formulate HVAC system operation strategies.

自回归模型,就是用同一变数之前各期,用历史数据来模拟预测未来数据,并假设它们为线性关系,其中包含了内生变量滞后项。ARX模型为具有外输入的自回归模型,该模型在此自回归模型的基础上增加了外部输入,更加契合冷负荷的数据特点。在之前的研究中,ARX模型常用于直接对建筑冷负荷进行预测,而预测不同时间的冷负荷所需历史数据、相关参数不同,ARX模型计算结果也会有较大误差。The autoregressive model uses historical data from previous periods of the same variable to simulate and predict future data, and assumes that they are in a linear relationship, which includes the lag term of the endogenous variable. The ARX model is an autoregressive model with external input. This model adds external input on the basis of this autoregressive model, which is more in line with the data characteristics of the cooling load. In previous studies, the ARX model is often used to directly predict the cooling load of a building. However, the historical data and related parameters required to predict the cooling load at different times are different, and the calculation results of the ARX model will also have large errors.

因此,采用合理的方法,建立一种基于模式分类的建筑空调冷负荷自回归预测方法,是对系统进行合理管理和设置,减少系统能耗亟待解决的关键问题。Therefore, adopting a reasonable method to establish an autoregressive prediction method for building air conditioning cooling load based on pattern classification is a key issue that needs to be solved urgently to reasonably manage and set up the system and reduce system energy consumption.

发明内容Summary of the invention

有鉴于此,本发明提供一种基于模式分类的建筑空调冷负荷自回归预测方法,以解决上述问题。In view of this, the present invention provides a building air conditioning cooling load autoregressive prediction method based on pattern classification to solve the above problems.

基于以往的发明,本发明进行了以下改进:采用四分位距方法对数据进行预处理,检测建筑原始数据中的异常值,获得原始数据集;采用k-means聚类分析进行负荷模式聚类分析,得到负荷模式典型日;确定影响日前预测与当日预测的因素,采用斯皮尔曼系数分析法对建筑空调冷负荷和影响因素进行相关性分析,剔除相关性较低的变量,得到日前和当日预测模型的模型输入选择;采用k-means聚类分析确定预测日的负荷模式;采用基于模式分类的自回归模型建立日前与当日冷负荷预测模型。Based on previous inventions, the present invention has made the following improvements: using the interquartile range method to preprocess the data, detecting outliers in the original building data, and obtaining the original data set; using k-means cluster analysis to perform load pattern cluster analysis to obtain a typical day of load pattern; determining the factors affecting the day-ahead prediction and the day-of-the-day prediction, using the Spearman coefficient analysis method to perform a correlation analysis on the building air-conditioning cooling load and the influencing factors, eliminating variables with low correlation, and obtaining the model input selection of the day-ahead and day-of-the-day prediction models; using k-means cluster analysis to determine the load pattern of the prediction day; using an autoregressive model based on pattern classification to establish a day-ahead and day-of-the-day cooling load prediction model.

本发明提出了一种基于模式分类的建筑空调冷负荷自回归预测方法,包括以下步骤:The present invention proposes a building air conditioning cooling load autoregressive prediction method based on pattern classification, comprising the following steps:

采用四分位距方法对数据进行预处理,检测建筑原始数据中的异常值,获得原始数据集;The interquartile range method is used to preprocess the data, detect outliers in the original building data, and obtain the original data set;

采用k-means聚类分析对建筑冷负荷进行分类,进行负荷模式聚类分析,得到负荷模式典型日;K-means cluster analysis was used to classify the building cooling load, and load pattern cluster analysis was performed to obtain the typical day of the load pattern;

确定影响日前预测与当日预测的因素,对建筑空调冷负荷和影响因素进行相关性分析,剔除相关性较低的变量,得到日前和当日预测模型的模型输入选择;Determine the factors that affect the day-ahead forecast and the same-day forecast, conduct correlation analysis on the building air conditioning cooling load and the influencing factors, eliminate the variables with low correlation, and obtain the model input selection for the day-ahead and same-day forecast models;

采用k-means聚类分析确定预测日的负荷模式;The load pattern of the forecast day was determined using k-means cluster analysis;

采用基于模式分类的自回归模型建立日前与当日冷负荷预测模型;The autoregressive model based on pattern classification is used to establish the cooling load forecasting model for the day before and the day before.

对建筑空调冷负荷预测模型进行评估。Evaluate building air conditioning cooling load prediction models.

进一步的,影响因素包括影响日前冷负荷预测因素及影响当日冷负荷预测因素。Furthermore, the influencing factors include factors influencing the cooling load prediction of the day before and factors influencing the cooling load prediction of the day.

进一步的,对所有数据进行预处理,所采用的方法是四分位距方法。Furthermore, all data were preprocessed using the interquartile range method.

进一步的,对建筑冷负荷进行负荷模式聚类分析,所采用的方法是k均值聚类法。首先,随机选取k个对象作为初始的聚类中心;其次,计算每个对象与各个子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心;接着,计算新的聚类中心;最后,重复以上两个步骤直到误差平方和局部最小。Furthermore, the load pattern clustering analysis of the building cooling load is carried out, and the method adopted is the k-means clustering method. First, k objects are randomly selected as the initial cluster centers; second, the distance between each object and each sub-cluster center is calculated, and each object is assigned to the cluster center closest to it; then, a new cluster center is calculated; finally, the above two steps are repeated until the error square sum is locally minimized.

误差平方和的计算公式是The formula for calculating the sum of squared errors is

Figure BDA0002143177940000021
Figure BDA0002143177940000021

其中:SSE表示误差平方和;Where: SSE represents the sum of squared errors;

Ci表示集群Si的聚类中心; Ci represents the cluster center of cluster Si ;

K代表聚类中心的个数;K represents the number of cluster centers;

x代表集群Si中的数据点。x represents a data point in cluster Si .

最接近每个集群聚类中心的负荷日将被视为典型日。The load day closest to the cluster center of each cluster will be considered as a typical day.

进一步的,对建筑空调冷负荷和影响因素进行相关性分析,采用斯皮尔曼系数来计算各类变量相关性的大小和方向。Furthermore, the correlation analysis between the building air conditioning cooling load and influencing factors was conducted, and the Spearman coefficient was used to calculate the size and direction of the correlation between various variables.

计算斯皮尔曼系数的方法是The method to calculate the Spearman coefficient is

Figure BDA0002143177940000031
Figure BDA0002143177940000031

式中:N表示数据个数;Where: N represents the number of data;

di表示第i条数据中两个变量的排序之差。d i represents the difference in the ranking of two variables in the i-th data.

在选择影响因子时遵循以下选择标准,将影响因子的相关系数与规定的极限值进行比较。当满足极限值时,认为它对预测负荷具有显着影响,然后将其提取为模型输入。没有统一的方法来选择极限值;用户应根据应用合理选择限值。但是,对极限值的一般要求大于0.5,这表明它们之间至少存在关系。The following selection criteria are followed when selecting the influencing factors. The correlation coefficient of the influencing factors is compared with the specified limit value. When the limit value is met, it is considered to have a significant impact on the predicted load and is then extracted as the model input. There is no unified method to select the limit value; the user should reasonably select the limit value based on the application. However, the general requirement for the limit value is greater than 0.5, which indicates that there is at least a relationship between them.

表示变量的一个样本;表示变量的一个样本;表示变量和的样本个数。进一步的,采用k-means聚类分析确定预测日的负荷模式。represents a sample of the variable; represents a sample of the variable; represents the number of samples of the variable and. Further, k-means cluster analysis is used to determine the load pattern of the forecast day.

进一步的,采用基于模式分类的自回归模型建立日前与当日冷负荷预测模型。Furthermore, an autoregressive model based on pattern classification is used to establish a cooling load forecasting model for the day before and the day before.

基于模式分类的自回归模型(ARX模型)用于描述预测的冷负荷与各种模型输入之间的关系,所选模型输入为斯皮尔曼系数法得到的与冷负荷相关性最强的参数。The autoregressive model based on pattern classification (ARX model) is used to describe the relationship between the predicted cooling load and various model inputs. The selected model input is the parameter with the strongest correlation with the cooling load obtained by the Spearman coefficient method.

有益效果:本预测方法可以提高建筑空调冷负荷预测结果的准确性,加快预测模型的计算速度,指导建筑空调系统的运行调控。Beneficial effects: This prediction method can improve the accuracy of building air-conditioning cooling load prediction results, speed up the calculation of the prediction model, and guide the operation and regulation of the building air-conditioning system.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明的流程图;Fig. 1 is a flow chart of the present invention;

图2为负荷模式聚类结果。Figure 2 shows the load pattern clustering results.

具体实施方式DETAILED DESCRIPTION

为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明作进一步的详细说明。如图1所示,本实施例提供一种基于具有额外输入的自回归模型和人工神经网络模型的冷负荷模型预测方法,包括以下步骤:In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. As shown in FIG1 , this embodiment provides a cooling load model prediction method based on an autoregressive model with additional input and an artificial neural network model, comprising the following steps:

步骤1:采用四分位距方法对数据进行预处理,检测建筑原始数据中的异常值,获得原始数据集;Step 1: Use the interquartile range method to preprocess the data, detect outliers in the original building data, and obtain the original data set;

某建筑空调系统每天24小时运行。该建筑的空调系统由8台相同规格的冷水机组组成。1台冷水机组的额定制冷量为4186千瓦。空调系统中的冷却塔、冷却水泵和一次侧冷冻水泵均与冷水机组一一匹配。二次侧冷冻水泵根据空调终端进行调整。冷冻水出口温度和水量均为额定设计值。该建筑的实际供冷量数据由热量表测量,室外干球温度数据由气象站测量,数据记录间隔均为1小时。以该建筑在2017年和2018年的两个供冷季的供冷量数据记录为基础,详述本发明的具体实施方式。The air conditioning system of a certain building runs 24 hours a day. The air conditioning system of the building consists of 8 chillers of the same specifications. The rated cooling capacity of one chiller is 4186 kilowatts. The cooling tower, cooling water pump and primary side chilled water pump in the air conditioning system are all matched with the chillers one by one. The secondary side chilled water pump is adjusted according to the air conditioning terminal. The chilled water outlet temperature and water volume are both rated design values. The actual cooling capacity data of the building is measured by the heat meter, and the outdoor dry bulb temperature data is measured by the meteorological station, and the data recording interval is 1 hour. Based on the cooling capacity data records of the building in the two cooling seasons of 2017 and 2018, the specific implementation mode of the present invention is described in detail.

步骤2:采用k-means聚类法对建筑冷负荷进行分类,进行负荷模式聚类分析,得到负荷模式典型日;Step 2: Use k-means clustering method to classify the building cooling load, perform load pattern clustering analysis, and obtain the typical day of load pattern;

首先,随机选取k个对象作为初始的聚类中心;其次,计算每个对象与各个子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心;接着,计算新的聚类中心;最后,重复以上两个步骤直到误差平方和局部最小。误差平方和的计算公式如式(1)所示。First, randomly select k objects as the initial cluster centers; second, calculate the distance between each object and each sub-cluster center, and assign each object to the cluster center closest to it; then, calculate the new cluster center; finally, repeat the above two steps until the error sum of squares is locally minimized. The calculation formula of the error sum of squares is shown in formula (1).

Figure BDA0002143177940000041
Figure BDA0002143177940000041

其中:SSE表示误差平方和;Where: SSE represents the sum of squared errors;

Ci表示集群Si的聚类中心; Ci represents the cluster center of cluster Si ;

K代表聚类中心的个数;K represents the number of cluster centers;

x代表集群Si中的数据点;最接近每个集群聚类中心的负荷日将被视为典型日。x represents a data point in cluster Si ; the load day closest to the center of each cluster will be considered a typical day.

2017年和2018年的每小时制冷负荷基于K均值聚类方法进行聚类。通过误差平方和判断集群的数量,结果如图2所示,当集群数量增加到5时,SSE的减少减慢。因此,在两年的冷却季节中设定五种负荷模式。The hourly cooling loads in 2017 and 2018 were clustered based on the K-means clustering method. The number of clusters was determined by the sum of squared errors, and the results are shown in Figure 2. When the number of clusters increased to 5, the reduction of SSE slowed down. Therefore, five load patterns were set in the two-year cooling season.

步骤3:确定影响日前预测与当日预测的因素,对建筑空调冷负荷和影响因素进行相关性分析,剔除相关性较低的变量,得到日前和当日预测模型的模型输入选择;Step 3: Determine the factors that affect the day-ahead forecast and the same-day forecast, conduct a correlation analysis between the building air conditioning cooling load and the influencing factors, eliminate the variables with low correlation, and obtain the model input selection for the day-ahead and same-day forecast models;

对建筑空调冷负荷和影响因素进行相关性分析,采用斯皮尔曼系数来计算各类变量相关性的大小和方向。计算斯皮尔曼系数的方法如式(2)所示。The correlation analysis of building air conditioning cooling load and influencing factors is carried out, and the Spearman coefficient is used to calculate the size and direction of the correlation of various variables. The method for calculating the Spearman coefficient is shown in formula (2).

Figure BDA0002143177940000042
Figure BDA0002143177940000042

式中:N表示数据个数;Where: N represents the number of data;

di表示第i条数据中两个变量的排序之差。d i represents the difference in the ranking of two variables in the i-th data.

在选择影响因子时遵循以下选择标准,将影响因子的相关系数与规定的极限值进行比较。当满足极限值时,认为它对预测负荷具有显着影响,然后将其提取为模型输入。没有统一的方法来选择极限值;应根据应用合理选择限值。但是,对极限值一般要求大于0.5,这表明它们之间至少存在关系。The following selection criteria are followed when selecting the influencing factors. The correlation coefficient of the influencing factor is compared with the specified limit value. When the limit value is met, it is considered to have a significant impact on the predicted load and is then extracted as the model input. There is no unified method to select the limit value; the limit value should be reasonably selected based on the application. However, the limit value is generally required to be greater than 0.5, which indicates that there is at least a relationship between them.

在相同的负荷模式下,通过相关分析确定历史数据负荷与预测日负荷之间的关系。在案例建筑中,以集群5为例,当以0.4作为相关系数的极限值时,发现t-24和t-48的负荷与预测负荷的相关性最强。因此,将T-24和T-48的负荷作为集群5日前预测模型的模型输入。对于集群2到集群4,执行相同的分析以获得模型输入。对于全天几乎没有制冷需求的集群1,当预测日确定为集群1时,该日的小时负荷被视为零,因此不进行相关分析。Under the same load pattern, the relationship between the historical data load and the predicted day load is determined by correlation analysis. In the case building, taking cluster 5 as an example, when 0.4 is used as the limit value of the correlation coefficient, it is found that the loads at t-24 and t-48 have the strongest correlation with the predicted load. Therefore, the loads at T-24 and T-48 are used as the model input for the prediction model for cluster 5 a day ago. For clusters 2 to 4, the same analysis is performed to obtain the model input. For cluster 1, which has almost no cooling demand throughout the day, when the forecast day is determined to be cluster 1, the hourly load on that day is considered to be zero, so no correlation analysis is performed.

表示变量的一个样本;表示变量的一个样本;表示变量和的样本个数。由于建筑围护结构的热惯性,室外干球温度向内部传递的变化趋势会出现一定的滞后。历史时期室外干球温度对预测负荷也有影响。通过相关分析,确定了预测时间t的冷负荷与预测时间和历史时间室外干球温度的关系。室外干球温度对预测负荷的影响在所有负荷模式下都是相同的。因此,利用整个冷却季节的数据,分析了预测负荷与室外干球温度的关系。represents a sample of the variable; represents a sample of the variable; represents the number of samples of the variable and. Due to the thermal inertia of the building envelope, there will be a certain lag in the trend of changes in the outdoor dry-bulb temperature transmitted to the interior. The outdoor dry-bulb temperature in the historical period also affects the predicted load. Through correlation analysis, the relationship between the cooling load at the prediction time t and the outdoor dry-bulb temperature at the prediction time and the historical time is determined. The impact of the outdoor dry-bulb temperature on the predicted load is the same in all load modes. Therefore, using the data of the entire cooling season, the relationship between the predicted load and the outdoor dry-bulb temperature is analyzed.

步骤4采用k-means聚类分析确定预测日的负荷模式;Step 4 uses k-means cluster analysis to determine the load pattern of the forecast day;

首先,随机选取k个对象作为初始的聚类中心;其次,计算每个对象与各个子聚类中心之间的距离,把每个对象分配给距离它最近的聚类中心;接着,计算新的聚类中心;最后,重复以上两个步骤直到误差平方和局部最小。误差平方和的计算公式如式(3)所示。First, randomly select k objects as the initial cluster centers; second, calculate the distance between each object and each sub-cluster center, and assign each object to the cluster center closest to it; then, calculate the new cluster center; finally, repeat the above two steps until the error sum of squares is locally minimized. The calculation formula of the error sum of squares is shown in formula (3).

Figure BDA0002143177940000051
Figure BDA0002143177940000051

其中:SSE表示误差平方和;Where: SSE represents the sum of squared errors;

Ci表示集群Si的聚类中心; Ci represents the cluster center of cluster Si ;

K代表聚类中心的个数;K represents the number of cluster centers;

x代表集群Si中的数据点。x represents a data point in cluster Si .

将2017年和2018年制冷季节的所有负荷日随机分为10个数据集。每个数据集中的负荷日分布在整个制冷季的所有阶段,每个数据集中包含五种负荷模式,因此模型验证是通用的。分类结果见表1。All load days in the cooling seasons of 2017 and 2018 were randomly divided into 10 data sets. The load days in each data set are distributed in all stages of the entire cooling season, and each data set contains five load patterns, so the model validation is universal. The classification results are shown in Table 1.

表1 k-means聚类分析结果Table 1 k-means clustering analysis results

Figure BDA0002143177940000052
Figure BDA0002143177940000052

表1表明,SSE精度从0.5到0.9不等,平均分类精度约为0.7。从所有数据集中选择分类准确度较高的数据集(数据集7)和分类准确度较低的数据集(数据集9)进行后续分析。Table 1 shows that the SSE accuracy ranges from 0.5 to 0.9, and the average classification accuracy is about 0.7. From all datasets, the dataset with higher classification accuracy (dataset 7) and the dataset with lower classification accuracy (dataset 9) are selected for subsequent analysis.

步骤5采用具有额外输入的自回归模型建立日前与当日冷负荷预测模型;Step 5: Use the autoregressive model with additional input to establish the cooling load forecasting model for the day before and the day before;

具有额外输入的自回归模型(ARX模型)用于描述预测的冷负荷与各种模型输入之间的关系,在本案例中所选输入参数为室外干球温度和历史冷负荷,采用的方法如式(4)所示。The autoregressive model with additional inputs (ARX model) is used to describe the relationship between the predicted cooling load and various model inputs. In this case, the selected input parameters are outdoor dry-bulb temperature and historical cooling load. The method used is shown in Equation (4).

Figure BDA0002143177940000061
Figure BDA0002143177940000061

其中:Qt表示预测时间t的冷负荷;Where: Q t represents the cooling load at the predicted time t;

Ti表示室外干球温度; Ti represents the outdoor dry-bulb temperature;

Qi表示历史冷负荷; Qi represents the historical cooling load;

m表示影响Qt的室外干球温度值的数量;m represents the number of outdoor dry-bulb temperature values that affect Q t ;

wi表示模型输入的系数 wi represents the coefficient of the model input

wl表示一个常量偏移因子,用于部分减少建模误差的影响。w l represents a constant offset factor, which is used to partially reduce the impact of modeling errors.

ARX预测技术用于建立数据集群7和集群9的日前预测模型。以数据集群7为例,表2给出了集群2-集群5的ARX预测模型。The ARX prediction technology is used to establish the day-ahead prediction model for data clusters 7 and 9. Taking data cluster 7 as an example, Table 2 gives the ARX prediction model for clusters 2 to 5.

表2集群2到集群5的ARX预测模型Table 2 ARX prediction models for clusters 2 to 5

Figure BDA0002143177940000062
Figure BDA0002143177940000062

尽管上面结合附图对本发明进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨的情况下,还可以做出很多变形,这些均属于本发明的保护之内。Although the present invention has been described above in conjunction with the accompanying drawings, the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can make many modifications without departing from the purpose of the present invention, which are all within the protection of the present invention.

Claims (2)

1. The autoregressive prediction method for the cold load of the building air conditioner based on the pattern classification is characterized by comprising the following steps of:
(1) Preprocessing data by adopting a quarter bit distance method, and detecting abnormal values in building original data;
(2) Classifying the building air conditioner cold load obtained in the step (1) by adopting k-means cluster analysis, and carrying out cluster analysis of load modes to obtain a load mode of a typical day;
(3) Determining factors influencing the day-ahead prediction and the day-ahead prediction, performing correlation analysis on the building air conditioner cold load and the influencing factors, removing variables with lower correlation, and obtaining model input choices of the day-ahead and the day-ahead prediction models;
(4) Determining a load mode of a predicted day by adopting k-means cluster analysis;
(5) According to the load mode obtained in the step (4), an autoregressive model is adopted to establish a prediction model of the air conditioner cold load before and at the same time;
the influence factors comprise a prediction factor for influencing the daily cold load and a prediction factor for influencing the daily cold load;
the method adopted in the step (2) for carrying out load pattern cluster analysis on the building air conditioner load and determining the load pattern of the predicted day in the step (4) is k-means cluster analysis:
firstly, randomly selecting k objects as initial clustering centers;
secondly, calculating the distance between each object and each sub-cluster center, and distributing each object to the cluster center closest to the object;
then, calculating a new cluster center;
finally, repeating the two steps until the square sum of errors is locally minimum, wherein the calculation formula of the square sum of errors is as follows:
Figure FDA0004064907640000011
wherein: SSE represents the sum of squares of errors;
C i representing clusters S i Is a cluster center of the group (C);
k represents the number of clustering centers;
x represents cluster S i Data points in (a);
the load day closest to each cluster center will be considered the typical day;
in the step (3), correlation analysis is carried out on the cold load of the building air conditioner and influence factors, and the magnitude and the direction of correlation of various variables are calculated by adopting a spearman correlation coefficient:
Figure FDA0004064907640000021
wherein: n represents the number of data;
d i representing the difference in ordering of the two variables in the ith data.
2. The method for autoregressive prediction of building air conditioner cold load based on pattern classification according to claim 1, wherein in the step (5), an autoregressive model based on pattern classification is used to build a model for predicting the building air conditioner cold load before and on the same day.
CN201910675653.2A 2019-07-25 2019-07-25 Autoregressive prediction method of building air conditioning cooling load based on pattern classification Active CN110458340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910675653.2A CN110458340B (en) 2019-07-25 2019-07-25 Autoregressive prediction method of building air conditioning cooling load based on pattern classification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910675653.2A CN110458340B (en) 2019-07-25 2019-07-25 Autoregressive prediction method of building air conditioning cooling load based on pattern classification

Publications (2)

Publication Number Publication Date
CN110458340A CN110458340A (en) 2019-11-15
CN110458340B true CN110458340B (en) 2023-06-02

Family

ID=68483424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910675653.2A Active CN110458340B (en) 2019-07-25 2019-07-25 Autoregressive prediction method of building air conditioning cooling load based on pattern classification

Country Status (1)

Country Link
CN (1) CN110458340B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111612031A (en) * 2020-04-03 2020-09-01 华电电力科学研究院有限公司 Regional building dynamic load prediction method based on high-dimensional spatial clustering neighbor search
CN111401658B (en) * 2020-04-08 2022-07-19 西安建筑科技大学 Parallel cold load prediction method based on building space unit
CN111583059B (en) * 2020-04-20 2024-01-23 上海电力大学 Distributed energy station typical daily load acquisition method based on k-means clustering
CN112215474B (en) * 2020-09-18 2024-06-21 上海市建筑科学研究院有限公司 Running characteristic model for water chilling unit
CN114688692B (en) * 2020-12-30 2023-10-20 北京天诚同创电气有限公司 Load prediction method, system and device
CN112862222A (en) * 2021-03-26 2021-05-28 中国建设银行股份有限公司 Air conditioner return air temperature prediction method, abnormality monitoring method and related device
CN113094907A (en) * 2021-04-15 2021-07-09 天津大学 Combined scheduling method for air conditioner load and electric vehicle charging load
CN113869601A (en) * 2021-10-18 2021-12-31 深圳供电局有限公司 Power consumer load prediction method, device and equipment
CN115130899B (en) * 2022-07-18 2023-04-18 东南大学溧阳研究院 Kmeas-GM-based air conditioner load day-ahead response capacity evaluation method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009110379A (en) * 2007-10-31 2009-05-21 Nippon Telegr & Teleph Corp <Ntt> Pattern prediction unit, pattern prediction method, and pattern prediction program
CN107704875A (en) * 2017-09-30 2018-02-16 山东建筑大学 Based on the building load Forecasting Methodology and device for improving IHCMAC neutral nets

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103699771B (en) * 2013-09-27 2016-09-21 广东工业大学 A kind of sight-clustering method of cooling load prediction
CN105761163A (en) * 2016-02-22 2016-07-13 国家电网公司 Temperature adjustment load quantifying method based on correlation analysis and meteorological factor clustering
CN107203822A (en) * 2016-03-16 2017-09-26 上海吉贝克信息技术有限公司 Method and system based on the Logistic security customers attrition predictions returned
CN106127360A (en) * 2016-06-06 2016-11-16 国网天津市电力公司 A kind of multi-model load forecasting method analyzed based on user personality
CN106682764A (en) * 2016-12-02 2017-05-17 河海大学 Method for predicting other day air-conditioning load of public building based on parallel prediction strategy

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009110379A (en) * 2007-10-31 2009-05-21 Nippon Telegr & Teleph Corp <Ntt> Pattern prediction unit, pattern prediction method, and pattern prediction program
CN107704875A (en) * 2017-09-30 2018-02-16 山东建筑大学 Based on the building load Forecasting Methodology and device for improving IHCMAC neutral nets

Also Published As

Publication number Publication date
CN110458340A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN110458340B (en) Autoregressive prediction method of building air conditioning cooling load based on pattern classification
Zhao et al. A review on the prediction of building energy consumption
CN105378391B (en) For the on-line optimization scheme of HVAC demand responses
Zhang et al. Development and evaluation of cooling load prediction models for a factory workshop
CN113326651B (en) Refrigerating station load and energy efficiency ratio dynamic modeling method based on T-S fuzzy model
Xuemei et al. Building cooling load forecasting model based on LS-SVM
CN101021914A (en) Heating ventilating and air conditioner load predicting method and system
CN103912966A (en) Optimal control method for ground source heat pump refrigerating system
US11236917B2 (en) Building control system with zone grouping based on predictive models
CN113435665A (en) Function partition-oriented shopping mall cold load prediction method and system
Wang et al. Energy consumption prediction for water-source heat pump system using pattern recognition-based algorithms
CN110610275B (en) A load forecasting method and system for variable air volume air conditioning based on ACQPSO-ELM
CN114046593A (en) Dynamic predictive machine learning type air conditioner energy-saving control method and system
CN116045461B (en) Energy-saving control method and device for air-cooled air conditioner based on water supply and return temperature adjustment
CN115685941B (en) Machine room operation regulation and control method and device based on machine cabinet hot spot temperature prediction
CN116205425A (en) Low-carbon park cold-hot electric load prediction method based on typical database
CN118361832A (en) Fine regulation and optimization method for load of water-cooled central air conditioner
CN113887833A (en) Hourly load forecasting method and system for distributed energy user side
CN111723085B (en) Method and system for cleaning electric energy consumption data of public building air conditioner
CN111814388B (en) CFD simulation verification method for lower air supply data center based on neural network
Ku et al. Building electric energy prediction modeling for BEMS using easily obtainable weather factors with Kriging model and data mining
Ma et al. A synchronous prediction method for hourly energy consumption of abnormal monitoring branch based on the data-driven
CN115327930B (en) Visual energy-saving control method and system
Zheng Research on energy-saving control and optimisation of air conditioning system based on genetic algorithm
CN114636212A (en) GRNN-based multi-chiller system operation control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant