A heat supply temperature advance regulation method and system based on load prediction
By combining multi-stage thermal inertia models and load forecasting, the thermal inertia parameters of the pipeline network and buildings are dynamically identified, enabling precise and proactive adjustment of heating temperature. This solves the problems of thermal inertia and load forecasting uncertainty in the heating system, and improves the energy efficiency and comfort of the heating system.
Patent Information
- Application Number
- CN202611270052.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-20
- Publication Date
- 2026-11-24
AI Technical Summary
Existing heating temperature control methods fail to effectively address thermal inertia and load prediction uncertainties, resulting in large room temperature fluctuations, significant heat energy waste, and a lack of online identification and dynamic adjustment of pipeline and building thermal inertia parameters.
A multi-stage thermal inertia model combined with a long short-term memory neural network is used for load prediction. By identifying the thermal inertia parameters of the pipeline network and building online, an extended-dimensional state-space model is constructed and probabilistic constraint optimization is performed. The advance adjustment time and amplitude are dynamically matched, and state estimation is performed by combining a dimension-reduced Kalman filter to achieve precise regulation.
It significantly improves model accuracy, dynamically matches and adjusts in advance, eliminates oversupply and undersupply, achieves the probabilistic optimal trade-off between energy saving and thermal comfort, and reduces room temperature fluctuations and thermal energy waste.
Smart Images

