A multi-source complementary heating system and its optimization control method
Through the combination of double-layer MPC technology and core and bottom-layer controllers, the output power and valve opening of the multi-energy system are optimized and adjusted, solving the problem of neglecting thermal comfort in heating efficiency optimization in the existing technology, and achieving high-precision, low-efficiency Cost-effective heating control.
Patent Information
- Application Number
- CN202210141321.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-16
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-02-16
AI Technical Summary
Existing multi-energy systems ignore thermal comfort requirements in heating efficiency optimization, and traditional control methods cannot effectively handle system interference and constraints, resulting in limited control performance and inability to meet high-precision and high-comfort requirements.
It adopts double-layer model predictive control (MPC) technology, combines the core controller and the bottom controller, and handles system constraints through optimized control algorithms to automatically adjust the output power of solar collectors, electric boilers, ground source heat pumps and hot water storage tanks. The valve opening achieves optimal control of the dual indicators of room comfort and energy saving.
It improves the heating stability and reliability of the system, achieves high-precision indoor temperature control, reduces energy consumption and operating costs, and enhances control accuracy and performance stability.
Smart Images

Figure CN114508784B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of multi-energy and control, and mainly relates to a multi-source complementary heating system and an optimization control method thereof. Background Art
[0002] In my country's energy consumption structure, building operation costs account for a high proportion, and HVAC energy consumption accounts for about 2 / 3 of building energy consumption; as people's living standards continue to improve, the requirements for indoor thermal comfort and thermal stability are also getting higher and higher. Therefore, it is increasingly important to improve the heating energy structure and reduce heating energy consumption.
[0003] The most common new heating technologies are solar heating, ground source heat pump heating technology, and air source heat pump heating technology, but each has its own shortcomings. In order to make up for these shortcomings, many researchers have combined multiple energy sources and hope to achieve energy conservation, environmental protection, and heating efficiency issues through research on the operation mode, cycle performance, and economic efficiency of multi-energy systems.
[0004] Although these studies have helped save energy and protect the environment to a certain extent, and the optimization of the heating system can also improve the operating efficiency and meet the requirements of power saving, there are still many problems to be solved for the multi-energy system where various energy sources such as heat and electricity complement and couple with each other due to the lack of unified modeling methods, unified software technology, and efficient energy flow conversion and storage devices:
[0005] (1) Although improving the operating mode can save energy, the indoor thermal comfort is completely ignored.
[0006] (2) Although traditional optimization methods can improve heating efficiency and achieve comfort to a certain extent, they still cannot meet the requirements of high precision and high comfort, and the control has limitations.
[0007] As heating demand presents a trend of diversification, room temperature control is one of the ways to achieve energy saving in heating. Reasonable room temperature control methods should not only meet the thermal comfort of users, but also reduce heating energy consumption and operating costs as much as possible. Multi-energy optimization problems involve many physical constraints, many variables, strong variable coupling, many optimization indicators, strong indicator correlation, extensive energy physical facilities, strong distribution, complex mathematical descriptions, and multi-scale characteristics. MPC technology has been widely used in multi-variable, constrained, and multi-objective control problems, and has various effective forms and supporting theories such as hierarchical, distributed, and parallel implementations. Therefore, the present invention selects a Two-Layered DMC as a basic technology for studying the optimization problem of multi-source complementary heating systems.
[0008] After searching, the application publication number CN112503616A, a multi-energy complementary heat storage system and its control method, the heat storage system includes a control system, a solar collector, an electric boiler, an air source heat pump, a hot water storage tank and a terminal radiator, the solar collector, the electric boiler, the air source heat pump are connected to the hot water storage tank, the hot water storage tank is connected to the terminal radiator, the control system is connected to the solar collector, the electric boiler, the air source heat pump, the control system controls the start and stop of the solar collector, the electric boiler and the air source heat pump by setting the time period and monitoring the water tank temperature, and realizes the control function of the optimal load configuration and operation mode. The present invention is reasonably designed, according to the principle of maximizing economy and environmental protection, fully utilizing the roof and idle space area on site, installing all solar collectors, using the hot water storage tank to store solar heat to the maximum extent, while ensuring the reliability of heating and meeting the heat demand during non-off-peak electricity time periods.
[0009] The solar collector and air source heat pump in the above invention are easily affected by the environment. Therefore, the above invention uses an electric boiler for complementary heating. Although it enhances the reliability of the heating system to a certain extent, it consumes a large amount of electric energy resources; the control system of the above invention only controls the start and stop of the solar collector, electric boiler and air source heat pump by setting the time period and monitoring the water tank temperature, so as to realize the control function of the optimal load configuration and operation mode. The control function is simple, and cannot handle a large number of interferences and constraints of the system, and cannot perform automatic optimization control, and the control performance is limited.
[0010] The present invention utilizes wind energy and solar energy to generate electricity, thereby making up for the consumption of electric energy resources; the control system used in the present invention adopts a control method that combines a core controller and a bottom-level controller. The core controller utilizes an optimization control algorithm to reduce interference effects in the system and processes a large number of constraints in the system to find the optimal control value. The bottom-level controller automatically controls the output power of the solar collector, electric boiler, and ground-source heat pump and the opening of the outlet valve of the hot water storage tank according to the optimal value, thereby achieving optimal control of the dual indicators of room comfort and energy saving. Summary of the invention
[0011] The present invention aims to solve the above problems of the prior art. A multi-source complementary heating system and an optimization method thereof are proposed. The technical solution of the present invention is as follows:
[0012] A multi-source complementary heating system, comprising: a wind turbine, a photovoltaic panel, a storage battery, a solar collector, a ground source heat pump, an electric boiler, a hot water storage tank, a heat exchanger and a control system, wherein:
[0013] Wind turbines and photovoltaic panels are connected to batteries in parallel as power sources to store the generated electricity in the batteries; batteries are connected to ground source heat pumps and electric boilers as power supply equipment to provide stable electricity for the operation of both; solar collectors, ground source heat pumps, and electric boilers are connected to the hot water storage tank in parallel as three complementary heat sources to continuously heat the water in the hot water storage tank to keep it within a certain temperature range; the hot water storage tank is connected to the heat exchanger to dissipate heat and provide heating through the heat exchanger;
[0014] The control system is mainly powered by AC power, and includes an interface operation screen, a core controller, a bottom-level controller, and sensors. The control system is connected to the solar collector, electric boiler, and ground-source heat pump. The indoor temperature, supply and return water temperature, and water outlet flow are detected in real time through sensors and transmitted to the core controller. The core controller calculates the optimal value based on the optimization control algorithm, thereby manipulating the bottom-level controller to control the output power of the solar collector, electric boiler, and ground-source heat pump and the opening of the outlet valve of the hot water storage tank, thereby achieving optimized control of the dual indicators of room comfort and energy saving.
[0015] Furthermore, the core controller of the control system calculates the optimal value according to the optimization control algorithm, which specifically includes: establishing the objective function, relaxing the soft constraints, determining the feasible domain by combining the soft and hard constraints, and solving the optimal value that satisfies the objective function in the feasible domain.
[0016] Furthermore, the operation interface displays the indoor temperature and the operating power of each device in real time and can manually set the expected value of the indoor temperature; the core controller mainly uses the optimization control algorithm to optimize the data measured by the sensor to obtain the optimal value of the underlying controller; the underlying controller adopts a PLC programmable logic controller or a PID proportional-integral-differential controller, and the underlying controller controls the output power of the electric boiler and the ground source heat pump and the opening of the hot water storage tank outlet valve according to the obtained optimal value.
[0017] An optimization control method based on the multi-source complementary heating system comprises the following steps:
[0018] Step 1. Model and analyze the heat-generating equipment including solar collectors, electric boiler models, and ground-source heat pump models to clarify the internal relationship of variables;
[0019] Step 2. Model the entire system uniformly and establish a state space model based on the types of variables, i.e., manipulated variables MV, controlled variables CV, and disturbance variables DV;
[0020] Step 3. Use the optimization control algorithm - double-layer MPC algorithm to optimize the state space model and calculate the optimal setting value of the bottom controller;
[0021] Step 4. The bottom-level controller controls the output power of the solar collector, electric boiler and ground-source heat pump according to the optimal setting value obtained above, and controls the valve opening of the hot water storage tank according to the indoor thermal comfort demand, thereby regulating the room temperature.
[0022] Furthermore, the step 1 adopts the following formula for modeling analysis:
[0023] Solar Collector Model:
[0024] Where: η s is the collector power generation efficiency at time t, B is the heat transfer factor, τ is the light transmittance, κ is the absorptivity, ΔT is the difference between the collector inlet water temperature and the outdoor ambient temperature in °C, E s (t) is the solar radiation intensity at time t, P s (t) is the collector output power, S is the collector light receiving area, Q s (t) is the heat generated by the collector at time t, Q s (t+1) is the heat generation at the next moment, φ is the heat loss coefficient of the collector; Δp s Represents the increase in collector output power.
[0025] Electric boiler model:
[0026] Where: Q E (t) is the heat storage capacity of the electric boiler at time t, Q E (t+1) is the heat storage at the next moment, C w is the specific heat capacity of water, ρ w is the density of water, V e is the volume of water in the electric boiler, ΔT w is the temperature difference between the outlet and inlet water, α e is the electrothermal conversion coefficient, P e (t) is the power consumption at time t, ε is the heat loss coefficient of the electric boiler, P E (t) is the electrical-to-heat power at time t;
[0027] Ground source heat pump model:
[0028] Where: C op,c is the coefficient of performance of the ground source heat pump under variable conditions, C op is the coefficient of performance under rated conditions, M pl is the load factor, P g,in (t) is the power consumption at time t, P G (t) is the output power of the ground source heat pump at time t, Q s (t) is the heat storage capacity of the heat pump at time t, Q s(t+1) is the heat storage amount at the next moment, and the heat loss coefficient of the heat pump.
[0029] Furthermore, the step 2 adopts the following formula for modeling analysis:
[0030] Indoor temperature model:
[0031] Traffic model:
[0032] In the formula, Q is the state variable, the heat storage capacity of the hot water storage tank; p is the operating variable MV, the output power of the equipment; is the measurable disturbance DV, outdoor temperature; T is the controlled variable CV, indoor temperature, power consumption, A, B, C, D can be obtained by using the system identification method based on the on-site measurement data, and G is the flow rate.
[0033] Furthermore, artificial disturbances, namely state disturbance d(t) and output disturbance P(t), are introduced into the indoor temperature model:
[0034]
[0035] in G d Determines the impact of interference on the state, G p Determines the effect of the state on the output. are the coefficient matrices, represents the augmented state variable, Where Q eq Indicates the balance point of heat storage.
[0036] Furthermore, the step 3 double-layer MPC optimization control algorithm includes three modules: a prediction module, a steady-state target calculation module, and a dynamic control module, wherein:
[0037] The prediction module assumes that the future MV remains unchanged and predicts the future value of CV based on the current CV measurement value: Find the open-loop steady-state prediction and is the control action perturbation term, is the estimated value of the difference between the open-loop steady-state predicted value and the equilibrium point value of the heat storage at time t, P eq is the steady-state equilibrium point of the output power, T eq is the steady-state equilibrium point of the indoor temperature, K is the controller gain matrix; according to Calculate the open-loop dynamic prediction value T ol (t+i|t), is the estimated value of the difference between the open-loop steady-state predicted value and the equilibrium point value of the heat storage at time t+i, is the estimated value of the output power at time t+1.
[0038] The steady-state target calculation module calculates the open-loop steady-state prediction value provided by the open-loop prediction module. and Utilization Find the steady-state target value T of MV and CV ss (t) and P ss (t), where K c , G c is the steady-state gain matrix, ss represents steady state;
[0039] The dynamic control module calculates T according to the steady-state target calculation module. ss (t) and P ss (t), and the dynamic prediction value T provided by the open-loop module ol (t+i|t) calculates the set value or valve opening of the underlying controller.
[0040] Furthermore, the steady-state target calculation module considers the actual constraints of MV and CV, specifically:
[0041] Electric boiler power constraint: 0≤P e (t)≤P e,max (t)0≤P E (t)≤α e P e,max (t), P e,max (t) is the rated power of the electric boiler, P e (t) is the output power of the electric boiler;
[0042] Heat pump power constraint: 0≤P g,in (t)≤P g,in,max (t)0≤P G (t)≤P g,in,max (t)C op,c , P g,in,max (t) is the rated power, P G (t) is the heat pump output power;
[0043] Indoor temperature constraint: 18≤T(t)≤CQ(t), C is the heat to temperature conversion ratio, Q(t) is the heat;
[0044] Traffic constraints:
[0045] Furthermore, the optimization and solution process of the steady-state target calculation module is divided into two stages: ① feasibility stage: by relaxing soft constraints, the feasible domain is not an empty set; ② economic optimization stage: finding the optimal solution in the feasible domain that minimizes the economic target, i.e., the equipment operating power and operating cost; the dynamic control module is divided into three stages: ① processing the future output to make it close to T ss (t); ② Suppress the drastic changes of the control perturbation; ③ Obtain a feasible solution by relaxing the output soft constraints.
[0046] The advantages and beneficial effects of the present invention are as follows:
[0047] In the system of the present invention, the storage battery is used to power the heat pump and the electric boiler, which reduces the power fluctuation caused by direct power supply from wind power and photovoltaic power generation, and makes the system operation more stable.
[0048] The system uses wind and solar clean energy to generate electricity, batteries to store electricity, and electric boilers, ground-source heat pumps, and collectors to generate heat. The complementarity of multiple energy sources not only saves energy and reduces pollution, but also improves the stability and reliability of the system's heating supply.
[0049] Advantages: The main innovation of the present invention is to combine the multi-source heating system with the double-layer MPC, turning the entire system into a closed loop, including physical space and information space. The physical space first provides data for the information space, and then the information space optimizes and regulates the physical space. Multi-energy optimization problems involve many physical constraints, many variables, many optimization indicators, complex mathematical descriptions, and multi-scale characteristics. General control methods cannot handle multiple constraints and multiple variables and often simplify or even ignore the interference of the system. Seeking an algorithm that can handle multiple variables, multiple constraints, and interference can better ensure the accuracy of modeling and control. Since MPC technology has been widely used in multi-variable, constrained, and multi-objective control problems, this article uses external artificial interference to perform modeling and processing, and uses double-layer MPC for optimization calculations. Finally, the underlying controller PLC or pid is combined to optimize the system. Control.
[0050] Beneficial effects: The prediction module in the double-layer MPC can predict future changes in room temperature and equipment output power. The steady-state target module can handle multiple constraints in the system, such as the maximum and minimum values of room temperature, optimize the constraints, and find the optimal expected value. The dynamic control module can track and control the expected target, and automatically control the system temperature and equipment output power in conjunction with the underlying controller. No additional hardware is required in the system, and optimized control can be achieved by only improving the algorithm on the PLC, with low cost. In terms of modeling, a state-space model that introduces artificial interference is used, which can well achieve control accuracy and control performance stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is an overall structural block diagram of an embodiment of a multi-source complementary heating system provided by the present invention, which is a preferred embodiment of the present invention.
[0052] Figure 2 It is an overall structural block diagram of an optimization control method for a multi-source complementary heating system provided by the present invention.
[0053] Figure 3 It is a constraint interval diagram of an optimization control method for a multi-source complementary heating system provided by the present invention.
[0054] Figure 4 It is a control flow chart of a multi-source complementary heating system optimization control method provided by the present invention. DETAILED DESCRIPTION
[0055] The following will describe the technical solutions in the embodiments of the present invention in detail in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only part of the embodiments of the present invention.
[0056] The technical solution of the present invention to solve the above technical problems is:
[0057] The system has many unmeasurable disturbances and the system operation is nonlinear, so there are errors in modeling. Therefore, a state space model with artificial disturbances is used to carry out modeling research to achieve control accuracy and control performance stability.
[0058] Based on the above state space model, the double-layer MPC optimization control is used to achieve a better control effect for the multi-source complementary heating system, which can not only improve the control quality of heating, but also achieve energy-saving and optimized operation of the heating process. For the large inertia and large lag characteristics of the heating process, the double-layer MPC method can well handle the system's large delay, strong coupling, time-varying and nonlinear characteristics.
[0059] Figure 1 This is an overall structural block diagram of an embodiment of a multi-source complementary heating system provided by the present invention. Wind turbines and photovoltaic panels store the generated electricity in batteries, which are used to power ground source heat pumps and electric boilers. Ground source heat pumps, electric boilers and solar collectors serve as three complementary heat sources to continuously heat the water in the hot water storage tank to keep it within a certain temperature range. Under normal circumstances, the solar collectors are always working to provide heat. When the heating temperature is less than 18°C, the ground source heat pump starts to provide heat. When the temperature is lower than 65°C, the electric boiler starts to provide heat. The three complementary heat sources provide complementary heat to ensure that the indoor temperature is within the range of 18-80°C. CQ(t) must be greater than 80°C, where C is the heat to temperature conversion ratio and Q(t) is the total heat.
[0060] Figure 2This is an overall structural block diagram of a multi-source complementary heating system optimization control method provided by the present invention. The lower part is the physical space, and the upper part is the information space. The physical space provides data for the information space, and the information space optimizes and controls the physical space. The physical space provides the information space with water supply temperature, return water temperature, indoor temperature (controlled variable) and outdoor temperature (interference variable) through temperature sensors. By classifying these data, a state space model is established in the information space. The double-layer MPC algorithm optimizes the model and finally determines the appropriate bottom-level controller value. The bottom-level controller PLC is used to automatically control the physical space, control the output power of the heating equipment, and the valve opening of the supply and return water.
[0061] Figure 3 It is a constraint interval diagram of a multi-source complementary heating system optimization control method provided by the present invention. The equipment output power is taken as the operating variable (MV), the outdoor temperature is the measurable interference variable (DV), the indoor thermal disturbance and solar radiation are the unmeasurable interference variables (DV), and the indoor temperature is the controlled variable (CV). Figure 3 The multiple constraints shown in the figure draw multiple straight lines. The middle area where the straight lines intersect is the feasible domain. MV and CV have many constraints. The actual constraints (hard constraints) cannot be adjusted, but the soft constraints can be adjusted. To optimize, it is necessary to ensure that the feasible domain is not empty. By relaxing the soft constraints, the feasible domain can be made not empty. The soft constraints that can be relaxed are: in The steady-state value at time t is equal to the value at the previous time plus the change. P and are the upper and lower limits of the soft constraint on the device output power, T and are the upper and lower limits of the indoor temperature soft constraint, G and It is the upper and lower limits of the flow soft constraint. The setting of the soft constraint is based on the actual constraint of the equipment and needs to be smaller than the actual constraint. At the same time, the expected value constraint T of the indoor temperature set on the operation screen is considered. min ≤T ss (t)≤T max , T min With T max The expected lower and upper bounds are set manually. At this time, slack variables (α, β) are introduced to CV to relax the constraints: By setting appropriate slack variable values, the feasible region is not empty.
[0062] Objective Function In the above feasible domain, the steady-state target value T of the optimal economic performance is solved according to linear programming. ss (t+j).T tsis the indoor temperature setting value on the operation screen, h is the weight of the control quantity change, Δp is the change of the equipment output power, N P and N u For the prediction time domain and the control time domain.
[0063] Figure 4 This is a control flow chart of a multi-source complementary heating system optimization control method provided by the present invention. The sensor transmits various data to the operation interface, which displays the indoor temperature and the operating power of each device in real time. The data is classified and processed according to various types of data to determine the type of data. Then, a state space model is established. The double-layer MPC performs open-loop prediction, steady-state target, and dynamic control based on the model in sequence. Finally, the set value of the bottom controller is calculated through dynamic control. The PLC bottom controller controls the output power of the electric boiler and the ground source heat pump and the opening of the outlet valve of the hot water storage tank according to the calculated set value, thereby controlling the indoor temperature and reasonably regulating electricity consumption.
[0064] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0065] The above embodiments should be understood to be only used to illustrate the present invention and not to limit the protection scope of the present invention. After reading the contents of the present invention, technicians can make various changes or modifications to the present invention, and these equivalent changes and modifications also fall within the scope defined by the claims of the present invention.
Claims
1. A multi-source complementary heating system, characterized in that: include: Wind turbines, photovoltaic panels, batteries, solar collectors, ground source heat pumps, electric boilers, hot water storage tanks, heat exchangers and control systems, including: Wind turbines and photovoltaic panels are connected to batteries in parallel as power sources to store the generated electricity in the batteries; batteries are connected to ground source heat pumps and electric boilers as power supply equipment to provide stable electricity for the operation of both; solar collectors, ground source heat pumps, and electric boilers are connected to the hot water storage tank in parallel as three complementary heat sources to continuously heat the water in the hot water storage tank to keep it within a certain temperature range; the hot water storage tank is connected to the heat exchanger to dissipate heat and provide heating through the heat exchanger; The control system is mainly powered by the mains, and includes an interface operation screen, a core controller, a bottom controller, and sensors. The control system is connected to the solar collector, electric boiler, and ground-source heat pump. The indoor temperature, supply and return water temperature, and water flow rate are detected in real time through the sensors and transmitted to the core controller. The core controller calculates the optimal value according to the optimization control algorithm, thereby manipulating the bottom controller to control the output power of the solar collector, electric boiler, and ground-source heat pump and the opening of the outlet valve of the hot water storage tank, thereby achieving the optimization control of the dual indicators of room comfort and energy saving. The following formula is used for modeling analysis: Solar Collector Model: Where: η s is the collector power generation efficiency at time t, B is the heat transfer factor, τ is the light transmittance, κ is the absorptivity, ΔT is the difference between the collector inlet water temperature and the outdoor ambient temperature in °C, E s (t) is the solar radiation intensity at time t, P s (t) is the collector output power, S is the collector light receiving area, Q s (t) is the heat generated by the collector at time t, Q s (t+1) is the heat generation at the next moment, φ is the heat loss coefficient of the collector; Δp s It represents the increase in collector output power; Electric boiler model: Where: Q E (t) is the heat storage capacity of the electric boiler at time t, Q E (t+1) is the heat storage at the next moment, C w is the specific heat capacity of water, ρ w is the density of water, V e is the volume of water in the electric boiler, ΔT w is the temperature difference between the outlet and inlet water, α e is the electrothermal conversion coefficient, P e (t) is the power consumption at time t, ε is the heat loss coefficient of the electric boiler, P E (t) is the electrical-to-heat power at time t; Ground source heat pump model: Where: C op,c is the coefficient of performance of the ground source heat pump under variable conditions, C op is the coefficient of performance under rated conditions, M pl is the load factor, P g,in (t) is the power consumption at time t, P G (t) is the output power of the ground source heat pump at time t, Q s (t) is the heat storage capacity of the heat pump at time t, Q s (t+1) is the heat storage at the next moment, and the heat loss coefficient of the heat pump; The following formula is used for modeling analysis: Indoor temperature model: Traffic model: In the formula, Q is the state variable, the heat storage capacity of the hot water storage tank; p is the operating variable MV, the output power of the equipment; is the measurable disturbance DV, outdoor temperature; T is the controlled variable CV, indoor temperature, power consumption, A, B, C, D can be obtained by using the system identification method based on the field measurement data, and G is the flow rate; Introducing artificial disturbances into the indoor temperature model are state disturbance d(t) and output disturbance P(t): in G d Determines the impact of interference on the state, G p Determine the impact of the state on the output; are the coefficient matrices, represents the augmented state variable, ▽Q(t)=Q(t)-Q eq , where Q eq Indicates the steady-state equilibrium point of heat storage; The two-layer MPC optimization control algorithm consists of three modules: prediction module, steady-state target calculation module, and dynamic control module, among which: The prediction module assumes that the future MV remains unchanged and predicts the future value of CV based on the current CV measurement value: Find the open-loop steady-state prediction and ▽ν is the control action perturbation term, is the estimated value of the difference between the open-loop steady-state predicted value and the equilibrium point value of the heat storage at time t, P eq is the steady-state equilibrium point of the output power, T eq is the steady-state equilibrium point of the indoor temperature, K is the controller gain matrix; according to Calculate the open-loop dynamic prediction value T ol (t+i|t), is the estimated value of the difference between the open-loop steady-state predicted value and the equilibrium point value of the heat storage at time t+i, is the estimated value of the output power at time t+1; The steady-state target calculation module calculates the open-loop steady-state prediction value provided by the open-loop prediction module. and Utilization Calculate the steady-state target value T of MV and CV ss (t) and P ss (t), where K c , G c is the steady-state gain matrix, ss represents steady state; The dynamic control module calculates T according to the steady-state target calculation module. ss (t) and P ss (t), and the dynamic prediction value T provided by the open-loop module ol (t+i|t) calculates the set value or valve opening of the underlying controller; The steady-state target calculation module considers the actual constraints of MV and CV, specifically: Electric boiler power constraint: 0≤P e (t)≤P e,max (t)0≤P E (t)≤α e P e,max (t), P e,max (t) is the rated power of the electric boiler, P e (t) is the output power of the electric boiler; Heat pump power constraint: 0≤P g,in (t)≤P g,in,max (t)0≤P G (t)≤P g,in,max (t)C op,c , P g,in,max (t) is the rated power, P G (t) is the heat pump output power; Indoor temperature constraint: 18≤T(t)≤CQ(t), C is the heat to temperature conversion ratio, Q(t) is the heat; Traffic constraints: The optimization and solution process of the steady-state target calculation module is divided into two stages: ① feasibility stage: by relaxing soft constraints, the feasible domain is not an empty set; ② economic optimization stage: finding the optimal solution within the feasible domain that minimizes the economic target, i.e., the equipment operating power and operating cost; the dynamic control module is divided into three stages: ① processing the future output to make it close to T ss (t); ② Suppress the drastic changes of the control perturbation; ③ Obtain a feasible solution by relaxing the output soft constraints.
2. A multi-source complementary heating system according to claim 1, characterized in that: The core controller of the control system calculates the optimal value according to the optimization control algorithm, which specifically includes: establishing the objective function, relaxing the soft constraints, determining the feasible domain by combining the soft and hard constraints, and solving the optimal value that satisfies the objective function in the feasible domain.
3. A multi-source complementary heating system according to claim 1, characterized in that: The interface operation screen displays the indoor temperature and the operating power of each device in real time, and the expected value of the indoor temperature can be manually set; the core controller mainly uses the optimization control algorithm to optimize the data measured by the sensor to obtain the optimal value of the underlying controller; the underlying controller adopts a PLC programmable logic controller or a PID proportional-integral-differential controller, and the underlying controller controls the output power of the electric boiler and the ground source heat pump and the opening of the outlet valve of the hot water storage tank according to the obtained optimal value.
4. An optimization control method based on the multi-source complementary heating system according to claim 1, characterized in that: The following steps are involved: Step 1. Model and analyze the heat-generating equipment including solar collectors, electric boiler models, and ground-source heat pump models to clarify the internal relationship of variables; Step 2. Model the entire system uniformly and establish a state space model based on the types of variables, i.e., manipulated variables MV, controlled variables CV, and disturbance variables DV; Step 3. Use the optimization control algorithm - double-layer MPC algorithm to optimize the state space model and calculate the optimal setting value of the bottom controller; Step 4. The bottom controller controls the output power of the solar collector, electric boiler and ground source heat pump according to the optimal setting value obtained above, and controls the valve opening of the hot water storage tank according to the indoor thermal comfort demand, thereby adjusting the room temperature; The step 1 adopts the following formula for modeling and analysis: Solar Collector Model: Where: η s is the collector power generation efficiency at time t, B is the heat transfer factor, τ is the light transmittance, κ is the absorptivity, ΔT is the difference between the collector inlet water temperature and the outdoor ambient temperature in °C, E s (t) is the solar radiation intensity at time t, P s (t) is the collector output power, S is the collector light receiving area, Q s (t) is the heat generated by the collector at time t, Q s (t+1) is the heat generation at the next moment, φ is the heat loss coefficient of the collector; Δp s It represents the increase in collector output power; Electric boiler model: Where: Q E (t) is the heat storage capacity of the electric boiler at time t, Q E (t+1) is the heat storage at the next moment, C w is the specific heat capacity of water, ρ w is the density of water, V e is the volume of water in the electric boiler, ΔT w is the temperature difference between the outlet and inlet water, α e is the electrothermal conversion coefficient, P e (t) is the power consumption at time t, ε is the heat loss coefficient of the electric boiler, P E (t) is the electrical-to-heat power at time t; Ground source heat pump model: Where: C op,c is the coefficient of performance of the ground source heat pump under variable conditions, C op is the coefficient of performance under rated conditions, M pl is the load factor, P g,in (t) is the power consumption at time t, P G (t) is the output power of the ground source heat pump at time t, Q s (t) is the heat storage capacity of the heat pump at time t, Q s (t+1) is the heat storage at the next moment, and the heat loss coefficient of the heat pump; The step 2 adopts the following formula for modeling analysis: Indoor temperature model: Traffic model: In the formula, Q is the state variable, the heat storage capacity of the hot water storage tank; p is the operating variable MV, the output power of the equipment; For the measurable interference DV, outdoor temperature; T is the controlled variable CV, indoor temperature, power consumption, A, B, C, D can be obtained by using the system identification method based on the field measurement data, and G is the flow rate; Introducing artificial disturbances into the indoor temperature model are state disturbance d(t) and output disturbance P(t): in G d Determines the impact of interference on the state, G p Determine the impact of the state on the output; are the coefficient matrices, represents the augmented state variable, ▽Q(t)=Q(t)-Q eq , where Q eq Represents the steady-state equilibrium point of heat storage.
