Regional cold and heat source energy supply network tuning method and system based on dual physical information neural network
By constructing and training a building load prediction model and a multi-objective tuning model based on a dual physical information neural network method, combined with physical information constraints and a multi-objective particle swarm algorithm, the problem of regional building cold and heat source prediction accuracy and calculation speed is solved. Efficient hot and cold source energy supply network optimization is achieved.
Patent Information
- Application Number
- CN202410602034.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-10-18
AI Technical Summary
Under the complex and wide working conditions of regional buildings, the existing technology's calculation accuracy of cold and heat source prediction algorithms is insufficient and cannot meet engineering needs. Moreover, conventional tuning algorithms are slow in calculation during nonlinear multi-objective optimization and cannot meet real-time requirements.
Using a method based on dual physical information neural networks, by constructing and training the building load prediction model PINN-anti and the multi-objective tuning model PINN-acti, combined with physical information constraints and multi-objective particle swarm algorithm, efficient optimization of cold and heat sources is achieved configuration.
It maintains high prediction accuracy and calculation efficiency under complex working conditions, meets engineering and real-time requirements, and realizes intelligent tuning of regional cold and heat source energy supply networks.
Smart Images

Figure CN118798409A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of neural network, regional cooling and heating source tuning and automatic control technology, and in particular to a regional cooling and heating source energy supply network tuning method and system based on a dual physical information neural network. Background Art
[0002] With the "dual carbon" goal, energy transformation and upgrading, and the concept of building intelligence, the smart energy supply and control system has become an important technical solution for regional buildings to achieve multi-cold and heat source tuning and control. Among them, the tuning idea based on the principle of self-balancing of regional building sources, loads, and network storage can realize on-demand energy supply, avoid cold and heat redundancy, and achieve energy conservation and emission reduction.
[0003] The optimization of energy supply network based on regional building prediction of cooling and heating load is a key technology to achieve self-balancing of source, load, network and energy storage. The core difficulty lies in the lack of generalization ability of conventional prediction algorithms. Under the complex and wide working conditions of regional buildings, the calculation accuracy is insufficient and cannot meet the needs of engineering applications. Conventional tuning algorithms are slow and time-consuming in the face of nonlinear multi-objective optimization and cannot meet the real-time requirements of continuous planning. In addition, the model obtained by conventional neural network training is difficult to avoid the problem that the input and output data sets are inconsistent with the basic physical model / principle.
[0004] On the other hand, the application of Internet of Things technology enables various devices, sensors and control systems inside buildings to connect, communicate and collaborate with each other, realizing the automated management and regulation of building environment and energy consumption. Building energy supply systems with real-time monitoring, data analysis and automated control capabilities can accurately adapt to user needs and environmental changes, improve energy efficiency, and achieve energy conservation and emission reduction, which has become a development trend in the field of building energy optimization. Summary of the invention
[0005] The purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art and propose a method and system for regional cold and heat source energy supply network tuning based on a dual physical information neural network. The building load prediction model PINN-anti, which is constructed and trained based on physical information constraints, has extremely strong interpretability and generalization capabilities, and still has excellent prediction accuracy under complex and wide working conditions of regional buildings, meeting engineering requirements; the building multi-objective tuning model PINN-acti, which is constructed and trained based on physical information constraints, uses the MOPSO algorithm to prepare training sets and verification sets. When facing nonlinear multi-objective optimization, it has high computational efficiency and can meet the real-time requirements of continuous planning; and provides a regional building source network automatic tuning control system based on predicted load.
[0006] The method and system for optimizing a regional cold and heat source energy supply network based on a dual physical information neural network of the present invention are characterized by comprising the following steps:
[0007] S100: Acquire and preprocess the load history data set containing building environment information, and establish quantitative or qualitative physical information constraints of cooling and heating loads based on thermodynamic prior mechanisms;
[0008] S200: construct and train a building load prediction model PINN-anti based on the above load data set and physical information constraints;
[0009] S300: Based on the principle of energy cascade utilization, a multi-objective optimization configuration model for regional cold and heat source energy supply network is constructed;
[0010] S400: Based on the load prediction results of the PINN-anti model, a multi-objective particle swarm algorithm is used to optimize the configuration of cold and hot sources;
[0011] S500: Analyze the above predicted load and multi-objective optimization results, and establish multi-dimensional physical information constraints of cold and hot loads based on a posteriori knowledge;
[0012] S600: Preprocess the input and output sets of the above prediction and optimization results, and construct and train the building cooling and heating source tuning model PINN-acti based on the above physical information constraints.
[0013] S700: Obtain the measured information of the building environment, and based on the above-mentioned PINN-anti and PINN-acti models, realize the automatic optimization and control of the source network of regional buildings based on the predicted load through the control system.
[0014] Preferably, the step S100 is characterized by processing and analyzing the historical data set to obtain physical constraints for guiding the model to learn the real law of building loads, including the following steps:
[0015] S101: Obtain a load history data set containing building environment information;
[0016] S102: preprocessing the above load history data set;
[0017] S103: Based on the thermodynamic heat and mass transfer prior mechanism, the dependency analysis of building environmental parameters and cooling and heating loads is carried out to establish a physical monotonic constraint relationship that conforms to the actual generation mechanism of cooling and heating loads.
[0018] Preferably, the step S101 is characterized in that the acquisition of the load history data set containing the building environment information comprises: building utilization rate x a , outdoor temperature x b , Outdoor wind speed x c , Outdoor solar radiation rate x d , indoor temperature x e , indoor occupancy density x f , Indoor equipment utilization rate xg , time series data t and historical building cooling and heating load y(y c and h ),in Indicates the dimension of the data.
[0019] Preferably, the step S102 is characterized in that, in the physical constraint neural network (PINN) algorithm, in order to ensure the stability, convergence and generalization ability of the training model, it is necessary to preprocess the data, including the following steps:
[0020] S1021: Firstly, the data is smoothed and denoised using a periodic decomposition method;
[0021] S1022: Then, the smoothed data set is sampled using a time series sampling method to establish a training set, a test set, and a validation set;
[0022] S1023: Determine the variation range of each of the above sample data sets and perform normalization processing.
[0023] Preferably, a periodic decomposition method is adopted in step S1021, which is characterized in that a periodic decomposition method (such as STL decomposition) is used to decompose the original data into three parts: trend, seasonality and residual; a weighted moving average method is used to smooth the seasonality and residual parts to reduce the noise level of the data; the smoothed seasonality and residual parts are added to the trend of the original data to obtain smoothed data.
[0024] Preferably, the time series sampling method is adopted in step S1022, characterized in that each data point is sampled in time sequence with the time sequence step length being hours, and the data points are sequentially allocated to the training set, the test set and the validation set, ensuring that the data in the training set is a continuous time series so as to be used for model training.
[0025] Preferably, a normalization processing method is used in step S1023, characterized in that all features in the data set are mapped to the range of [0,1] to ensure that the numerical ranges of different features are unified to the same scale range, so as to better train the model and improve the stability and convergence speed of the model. The normalization formula is as follows:
[0026]
[0027] Among them, x is the original data and x` is the normalized data.
[0028] Preferably, the step S103 is characterized in that the method for establishing a quantitative or qualitative physical information constraint method for heat and cold loads based on a thermodynamic prior mechanism firstly performs a dependency analysis on building environmental parameters and heat and cold loads based on a thermodynamic prior mechanism of heat and mass transfer, and then establishes a physical monotonic constraint relationship that conforms to the actual generation mechanism of heat and cold loads. Wherein:
[0029] There is a monotonically increasing relationship between the building utilization rate and the building cooling and heating loads, namely:
[0030] The outdoor temperature and outdoor solar radiation rate have a monotonically increasing relationship with the building cooling load, and the outdoor wind speed and indoor temperature have a monotonically decreasing relationship with the building cooling load, that is:
[0031]
[0032] The outdoor temperature and outdoor solar radiation rate have a monotonically decreasing relationship with the building heat load, and the outdoor wind speed and indoor temperature have a monotonically increasing relationship with the building heat load, that is:
[0033]
[0034] The indoor occupancy density and indoor equipment utilization rate have a monotonically decreasing relationship with the building heat load, and a monotonically increasing relationship with the building cooling load, that is:
[0035]
[0036] Preferably, the step S200 is characterized in that, in order to improve the generalization ability and interpretability of the model, physical information constraints are integrated into the model, and the building load prediction model PINN-anti is constructed and trained based on the above load data set, including the following steps:
[0037] S201: A neural network with a structure of nN-1 is used as the basic framework of the building load (cold or hot) prediction model;
[0038] S202: Embed the physical constraint equation into the neural network and construct a loss function including a structural loss term and a physical inconsistency loss term;
[0039] S203: Initialize the network parameters θ=w,b of the prediction model, train the PINN model based on the training data set, and use the covariance matrix adaptive evolution strategy (CMA-ES) to optimize the network parameters. When the convergence conditions are met, it is optimal.
[0040] Preferably, the step S201 is characterized in that the structure is an nN-1 neural network model in which n and N represent the number of neurons in the model input layer and hidden layer respectively, and n=a+b+…+g+1; the output layer is the building cooling and heating load (one-dimensional).
[0041] Preferably, the step S202 is characterized in that the structural loss term is used to constrain the learning process of the network so that it better conforms to the laws of physics; the physical inconsistency loss term is used to measure the difference between the model output and the physical equation to further improve the accuracy and interpretability of the model. The loss function expression containing the structural loss term and the physical inconsistency loss term is:
[0042] L anti =L anti,r +L anti,s +L anti,p
[0043] Where, L anti,r is the regression loss term of the prediction model, indicating the model residual value; L anti,s is the structural loss term of the prediction model, which represents the L2 norm of the network weight; L anti,p The physical inconsistency loss term of the prediction model indicates how well the model fits the physical mechanism.
[0044] Among them, the regression loss term is:
[0045] In the formula, y i,NN is the output value of the prediction model, y i is the expected value.
[0046] Structural loss term:
[0047] In the formula, w jk is the structural weight connecting the j-th input layer and the k-th hidden layer.
[0048] Physical inconsistency penalty term:
[0049] In the formula, T j is the number of synthetic samples of monotonicity between input and output of the jth dimension; m i,j is the monotonicity factor. If the physical constraint monotonicity is positive, then m i,j = -1, otherwise m i,j =1;x i,syn is the artificial input part of the i-th synthetic sample.
[0050] Preferably, step S203 is characterized in that the network parameters are optimized using a CMA-ES strategy. CMA-ES is a parameter optimization method based on an evolutionary algorithm, which continuously adjusts the combination of parameters by simulating the process of natural selection to find the minimum point of the loss function, and includes the following steps:
[0051] S2031: Initialize the parameters of the CMA-ES algorithm, including the initial parameter vector, covariance matrix, population size, etc.;
[0052] S2032: Calculate the fitness of CMA-ES, that is, the above loss function;
[0053] S2033: Adaptively adjust the parameter search strategy according to the change of the fitness value until the convergence condition is met, and it is optimal at this time.
[0054] Preferably, the step S300 is characterized in that, in order to achieve efficient conversion and utilization between different energy forms, reduce the operating cost of the energy supply system, achieve energy conservation and emission reduction, and improve stability, a multi-objective optimization configuration model of the regional cold and heat source energy supply network is constructed based on the principle of energy cascade utilization, including the following steps:
[0055] S301: Based on the distribution characteristics of the regional building cold and heat source energy supply network and the principle of energy cascade utilization, formulate energy utilization priorities;
[0056] S302: Establish a multi-objective optimization configuration model by comprehensively considering indicators such as the economy, stability, environmental friendliness and energy efficiency of the energy supply network.
[0057] Preferably, step S301 is characterized in that the principle of energy cascade utilization is: first, priority should be given to the use of high-quality energy, such as clean energy (solar energy, wind energy), and fossil energy (natural gas) with high energy density and low pollution; if high-quality energy is insufficient or the cost is high, medium-quality energy can be considered, such as fossil energy such as oil and coal; when high-quality and medium-quality energy are unavailable or insufficient, low-quality energy can be considered, such as biomass, waste heat, etc.
[0058] Preferably, step S302 is characterized in that the multi-objective optimization method of the energy supply network takes minimum carbon emissions, minimum annual operating costs, maximum energy utilization efficiency and optimal regional energy supply reliability as optimization objectives, and takes electricity balance, heat balance and equipment safe operating range as constraints.
[0059] Preferably, the step S302 is characterized in that the optimization objective expressions of the energy supply network are:
[0060] Minimum carbon emissions: min C car=min C h +C c +C e
[0061] In the formula, C car The total carbon emissions of the regional building energy supply system over its entire life cycle, tCO2; C h is the carbon emission of the energy supply system during its entire life cycle, tCO2; C c is the carbon emission of the energy supply system during its entire life cycle, tCO2; C e It is the carbon emission of the energy supply system throughout its entire life cycle, tCO2.
[0062] Minimum annual operating cost: minC cost =min∑ r A r ×c inv,r ×G eq,r +c op,r ×n r ]
[0063] In the formula, r is the equipment category; C cost is the annual operating cost of the system, 10,000 yuan; A r is the equipment investment cost recovery coefficient; c inv,r is the initial investment cost per unit capacity of the equipment, 10,000 yuan / kW; G eq,r is the equipment capacity, kW; c op,r is the equipment operation and maintenance cost coefficient, including system maintenance cost and fuel consumption cost; n is the number of equipment.
[0064] Highest energy efficiency:
[0065] Where, λ is the energy efficiency; P H P is the consumption of high-quality energy such as wind, light, electricity and natural gas; z is the total energy consumption of the energy supply system.
[0066] Optimal regional energy supply reliability:
[0067] In the formula, η is the reliability of the regional energy supply system; r is the equipment category; R r t is the stable performance of the equipment r in the given period of time; G r t, G r,min and G r,max Respectively represent the operating load, minimum load and maximum load of each device, kW; ω1 and ω2 are the weights of the equipment operation stability performance, and
[0068] Preferably, the step S302 is characterized in that each constraint expression of the energy supply network is:
[0069] Power balance constraint: E ice +E gri +E pv +E bat,out +E wf ≥E use +E ash +E hp
[0070] In the formula, E ice is the power generation of the gas turbine, kWh; E gri is the amount of electricity purchased from the municipal power grid, kWh; E pv is photovoltaic power generation, kwh; E bat,out is the battery discharge, kWh; E wf is the discharge capacity of wind power generation, kWh; E use is the regional building electricity load, kWh; E ash is the power consumption of the electric refrigerator, kWh; E hp is the power consumption of the ground source heat pump, kWh.
[0071] Heat balance constraint: Q ex +Q gb +Q sol +Q hts,out ≥Q use
[0072] In the formula, Q ex is the heat release of the heat exchanger, kWh; Q gb Heat released by the boiler, kWh; Q sol The heat collected by the solar thermal system, kWh; Q hts,out Heat released to the heat storage system, kWh; Q use is the thermal load of the park, kWh.
[0073] Cooling balance constraint: C ash +C hp +C ahp ≥C use
[0074] In the formula, C ash is the cooling capacity of the electric refrigerator, kWh; C hp is the cooling capacity of the ground source heat pump, kWh; C ahp is the cooling capacity of the absorption refrigerant, kWh; C use is the cooling load of the park, kWh.
[0075] Equipment safe operation constraints: G r,min ≤G r ≤Gr,max
[0076] In the formula, G r Indicates the operating load of each device, kW; G r,min and G r,max Indicates the limit load of each device, kW.
[0077] Preferably, the step S400 is characterized in that, in order to obtain the optimal control strategy of the cold and heat source energy supply system of the regional building, according to the load prediction result of the above-mentioned PINN-anti model, a multi-objective particle swarm algorithm is used to obtain the cold and heat source optimization configuration strategy as a decision reference, including the following steps:
[0078] S401: Use the constructed and trained PINN-anti model to predict the building load and obtain the prediction result;
[0079] S402: Initialize the parameters of the MOPSO algorithm, including population size, number of iterations, learning factor, initial speed and position, etc.;
[0080] S403: performing normalized weighted processing on the above optimization objectives to construct a multi-objective optimization function, i.e., a fitness function;
[0081] S404: Perform boundary value processing based on the above constraints, and update the speed and position of each particle according to the fitness value of the particle until the convergence condition is met, which is the optimal state.
[0082] Preferably, step S402 is characterized in that the individual particles in the MOPSO algorithm are optimized toward the individual extreme value through local search or random search, and the population extreme value is obtained through the individual extreme value, and the population extreme value in turn guides the individual search direction, and the individual shares information with the population to obtain the global optimal solution. The iteration formula is as follows:
[0083]
[0084] In the formula, v id (k) is the velocity of particle i in the d direction in the kth iteration; x id (k) is the position of particle i in the d direction in the kth iteration; ω i is the inertia weight; c1 and c2 are individual learning factors; ρ1 and ρ2 are random numbers in the interval [0,1]; p id,pbest (k) is the historical optimal position of particle i in the d direction in the kth iteration, that is, the optimal solution obtained by the i-th particle (individual) after the kth iteration; p d,gbest (k) is the historical optimal position of the group in the d direction in the kth iteration, that is, the optimal solution in the entire particle population after the kth iteration; i and N are the current iteration number and the total iteration number, respectively.
[0085] Preferably, the step S403 is characterized in that the normalized weighted processing and construction of the multi-objective optimization function expression is as follows:
[0086]
[0087] In the formula, C car,e , C cost,e , e and η e are the normalized objective functions; μ1, μ2, μ3 and μ4 are the weight coefficients of the objective functions; f G r ,t is the multi-objective optimization function, that is, the fitness function.
[0088] Preferably, the step S500 is characterized in that, based on the above-mentioned predicted load and multi-objective optimization results, by analyzing the actual situation and a posteriori knowledge to establish multi-dimensional cold and hot load physical information constraints, the configuration scheme of the cold and hot sources is further optimized to make it meet the actual needs and physical laws, including the following steps:
[0089] S501: performing quantitative or qualitative analysis based on a posteriori knowledge on each objective function value and each component load of the energy supply system in the above multi-objective particle swarm algorithm optimization result;
[0090] S502: Then construct physical information constraint relationships and physical inconsistency loss items that conform to the regional building cold and heat source energy supply principles, energy market laws, and carbon emission paths.
[0091] Preferably, the step S501 is characterized in that the physical information constraint relationship of the quantitative or qualitative analysis is:
[0092] There is a monotonically increasing relationship between the minimum carbon emissions and the maximum energy efficiency, namely:
[0093] The cold and hot forecast loads are monotonically increasing with the minimum annual operating cost and the functional load of each device, namely:
[0094]
[0095] Preferably, the step S502 is characterized in that the physical inconsistency loss term is constructed as follows:
[0096]
[0097] Where, L acti,p is the physical inconsistency loss term of the tuning model; L acti,η To constrain the loss of system reliability, and to ensure the stable operation of the system, the loss function is penalized when it exceeds the range; Lacti,st is the monotonic constraint loss for tuning the model.
[0098] Preferably, the step S600 is characterized in that, in order to improve the computational efficiency of the nonlinear multi-objective optimization problem and meet the real-time requirements of continuous planning, the above prediction and optimization results are preprocessed with input and output sets, and a building cold and heat source tuning model PINN-acti is constructed and trained based on the above physical information constraints, including the following steps:
[0099] S601: The cold and hot load prediction results and the minimum carbon emission, the minimum annual operating cost, the highest energy utilization efficiency and the best regional energy supply reliability after MOPSO iterative optimization are used as input data sets, and the operating load of each device after MOPSO iterative optimization is used as the output data set;
[0100] S602: Determine the variation range of the input and output data sets and perform normalization processing.
[0101] S603: Based on the above physical information constraints and preprocessed input and output data sets, a building cooling and heating source tuning model PINN-acti is constructed and trained.
[0102] Preferably, the step S603 is characterized in that the tuning model construction training process can be integrated into the physical law and end-to-end learning can be performed in combination with data, wherein the tuning model PINN-acti loss function expression is:
[0103]
[0104] Where, L acti,r is the regression loss term of the tuning model, L acti,s is the structural loss term for tuning the model.
[0105] Preferably, step S700 is characterized in that the regional building source network automatic tuning and control system that can be implemented based on predicted load includes: converting the double PINN algorithm into a machine language that can be recognized by the computer and writing it into the storage module; returning the data collected by the building environment sensor and the terminal cold and heat source control device to the computer through the communication device; the calculation module divides the input and output data sets according to the collected data and uses the built-in algorithm to calculate and optimize the system; the optimization result is converted into a control signal and sent to the terminal controller through the communication device; the terminal controller changes the working state of each component according to the control signal to complete the automatic tuning configuration of the regional building energy supply system. BRIEF DESCRIPTION OF THE DRAWINGS
[0106] Figure 1 A schematic flow chart of an exemplary method for optimizing a regional cold and heat source energy supply network based on a dual physical information neural network provided in an embodiment of the present application;
[0107] Figure 2 A schematic diagram of an exemplary PINN-anti load forecasting model framework provided in an embodiment of the present application;
[0108] Figure 3 A schematic diagram of an exemplary automatic optimization algorithm framework for an energy supply network based on dual PINN provided in an embodiment of the present application;
[0109] Figure 4 A schematic diagram of the framework of an exemplary regional cold and heat source energy supply network automatic optimization and control system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0110] In order to make those skilled in the art better understand the technical solutions in the embodiments of the present invention, the technical solutions in the present invention are clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. In the description process, the specific embodiments described are only used to explain the present application and are not used to limit the scope of the present application. After reading the present invention, various equivalent modifications of the present invention by those skilled in the art all fall within the scope defined by the claims attached to the present application.
[0111] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of hardware embodiments, software embodiments, or embodiments of hardware and software integrated.
[0112] It should be noted that similar numbers and letters in the embodiments of the present invention represent similar items in the drawings. If an item is defined in one drawing, it does not need to be repeatedly defined and explained in the subsequent drawings. In addition, the features of the embodiments of the present invention can be combined with each other without conflict.
[0113] Embodiment 1:
[0114] In order to solve the problems existing in the background technology, a regional cold and heat source energy supply network tuning method based on dual physical information neural network is proposed, including a building load prediction model PINN-anti and a building multi-objective tuning model PINN-acti constructed and trained based on physical information constraints.
[0115] PINN-anti model: This model has strong interpretability and generalization capabilities, and can still have excellent prediction accuracy under complex and wide working conditions of regional buildings. By building and training based on physical information constraints, the model can meet engineering needs and effectively predict building load conditions.
[0116] PINN-acti model: This model uses the MOPSO (multi-objective particle swarm optimization) algorithm to develop training sets and validation sets, and has high computational efficiency when facing nonlinear multi-objective optimization problems. This model can meet the real-time requirements of continuous planning and effectively optimize the regional cold and heat source energy supply network.
[0117] In the embodiments of the present application, PINN (full name: Physics-informed Neural Network, Chinese name: Physical Information Constrained Neural Network) technology combines the nonlinear fitting ability of neural networks and prior knowledge of physical mechanisms. On the one hand, it makes full use of data-driven, and on the other hand, it speeds up training through embedded physical information, reduces the demand for data volume, and increases model solving efficiency and generalization ability.
[0118] The regional cold and heat source energy supply network tuning method process based on the dual physical information neural network in the embodiment of the present application is as follows: Figure 1 As shown, the following steps are included:
[0119] S100: Acquire and preprocess the load history data set containing building environment information, and establish quantitative or qualitative physical information constraints of cooling and heating loads based on thermodynamic prior mechanisms;
[0120] S200: construct and train a building load prediction model PINN-anti based on the above load data set and physical information constraints;
[0121] S300: Based on the principle of energy cascade utilization, a multi-objective optimization configuration model for regional cold and heat source energy supply network is constructed;
[0122] S400: Based on the load prediction results of the PINN-anti model, a multi-objective particle swarm algorithm is used to optimize the configuration of cold and hot sources;
[0123] S500: Analyze the above predicted load and multi-objective optimization results, and establish multi-dimensional physical information constraints of cold and hot loads based on a posteriori knowledge;
[0124] S600: Preprocess the input and output sets of the above prediction and optimization results, and construct and train the building cooling and heating source tuning model PINN-acti based on the above physical information constraints.
[0125] S700: Obtain the measured information of the building environment, and based on the above-mentioned PINN-anti and PINN-acti models, realize the automatic optimization and control of the source network of regional buildings based on the predicted load through the control system.
[0126] Exemplarily, the process of processing and analyzing the historical data set in step S100 to obtain physical constraints for guiding the model to learn the real law of building load is shown in steps S101-S103:
[0127] S101: Obtain a load history data set containing building environment information;
[0128] S102: preprocessing the above load history data set;
[0129] S103: Based on the thermodynamic heat and mass transfer prior mechanism, the dependency analysis of building environmental parameters and cooling and heating loads is carried out to establish a physical monotonic constraint relationship that conforms to the actual generation mechanism of cooling and heating loads.
[0130] Further, with respect to step S101, obtaining a load history data set containing building environment information includes: building utilization rate x a , outdoor temperature x b , Outdoor wind speed x c , Outdoor solar radiation rate x d , indoor temperature x e , indoor occupancy density x f , Indoor equipment utilization rate x g , time series data t and historical building cooling and heating load y(y c and h ),in Indicates the dimension of the data.
[0131] It should be noted that in the embodiment of the present application, the load history data set may include building environment information, such as building utilization rate, outdoor temperature and outdoor wind speed, etc., and may also be other similarity data not mentioned in the embodiment of the present application. The specific data may be increased or decreased according to actual conditions, and the embodiment of the present application is not limited to this.
[0132] Further, with respect to step S102, in the PINN algorithm, in order to ensure the stability, convergence and generalization ability of the training model, the process of preprocessing the data is shown in steps S1021-S1023:
[0133] S1021: Firstly, the data is smoothed and denoised using a periodic decomposition method;
[0134] S1022: Then, the smoothed data set is sampled using a time series sampling method to establish a training set, a test set, and a validation set;
[0135] S1023: Determine the variation range of each of the above sample data sets and perform normalization processing.
[0136] Furthermore, in an embodiment of the present application, a periodic decomposition method (such as STL decomposition) is used to decompose the original data into three parts: trend, seasonality and residual; the weighted moving average method is used to smooth the seasonality and residual parts to reduce the noise level of the data; the smoothed seasonality and residual parts are added to the trend of the original data to obtain smoothed data.
[0137] Furthermore, in the embodiment of the present application, each data point is sampled in chronological order with the time step length being hours, and the data points are sequentially allocated to the training set, the test set, and the validation set, ensuring that the data in the training set is a continuous time series for the training of the model.
[0138] Furthermore, in the embodiment of the present application, all features in the data set are mapped to the range of [0,1] to ensure that the numerical ranges of different features are unified to the same scale range, so as to better train the model and improve the stability and convergence speed of the model. The normalization formula is as follows:
[0139]
[0140] It should be noted that x is the original data and x, is the normalized data.
[0141] Furthermore, for step S103, a quantitative or qualitative cold and heat load physical information constraint method is established based on the thermodynamic prior mechanism. First, the dependency analysis of building environmental parameters and cold and heat loads is performed based on the thermodynamic heat and mass transfer prior mechanism, and then a physical monotonic constraint relationship that conforms to the actual generation mechanism of cold and heat loads is established.
[0142] Furthermore, in the embodiment of the present application, when the multiple constraint relationships include the building utilization rate and the building cooling and heating load, the physical information constraint function is:
[0143] Furthermore, in the embodiment of the present application, when the multiple constraint relationships include outdoor temperature and outdoor solar radiation rate and building cooling load, outdoor wind speed and indoor temperature and building cooling load, the physical information constraint function is:
[0144]
[0145] Furthermore, in the embodiment of the present application, when the multiple constraint relationships include outdoor temperature and outdoor solar radiation rate and building heat load, outdoor wind speed and indoor temperature and building heat load, the physical information constraint function is:
[0146]
[0147] Furthermore, in the embodiment of the present application, when the multiple constraint relationships include indoor occupant density, indoor equipment utilization rate and building cooling and heating load, the physical information constraint function is:
[0148]
[0149] It should be noted that in the embodiments of the present application, the physical information constraints may include physical monotonic constraint relationships that conform to the actual generation mechanism of cold and hot loads, such as the monotonically increasing relationship between the building utilization rate and the building cold and hot loads, etc., or other similarity constraints not mentioned in the embodiments of the present application. The specific ones may vary according to actual conditions, and the embodiments of the present application are not limited to this.
[0150] For example, Figure 2 This is a schematic diagram of the PINN-anti load prediction model framework in the embodiment of the present application, see Figure 2 In step S200, physical information constraints are integrated into the model to improve the generalization ability and interpretability of the model. The process of constructing and training the building load prediction model PINN-anti based on the above load data set is shown in steps S201-S203:
[0151] S201: A neural network with a structure of nN-1 is used as the basic framework of the building load (cold or hot) prediction model;
[0152] S202: Embed the physical constraint equation into the neural network and construct a loss function including a structural loss term and a physical inconsistency loss term;
[0153] S203: Initialize the network parameters θ=w,b of the prediction model, train the PINN model based on the training data set, and use the covariance matrix adaptive evolution strategy (CMA-ES) to optimize the network parameters. When the convergence conditions are met, it is optimal.
[0154] Further, for step S201, in the neural network model with a structure of nN-1, n and N represent the number of neurons in the input layer and hidden layer of the model respectively, and n=a+b+…+g+1; the output layer is the building cooling and heating load (one-dimensional).
[0155] Furthermore, for step S202, the structural loss term is used to constrain the learning process of the network so that it better conforms to the laws of physics; the physical inconsistency loss term is used to measure the difference between the model output and the physical equation to further improve the accuracy and interpretability of the model. The loss function expression containing the structural loss term and the physical inconsistency loss term is:
[0156] L anti =L anti,r +L anti,s +Lanti,p
[0157] It should be noted that L anti,r is the regression loss term of the prediction model, indicating the model residual value; L anti,s is the structural loss term of the prediction model, which represents the L2 norm of the network weight; L anti,p The physical inconsistency loss term of the prediction model indicates how well the model fits the physical mechanism.
[0158] Furthermore, in an embodiment of the present application, when the PINN-anti algorithm loss function includes regression loss, the regression loss term function expression is:
[0159] It should be noted that y i,NN is the output value of the prediction model, y i is the expected value.
[0160] Furthermore, in an embodiment of the present application, when the PINN-anti algorithm loss function includes structural loss, the structural loss term function expression is:
[0161] It should be noted that w jk is the structural weight connecting the j-th input layer and the k-th hidden layer.
[0162] Furthermore, in the embodiment of the present application, when the PINN-anti algorithm loss function includes physical inconsistency loss, the physical inconsistency loss term function expression is:
[0163] It should be noted that T j is the number of synthetic samples of monotonicity between input and output of the jth dimension; m i,j is the monotonicity factor. If the physical constraint monotonicity is positive, then m i,j = -1, otherwise m i,j =1;x i,syn is the artificial input part of the i-th synthetic sample.
[0164] Further, with respect to step S203, the process of optimizing network parameters using the CMA-ES strategy is shown in steps S2031-S2033:
[0165] S2031: Initialize the parameters of the CMA-ES algorithm, including the initial parameter vector, covariance matrix, population size, etc.;
[0166] S2032: Calculate the fitness of CMA-ES, that is, the above loss function;
[0167] S2033: Adaptively adjust the parameter search strategy according to the change of the fitness value until the convergence condition is met, and it is optimal at this time.
[0168] Exemplarily, step S300 is to achieve efficient conversion and utilization between different energy forms, reduce the operating cost of the energy supply system, achieve energy conservation and emission reduction, and improve stability. Based on the principle of energy cascade utilization, the process of constructing a multi-objective optimization configuration model for the regional cold and heat source energy supply network is shown in steps S301-S302:
[0169] S301: Based on the distribution characteristics of the regional building cold and heat source energy supply network and the principle of energy cascade utilization, formulate energy utilization priorities;
[0170] S302: Establish a multi-objective optimization configuration model by comprehensively considering indicators such as the economy, stability, environmental friendliness and energy efficiency of the energy supply network.
[0171] Furthermore, for step S301, the principle of energy cascade utilization is: first, priority should be given to the use of high-quality energy, such as clean energy (solar energy, wind energy), and fossil energy (natural gas) with high energy density and low pollution; if high-quality energy is insufficient or the cost is high, you can consider using medium-quality energy, such as fossil energy such as oil and coal; when high-quality and medium-quality energy are unavailable or insufficient, you can consider using low-quality energy, such as biomass, waste heat, etc.
[0172] Furthermore, for step S302, the multi-objective optimization method of the energy supply network takes minimum carbon emissions, minimum annual operating costs, maximum energy utilization efficiency and optimal regional energy supply reliability as optimization goals, and takes electricity balance, heat balance and equipment safe operating range as constraints.
[0173] Furthermore, in the embodiment of the present application, when multiple optimization objectives include minimum carbon emissions, the minimum carbon emissions function expression is: minC car =minC h +C c +C e
[0174] It should be noted that C car The total carbon emissions of the regional building energy supply system over its entire life cycle, tCO2; C h is the carbon emission of the energy supply system during its entire life cycle, tCO2; C c is the carbon emission of the energy supply system during its entire life cycle, tCO2; C e It is the carbon emission of the energy supply system throughout its entire life cycle, tCO2.
[0175] Furthermore, in the embodiment of the present application, when multiple optimization objectives include the minimum annual operating cost, the minimum annual operating cost function expression is: minC cost =min∑ r A r ×c inv,r ×G eq,r +c op,r ×n r
[0176] It should be noted that r is the device category; C cost is the annual operating cost of the system, 10,000 yuan; A r is the equipment investment cost recovery coefficient; c inv,r is the initial investment cost per unit capacity of the equipment, 10,000 yuan / kW; G eq,r is the equipment capacity, kW; c op,r is the equipment operation and maintenance cost coefficient, including system maintenance cost and fuel consumption cost; n is the number of equipment.
[0177] Furthermore, in the embodiment of the present application, when multiple optimization objectives include the highest energy utilization efficiency, the highest energy utilization efficiency function expression is:
[0178] It should be noted that λ is the energy utilization efficiency; P H P is the consumption of high-quality energy such as wind, light, electricity and natural gas; z is the total energy consumption of the energy supply system.
[0179] Furthermore, in the embodiment of the present application, when multiple optimization objectives include the best regional energy supply reliability, the function expression of the best regional energy supply reliability is:
[0180] It should be noted that η is the reliability of the regional energy supply system; r is the equipment category; R r t is the stable performance of the equipment r in the given period of time; G r t, G r,min and G r,max Respectively represent the operating load, minimum load and maximum load of each device, kW; ω1 and ω2 are the weights of the equipment operation stability performance, and
[0181] Furthermore, in the embodiment of the present application, when multiple constraints include power balance, the power balance constraint function expression is: E ice +E gri +E pv +E bat,out +E wf ≥E use +Eash +E hp
[0182] It should be noted that E ice is the power generation of the gas turbine, kWh; E gri is the amount of electricity purchased from the municipal power grid, kWh; E pv is photovoltaic power generation, kwh; E bat,out is the battery discharge, kWh; E wf is the discharge capacity of wind power generation, kWh; E use is the regional building electricity load, kWh; E ash is the power consumption of the electric refrigerator, kWh; E hp is the power consumption of the ground source heat pump, kWh.
[0183] Furthermore, in the embodiment of the present application, when multiple constraints include heat balance, the heat balance constraint function expression is: Q ex +Q gb +Q sol +Q hts,out ≥Q use
[0184] It should be noted that Q ex is the heat release of the heat exchanger, kWh; Q gb Heat released by the boiler, kWh; Q sol The heat collected by the solar thermal system, kWh; Q hts,out Heat released to the heat storage system, kWh; Q use is the thermal load of the park, kWh.
[0185] Furthermore, in the embodiment of the present application, when multiple constraints include cooling balance, the cooling balance constraint function expression is: C ash +C hp +C ahp ≥C use
[0186] It should be noted that C ash is the cooling capacity of the electric refrigerator, kWh; C hp is the cooling capacity of the ground source heat pump, kWh; C ahp is the cooling capacity of the absorption refrigerant, kWh; C use is the cooling load of the park, kWh.
[0187] Furthermore, in the embodiment of the present application, when multiple constraints include equipment safety operation constraints, the equipment safety operation constraint function expression is: G r,min ≤G r ≤G r,max
[0188] It should be noted that G r Indicates the operating load of each device, kW; G r,min and G r,max Indicates the limit load of each device, kW.
[0189] For example, Figure 3 This is a schematic diagram of the framework of the automatic optimization algorithm for the energy supply network based on the dual PINN in the embodiment of the present application, see Figure 3 Step S400 is to obtain the optimal control strategy of the regional building cold and heat source energy supply system. According to the load prediction results of the PINN-anti model, the process of using the multi-objective particle swarm algorithm to obtain the cold and heat source optimization configuration strategy is shown in steps S401-S404:
[0190] S401: Use the constructed and trained PINN-anti model to predict the building load and obtain the prediction result;
[0191] S402: Initialize the parameters of the MOPSO algorithm, including population size, number of iterations, learning factor, initial speed and position, etc.;
[0192] S403: performing normalized weighted processing on the above optimization objectives to construct a multi-objective optimization function, i.e., a fitness function;
[0193] S404: Perform boundary value processing based on the above constraints, and update the speed and position of each particle according to the fitness value of the particle until the convergence condition is met, which is the optimal state.
[0194] Further, for step S402, in the MOPSO algorithm, individual particles are optimized toward individual extreme values through local search or random search, and the population extreme value is obtained through the individual extreme value. The population extreme value in turn guides the individual search direction, and the individual shares information with the population to obtain the global optimal solution. The iteration formula is as follows:
[0195]
[0196] It should be noted that v id (k) is the velocity of particle i in the d direction in the kth iteration; x id (k) is the position of particle i in the d direction in the kth iteration; ω i is the inertia weight; c1 and c2 are individual learning factors; ρ1 and ρ2 are random numbers in the interval [0,1]; p id,pbest (k) is the historical optimal position of particle i in the d direction in the kth iteration, that is, the optimal solution obtained by the i-th particle (individual) after the kth iteration; p d,gbest(k) is the historical optimal position of the group in the d direction in the kth iteration, that is, the optimal solution in the entire particle population after the kth iteration; i and N are the current iteration number and the total iteration number, respectively.
[0197] Further, for step S403, normalized weighted processing is performed and a multi-objective optimization function expression is constructed as follows:
[0198]
[0199] It should be noted that C car,e , C cost,e , e and η e are the normalized objective functions; μ1, μ2, μ3 and μ4 are the weight coefficients of the objective functions; f G r ,t is the multi-objective optimization function, that is, the fitness function.
[0200] For example, see Figure 3 Step S500 is based on the PINN-anti predicted load and the MOPSO multi-objective optimization results, and establishes multi-dimensional physical information constraints of cold and hot loads by analyzing the actual situation and a posteriori knowledge, and further optimizes the configuration scheme of cold and hot sources to make it meet the actual needs and physical laws. The process is shown in steps S501-S502:
[0201] S501: performing quantitative or qualitative analysis based on a posteriori knowledge on each objective function value and each component load of the energy supply system in the above multi-objective particle swarm algorithm optimization result;
[0202] S502: Then construct physical information constraint relationships and physical inconsistency loss items that conform to the regional building cold and heat source energy supply principles, energy market laws, and carbon emission paths.
[0203] Furthermore, in the embodiment of the present application, when the physical information constraint relationship includes minimum carbon emissions and maximum energy efficiency in the quantitative or qualitative analysis, the physical information constraint function is:
[0204] Furthermore, in the embodiment of the present application, when the physical information constraint relationship includes the cold and hot forecast loads, the minimum annual operating cost, and the functional load of each device in the quantitative or qualitative analysis, the physical information constraint function is:
[0205] It should be noted that in the embodiments of the present application, the physical information constraints may include the physical monotonic constraint relationship between each objective function value and the load of each component of the energy supply system, such as the monotonically increasing relationship between the cold and hot forecast loads and the minimum annual operating cost and the functional load of each equipment, etc. It may also be other similarity constraints not mentioned in the embodiments of the present application. The specific ones may vary according to actual conditions, and the embodiments of the present application are not limited to this.
[0206] Further, for step S502, the physical inconsistency loss term is constructed as:
[0207]
[0208] It should be noted that L acti,p is the physical inconsistency loss term of the tuning model; L acti,η To constrain the loss of system reliability, and to ensure the stable operation of the system, the loss function is penalized when it exceeds the range; L acti,st is the monotonic constraint loss for tuning the model.
[0209] For example, see Figure 3 In step S600, in order to improve the computational efficiency of the nonlinear multi-objective optimization problem and meet the real-time requirements of continuous planning, the above prediction and optimization results are preprocessed into input and output sets, and the building heat and cold source tuning model PINN-acti is constructed and trained based on the above physical information constraints. The process is shown in steps S601-S603:
[0210] S601: The cold and hot load prediction results and the minimum carbon emission, the minimum annual operating cost, the highest energy utilization efficiency and the best regional energy supply reliability after MOPSO iterative optimization are used as input data sets, and the operating load of each device after MOPSO iterative optimization is used as the output data set;
[0211] S602: Determine the variation range of the input and output data sets and perform normalization processing.
[0212] S603: Based on the above physical information constraints and preprocessed input and output data sets, a building cooling and heating source tuning model PINN-acti is constructed and trained.
[0213] Further, for step S603, the physical law is integrated into the tuning model construction training process, and the tuning model PINN-acti loss function expression is obtained as follows:
[0214]
[0215] It should be noted that L acti,r is the regression loss term of the tuning model, L acti,s is the structural loss term for tuning the model.
[0216] For example, see Figure 3 In step S700, the measured information can be obtained by using the terminal building environment sensor, and the information is used as the input data set after data preprocessing. The calculation module is used to calculate and optimize the regional building cold and heat source energy supply system based on the built-in PINN-anti and PINN-acti models. According to the optimization results, the source network automatic control system is used to realize the optimal energy supply scheduling based on the predicted load.
[0217] In the embodiments of the present application, it can be understood that the regional cold and heat source energy supply network tuning method and system based on the dual physical information neural network uses the measured information obtained by the building environment sensor as the input data set, which can monitor the environmental parameters inside and outside the building in real time, such as temperature, humidity, etc., and more accurately reflect the actual conditions of the internal and external environment of the building, so that the calculation optimization process can respond to environmental changes in a timely manner; through data preprocessing operations, the reliability and accuracy of the input data set can be guaranteed; the physical information constraints are embedded in the data-driven model, and the PINN-anti and PINN-acti models are trained to improve its computational efficiency and generalization ability, and realize the rapid optimization of the regional building cold and heat source energy supply system; combined with the source network automatic control system, the optimal energy supply scheduling based on the predicted load can be achieved according to the optimization results.
[0218] Embodiment 2:
[0219] The present invention also provides a regional building source network automatic tuning and control system based on predicted load, which realizes intelligent management and optimization of building cold and heat source systems by integrating PINN-anti model and PINN-acti model. The system can effectively improve energy utilization efficiency, reduce energy consumption costs, and meet the energy needs of regional buildings.
[0220] In the embodiment of the present application, the automatic tuning and control system framework of the regional cold and heat source energy supply network is as follows: Figure 4 As shown in the figure, the overall system architecture design is divided into four basic levels, including: user layer, cloud service layer, edge service layer and terminal device layer.
[0221] Exemplarily, in an embodiment of the present application, the user layer is the visual part where users interact with the automated tuning and control system, and mainly includes a human-computer interaction module, an energy supply network operation monitoring module, an energy supply network tuning and control module, an operation data analysis and evaluation module, and an energy supply network abnormality notification and alarm module, which can realize functions such as monitoring device status, controlling device operation, and viewing data reports.
[0222] Furthermore, in the embodiment of the present application, the human-computer interaction module provides a user-friendly interface, including a graphical user interface (GUI) or a command line interface (CLI). The user interacts and operates with the system through the module, checks the working status, energy consumption, environmental parameters and other information of the device, and promptly discovers and handles abnormal situations.
[0223] Exemplarily, in the embodiments of the present application, the cloud service layer is the core part of the automated tuning and control system, located between the user layer and the edge service layer, and mainly includes a cloud security and authority control module, a cloud data reading and writing module, a PINN-anti model training module, a PINN-acti model training module, and a cloud abnormality notification alarm module, which can realize functions such as user authority management, cloud data reading and writing, and cloud model training. Furthermore, in the embodiments of the present application, the PINN-anti and PINN-acti model training modules are responsible for tasks such as collecting and processing data, designing and optimizing model structures, and performing model training and evaluation to achieve accurate prediction of building loads and optimal scheduling of energy supply systems. The trained model is deployed to the edge service layer to better meet the system's requirements for efficiency, reliability, and real-time.
[0224] Furthermore, in the embodiment of the present application, the cloud service layer uses high-performance servers to handle high-concurrency resource access and high-computing model training, etc. The server computing resources use graphics processing units (GPUs), tensor processing units (TPUs), neural network processors (NPUs) or other dedicated accelerators to meet the needs of large-scale PINN model parallel training.
[0225] Exemplarily, in an embodiment of the present application, the edge service layer is located in the system at a position closer to the terminal device, and is a bridge connecting the terminal device and the cloud service. It mainly includes an edge security and authority control module, an edge data reading and writing module, an edge data reading and writing module, an edge optimization algorithm decision module, and an edge abnormality notification alarm module, which can realize functions such as local data caching, data preprocessing, model deployment, edge computing analysis, and optimization decision-making.
[0226] Furthermore, in the embodiment of the present application, the edge service layer includes a processor, a memory, a communicator, etc., and has data calculation, storage and transmission capabilities. It can perform part of the data processing and analysis locally, reduce dependence on cloud servers, reduce data transmission delays and costs, and improve the response speed and efficiency of the system.
[0227] Furthermore, in the embodiments of the present application, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), or other programmable logic devices, etc.; the memory may be a main memory (RAM), an auxiliary memory (ROM such as a disk or a solid-state drive), or other disk storage and optical storage, etc.
[0228] For example, in the embodiment of the present application, the terminal device layer is the lowest layer in the system, including various terminal devices connected to the system based on the Internet of Things technology. It mainly includes a terminal security and authority control module, a terminal data read and write module, a terminal data read and write module, a terminal device control module, and a terminal abnormality notification alarm module, which can realize functions such as data collection, data transmission, device management, and control instruction execution.
[0229] Furthermore, in the embodiment of the present application, the terminal device may be a sensor, an actuator, a power supply device, etc., which is used to collect environmental data and control device operation, etc. The terminal device exchanges and communicates data with the edge service layer through various IoT communication technologies (such as Wi-Fi, Bluetooth, Zigbee, etc.).
[0230] In the embodiment of the present application, the abnormal notification alarm modules at each level are responsible for monitoring the operating status and data anomalies of the system, promptly discovering and notifying users or administrators, and can realize functions such as anomaly detection, alarm notification, and log recording to ensure the stability and reliability of the system.
[0231] It should be noted that in the embodiments of the present application, the regional building source network automated tuning and control system architecture may include four basic levels, such as user level, cloud service level, edge service level and terminal device level, etc., and may also be other similarity levels not mentioned in the embodiments of the present application, which may be increased or decreased according to actual conditions; the automated tuning and control system may include functions such as user authority management, monitoring device status, controlling device operation and viewing data reports, and may also be other similarity functions not mentioned in the embodiments of the present application, which may be increased or decreased according to actual conditions, and the embodiments of the present application do not limit this.
[0232] In the embodiment of the present application, it can be understood that the regional building source network automatic tuning and control system based on the predicted load is distributedly deployed in the hardware of each level according to the designed four-layer architecture, including sensors, storage, communicators, calculators, controllers and visual interactors, etc. The various hardware devices of the system work together at different levels to jointly realize the automatic tuning and control of the regional building source network and improve the efficiency and stability of the system.
[0233] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. It is not necessary and impossible to list all the embodiments here. Within the spirit and principle of the present invention, equivalent substitutions or changes made by technicians in this technical field on the basis of the present invention also fall within the scope defined by the claims attached to this application. The scope of protection of the present invention shall be subject to the claims.
Claims
1. A method for optimizing a regional cold and heat source energy supply network based on a dual physical information neural network, characterized in that: The method comprises: obtaining and preprocessing a load history data set containing building environment information, establishing quantitative or qualitative cold and heat load physical information constraints according to thermodynamic prior mechanisms; constructing and training a building load prediction model PINN-anti based on the load data set and physical information constraints; constructing a multi-objective optimization configuration model for a regional cold and heat source energy supply network according to the principle of energy cascade utilization; optimizing the configuration of cold and heat sources based on the load prediction results of the PINN-anti model using a multi-objective particle swarm algorithm; analyzing the predicted load and multi-objective optimization results, and establishing multi-dimensional cold and heat load physical information constraints according to a posteriori knowledge; performing input and output set preprocessing on the prediction and optimization results, and constructing and training a building cold and heat source tuning model PINN-acti based on the physical information constraints; obtaining measured building environment information, and based on the PINN-anti and PINN-acti models, realizing automatic source network tuning and control of regional buildings based on predicted loads through a control system.
2. The method according to claim 1, characterized in that The method uses the preprocessed historical data set as training data and test data, constructs and trains a prediction model containing physical information constraints for the regional buildings, and obtains a load prediction model PINN-anti, including: obtaining a load historical data set containing building environmental information (including building utilization rate, outdoor temperature, outdoor wind speed, outdoor solar radiation rate, indoor temperature, indoor personnel density, indoor equipment utilization rate, time series data, and historical cooling and heating loads of the building, etc.); preprocessing the above load historical data set (including smoothing and denoising the data using a periodic decomposition method, sampling the smoothed data set using a time series sampling method, and normalizing the sampled data, etc.); Based on the prior mechanism of thermodynamic heat and mass transfer, the dependence analysis of building environmental parameters and cold and hot loads is carried out, and the physical monotonic constraint relationship that conforms to the actual generation mechanism of cold and hot loads is established; a neural network with a structure of nN-1 is used as the basic framework of the building load (cold or hot) prediction model; the physical constraint equations are embedded into the neural network, and a loss function including structural loss terms and physical inconsistency loss terms is constructed; the network parameters of the prediction model are initialized, the PINN model is trained based on the training data set, and the covariance matrix adaptive evolution strategy (CMA-ES) is used to optimize the network parameters. When the convergence conditions are met, it is optimal, and the load prediction model PINN-anti is obtained.
3. The method according to claim 1, characterized in that The method uses the energy cascade utilization principle and the PINN-anti load forecasting results as the basis, and adopts a multi-objective particle swarm algorithm to optimize the configuration of the cold and heat source energy supply system to obtain the optimization results, including: formulating energy utilization priorities based on the energy cascade utilization principle in view of the distribution characteristics of the cold and heat source energy supply network of regional buildings; comprehensively considering indicators such as the economy, stability, environmental friendliness and energy utilization efficiency of the energy supply network, establishing a multi-objective optimization configuration model (including minimum carbon emissions, minimum annual operating costs, maximum energy utilization efficiency and optimal regional energy supply reliability as optimization goals, and electricity balance, cold and heat balance and equipment safe operation range as constraints); obtaining the load forecasting results of the above-mentioned PINN-anti model and initializing the parameters of the MOPSO algorithm (including population size, number of iterations, learning factor, initial speed and position, etc.); and using the MOPSO algorithm to perform multi-objective optimization configuration on the regional building energy supply network to obtain the optimization results.
4. The method according to claim 1, characterized in that: The PINN-anti load prediction results and the multi-objective optimization configuration results of the regional building cold and heat sources are used as training data and test data, and a tuning model containing physical information constraints is constructed and trained for the regional buildings to obtain a cold and heat source tuning model PINN-acti, including: quantitatively or qualitatively analyzing the MOPSO optimization results to obtain a physical information constraint relationship that conforms to the regional building cold and heat source energy supply principles, energy market laws and carbon emission paths; using the above-mentioned cold and heat load prediction results and the objective function values in the MOPSO iterative optimization results as input data sets, and the operating loads of each device after the MOPSO iterative optimization are used as output data sets; based on the above-mentioned physical information constraints and input and output data sets, a building cold and heat source tuning model PINN-acti is constructed and trained.
5. The method according to claim 1, characterized in that The regional building source network automatic tuning and control system capable of realizing load prediction-based automatic tuning and control comprises a building environment information collection device, a storage medium, a computer program product and an energy supply network control device, which can automatically execute the method described in any one of claims 1 to 4, including: converting the double PINN algorithm into a machine language recognizable by a computer and writing it into a storage module; returning the data collected by the building environment sensor and the terminal cold and heat source control device to the computer through a communication device; the calculation module divides the input and output data sets according to the collected data and uses a built-in algorithm to calculate and optimize the system; the optimization result is converted into a control signal and sent to the terminal controller through a communication device; the terminal controller changes the working state of each component according to the control signal to complete the automatic tuning and configuration of the regional building energy supply system.
Citation Information
Cited By
Agricultural machinery operation state monitoring method and system based on Internet of Things
CN119046801A
Shield tunnel construction period segment floating quantity prediction method, system, equipment and medium
CN119720333A
Method and system for controlling conductivity of pure water cooling system
CN120145060A
A method and system for controlling the conductivity of a pure water cooling system
CN120145060B
Multi-heat-source coupled industrial equipment heat management system optimization method
CN120278054A