Figure CN123154352A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of heating temperature control technology, and in particular to a method and system for advance adjustment of heating temperature based on load forecasting. Background Technology
[0002] In centralized heating systems, the core method for room temperature control is adjusting the supply water temperature of the heat source or heat exchange station. The heating process exhibits significant multi-stage thermal inertia: the heat transfer medium in the primary and secondary networks introduces transmission delays and temperature decay; heat energy transfer involves thermal delays and heat losses. These two characteristics together constitute the thermal inertia of the heating network. The heat capacity of the building envelope and its internal materials causes room temperature to exhibit inertial characteristics in response to changes in the amount of heat supplied. Transmission delays in large-scale pipe networks can typically reach several hours, and the heat storage and delay effects on the pipe network side often play a dominant role in the dynamic response. The superposition of these two factors means that a relatively long transition time is required from a change in supply water temperature to a corresponding change in room temperature.
[0003] Traditional heating temperature control methods, such as outdoor climate compensation control, set the water supply temperature solely based on the current outdoor temperature according to a preset compensation curve. They fail to consider the combined time-lag effect of the pipe network and building thermal inertia, nor do they track actual indoor temperature demands. This easily leads to a mismatch between heating supply and demand in time, resulting in significant room temperature fluctuations and substantial energy waste. While proportional-integral-derivative (PID) control based on room temperature feedback introduces indoor temperature feedback, the large time lag of the object means the feedback effect inevitably lags behind the disturbance, making it difficult to maintain precise regulation under dynamic conditions.
[0004] To overcome the lag problem of feedback control, feedforward control strategies based on load forecasting have been introduced into the heating field. However, existing load forecasting-based heating temperature regulation methods generally suffer from the following shortcomings: First, the determination of the lead time is too coarse. Most schemes use a fixed lead time, failing to consider the significant differences in multi-stage time delay parameters under different building thermal characteristics and different pipe network scales, and are even less able to adapt to dynamic changes in time delay characteristics caused by changes in flow rate and building usage status. A fixed lead time easily leads to insufficient or excessive advance regulation. Second, the inherent uncertainty of the load forecast results is ignored. Predicted heat load inevitably contains errors. If point forecast values are simply used as feedforward quantities, insufficient heating and impact on thermal comfort will occur when the forecast is too conservative, while excessive heating will result in over-heating when the forecast is too aggressive. Existing technologies lack a mechanism for quantifying forecast uncertainty, making it impossible to achieve a probabilistically optimal balance between heating safety and energy conservation. Third, the acquisition of building thermal dynamics model parameters and pipeline transmission delay parameters mostly relies on offline testing or rough estimation. Furthermore, existing methods often focus on a single building thermal characteristic level, failing to explicitly distinguish between pipeline-side inertia, terminal equipment inertia, and building envelope inertia, leading to ambiguity in model order and the physical meaning of parameters. In long-distance heating or indirect connection systems, the heat storage and delay effects on the pipeline side often dominate the dynamic response; simplification can result in a loss of model accuracy.
[0005] Therefore, there is an urgent need for a heating temperature advance regulation method and system that can identify the multi-stage thermal inertia and time-delay parameters of the pipeline network and building integration online, dynamically determine the advance regulation time and amplitude based on these time-varying parameters, and incorporate the uncertainty of load forecasting into the constraint decision. Summary of the Invention
[0006] To achieve the above objectives, this invention provides a method for advance adjustment of heating temperature based on load forecasting, applied to a controller for an independently adjustable heat exchange station in a secondary network, comprising:
[0007] Collect secondary water supply temperature, indoor temperature, secondary return water temperature, secondary water supply flow rate, weather forecast data, historical heat load data, and indoor set temperature;
[0008] A multi-stage thermal inertial model is established, which describes the pipeline transportation using a first-order inertia plus pure delay and describes the indoor thermal dynamics using a second-order model that includes indoor air temperature and building heat storage temperature. The equivalent time constant of the pipeline, the pure delay time of pipeline transmission, the indoor air heat capacity, the equivalent heat capacity of the building heat storage, the equivalent thermal resistance of the terminal heat dissipation, the heat transfer coefficient, and the heat loss coefficient are identified online.
[0009] The future heat load sequence is output using the heat load prediction model and then transformed into a future equivalent set temperature sequence by combining the identified parameters.
[0010] An extended state-space model is constructed, and the room temperature prediction uncertainty is obtained by propagating the prediction error covariance. The rolling time-domain optimization problem with probability constraints is solved to obtain the optimal setpoint for the current secondary water supply temperature.
[0011] The optimal setpoint is sent to the actuator, and the actual indoor temperature is collected at the next sampling time. The building thermal state, including indoor temperature, building heat storage body temperature and pipeline inertial link output temperature, is corrected using a dimensionality reduction state estimator. The corrected building thermal state is used as the initial state for the next cycle of optimization to achieve rolling advance adjustment.
[0012] Preferably, in the multi-stage thermal inertia model, the discrete form of the first-order inertia plus pure delay element is: , ,in The sampling period is Output temperature for inertial components of the pipeline network. The equivalent time constant of the pipeline network, The pure delay time for pipeline transmission; the discrete difference equations of the second-order model are:
[0013]
[0014] in For indoor air heat capacity, Equivalent heat capacity of building heat storage body The equivalent thermal resistance for heat dissipation at the end is... The heat transfer coefficient is... The heat loss coefficient is... Outdoor temperature The temperature of the building's heat storage body;
[0015] The online identification employs a recursive extended least squares algorithm, defining a set of parameters to be identified. ,Will After elimination, a nonlinear output error model and sensitivity matrix are obtained. Central difference calculate, Take 1% of the current estimated value of the parameter; forgetting factor , For the one-step prediction error of indoor temperature, For the past 100 sampling periods The median absolute deviation is estimated to be 1.4826 times. , After each update, the parameters are projected onto the physical boundary. Limited to 3 to 90 minutes. The time limit is 1 minute to 60 minutes, and all other parameters are limited to positive values. If the time limit is exceeded, the parameters will be reset to the boundary value or the previous valid value, and the corresponding elements of the covariance matrix will be multiplied by 1.5. As a continuous parameter, it is used for identification and obtained through linear interpolation. .
[0016] Preferably, during the identification process, the variation range of the secondary water supply temperature setpoint over the past 480 sampling periods is monitored. If the maximum variation is less than 0.3℃, a pseudo-random binary sequence excitation signal generated by a linear feedback shift register is superimposed on the setpoint reference, with an amplitude of [missing value]. The minimum hold time is 4 sampling periods, and the excitation signal is executed independently only on the secondary side of the heat exchange station; simultaneously, the condition number of the regression matrix is continuously calculated, and if it exceeds... If the parameter vector update is not updated, the covariance matrix update will continue until the conditions improve.
[0017] Preferably, online identification also includes a time-delay re-identification mechanism: online calculation of model prediction residuals The sliding variance, when it exceeds three times the mean sliding variance over the past 1440 sampling periods, affects the secondary water supply temperature. and secondary return water temperature After first-order difference pre-whitening, the cross-correlation function is calculated. The lag step that maximizes the cross-correlation function is taken as the new estimate of the pure transmission delay time in the pipeline network. The delay index in the forward recursion of the model is reconstructed. The covariance matrix of the recursive extended least squares algorithm is continuously recursed without restarting. The sliding time window length... satisfy .
[0018] Preferably, the heat load prediction model is a long short-term memory neural network. The input features, after standardization, include normalized outdoor temperature, solar radiation, heat load sequence of the past 24 hours, hour index, and weekday index. The network structure has two hidden layers, each with 64 units, and a dropout rate of 0.2. Every 24 hours, the model is fine-tuned using the latest 48 hours of measured data at an increment of 0.1 times the original learning rate. An early stopping strategy is adopted. If the root mean square error coefficient of variation of the test set increases by more than 20% after fine-tuning, the model is rolled back to the weights before fine-tuning.
[0019] The conversion into a future equivalent set temperature sequence The method is as follows: starting from the current corrected indoor temperature estimate and the thermal storage body temperature estimate, and using the identified parameters... , , , , , , Solve the following equations simultaneously for recursion. :
[0020]
[0021] in , ;for The forward dependencies are solved using a fixed-point iterative method: when When taking the value of the initialized interval, Time Substitute the previous iteration value into the equation and repeat until the change between two consecutive iterations is less than 1. Or up to 10 times.
[0022] Preferably, the extended state-space model is constructed by defining the number of time delay steps. Construct extended-dimensional state vectors The discrete state equation is ;matrix The non-zero elements are: , , , ; , ; , ,in ; Line 4 to the The row is shifted, the first row... Line number Column 1; for dimensional column vector, only the 1st Behavior 1; for 3D column vector, with only the first row ;
[0023] The uncertainty in room temperature prediction is obtained by: the advance steps of the online statistical heat load prediction model within the past sliding window. Standard deviation of predicted residuals For each advanced step Calculate the standard deviation of the predicted residuals for this step over the past 288 sampling periods; use a first-order autoregressive model. Characterizing the temporal correlation of prediction errors, among which It can be directly calculated from the first-order autocorrelation coefficient of the predicted residual sequence. Map the prediction error to the process noise covariance matrix. , it is In a 3D diagonal matrix, the non-zero diagonal elements represent the components of the indoor air temperature equation obtained from the propagation of prediction errors. Corresponding components of the pipeline inertial equation ,in , The specific heat capacity of water, The density of water, This refers to the total length of the pipeline from the secondary water supply outlet of the heat exchange station to the inlet of the heat dissipation equipment of the most unfavorable heat user. The cross-sectional area of the secondary water supply pipeline is used; the process noise component corresponding to the temperature equation of the building's thermal storage body is taken as a constant value reflecting model mismatch. ;Depend on Propagation covariance, room temperature prediction standard deviation .
[0024] Preferably, the probabilistically constrained rolling time-domain optimization problem uses the secondary water supply temperature increment sequence as the decision variable, and the objective function is: Predicting the time domain ,and Control time domain Weight ;when When parameters change abruptly, use Smooth transition, alignment after 3 consecutive cycles, during which... Synchronous changes;
[0025] Probability constraints Transform into deterministic constraints The interior-point method is used to solve the problem. If no solution is found, it degenerates into a relaxed quadratic programming problem with only probabilistic constraints, and the weight of the tracking term is reduced to 0.01. If no solution is still found, the increment is 0 and an alarm is triggered. The alarm information includes the current time, Current indoor temperature, current water supply temperature setting, and unsolvable type.
[0026] Preferably, the dimensionality-reduced state estimator is a dimensionality-reduced Kalman filter, which only considers the building's thermal state. It is estimated that the pipeline delay sequence is directly updated as a deterministic input; the dynamic equation of building thermal state is obtained by dimensionality reduction from the extended-dimensional model. The measurement update uses the standard Kalman filter formula, and the measurement matrix... Measurement noise covariance Process noise covariance matrix Take a diagonal matrix, with the diagonal elements as follows: , , ,in After correction , , Combined with the updated delayed chain state, it forms the initial state for the next cycle.
[0027] Accordingly, embodiments of the present invention also provide a heating temperature advance regulation system based on load forecasting, used to implement the method described in any one of the embodiments of the present invention, including:
[0028] The data acquisition module is used to collect secondary water supply temperature, indoor temperature, secondary return water temperature, and secondary water supply flow rate, and to receive weather forecast data, historical heat load data, and indoor set temperature.
[0029] The online model parameter identification module, connected to the data acquisition module, uses a recursive extended least squares algorithm with physical constraints to identify multi-stage thermal inertia model parameters online. It includes an inadequate excitation monitoring and pseudo-random binary sequence active injection unit. When the setpoint variation over the past 480 sampling periods is less than 0.3℃, the amplitude is superimposed on the secondary setpoint. The excitation signal has a minimum hold time of 4 sampling cycles;
[0030] The load prediction module is connected to the data acquisition module and the online model parameter identification module. It outputs a heat load prediction sequence with a built-in long short-term memory neural network, and combines the identified parameters to convert it into an equivalent set temperature sequence through energy balance and pipeline inertia recursion.
[0031] The advanced adjustment and optimization control module is connected to the online model parameter identification module and the load prediction module. It uses an extended state space model as the prediction model, constructs a probability constraint decoupled from the decision variables based on the first-order autoregressive uncertainty model of the prediction error, and solves the quadratic programming to obtain the optimal secondary water supply temperature setpoint.
[0032] The execution feedback module is connected to the advanced adjustment and optimization control module and the data acquisition module. It receives the optimal setpoint and drives the actuator. At the same time, it uses the actual indoor temperature to estimate the building heat storage body temperature and the output temperature of the pipeline inertial link online through a dimension-reduced Kalman filter. The estimation results are used as the initial conditions for the next cycle of optimization. The pipeline delay sequence is directly updated by the measured water supply temperature as a deterministic input.
[0033] Preferably, the online model parameter identification module further includes a numerical Jacobian calculation unit, a parameter physical boundary projection unit, and a time-delay re-identification trigger unit; the numerical Jacobian calculation unit uses the central difference approximation to calculate the sensitivity matrix; the parameter physical boundary projection unit will, after each update, […]. Limited to 3 to 90 minutes, The time limit is 1 to 60 minutes, and other parameters are limited to positive values. If the time limit is exceeded, the corresponding element of the covariance is reset and amplified. The time-delay re-identification trigger unit triggers re-estimation when the predicted residual sliding variance exceeds 3 times the mean of the past 1440 periods.
[0034] The advanced adjustment and optimization control module also includes a time-varying matrix reconstruction unit and a solutionless pooling unit. The time-varying matrix reconstruction unit reconstructs the state matrix and delay chain state when the parameters or time delay steps change. The solutionless pooling unit enables a relaxation strategy when there is no solution and triggers an alarm when there is still no solution. The alarm information includes the current time, the lower limit of indoor temperature, the current indoor temperature, the current water supply temperature setpoint, and the solutionless type.
[0035] The beneficial effects of this invention are:
[0036] 1. By identifying and distinguishing multi-stage thermal dynamic parameters of pipeline inertia and building thermal inertia online, the model better matches the actual physical process, and the advanced adjustment time is dynamically matched, eliminating oversupply and undersupply caused by fixed overshoot. Pipeline-side inertia plays a dominant role in heating or cooling behavior, and explicit modeling can significantly improve model accuracy.
[0037] 2. A recursive extended least squares algorithm with physical constraints is adopted, combined with numerical Jacobian calculation, excitation injection, condition number monitoring and physical boundary projection, to ensure the uniqueness and rationality of the joint identification of seven parameters under closed-loop conditions, and to overcome the parameter divergence problem caused by slow dynamics and weak excitation in centralized heating systems.
[0038] 3. The statistical uncertainty of load forecasting error is quantified by a first-order autoregressive model and transformed into the standard deviation of room temperature forecast. This standard deviation is then introduced into the optimization control in the form of a probabilistic constraint decoupled from the decision variables. Under the condition that the lower limit of room temperature meets the given confidence level, overly conservative heating is avoided, and a probabilistically optimal trade-off between energy saving and thermal comfort is achieved.
[0039] 4. A dimension-reduced Kalman filter is used to estimate the unmeasurable building thermal storage state online, and the known water supply delay sequence is fused together. This effectively avoids the observability problem caused by state dimension expansion and further suppresses the impact of disturbances and model mismatch on control quality.
[0040] 5. A strict time sequence of "prediction-correction-optimization-execution" was defined. The corrected building thermal state was used as the initial condition for the next cycle of optimization, which eliminated cross-cycle dependency ambiguity and ensured the continuity and stability of the control sequence. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in this invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0042] Figure 1 This is a flowchart of the steps of the method of the present invention;
[0043] Figure 2 This is a structural block diagram of the system of the present invention. Detailed Implementation
[0044] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. It should also be noted that, to make the embodiments more comprehensive, the following embodiments are the best and preferred embodiments, and those skilled in the art can use other alternative methods to implement some well-known technologies; moreover, the accompanying drawings are only for more specific description of the embodiments and are not intended to specifically limit the present invention.
[0045] Please see Figures 1-2 This invention provides a method and system for proactive heating temperature regulation based on load forecasting. Applied to an independently adjustable heat exchange station controller in a secondary network, the system identifies and distinguishes multi-stage thermal dynamic parameters, including network inertia, terminal equipment inertia, and building envelope inertia, dynamically matching the proactive regulation time and amplitude. Furthermore, the uncertainty of load forecasting is introduced into rolling time-domain optimization in the form of probabilistic constraints, achieving a probabilistically optimal trade-off between energy saving and thermal comfort while ensuring the lower limit of room temperature meets confidence levels. The following details the key technical means employed to achieve the above objectives, the implementation principles of each step, the basis for parameter selection, and any parts that may cause ambiguity.
[0046] This solution addresses a centralized heating system where the secondary side supplies heat to multiple users via a heat exchange station and a secondary supply water pipeline. The secondary return water pipeline returns the heat medium to the heat exchange station. The heat exchange station controller can independently adjust the secondary supply water temperature without directly affecting the primary network. Due to the transport distance and heat storage in the pipe walls of the secondary network, the response of the supply water temperature from the heat exchange station outlet to the inlet of the terminal heat dissipation equipment is not instantaneous. This dynamic process is described using a first-order inertial element with a pure delay, and its discrete form is as follows: , .in, The equivalent time constant of the pipeline network characterizes the inertia of temperature changes caused by heat storage in the pipeline network; The pure delay time for pipeline transmission is determined by the pipeline length and flow velocity. This first-order inertia plus pure delay model can accurately capture the dynamic characteristics of the pipeline network with fewer parameters, avoiding the need for complex distributed parameter models, and is significantly superior to the simplified treatment that treats the pipeline network as a pure delay.
[0047] A second-order model was used for the building's indoor thermal dynamics, establishing differential equations for both indoor air temperature and building heat storage temperature. (Indoor air temperature) The change is also affected by the equivalent temperature at the inlet of the terminal heat dissipation device. The heating function and convective heat transfer between indoor air and building heat storage and heat loss to the outside through the building envelope Impact. Building heat storage temperature The changes are driven solely by convective heat transfer with indoor air. Compared to the first-order model, the second-order model can more accurately reflect the inertial characteristics of a building during heating or cooling, especially the lag in room temperature response caused by the slow absorption and release of heat by the heat storage body, providing an accurate predictive basis for subsequent rolling optimization.
[0048] To achieve online adaptive control, it is necessary to obtain the seven parameters in the above model in real time: the equivalent time constant of the pipeline network. Pure delay time of pipeline transmission Indoor air heat capacity Equivalent heat capacity of building heat storage body The equivalent thermal resistance from the terminal heat dissipation equipment to the indoor air The heat transfer coefficient between indoor air and building heat storage and building overall heat loss coefficient This scheme employs a recursive extended least squares algorithm to eliminate unmeasurable intermediate variables. The resulting nonlinear output error model is then used for online identification. Since the analytical partial derivatives of the output error model with respect to the parameter vector are difficult to obtain, the sensitivity matrix is calculated using a central difference numerical approximation. , No. The sensitivity corresponding to each parameter is: Disturbance Take 1% of the current estimated value of the parameter. Although the numerical approximation method increases the computational overhead slightly, it avoids tedious analytical differentiation and model linearization errors. Moreover, within the 5 to 15 minute sampling period set in this scheme, the additional computation is completely within the tolerance range of the embedded controller.
[0049] Forgetting factor The adaptive adjustment rule is ,in For the one-step prediction error of indoor temperature, Within the past 100 sampling periods The median absolute deviation is estimated to be 1.4826 times the standard deviation. The median absolute deviation is used instead of the standard deviation to improve robustness to outliers. 0.98 is preferred. The preferred value is 0.999, as both are very close to 1. This is because the dominant time constant of building thermal dynamics is typically on the order of several hours, and the system's dynamic changes are slow. A longer effective memory length is needed to retain historical information and avoid biased estimations of slow-dynamic parameters. Through an exponential decay mapping of prediction errors, the forgetting factor approaches [value missing] when the model predicts well. It retains longer memory; when the prediction error increases, the forgetting factor decreases, thus accelerating the tracking of time-varying parameters.
[0050] After each parameter update, a physical rationality projection is performed to constrain each parameter within its respective physical feasible region: Between 3 minutes and 90 minutes, The timeframe ranges from 1 minute to 60 minutes, with the other five parameters all being positive. These boundaries are determined based on the typical scale of secondary pipe networks (equivalent lengths are typically tens to hundreds of meters), flow velocity ranges, and common building thermal parameters. If a parameter exceeds the boundary, it is reset to the boundary value or the previous valid value, and the covariance matrix of the recursive least squares algorithm is used. The diagonal elements corresponding to this parameter are multiplied by 1.5 to appropriately expand the confidence range of the parameter and avoid the parameter being forcibly locked near the boundary, which would lead to rigidity in the identification.
[0051] In a centralized heating closed-loop control environment, the primary objective of adjusting the water supply temperature is to meet room temperature requirements. Control actions are typically small in amplitude and low in frequency, which may lead to insufficient excitation and prevent unique convergence of parameter identification. This solution incorporates an insufficient excitation detection and active injection mechanism: monitoring the past 480 sampling periods (within...) The variation range of the secondary water supply temperature setpoint within 80 hours (calculated in minutes) is considered insufficient if the maximum variation is less than 0.3℃. In this case, a pseudo-random binary sequence excitation signal generated by a linear feedback shift register is superimposed on the secondary water supply temperature setpoint reference, with an amplitude of [missing value]. The minimum hold time is 4 sampling periods. Experiments have verified that the disturbance amplitude is sufficient to excite the system's dynamic response, while the resulting room temperature fluctuations typically do not exceed [a certain value]. The temperature is within the acceptable range for human thermal comfort. This excitation signal is executed independently only on the secondary side of the heat exchange station and does not affect other users in the primary network. Furthermore, the condition number of the regression matrix is continuously monitored; if it exceeds... If the parameter vector update is paused, the covariance update will continue, and the activation conditions will be improved to prevent parameter divergence caused by matrix ill-conditioning.
[0052] Pure delay time of pipeline transmission Sudden changes may occur due to factors such as flow regulation and pipeline switching. Therefore, this solution also incorporates a time-delay re-identification mechanism: online calculation model predicts residuals. The sliding variance is used to determine the time delay. When the sliding variance exceeds three times the mean of the sliding variance over the past 1440 sampling periods (10 minutes corresponds to 10 days), the current time delay estimate is considered to have significantly deviated from the true value, triggering time delay correction. The correction process involves adjusting the secondary water supply temperature... and secondary return water temperature After performing first-order difference prewhitening, the cross-correlation function is calculated, and the result is re-estimated. The delay index in the forward recursion of the model is reconstructed using the new delay values. The covariance matrix of the recursive extended least squares algorithm is then calculated. Maintain continuous iteration without restarting to avoid losing accumulated historical information. Sliding time window length. satisfy This ensures that the window contains at least twice the maximum possible system response time, thus providing sufficiently rich dynamic information for parameter identification.
[0053] Load forecasting employs a Long Short-Term Memory (LSTM) neural network model, which excels at handling long-range dependencies in time series data and is suitable for building heat load sequences influenced by multiple factors such as weather and time, exhibiting significant intraday and intraweekly periodicity. Input features, after Z-score standardization, include normalized outdoor temperature, solar radiation, the past 24-hour heat load sequence, hourly index (one-hot encoded), and weekday index (one-hot encoded). The network structure consists of two LSTM hidden layers, each containing 64 units, with a dropout rate of 0.2 to prevent overfitting. The model is trained offline using historical data from at least one complete heating season. Online, after every 24 hours of operation, incremental learning and fine-tuning are performed using the latest accumulated 48-hour measured heat load data. Fine-tuning starts with the original model weights, employs a learning rate of 0.1 times the original, and utilizes an early stopping strategy (stopping if the validation set loss does not decrease for 10 consecutive epochs) to adapt to data distribution drift while avoiding catastrophic forgetting. If the root mean square error coefficient of variation of the test set increases by more than 20% after fine-tuning, the model weights will be rolled back to the original weights to ensure that the prediction performance is not degraded.
[0054] Future output by LSTM model The heat load prediction sequence for each sampling period needs to be transformed into a future equivalent setpoint temperature sequence, taking into account the thermal inertia of the pipe network and building. This serves as a tracking target for rolling optimization. The transformation process involves simultaneously solving the pipeline network inertial recursive equation and the building energy balance equation. Among them, the pipeline network equation... There exists a forward dependency on the future equivalent set temperature that has not yet been determined, i.e. This solution uses a fixed-point iterative method to handle this dependency: initially... , to Filled in by calculation using a pipe network model based on historical secondary water supply temperature sequences; for From 1 to ,like If the required historical values are already within the initialization interval; Then The previous iteration value as The approximation is substituted into the pipeline network equation to obtain... Then substitute it into the building energy balance equation to update and the recursive value of the heat storage body temperature This process is repeated iteratively until two adjacent iterations are complete. The change is less than It may reach the maximum number of iterations, 10. Since the physical system described by the simultaneous equations is stable and dissipative, this fixed-point iteration will inevitably converge within the normal parameter range. In actual operation, it usually reaches the convergence condition after 2 to 3 iterations.
[0055] The anti-adjustment optimization control adopts a rolling time-domain optimization framework, using an extended-dimensional state-space model that includes the states of the pipeline delay chain as the internal prediction model. Extended-dimensional state vector. The dimension is ,in By incorporating historical water supply temperature sequences into the state, the original time-delay system can be transformed into a standard linear time-varying state-space model, eliminating explicit time-delay terms and facilitating the construction and solution of subsequent optimization problems. (Matrix) The non-zero elements are strictly given by the current identification parameters, and the delay chain is implemented using a shift register. When the identification parameters or the number of delay steps... During the update, Corresponding reconstruction; the delay chain portion in the state vector is synchronously reconstructed using the retained historical secondary water supply temperature sequence: if new Larger than the old The excess portion is used Historical values are extended and filled backwards; if new Smaller than the old If so, the front end of the delay chain will be truncated.
[0056] Quantifying load forecast uncertainty is one of the core features that distinguishes it from conventional deterministic model predictive control. Considering that LSTM forecast errors are not independent between adjacent lead steps, this scheme uses a first-order autoregressive model to characterize their temporal correlation. .in, It is directly calculated from the first-order autocorrelation coefficient of the predicted residual sequence, i.e. The value typically ranges from 0.3 to 0.7. For each advance step count... , The standard deviation of the leading step prediction residual over the past 288 sampling periods is given by the standard deviation of the standard deviation of the standard deviation of the standard deviation over each sampling period. Statistical analysis was conducted separately; and then... The prediction error perturbation is mapped to the process noise covariance matrix. Since the temperature equation of the heat storage body does not contain external heat power input, its dynamics are driven only by heat exchange with indoor air. Prediction errors have a negligible direct impact on it; therefore, the process noise of this equation reflects model mismatch, and a constant value is taken. The process noise in the indoor air temperature equation and the pipe network inertia equation is obtained from the propagation of prediction errors. , The equivalent heat capacity of the water pipe network. Due to the specific heat capacity of water ,density Equivalent length of secondary pipeline and pipeline flow cross-sectional area calculate. Defined as the total length of the pipeline from the secondary side water supply outlet of the heat exchange station to the inlet of the heat dissipation equipment of the most unfavorable heat user, it can be directly read from the pipeline network design drawings; for multi-branch pipeline networks, the longest length among the branches is taken as the equivalent length.
[0057] Room temperature prediction covariance matrix according to Propagation. Due to the matrix within the current control cycle. It is treated as a constant (using a snapshot of the current identification parameters), while Both depend solely on the statistically derived prediction error characteristics and are independent of the decision variable series; therefore, the standard deviation of room temperature prediction... Decoupling from decision variables. This decoupling property is key to transforming probabilistic constraints into deterministic linear constraints, simplifying stochastic optimization problems with probabilistic constraints into standard quadratic programming problems, which can then be solved efficiently.
[0058] The objective function for rolling time-domain optimization is the sum of the quadratic error of tracking the equivalent setpoint temperature sequence and the control increment penalty, with weighting coefficients... Through simulation tuning, a reasonable balance can be achieved between tracking accuracy and control smoothness. (Prediction time domain) and enforce constraints This ensures that the prediction time domain covers at least the sum of pipeline transmission delay and building-dominant time constant. Control time domain. A smaller control time domain can reduce the dimensionality of decision variables in the optimization problem, improve the solution speed, and the rolling optimization mechanism can compensate for its impact on performance. When a sudden change occurs due to parameter jumps, an exponential smooth transition is used. After three consecutive control cycles, the system is forcibly aligned to the target value; during this period... Follow Synchronous changes, always maintain This is to avoid inconsistencies in the optimization problem structure caused by a mismatch between the prediction and control time domains. Probabilistic constraints. Based on the Gaussian distribution assumption of prediction error and the decoupling property of covariance, it is equivalent to deterministic linear constraint. When the optimization problem becomes unsolvable due to constraint conflicts, a relaxation strategy is initiated, reducing the weight of the tracking term to 0.01 to prioritize satisfying probabilistic constraints. If the problem still remains unsolvable after relaxation, the current water supply temperature setpoint is maintained and an alarm is triggered. The alarm information includes the current time and the lower limit of the indoor temperature. The system should display the current indoor temperature, the current water supply temperature setting, and the type of unsolvable problem (original problem unsolvable or relaxation problem unsolvable) so that maintenance personnel can intervene in a timely manner to check for system anomalies.
[0059] The execution and state correction stages employ a dimension-reduced Kalman filter, which only applies to the building's thermal state. Estimation is performed. This is because the delay chain state is accurately known from the measured secondary water supply temperature sequence, requiring no estimation. Using it as a deterministic input significantly reduces the filter dimensionality, avoiding numerical instability and observability issues introduced by high-dimensional state estimation. The dimensionality-reduced state equation is extracted from the extended-dimensional model, and the measurement equation utilizes only indoor temperature measurements. Perform correction. Measure the noise covariance. Based on the accuracy calibration of a conventional indoor temperature sensor Process noise covariance matrix Take a diagonal matrix, with the diagonal elements as follows: , , This ensures that the filter's statistical characteristics match the current operating conditions. After correction, the estimated value... , , Combined with the updated delay chain state, it forms the initial state for the next control cycle optimization.
[0060] The entire closed-loop timing arrangement is clear: in the first... At the sampling time, parameter identification is performed first, and then at the sampling time... The filtered and corrected state at time 1 is used as the initial condition to solve the optimization problem to obtain the current control quantity, which is then issued for execution; at time 2... At each sampling time, a new indoor temperature measurement value is first collected, and filtering correction is performed before entering the next cycle of identification and optimization, thus forming a strict cycle of "prediction-correction-optimization-execution" and eliminating the ambiguity of cross-cycle dependence.
[0061] Example
[0062] This embodiment uses a heat exchange station in a centralized heating community in northern China as the application example. This community uses an indirect connection method, with the secondary network independently controlled by the heat exchange station, and radiators providing heating at the terminal. Sampling period. Minutes. Equivalent length of secondary pipeline network. (Total pipe length from the heat exchange station outlet to the radiator inlet of the furthest building), pipe inner diameter Cross-sectional area of circulation The density of water Specific heat capacity Based on this, the equivalent heat capacity of the water pipe network is calculated. Indoor set temperature Lower limit of indoor temperature Weather forecast services provide outdoor temperature and solar radiation predictions for the next 24 hours, thus providing forecast time-domain information. (24 hours / 10 minutes).
[0063] The system consists of a data acquisition module, an online model parameter identification module, a load prediction module, a proactive adjustment and optimization control module, and an execution feedback module. The data acquisition module is equipped with a platinum resistance temperature sensor installed at the outlet of the secondary side water supply pipe of the heat exchange station (used for data acquisition). Indoor temperature sensors installed on the walls of a typical heat user's living room (for collecting data) A temperature sensor installed at the junction of the return water pipes (used to collect data). And electromagnetic flowmeters installed on water supply pipelines (used to collect data). Estimated temperature of the building's thermal storage body during system cold start. The indoor temperature was taken as the initial measurement. Estimated output temperature of pipeline inertial link The temperature of the secondary water supply was taken as the initial sample. The delay chain state vector is used Fill in the blanks. The initial values of the recursive extended least squares algorithm parameters in the online model parameter identification module are set as follows based on typical building thermal parameters: , , , , , , The covariance matrix is initialized as a diagonal matrix, with each diagonal element taking the square of 20% of the initial value of the corresponding parameter.
[0064] During operation, the following steps are executed cyclically in each control cycle.
[0065] Step 1: Data Acquisition. During a certain control cycle... At time (corresponding to the 1000th minute of operation), the current value was obtained: , , , Obtain outdoor temperature and solar radiation forecast sequences for the next 144 sampling periods from the meteorological data service interface. Read the indoor set temperature from the user setting terminal. .
[0066] Step 2: Online identification of multi-stage thermal inertia model parameter coupling. Calculate the actual heat power received by the heat user at the current moment. Sliding time window length Set to 300 to include data from the past 300 sampling periods. and After first-order differencing and pre-whitening, the cross-correlation function of the sequences is calculated, and the maximum peak occurs at the lag number. ,correspond Based on a 1-step lag right The first-order inertial fitting yields... .
[0067] The parameter estimates are updated online using a recursive extended least squares algorithm. When calculating the sensitivity matrix, the parameters are... Each parameter is sequentially perturbed by 1%, and the perturbed indoor temperature prediction is obtained through forward recursion of the model. Then, the sensitivity of each parameter is calculated using the central difference formula. Prediction error. The past 100 sampling periods The median absolute deviation is 0.015℃, which is estimated to be... Current forgetting factor After recursive updating, we get: , , , , , , All parameters are within the boundaries. The condition number of the regression matrix is... Below the threshold. The maximum change in the setpoint over the past 480 cycles was 1.2℃, indicating sufficient excitation. Residual sliding variance. The average value over the past 1440 periods No time delay re-identification was triggered.
[0068] Step 3: Heat load prediction and equivalent setpoint series conversion. The LSTM model outputs a heat load prediction series for the next 144 periods, with an average of approximately 70kW. Initialization. , , Fill with historical values. .for , , Substitute into the architectural equation and combine Predicted values and After three iterations at a fixed point, convergence is obtained. Recursively to The sequence is in to Fluctuations.
[0069] Step 4: Advanced adjustment and optimization control. The expanded state vector has a dimension of 4. The corrected state from the previous time step... Initial values. Construct Line 1 , line 2 , line 3 , line 4 . , The standard deviation of the leading step prediction residuals for the past 288 periods is statistically analyzed online. Let's assume this example... , ,but Calculation process noise variance: , , The propagation covariance is obtained. final step .calculate , The solution obtained by constructing a quadratic programming problem is as follows: Current optimal setting value .
[0070] Step 5: Execution and Status Correction. Issue a temperature of 45.5℃. collection Dimensionally reduced Kalman filter correction The combined delayed chain is used as the initial state for the next cycle.
[0071] Step 6: Return to step 1 and repeat the loop.
[0072] To verify the effectiveness, this embodiment, traditional PID control (fixed 2-hour lead), and deterministic MPC were simulated and run under the same conditions. (Constantly 0) for a total of 7 days. The results are shown in Table 1.
[0073] Table 1 Performance Comparison of Three Control Methods
[0074] index This embodiment Comparative Example 1 (Traditional PID) Comparative Example 2 (Deterministic MPC) Average room temperature (°C) 20.04 20.12 20.01 Standard deviation of room temperature (°C) 0.18 0.45 0.22 Percentage of time spent at room temperature below 18°C (%) 0.3 8.7 1.5 Average setpoint for secondary water supply temperature (°C) 43.5 44.9 43.7 Total heat supply (GJ) 142.6 153.1 144.2
[0075] In this embodiment, the room temperature fluctuation is minimal, the thermal discomfort time is only 0.3%, and the total heat supply is reduced by 6.9% compared to the traditional PID and by 1.1% compared to the deterministic MPC, achieving a dual improvement in thermal comfort and energy saving.
[0076] This invention encompasses any substitutions, modifications, equivalent methods, and solutions made within the spirit and scope of this invention. To provide the public with a thorough understanding of this invention, specific details are described in detail in the following preferred embodiments; however, those skilled in the art will fully understand the invention even without these details. Furthermore, to avoid unnecessary misunderstanding of the essence of this invention, well-known methods, processes, procedures, components, and circuits are not described in detail.
[0077] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for proactively adjusting heating temperature based on load forecasting, applied to an independently adjustable heat exchange station controller in a secondary network, characterized in that, include: Collect secondary water supply temperature, indoor temperature, secondary return water temperature, secondary water supply flow rate, weather forecast data, historical heat load data, and indoor set temperature; A multi-stage thermal inertial model is established, which describes the pipeline transportation using a first-order inertia plus pure delay and describes the indoor thermal dynamics using a second-order model that includes indoor air temperature and building heat storage temperature. The equivalent time constant of the pipeline, the pure delay time of pipeline transmission, the indoor air heat capacity, the equivalent heat capacity of the building heat storage, the equivalent thermal resistance of the terminal heat dissipation, the heat transfer coefficient, and the heat loss coefficient are identified online. The future heat load sequence is output using the heat load prediction model and then transformed into a future equivalent set temperature sequence by combining the identified parameters. An extended state-space model is constructed, and the room temperature prediction uncertainty is obtained by propagating the prediction error covariance. The rolling time-domain optimization problem with probability constraints is solved to obtain the optimal setpoint for the current secondary water supply temperature. The optimal setpoint is sent to the actuator, and the actual indoor temperature is collected at the next sampling time. The building thermal state, including indoor temperature, building heat storage body temperature and pipeline inertial link output temperature, is corrected using a dimensionality reduction state estimator. The corrected building thermal state is used as the initial state for the next cycle of optimization to achieve rolling advance adjustment.
2. The method for advance adjustment of heating temperature based on load forecasting according to claim 1, characterized in that, In the multi-stage thermal inertia model, the discrete form of the first-order inertia plus pure delay element is: , ,in The sampling period is Output temperature for inertial components of the pipeline network. The equivalent time constant of the pipeline network, The pure delay time for pipeline transmission; the discrete difference equations of the second-order model are: in For indoor air heat capacity, Equivalent heat capacity of building heat storage body The equivalent thermal resistance for heat dissipation at the end is... The heat transfer coefficient is... The heat loss coefficient is... Outdoor temperature The temperature of the building's heat storage body; The online identification employs a recursive extended least squares algorithm, defining a set of parameters to be identified. ,Will After elimination, a nonlinear output error model and sensitivity matrix are obtained. Central difference calculate, Take 1% of the current estimated value of the parameter; forgetting factor , For the one-step prediction error of indoor temperature, For the past 100 sampling periods The median absolute deviation is estimated to be 1.4826 times. , After each update, the parameters are projected onto the physical boundary. Limited to 3 to 90 minutes. The time limit is 1 minute to 60 minutes, and all other parameters are limited to positive values. If the time limit is exceeded, the parameters will be reset to the boundary value or the previous valid value, and the corresponding elements of the covariance matrix will be multiplied by 1.
5. As a continuous parameter, it is used for identification and obtained through linear interpolation. .
3. The method for advance adjustment of heating temperature based on load forecasting according to claim 2, characterized in that, During the identification process, the variation range of the secondary water supply temperature setpoint over the past 480 sampling periods is monitored. If the maximum variation is less than 0.3℃, a pseudo-random binary sequence excitation signal generated by a linear feedback shift register is superimposed on the setpoint reference, with an amplitude of [missing value]. The minimum hold time is 4 sampling periods, and the excitation signal is executed independently only on the secondary side of the heat exchange station; simultaneously, the condition number of the regression matrix is continuously calculated, and if it exceeds... If the parameter vector update is not updated, the covariance matrix update will continue until the conditions improve.
4. The method for advance adjustment of heating temperature based on load forecasting according to claim 2, characterized in that, Online identification also includes a time-delay re-identification mechanism: online calculation of model prediction residuals The sliding variance, when it exceeds three times the mean sliding variance over the past 1440 sampling periods, affects the secondary water supply temperature. and secondary return water temperature After first-order difference pre-whitening, the cross-correlation function is calculated. The lag step that maximizes the cross-correlation function is taken as the new estimate of the pure transmission delay time in the pipeline network. The delay index in the forward recursion of the model is reconstructed. The covariance matrix of the recursive extended least squares algorithm is continuously recursed without restarting. The sliding time window length... satisfy .
5. The method for advance adjustment of heating temperature based on load forecasting according to claim 1, characterized in that, The heat load prediction model is a long short-term memory neural network. The input features, after standardization, include normalized outdoor temperature, solar radiation, heat load sequence of the past 24 hours, hour index, and weekday index. The network structure has two hidden layers, each with 64 units, and a dropout rate of 0.
2. Every 24 hours, the model is fine-tuned using the latest 48 hours of measured data with an increment of 0.1 times the original learning rate. An early stopping strategy is adopted. If the root mean square error coefficient of variation of the test set increases by more than 20% after fine-tuning, the model is rolled back to the weights before fine-tuning. The conversion into a future equivalent set temperature sequence The method is as follows: starting from the current corrected indoor temperature estimate and the thermal storage body temperature estimate, and using the identified parameters... , , , , , , Solve the following equations simultaneously for recursion. : in , ;for The forward dependencies are solved using a fixed-point iterative method: when When taking the value of the initialized interval, Time Substitute the previous iteration value into the equation and repeat until the change between two consecutive iterations is less than 1. Or up to 10 times.
6. The method for advance adjustment of heating temperature based on load forecasting according to claim 2, characterized in that, The extended state-space model is constructed by defining the number of time delay steps. Construct extended-dimensional state vectors The discrete state equation is ;matrix The non-zero elements are: , , , ; , ; , ,in ; Line 4 to the The row is shifted, the first row... Line number Column 1; for dimensional column vector, only the 1st Behavior 1; for 3D column vector, with only the first row ; The uncertainty in room temperature prediction is obtained by: the advance steps of the online statistical heat load prediction model within the past sliding window. Standard deviation of predicted residuals For each advanced step Calculate the standard deviation of the predicted residuals for this step over the past 288 sampling periods; use a first-order autoregressive model. Characterizing the temporal correlation of prediction errors, among which It can be directly calculated from the first-order autocorrelation coefficient of the predicted residual sequence. ; Map the prediction error to the process noise covariance matrix. , it is In a 3D diagonal matrix, the non-zero diagonal elements represent the components of the indoor air temperature equation obtained from the propagation of prediction errors. Corresponding components of the pipeline inertial equation ,in , The specific heat capacity of water, The density of water, This refers to the total length of the pipeline from the secondary water supply outlet of the heat exchange station to the inlet of the heat dissipation equipment of the most unfavorable heat user. The cross-sectional area of the secondary water supply pipeline is used; the process noise component corresponding to the temperature equation of the building's thermal storage body is taken as a constant value reflecting model mismatch. ;Depend on Propagation covariance, room temperature prediction standard deviation .
7. A method for advance adjustment of heating temperature based on load forecasting according to claim 6, characterized in that, The probabilistically constrained rolling time-domain optimization problem uses the secondary water supply temperature increment sequence as the decision variable, and the objective function is: Predicting the time domain ,and Control time domain Weight ;when When parameters change abruptly, use Smooth transition, alignment after 3 consecutive cycles, during which... Synchronous changes; Probability constraints Transform into deterministic constraints The interior-point method is used to solve the problem. If no solution is found, it degenerates into a relaxed quadratic programming problem with only probabilistic constraints, and the weight of the tracking term is reduced to 0.
01. If no solution is still found, the increment is 0 and an alarm is triggered. The alarm information includes the current time, Current indoor temperature, current water supply temperature setting, and unsolvable type.
8. A method for advance adjustment of heating temperature based on load forecasting according to claim 6, characterized in that, The reduced-dimensional state estimator is a reduced-dimensional Kalman filter, which only considers the building's thermal state. It is estimated that the pipeline delay sequence is directly updated as a deterministic input; The dynamic equation of the building's thermal state is obtained by dimensionality reduction from the extended-dimensional model. The measurement update uses the standard Kalman filter formula, and the measurement matrix... Measurement noise covariance Process noise covariance matrix Take a diagonal matrix, with the diagonal elements as follows: , , ,in After correction , , Combined with the updated delayed chain state, it forms the initial state for the next cycle.
9. A heating temperature advance regulation system based on load forecasting, used to implement the method according to any one of claims 1 to 8, characterized in that, include: The data acquisition module is used to collect secondary water supply temperature, indoor temperature, secondary return water temperature, and secondary water supply flow rate, and to receive weather forecast data, historical heat load data, and indoor set temperature. The online model parameter identification module, connected to the data acquisition module, uses a recursive extended least squares algorithm with physical constraints to identify multi-stage thermal inertia model parameters online. It includes an inadequate excitation monitoring and pseudo-random binary sequence active injection unit. When the setpoint variation over the past 480 sampling periods is less than 0.3℃, the amplitude is superimposed on the secondary setpoint. The excitation signal has a minimum hold time of 4 sampling cycles; The load prediction module is connected to the data acquisition module and the online model parameter identification module. It outputs a heat load prediction sequence with a built-in long short-term memory neural network, and combines the identified parameters to convert it into an equivalent set temperature sequence through energy balance and pipeline inertia recursion. The advanced adjustment and optimization control module is connected to the online model parameter identification module and the load prediction module. It uses an extended state space model as the prediction model, constructs a probability constraint decoupled from the decision variables based on the first-order autoregressive uncertainty model of the prediction error, and solves the quadratic programming to obtain the optimal secondary water supply temperature setpoint. The execution feedback module is connected to the advanced adjustment and optimization control module and the data acquisition module. It receives the optimal setpoint and drives the actuator. At the same time, it uses the actual indoor temperature to estimate the building heat storage body temperature and the output temperature of the pipeline inertial link online through a dimension-reduced Kalman filter. The estimation results are used as the initial conditions for the next cycle of optimization. The pipeline delay sequence is directly updated by the measured water supply temperature as a deterministic input.
10. A heating temperature advance regulation system based on load forecasting according to claim 9, characterized in that, The online model parameter identification module further includes a numerical Jacobian calculation unit, a parameter physical boundary projection unit, and a time-delay re-identification trigger unit; the numerical Jacobian calculation unit uses the central difference approximation to calculate the sensitivity matrix; the parameter physical boundary projection unit will... Limited to 3 to 90 minutes, The time limit is 1 to 60 minutes, and other parameters are limited to positive values. If the time limit is exceeded, the corresponding element of the covariance is reset and amplified. The time-delay re-identification trigger unit triggers re-estimation when the predicted residual sliding variance exceeds 3 times the mean of the past 1440 periods. The advanced adjustment and optimization control module also includes a time-varying matrix reconstruction unit and a solutionless pooling unit. The time-varying matrix reconstruction unit reconstructs the state matrix and delay chain state when the parameters or time delay steps change. The solutionless pooling unit enables a relaxation strategy when there is no solution and triggers an alarm when there is still no solution. The alarm information includes the current time, the lower limit of indoor temperature, the current indoor temperature, the current water supply temperature setpoint, and the solutionless type.
