Energy management optimization method and device for building virtual power plant
By establishing a building virtual power plant model and objective function, optimizing the power fluctuation and total operating cost of the distribution network connection line, the problem of inconsistent energy management methods of building virtual power plants is solved, and the load carrying capacity and adjustability of the urban power grid is improved.
Patent Information
- Application Number
- CN202410161579.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-05
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-02-05
AI Technical Summary
In the prior art, the energy management methods of building virtual power plants lack comprehensive coordination, making it difficult to optimize grid operations, resulting in scarce power system flexibility resources, affecting the load-bearing capacity and adjustability of urban power grids.
By establishing a virtual power plant model for building, determining the relationship between total operating costs and power balance, establishing an objective function to optimize power fluctuations and total operating costs of the distribution network connection line, using genetic algorithms to solve the energy management optimization model, and formulating the energy management control strategy for intelligent buildings .
It improves the load-bearing capacity and adjustability of the urban power grid, reduces the peak-to-valley difference between the distribution network connection lines, and improves the overall operating efficiency of building virtual power plants.
Smart Images

Figure CN118195338B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of virtual power plant energy dispatching, and in particular relates to an energy management optimization method and device for a building virtual power plant. Background Art
[0002] The safe and stable operation of the new power system requires a large amount of flexibility resources. At present, the main source of flexibility resources in the power system is conventional power. However, with the large-scale grid connection of new energy sources, the installed capacity and spinning reserve capacity of conventional power sources are further squeezed, and the flexibility resources they can bring to the system are significantly reduced. As a result, the flexibility resources of the power system are becoming increasingly scarce.
[0003] As the size of cities continues to expand, building energy consumption and carbon emissions continue to grow. At present, the cooling / heating of buildings mostly adopts the Heating, Ventilation and Air Conditioning (HVAC) system, and its operating energy consumption accounts for about 50% of the total energy consumption of the building. At the same time, the building's envelope has the characteristics of heat insulation and heat storage, which makes the building electricity have a certain thermal inertia, so the building HVAC can flexibly adjust the power without affecting the user's comfort. Therefore, buildings have considerable potential for energy conservation and emission reduction. However, the flexible regulation and control capabilities of single buildings are very limited, and it is difficult to provide effective flexibility auxiliary services for the power system. Therefore, a large number of buildings can be effectively aggregated through virtual power plants to participate in the interaction of power grid supply and demand and market transactions, and provide a large number of flexibility resources for the new power system. In the embodiment of the present invention, the virtual power plant that aggregates a large number of buildings is referred to as the Building Virtual Power Plant (BVPP).
[0004] In the related technologies, in the process of managing BVPP, urban power grid operators still only consider network loss and other goals, and lack a more comprehensive and coordinated energy management strategy. Therefore, the energy management method of BVPP needs to be optimized urgently. Summary of the invention
[0005] The embodiment of the present invention provides an energy management optimization method and device for a building virtual power plant, so as to optimize the energy management method of the building virtual power plant and improve the effect of energy management.
[0006] The present invention is achieved through the following technical solutions:
[0007] In a first aspect, an embodiment of the present invention provides an energy management optimization method for a building virtual power plant, comprising: establishing a building virtual power plant model of a target area, the building virtual power plant model including energy consumption equipment models and energy supply equipment models of individual buildings in the target area; based on the building virtual power plant model, determining the total operating cost and power balance relationship of the building virtual power plant in the target area; establishing a first objective function and a second objective function based on the total operating cost and the power balance relationship; the first objective function is to minimize the power fluctuation of the distribution network interconnection line in the target area within the control time domain, and the second objective function is to minimize the total operating cost of the building virtual power plant within the control time domain; the control variables of the first objective function and the second objective function are the control strategies of the energy consumption equipment model and the energy supply equipment model in the control time domain; based on the first objective function, the second objective function and the control strategy set of the control variables, establishing an energy management optimization model of the building virtual power plant in the control time domain; solving the energy management optimization model in multiple consecutive control time domains, and determining the energy management control scheme of each individual building in the target area in the target optimization time domain; the target optimization time domain includes the multiple consecutive control time domains.
[0008] In combination with the first aspect, in some embodiments, the single building in the target area is an intelligent building in the target area; the building virtual power plant model includes a HVAC system model, a micro gas turbine model and an electric water heater model of the intelligent building; wherein the HVAC system model and the electric water heater model belong to the energy consuming equipment model, and the micro gas turbine model belongs to the energy supply equipment model.
[0009] In conjunction with the first aspect, in some embodiments, the HVAC system model includes:
[0010]
[0011]
[0012]
[0013]
[0014]
[0015] in, The heat exchanged between the HVAC system of the smart building and the outdoor air, Cooling / heating of HVAC systems in smart buildings i; c air is the specific heat capacity of air, The quality of air heated or cooled by the HVAC system of a smart building, is the outdoor temperature of smart building i, is the indoor temperature of smart building i, The outlet temperature of the HVAC system of the smart building i, Flow (i) is the ventilation volume of smart building i, ρ air is the air density, is the volume of air flowing through the HVAC system of smart building i per unit time, S (i) is the ventilation area of smart building i, is the start and stop control variable of the HVAC system of smart building i, ct (i) =1 means the HVAC system is on, ct (i) =0 means the HVAC system is off; is the electrical power of the HVAC system of smart building i at time t, COP (i) Energy efficiency ratio of HVAC system for smart building i, is the operating cost of the HVAC system of smart building i in h hours, c (i) The electricity price of the distribution network when purchasing electricity for smart building i;
[0016] The micro gas turbine model includes:
[0017]
[0018]
[0019] in, is the electric power output by the micro gas turbine of smart building i at time t, is the gas consumption of the micro gas turbine of intelligent building i at time t, η is the energy conversion efficiency, is the gas consumption cost of the micro gas turbine of smart building i in h hours, Gas prices when purchasing gas for smart building i;
[0020] The electric water heater model includes:
[0021]
[0022]
[0023]
[0024] Among them, c y is the flue gas flow rate released by the flue gas-water heat exchanger, q y is the specific heat capacity of flue gas, is the temperature at the outlet of the flue gas-water heat exchanger of smart building i at time t, is the temperature at the inlet of the flue gas-water heat exchanger of smart building i at time t, is the flue gas heat recovery of smart building i at time t; is the power of the electric water heater of smart building i at time t, N water is the conversion factor for electric water heaters, is the hot water load of smart building i, is the operating cost of the electric water heater in smart building i within h hours.
[0025] In combination with the first aspect, in some embodiments, the control variables of the first objective function and the second objective function include the on and off control variables of the HVAC system of each intelligent building in the control time domain and the electric power output by the micro gas turbine of each intelligent building; the control strategy set of the control variables includes a first set and a second set, the first set is a set of on and off control variables of the HVAC system of each intelligent building, and the second set is a set of electric power output by the micro gas turbine of each intelligent building;
[0026] In combination with the first aspect, in some embodiments, the total operating cost of the building virtual power plant is:
[0027]
[0028] Among them, C city is the total operating cost of the building virtual power plant in the target area within h hours, is the operating cost of smart building i in h hours, is the cost of the uncontrollable electrical load of smart building i within h hours, and N is the total number of smart buildings in the building virtual power plant in the target area;
[0029] The power balance relationship of the building virtual power plant in the target area is:
[0030]
[0031]
[0032] in, is the electrical load of smart building i at time t, is the uncontrollable electrical load of intelligent building i at time t, P line (t) is the interconnection line power of the building virtual power plant at time t, P PV (t) is the power output of the photovoltaic system in the building virtual power plant in the target area.
[0033] In combination with the first aspect, in some embodiments, the total operating cost of the building virtual power plant is:
[0034]
[0035] Among them, C city is the total operating cost of the building virtual power plant in the target area within h hours, is the operating cost of smart building i in h hours, is the cost of the uncontrollable electrical load of smart building i within h hours, and N is the total number of smart buildings in the building virtual power plant in the target area;
[0036] The power balance relationship of the building virtual power plant in the target area is:
[0037]
[0038]
[0039] in, is the electrical load of smart building i at time t, is the uncontrollable electrical load of intelligent building i at time t, P line (t) is the interconnection line power of the building virtual power plant at time t, P PV (t) is the power output of the photovoltaic system in the building virtual power plant in the target area.
[0040] In combination with the first aspect, in some embodiments, before establishing the second objective function, the method further includes: determining the operating cost of the single intelligent building considering the indoor temperature constraint based on the operating cost of the single intelligent building and a preset temperature penalty factor;
[0041] The operating cost of a single intelligent building considering indoor temperature constraints is:
[0042]
[0043]
[0044] in, is the operating cost of smart building i considering the indoor temperature constraint in the kth control time domain, is the operating cost of the HVAC system of smart building i in the kth control time domain, is the uncontrollable electric load cost of intelligent building i in the kth control time domain, is the operating cost of the electric water heater of intelligent building i in the kth control time domain, is the gas consumption cost of the micro gas turbine of smart building i in the kth control time domain; is the temperature penalty factor, For intelligent buildings k+1Indoor temperature at time, T low is the lower limit of the indoor temperature of smart building i, T high is the upper limit of the indoor temperature of smart building i.
[0045] In conjunction with the first aspect, in some embodiments, the first objective function is:
[0046]
[0047]
[0048]
[0049] Wherein, f1(x) is the mean square error of the power of the distribution network tie line of the target area in the kth control time domain, t k ~t k+p The power value of the distribution network tie line of the target area at each moment in the time period, t k ~t k+p The average power of the distribution network tie line in the target area during the period, x k (i) is the control variable, is a set of control strategies for the control variables; is the electrical load of intelligent building i in the kth control time domain, P PV,k (t) is the power output of the photovoltaic system in the kth control time domain;
[0050] The second objective function is:
[0051]
[0052] In combination with the first aspect, in some embodiments, the energy management optimization model is:
[0053]
[0054] ω1+ω2=1
[0055]
[0056]
[0057]
[0058]
[0059] Among them, f 1,TRA (x k) is the mean square error of the power of the distribution network tie line in the target area in the kth control time domain under the traditional energy management method, f 2,TRA (x k ) is the total operating cost of the building virtual power plant considering the indoor temperature constraint under the traditional energy management method, ω1 is the weight coefficient of the first objective function, and ω2 is the weight coefficient of the second objective function; TRA lk (t) is t under the traditional energy management method k ~t k+p The power value of the distribution network tie line in the target area in the time period, TRA k Under the conventional energy management method, k ~t k+p The average power value of the distribution network tie line in the target area during the period, is the electrical load of the intelligent building i in the kth control time domain under the traditional energy management method.
[0060] In combination with the first aspect, in some embodiments, the energy management optimization model in multiple consecutive control time domains is solved to determine the energy management control scheme for each individual building in the target area in the target optimization time domain, including: for any control time domain, obtaining parameter prediction data of the energy-consuming equipment model and the energy-supply equipment model of each individual building in the prediction time domain corresponding to the control time domain; based on the control strategy set and the parameter prediction data, a genetic algorithm is used to solve the energy management optimization model in the control time domain to determine a combined control scheme for controlling the energy-consuming equipment and energy-supply equipment of all individual buildings of the building virtual power plant in the control time domain, that is, the energy management control scheme of the building virtual power plant in the control time domain; wherein the parameter prediction data of the prediction time domain corresponding to the control time domain is predicted based on the energy management control scheme of the previous control time domain adjacent to the control time domain.
[0061] In the second aspect, an embodiment of the present invention provides an energy management optimization device for a building virtual power plant, including: a first modeling module, used to establish a building virtual power plant model of a target area, the building virtual power plant model includes energy-consuming equipment models and energy supply equipment models of single buildings in the target area; a target establishment module, used to determine the total operating cost and power balance relationship of the building virtual power plant in the target area based on the building virtual power plant model; based on the total operating cost and the power balance relationship, establish a first objective function and a second objective function; the first objective function is to minimize the power fluctuation of the distribution network interconnection line in the target area within the control time domain, and the second objective function is to minimize the power fluctuation of the distribution network interconnection line in the control time domain. The total operating cost of the building virtual power plant in the control time domain is minimized; the control variables of the first objective function and the second objective function are the control strategies of the energy-consuming equipment model and the energy-supplying equipment model in the control time domain; a second modeling module is used to establish an energy management optimization model of the building virtual power plant in the control time domain based on the first objective function, the second objective function and the control strategy set of the control variables; a solution optimization module is used to solve the energy management optimization model in multiple consecutive control time domains to determine the energy management control scheme of each single building in the target area in the target optimization time domain; the target optimization time domain includes the multiple consecutive control time domains.
[0062] In a third aspect, an embodiment of the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the energy management optimization method for a building virtual power plant as described in any one of the first aspects is implemented.
[0063] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the energy management optimization method of a building virtual power plant as described in any one of the first aspects is implemented.
[0064] In a fifth aspect, an embodiment of the present invention provides a computer program product. When the computer program product runs on an electronic device, the electronic device executes the energy management optimization method for a building virtual power plant as described in any one of the first aspects above.
[0065] Compared with the related art, the embodiments of the present invention have the following beneficial effects:
[0066] The energy management optimization method of a building virtual power plant provided by an embodiment of the present invention first establishes a building virtual power plant model of a target area, wherein the building virtual power plant model includes an energy-consuming equipment model and an energy-supplying equipment model of a single building in the target area; then, based on the energy-consuming equipment model and the energy-supplying equipment model, the total operating cost and the power balance relationship of the building virtual power plant in the target area are determined; then, based on the total operating cost and the power balance relationship, a first objective function and a second objective function are established, wherein the first objective function is to minimize the power fluctuation of the distribution network interconnection line in the target area within the control time domain, and the second objective function is to minimize the total operating cost of the building virtual power plant within the control time domain; based on the first objective function and the second objective function, and with the control strategies of the energy-consuming equipment model and the energy-supplying equipment model in the control time domain as control variables, an energy management optimization model of the virtual power plant in the control time domain is established; finally, based on a set of control strategies for the control variables, the energy management optimization model in multiple consecutive control time domains is solved to determine the energy management control scheme for each single building in the target area within the target optimization time domain. The present invention combines the above-mentioned first objective function and second objective function to establish an energy management optimization model, that is, it simultaneously considers the optimization of the overall economic benefits of the building virtual power plant and the peak-to-valley difference of the interconnection lines of the distribution network, coordinates the energy operation management of multiple single buildings in the target area, and is conducive to improving the carrying capacity of the urban power grid and enhancing the adjustable capacity of the urban power grid itself.
[0067] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0068] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0070] Figure 1 It is a flow chart of an energy management optimization method for a building virtual power plant provided by an embodiment of the present invention;
[0071] Figure 2 It is a schematic diagram of solving the optimization process in the energy management optimization method of a building virtual power plant provided by an embodiment of the present invention;
[0072] Figure 3It is a structural block diagram of an energy management optimization device for a building virtual power plant provided by an embodiment of the present invention;
[0073] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0074] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0075] It should be understood that in the description of the present specification and the appended claims, the terms "first", "second", "third" and the like are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0076] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0077] In order to meet the needs of users in the region, BVPP needs to purchase a large amount of electricity from the upper power grid to ensure the normal operation of HVAC and other power loads, which will require a high operating cost. In addition, since the control operation of HVAC is carried out according to the user's use needs and its own start-stop operation rules, its load will cause load fluctuations in the distribution network to a certain extent. With the large-scale access of renewable energy, the peak-to-valley difference in the power of the city power grid's interconnection lines will increase. In order to ensure the reliable operation of the power grid, the requirements for the carrying capacity of the city power grid will also be higher.
[0078] In view of this, an embodiment of the present invention provides an energy management optimization method for a building virtual power plant. First, a building virtual power plant model is established, and the total operating cost and power balance relationship of the building virtual power plant are determined. Based on the total operating cost and the power balance relationship, a first objective function of minimizing the power fluctuation of the distribution network interconnection line and a second objective function of minimizing the total operating cost are established. Afterwards, the energy management optimization model of the building virtual power plant is established by comprehensively considering the first objective function and the second objective function. The control variables of the optimization model are the control strategies of the energy-consuming equipment and the energy-supplying equipment in the building virtual power plant. Finally, based on the control strategy set of the control variables, the energy management optimization model is solved to determine the energy management control scheme of the building virtual power plant. The above method coordinates the operating cost of the overall energy resources of the city and the control requirements of the reliability of the power grid operation, which can improve the overall operating efficiency of the building virtual power plant and reduce the peak-to-valley difference of the distribution network interconnection line.
[0079] Figure 1 is a flow chart of an energy management optimization method for a building virtual power plant provided by an embodiment of the present invention, referring to Figure 1 , the energy management optimization method of the building virtual power plant is described as follows:
[0080] S101, establishing a building virtual power plant model of the target area, where the building virtual power plant model includes energy consumption equipment models and energy supply equipment models of individual buildings in the target area.
[0081] In some embodiments, the target area may refer to a region, a city, or certain areas defined by the scope of power grid laying, and the power grid in the region or city can usually be regarded as a whole for management and control. The single building in the above target area may be an intelligent building in the target area.
[0082] In the embodiment of the present invention, the main energy terminal carrier of the building virtual power plant is the intelligent building. Intelligent buildings refer to buildings as platforms, with information facilities systems, information application systems, building equipment management systems, public safety systems, etc., integrating structures, systems, services, management and their optimized combinations, to provide people with a safe, efficient, convenient, energy-saving, environmentally friendly and healthy building environment. Therefore, when establishing a building virtual power plant model, the modeling of intelligent buildings is mainly considered.
[0083] The HVAC system in an intelligent building can meet the needs of optimizing the scheduling of the building energy system by adjusting its operating start and stop status. Therefore, the HVAC system is one of the most important controllable loads in an intelligent building. In an embodiment of the present invention, the controllable load of an intelligent building is represented by the HVAC system, and the remaining loads such as lighting and sockets are regarded as uncontrollable electrical loads. In addition, intelligent buildings are usually equipped with energy supply equipment, such as steam turbines, gas turbines, fuel cells and other cogeneration equipment. In an embodiment of the present invention, a micro gas turbine is mainly considered as the energy supply equipment for intelligent buildings. Accordingly, the flue gas heat generated by the micro gas turbine can be recycled and utilized by the flue gas-water heat exchanger to meet the user's domestic hot water needs. In an embodiment of the present invention, the demand supplement equipment for the flue gas-water heat exchanger can be an electric water heater.
[0084] In the embodiment of the present invention, the building virtual power plant model includes a HVAC system model, a micro gas turbine model and an electric water heater model of the intelligent building, wherein the HVAC system model and the electric water heater model are energy-consuming equipment models, and the micro gas turbine model is an energy-supplying equipment model.
[0085] In some embodiments, the HVAC system responds to the optimization control instructions of the upper system by controlling the start and stop status of the compressor, so a 0 / 1 variable can be used to represent the operating status of the HVAC system, where 0 represents off and 1 represents on. The HVAC system model can include:
[0086]
[0087]
[0088]
[0089]
[0090]
[0091] in, The heat exchanged between the HVAC system of the smart building and the outdoor air, Cooling / heating of HVAC systems in smart buildings i; c air is the specific heat capacity of air, The quality of air heated or cooled by the HVAC system of a smart building, is the outdoor temperature of smart building i, is the indoor temperature of smart building i, The outlet temperature of the HVAC system of the smart building i, Flow (i) is the ventilation volume of smart building i, ρ air is the air density, is the volume of air flowing through the HVAC system of smart building i per unit time, S (i) is the ventilation area of smart building i, is the start and stop control variable of the HVAC system of smart building i, ct (i) =1 means the HVAC system is on, ct (i) =0 means the HVAC system is off; is the electrical power of the HVAC system of smart building i at time t, COP (i) Energy efficiency ratio of HVAC system for smart building i, is the operating cost of the HVAC system of smart building i in h hours, c (i) The electricity price of the distribution network when purchasing electricity for smart building i.
[0092] It should be noted that in the embodiment of the present invention, since the total operating cost of the building virtual power plant and the power fluctuation of the distribution network interconnection lines are simultaneously considered in the energy management optimization model, the model expressions of both cost and power need to be considered at the same time in the building virtual power plant modeling stage.
[0093] For a micro gas turbine, its output electrical power is related to its gas consumption and energy conversion efficiency. The micro gas turbine model can include:
[0094]
[0095]
[0096] in, is the electric power output by the micro gas turbine of smart building i at time t, is the gas consumption of the micro gas turbine of intelligent building i at time t, η is the energy conversion efficiency, is the gas consumption cost of the micro gas turbine of smart building i in h hours, Gas prices when purchasing gas for smart buildings i.
[0097] For electric water heaters, the power is related to the electric water heater conversion coefficient and the flue gas recovery heat. The electric water heater model can include:
[0098]
[0099]
[0100]
[0101] Among them, c y is the flue gas flow rate released by the flue gas-water heat exchanger, q y is the specific heat capacity of flue gas, is the temperature at the outlet of the flue gas-water heat exchanger of smart building i at time t, is the temperature at the inlet of the flue gas-water heat exchanger of smart building i at time t, is the flue gas heat recovery of smart building i at time t; is the power of the electric water heater of smart building i at time t, N water is the conversion factor for electric water heaters, is the hot water load of smart building i, is the operating cost of the electric water heater in smart building i within h hours.
[0102] S102, based on the building virtual power plant model, determine the total operating cost and power balance relationship of the building virtual power plant in the target area; based on the total operating cost and power balance relationship, establish the first objective function and the second objective function; the first objective function is to minimize the power fluctuation of the distribution network interconnection line in the target area within the control time domain, and the second objective function is to minimize the total operating cost of the building virtual power plant within the control time domain; the control variables of the first objective function and the second objective function are the control strategies of the energy-consuming equipment model and the energy-supplying equipment model in the control time domain.
[0103] In the embodiment of the present invention, the entire period for which energy management optimization is required is referred to as the target optimization time domain. In the actual optimization process, in order to more accurately manage the energy of the building virtual power plant, the target optimization time domain can be divided into multiple control time domains, starting from the initial control time domain, and the energy management solution of each control time domain is solved in turn. Therefore, it can be understood that the control time domain refers to the period during which the energy management solution of the building virtual power plant is currently being optimized and solved.
[0104] It can be understood that the total operating cost of the building virtual power plant in the target area during a certain period of time is the sum of the operating costs of all smart buildings in the target area. In some embodiments, the operating cost of a single smart building may include the cost of its HVAC system, the cost of uncontrollable electrical loads, the cost of electric water heaters, and the cost of gas consumption. Based on the above model, the total operating cost of the building virtual power plant can be obtained as:
[0105]
[0106] Among them, C city is the total operating cost of the building virtual power plant in the target area within h hours, is the operating cost of smart building i in h hours, is the cost of the uncontrollable electrical load of smart building i within h hours, and N is the total number of smart buildings in the building virtual power plant in the target area.
[0107] In the above embodiment, the electrical load of a single intelligent building can be obtained from the HVAC system load, the uncontrollable electrical load, the hot water load and the electrical power output by the micro gas turbine. The interconnection line power of the building virtual power plant is related to the electrical load power and photovoltaic power generation power of the intelligent building. Among them, the photovoltaic power generation power can refer to the power generation power of the rooftop photovoltaic equipment equipped by the intelligent building.
[0108] The power balance relationship of the building virtual power plant in the target area can be:
[0109]
[0110]
[0111] in, is the electrical load of smart building i at time t, is the uncontrollable electrical load of intelligent building i at time t, P line (t) is the interconnection line power of the building virtual power plant at time t, P PV (t) is the power output of the photovoltaic system in the building virtual power plant in the target area.
[0112] In some embodiments, in order to fully consider the user's temperature comfort requirements, a temperature penalty factor can be added when considering the operating cost to constrain the indoor temperature of the smart building, meet the user's comfort requirements, and achieve coordinated energy management of the building virtual power plant. Therefore, in this embodiment, the operating cost of a single smart building considering the indoor temperature constraint can also be determined based on the operating cost of the single smart building and the preset temperature penalty factor.
[0113] The operating cost of a single smart building considering indoor temperature constraints is:
[0114]
[0115]
[0116] in, is the operating cost of smart building i considering the indoor temperature constraint in the kth control time domain, is the operating cost of the HVAC system of smart building i in the kth control time domain, is the uncontrollable electric load cost of intelligent building i in the kth control time domain, is the operating cost of the electric water heater of intelligent building i in the kth control time domain, is the gas consumption cost of the micro gas turbine of smart building i in the kth control time domain; is the temperature penalty factor, For intelligent buildings k+1Indoor temperature at time, T low is the lower limit of the indoor temperature of smart building i, T high is the upper limit of the indoor temperature of smart building i.
[0117] In some embodiments, a first objective function may be established based on the power balance relationship of the building virtual power plant in the target area, and a second objective function may be established based on the operating cost of a single smart building considering the indoor temperature constraints.
[0118] Optionally, the mean square error of the power of the distribution network tie line in the prediction time domain is used to characterize the power fluctuation of the distribution network tie line. That is, the first objective function can be represented by the mean square error of the power of the distribution network tie line in the prediction time domain. It should be understood that the above prediction time domain refers to the time period covering the current control time domain. For example, the prediction time domain corresponding to the kth control time domain can be expressed as time period t k ~t k+p , p ≥ 1. Using the data in the prediction time domain for calculation can ensure the accuracy of the power fluctuation.
[0119] Optionally, the first objective function is:
[0120]
[0121]
[0122]
[0123] Where f1(x) is the mean square error of the power of the distribution network tie line in the target area in the kth control time domain, t k ~t k+p The power value of the distribution network tie line in the target area at each moment in the time period, t k ~t k+p The average power of the distribution network tie line in the target area during the time period, x k (i) is the control variable; is the electrical load of intelligent building i in the kth control time domain, P PV,k (t) is the power output of the photovoltaic system in the kth control time domain, is a set of control strategies for the control variables.
[0124] Optionally, the second objective function is:
[0125]
[0126] It can be understood that the control variables of the first objective function and the second objective function include the start and stop control variables of the HVAC system of each intelligent building in the control time domain and the electric power output by the micro gas turbine of each intelligent building. In other words, the energy management of the building virtual power plant in the embodiment of the present invention can be achieved by starting and stopping the HVAC system of the intelligent building and controlling the output power of the micro gas turbine.
[0127] In traditional energy management methods, if the user's heating demand is taken into account, when the indoor temperature of the smart building rises to the upper limit T high The HVAC system will shut down when the indoor temperature drops to the lower limit T low When the HVAC system starts, the indoor temperature of a single smart building is constrained to T low To T high At the same time, in traditional energy management methods, random factors such as the use function and user behavior habits of smart buildings are usually considered, so the start and stop status of the HVAC system of smart buildings will also be affected. In a possible implementation method, in the time period t k ~t k+p The operating status of the HVAC system considering the working hours of the intelligent building can be expressed as:
[0128]
[0129] Among them, t k represents the starting time of the kth control time domain in the target optimization time domain, t k ~t k+p represents the prediction time domain corresponding to the kth control time domain, represents the working time of intelligent building i, Indicates that the HVAC system of smart building i is turned on. Indicates that the HVAC system of smart building i is in the off state.
[0130] The control strategy of the HVAC system of a single intelligent building under the above traditional energy management method can be expressed as:
[0131]
[0132] When the indoor temperature is lower than the lower limit T low When the indoor temperature is within the temperature constraint range but the HVAC system was started at the last moment, the control strategy under the above traditional energy management method Pick When the indoor temperature is greater than the upper temperature limit T high When the indoor temperature is within the temperature constraint range but the HVAC system was off at the last moment, Pick
[0133]
[0134] It can be understood that under the traditional energy management method, the control strategy of the HVAC system is adjusted according to the indoor temperature. In other words, the HVAC system in the traditional energy management method will automatically control the start and stop of the equipment according to the detected indoor temperature changes. However, in the embodiment of the present invention, the start and stop control of the HVAC system needs to follow the optimization control of the optimization target. Therefore, in the process of solving the energy management optimization model of the building virtual power plant, it is necessary to consider the control strategy set of the control variables of the first objective function and the second objective function mentioned above.
[0135] In some embodiments, the control strategy set of control variables may include a first set and a second set, wherein the first set is a set of on and off control variables of the HVAC system of each intelligent building, and the second set is a set of electric power output by the micro gas turbine of each intelligent building.
[0136] The first set mentioned above can be expressed as The superscript a,(i) includes on,(i) and off,(i), and the expression is as follows:
[0137]
[0138]
[0139]
[0140] Among them, t k represents the starting time of the kth control time domain in the target optimization time domain, t k ~t k+1 represents the kth control time domain, t k ~t k+p represents the prediction time domain corresponding to the k-th control time domain, and the prediction time domain covers the k-th control time domain; represents the start-up control of the HVAC system of the intelligent building i in the kth control domain, represents the shutdown control of the HVAC system of smart building i in the kth control domain, represents the control strategy of the HVAC system of the intelligent building i under the traditional energy management method; The HVAC system of smart building i in time period t k ~t k+p The operating status of represents the working time of intelligent building i, Indicates that the HVAC system of smart building i is turned on. Indicates that the HVAC system of smart building i is in the off state.
[0141] The second set may be:
[0142]
[0143] in, is the electric power output by the Mth energy supply device of the intelligent building i in the kth control time domain, It is the preset output power of the Mth energy supply device of the intelligent building i in the kth control time domain.
[0144] By combining the first set with the second set, we can get the control strategy set of the control variables, which is expressed as follows:
[0145]
[0146] S103, based on the first objective function, the second objective function and the control strategy set of the control variables, establish an energy management optimization model of the building virtual power plant in the control time domain.
[0147] In some embodiments, the implementation process of the above-mentioned step S103 may include: first, obtaining the mean square error of the power of the distribution network interconnection lines in the target area within the prediction time domain under the traditional energy management method, and the total operating cost of the building virtual power plant considering the indoor temperature constraint within the control time domain under the traditional energy management method; then, using the mean square error of the power of the distribution network interconnection lines under the traditional energy management method and the total operating cost, normalizing the first objective function and the second objective function respectively; finally, using the linear weighted method to convert the normalized first objective function and the second objective function into a single objective optimization function to obtain the energy management optimization model of the building virtual power plant.
[0148] Optionally, the energy management optimization model is:
[0149]
[0150] ω1+ω2=1
[0151]
[0152]
[0153]
[0154]
[0155] Among them, f 1,TRA (x k) is the mean square error of the power of the distribution network tie line in the target area in the kth control time domain under the traditional energy management method, f 2,TRA (x k ) is the total operating cost of the building virtual power plant considering indoor temperature constraints under the traditional energy management method, ω1 is the weight coefficient of the first objective function, and ω2 is the weight coefficient of the second objective function; TRA lk (t) is t under the traditional energy management method k ~t k+p The power value of the distribution network tie line in the target area in the time period, TRA k Under traditional energy management methods, k ~t k+p The average power of the distribution network tie line in the target area during the time period, is the electrical load of the intelligent building i in the kth control time domain under the traditional energy management method.
[0156] In some embodiments, the weight coefficients of the first objective function and the second objective function are preset according to the scheduling requirements of the building virtual power plant.
[0157] S104, solving the energy management optimization model in a plurality of continuous control time domains, and determining the energy management control scheme for each single building in the target area in the target optimization time domain; the target optimization time domain includes a plurality of continuous control time domains.
[0158] In some embodiments, the implementation process of step S104 may include: for any control time domain, obtaining parameter prediction data of the energy-consuming equipment model and the energy supply equipment model of each individual building in the prediction time domain corresponding to the control time domain; based on the control strategy set and the parameter prediction data, using a genetic algorithm to solve the energy management optimization model in the control time domain, and determining a combined control scheme for controlling the energy-consuming equipment and energy supply equipment of all individual buildings of the building virtual power plant in the control time domain, that is, the energy management control scheme of the building virtual power plant in the control time domain; wherein the parameter prediction data of the prediction time domain corresponding to the control time domain is predicted based on the energy management control scheme of the previous control time domain adjacent to the control time domain.
[0159] In this embodiment, the parameter prediction data of the energy-consuming equipment model and the energy-supplying equipment model of each single building in the prediction time domain refer to: model parameters such as indoor temperature, air quality, ventilation volume, and air volume in the HVAC system model, gas consumption in the micro gas turbine model, hot water load, flue gas recovery heat and other model parameters in the electric water heater model, uncontrollable electrical load of the intelligent building, and parameters such as photovoltaic power generation power.
[0160] It should be understood that, under the premise that the energy control scheme of the previous control time domain of the current control time domain can be known, the parameter prediction data of the prediction time domain corresponding to the current control time domain can be obtained through the energy control scheme of the previous control time domain and related parameter prediction. For example, a thermal dynamic prediction model of an intelligent building can be established in advance to predict the thermal convection, heat conduction, heat storage and other processes of the intelligent building; a controllable load prediction model can be established to predict the electric power and related temperature parameters of the HVAC system; an uncontrollable electric load prediction model can be established to predict the uncontrollable electric load; and a rooftop photovoltaic prediction model can be established to predict the photovoltaic power generation power. The embodiment of the present invention focuses on introducing the energy management optimization method of a building virtual power plant, and does not limit the specific form of the above-mentioned prediction model. Those skilled in the art can obtain the above-mentioned parameter prediction data by using a suitable parameter prediction model selected according to actual needs.
[0161] In one possible implementation, see Figure 2 The process of solving the energy management optimization model in the control time domain using a genetic algorithm based on the control strategy set and parameter prediction data may include:
[0162] Step 1, obtain the start time and end time of the target optimization time domain, divide the control time domain, determine the start time of each control time domain and the corresponding prediction time domain; obtain the preset electricity price information, gas price, micro gas turbine day-ahead power generation plan, initial indoor temperature and other initial parameters.
[0163] Step 2: Select a set of control strategies for the HVAC system and the micro gas turbine for each intelligent building from the control strategy set.
[0164] Step 3, in the energy management layer of the single building, according to the control strategy, HVAC system model, micro gas turbine model, electric water heater model selected in step 2 and the parameter prediction data of the prediction time domain corresponding to the current control time domain, determine the energy consumption plan and operating cost of each intelligent building in the current control time domain.
[0165] Step 4. In the energy management layer of the building virtual power plant, the energy consumption plans and operating costs of each intelligent building obtained after multiple executions of steps 2 and 3 are substituted into the energy management optimization model, and the energy management optimization model is solved using a genetic algorithm; wherein the initial population of the genetic algorithm is composed of the control strategies of each intelligent building selected by multiple executions of step 2, and one individual includes the control strategy of each intelligent building in the building virtual power plant.
[0166] Step 5: For the current control time domain, if the genetic algorithm reaches the convergence condition, the optimal individual output by the current genetic algorithm is determined as the energy management control scheme of the building virtual power plant in the current control time domain. The convergence condition may be that the number of iterations reaches a first preset number, or the convergence condition may be that the optimal individual remains unchanged in a second preset number of consecutive iterations.
[0167] Step 6: Based on the energy management control scheme of the current control time domain, obtain parameter prediction data of the prediction time domain corresponding to the next control time domain; and jump to step 2 to start optimizing the next control time domain.
[0168] Step 7: Determine the energy management control scheme of the building virtual power plant in the target optimization time domain based on the energy management control scheme in each control time domain.
[0169] The energy management optimization method of the building virtual power plant provided in the embodiment of the present invention takes into account the optimization of both the overall economic benefits of the building virtual power plant and the peak-to-valley difference of the interconnection lines of the distribution network, and also introduces a temperature penalty factor in the second objective function to meet the user's temperature comfort requirements, thereby achieving coordinated management of the energy operations of multiple single buildings in the target area under the premise of considering user comfort, which is conducive to improving the carrying capacity of the urban power grid and enhancing the adjustable capacity of the urban power grid itself.
[0170] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0171] Corresponding to the energy management optimization method of the building virtual power plant described in the above embodiment, Figure 3 A structural schematic diagram of an energy management optimization device for a building virtual power plant provided in an embodiment of the present invention is shown. For ease of explanation, only the parts related to the embodiment of the present invention are shown.
[0172] See also Figure 3 The energy management optimization device of a building virtual power plant in an embodiment of the present invention may include a first modeling module 310 , a target establishment module 320 , a second modeling module 330 and a solution optimization module 340 .
[0173] Among them, the first modeling module 310 is used to establish a building virtual power plant model of the target area, and the building virtual power plant model includes energy-consuming equipment models and energy-supply equipment models of single buildings in the target area.
[0174] The target establishment module 320 is used to determine the total operating cost and power balance relationship of the building virtual power plant in the target area based on the building virtual power plant model; establish the first objective function and the second objective function based on the total operating cost and the power balance relationship; the first objective function is to minimize the power fluctuation of the distribution network interconnection line in the target area within the control time domain, and the second objective function is to minimize the total operating cost of the building virtual power plant within the control time domain; the control variables of the first objective function and the second objective function are the control strategies of the energy-consuming equipment model and the energy-supplying equipment model in the control time domain.
[0175] The second modeling module 330 is used to establish an energy management optimization model of the building virtual power plant in the control time domain based on the first objective function, the second objective function and the control strategy set of the control variables.
[0176] The solution optimization module 340 is used to solve the energy management optimization model in multiple continuous control time domains to determine the energy management control scheme for each single building in the target area in the target optimization time domain; the target optimization time domain includes multiple continuous control time domains.
[0177] Optionally, the target establishment module 320 is further used to determine the operating cost of a single intelligent building considering the indoor temperature constraint based on the operating cost of the single intelligent building and a preset temperature penalty factor;
[0178] The operating cost of a single smart building considering indoor temperature constraints is:
[0179]
[0180]
[0181] in, is the operating cost of smart building i considering the indoor temperature constraint in the kth control time domain, is the operating cost of the HVAC system of smart building i in the kth control time domain, is the uncontrollable electric load cost of intelligent building i in the kth control time domain, is the operating cost of the electric water heater of intelligent building i in the kth control time domain, is the gas consumption cost of the micro gas turbine of smart building i in the kth control time domain; is the temperature penalty factor, is the indoor temperature of smart building i at time T low is the lower limit of the indoor temperature of smart building i, T high is the lower limit of the indoor temperature of smart building i.
[0182] Optionally, the solution optimization module 340 is specifically used to: for any control time domain, obtain parameter prediction data of the energy-consuming equipment model and the energy supply equipment model of each individual building in the prediction time domain corresponding to the control time domain; based on the control strategy set and the parameter prediction data, use a genetic algorithm to solve the energy management optimization model in the control time domain, and determine the combined control scheme for controlling the energy-consuming equipment and energy supply equipment of all individual buildings of the building virtual power plant in the control time domain, that is, the energy management control scheme of the building virtual power plant in the control time domain; wherein the parameter prediction data of the prediction time domain corresponding to the control time domain is predicted based on the energy management control scheme of the previous control time domain adjacent to the control time domain.
[0183] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0184] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0185] The embodiment of the present invention further provides an electronic device, see Figure 4 The electronic device 400 may include: at least one processor 410, a memory 420, and a computer program stored in the memory 420 and executable on the at least one processor 410. When the processor 410 executes the computer program, the steps in any of the above-mentioned method embodiments are implemented, for example: Figure 1 Steps S101 to S104 in the illustrated embodiment. Alternatively, when the processor 410 executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 3 The functions of module 310, module 320, module 330 and module 340 are shown.
[0186] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 420, and executed by the processor 410 to complete the present invention. The one or more modules / units may be a series of computer program segments capable of completing specific functions, and the program segments are used to describe the execution process of the computer program in the electronic device 400.
[0187] Those skilled in the art will understand that Figure 4 These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.
[0188] The processor 410 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0189] The memory 420 may be an internal storage unit of the electronic device, or an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 420 is used to store the computer program and other programs and data required by the electronic device. The memory 420 may also be used to temporarily store data that has been output or is to be output.
[0190] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present invention is not limited to only one bus or one type of bus.
[0191] The energy management optimization method for a building virtual power plant provided in an embodiment of the present invention can be applied to electronic devices such as computers, wearable devices, vehicle-mounted devices, tablet computers, laptops, netbooks, personal digital assistants (PDAs), augmented reality (AR) / virtual reality (VR) devices, and mobile phones. The embodiment of the present invention does not impose any restrictions on the specific types of electronic devices.
[0192] An embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it can implement the steps in each embodiment of the energy management optimization method of the above-mentioned building virtual power plant.
[0193] An embodiment of the present invention provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal implements the steps in each embodiment of the energy management optimization method of the above-mentioned building virtual power plant when executing the computer program product.
[0194] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a disk or an optical disk.
[0195] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0196] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0197] In the embodiments provided by the present invention, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0198] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0199] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. An energy management optimization method for building virtual power plants, It is characterized in that include: Establishing a building virtual power plant model of the target area, wherein the building virtual power plant model includes energy consumption equipment models and energy supply equipment models of the single buildings in the target area; Based on the building virtual power plant model, the total operating cost and the power balance relationship of the building virtual power plant in the target area are determined; based on the total operating cost and the power balance relationship, a first objective function and a second objective function are established; the first objective function is to minimize the power fluctuation of the distribution network tie line in the target area within the control time domain, and the second objective function is to minimize the total operating cost of the building virtual power plant within the control time domain; the control variables of the first objective function and the second objective function are the control strategies of the energy-consuming equipment model and the energy-supplying equipment model in the control time domain; Based on the first objective function, the second objective function and the control strategy set of the control variables, establishing an energy management optimization model of the building virtual power plant in the control time domain; Solving the energy management optimization model in a plurality of continuous control time domains to determine an energy management control scheme for each single building in the target area in a target optimization time domain; the target optimization time domain includes the plurality of continuous control time domains; The single building in the target area is an intelligent building in the target area; The building virtual power plant model includes a HVAC system model, a micro gas turbine model and an electric water heater model of the intelligent building; wherein the HVAC system model and the electric water heater model belong to the energy-consuming equipment model, and the micro gas turbine model belongs to the energy-supplying equipment model; The control variables of the first objective function and the second objective function include the on and off control variables of the HVAC system of each intelligent building in the control time domain and the electric power output by the micro gas turbine of each intelligent building; The power fluctuation of the distribution network tie line is the mean square error of the power of the distribution network tie line; The total operating cost of the building virtual power plant is: Among them, C city is the total operating cost of the building virtual power plant in the target area within h hours, is the operating cost of smart building i in h hours, is the operating cost of the HVAC system of smart building i in h hours, is the cost of the uncontrollable electrical load of smart building i within h hours, is the operating cost of the electric water heater in smart building i within h hours, is the gas consumption cost of the micro gas turbine of smart building i within h hours, and N is the total number of smart buildings in the building virtual power plant in the target area.
2. The energy management optimization method of a building virtual power plant according to claim 1, It is characterized in that The HVAC system model includes: in, The heat exchanged between the HVAC system of the smart building and the outdoor air, Cooling / heating of HVAC systems in smart buildings i; c air is the specific heat capacity of air, The quality of air heated or cooled by the HVAC system of a smart building, is the outdoor temperature of smart building i, is the indoor temperature of smart building i, The outlet temperature of the HVAC system of the smart building i, Flow (i) is the ventilation volume of smart building i, ρ air is the air density, is the volume of air flowing through the HVAC system of smart building i per unit time, S (i) is the ventilation area of smart building i, is the start and stop control variable of the HVAC system of smart building i, ct (i) =1 means the HVAC system is on, ct (i) =0 means the HVAC system is off; is the electrical power of the HVAC system of smart building i at time t, COP (i) Energy efficiency ratio of HVAC system for smart building i, is the operating cost of the HVAC system of smart building i in h hours, c (i) The electricity price of the distribution network when purchasing electricity for smart building i; The micro gas turbine model includes: in, is the electric power output by the micro gas turbine of smart building i at time t, is the gas consumption of the micro gas turbine of intelligent building i at time t, η is the energy conversion efficiency, is the gas consumption cost of the micro gas turbine of smart building i in h hours, Gas prices when purchasing gas for smart building i; The electric water heater model includes: Among them, c y is the flue gas flow rate released by the flue gas-water heat exchanger, q y is the specific heat capacity of flue gas, is the temperature at the outlet of the flue gas-water heat exchanger of smart building i at time t, is the temperature at the inlet of the flue gas-water heat exchanger of smart building i at time t, is the flue gas heat recovery of smart building i at time t; is the power of the electric water heater of smart building i at time t, N water is the conversion factor for electric water heaters, is the hot water load of smart building i, is the operating cost of the electric water heater in smart building i within h hours.
3. The energy management optimization method of a building virtual power plant according to claim 2, It is characterized in that The control strategy set of the control variables includes a first set and a second set, the first set is a set of on and off control variables of the HVAC system of each intelligent building, and the second set is a set of electric power output by the micro gas turbine of each intelligent building; The first set is a,(i) includes on,(i) and off,(i), and the expression is as follows: Among them, t k represents the starting time of the kth control time domain in the target optimization time domain, t k ~t k+1 represents the kth control time domain, t k ~t k+p represents the prediction time domain corresponding to the k-th control time domain, and the prediction time domain covers the k-th control time domain; represents the start-up control of the HVAC system of the intelligent building i in the kth control domain, represents the shutdown control of the HVAC system of smart building i in the kth control domain, represents the control strategy of the HVAC system of the intelligent building i under the traditional energy management method; The HVAC system of smart building i in time period t k ~t k+p The operating status of represents the working time of intelligent building i, Indicates that the HVAC system of smart building i is turned on. Indicates that the HVAC system of smart building i is in the off state; The second set is: in, is the electric power output by the Mth micro gas turbine of intelligent building i in the kth control time domain, is the preset output power of the Mth micro gas turbine of the intelligent building i in the kth control time domain; The control strategy set of the control variables is:
4. The energy management optimization method of a building virtual power plant according to claim 2, It is characterized in that The power balance relationship of the building virtual power plant in the target area is: in, is the electrical load of smart building i at time t, is the uncontrollable electrical load of intelligent building i at time t, P line (t) is the tie line power of the building virtual power plant at time t, P PV (t) is the power output of the photovoltaic system in the building virtual power plant in the target area.
5. The energy management optimization method of a building virtual power plant according to claim 4, It is characterized in that Before establishing the second objective function, the method further includes: Based on the operation cost of a single smart building and a preset temperature penalty factor, determine the operation cost of a single smart building considering indoor temperature constraints; The operating cost of a single intelligent building considering indoor temperature constraints is: in, is the operating cost of smart building i considering the indoor temperature constraint in the kth control time domain, is the operating cost of the HVAC system of smart building i in the kth control time domain, is the uncontrollable electric load cost of intelligent building i in the kth control time domain, is the operating cost of the electric water heater of intelligent building i in the kth control time domain, is the gas consumption cost of the micro gas turbine of smart building i in the kth control time domain; is the temperature penalty factor, For intelligent buildings k+1 Indoor temperature at time, T low is the lower limit of the indoor temperature of smart building i, T high is the upper limit of the indoor temperature of smart building i.
6. The energy management optimization method of a building virtual power plant according to claim 5, It is characterized in that The first objective function is: Among them, f 1 (x) is the mean square error of the power of the distribution network tie line of the target area in the kth control time domain, t k ~t k+p The power value of the distribution network tie line of the target area at each moment in the time period, t k ~t k+p The average power of the distribution network tie line in the target area during the period, x k (i) is the control variable, is a set of control strategies for the control variables; is the electrical load of intelligent building i in the kth control time domain, P PV,k (t) is the power output of the photovoltaic system in the kth control time domain; The second objective function is:
7. The energy management optimization method of a building virtual power plant according to claim 6, It is characterized in that The energy management optimization model is: Among them, f 1,TRA (x k ) is the mean square error of the power of the distribution network tie line in the target area in the kth control time domain under the traditional energy management method, f 2,TRA (x k ) is the total operating cost of the building virtual power plant considering the indoor temperature constraint under the traditional energy management method, ω 1 is the weight coefficient of the first objective function, ω 2 is the weight coefficient of the second objective function; TRA lk (t) is t under the traditional energy management method k ~t k+p The power value of the distribution network tie line in the target area in the time period, TRA k Under the conventional energy management method, k ~t k+p The average power value of the distribution network tie line in the target area during the period, is the electrical load of the intelligent building i in the kth control time domain under the traditional energy management method.
8. The energy management optimization method of a building virtual power plant according to claim 1, It is characterized in that The step of solving the energy management optimization model in a plurality of continuous control time domains to determine the energy management control scheme for each single building in the target area in the target optimization time domain includes: For any control time domain, obtain the parameter prediction data of the energy-consuming equipment model and the energy-supply equipment model of each individual building in the prediction time domain corresponding to the control time domain; based on the control strategy set and the parameter prediction data, adopt a genetic algorithm to solve the energy management optimization model in the control time domain, and determine the combined control scheme for controlling the energy-consuming equipment and energy-supply equipment of all individual buildings of the building virtual power plant in the control time domain, that is, the energy management control scheme of the building virtual power plant in the control time domain; wherein the parameter prediction data of the prediction time domain corresponding to the control time domain is predicted based on the energy management control scheme of the previous control time domain adjacent to the control time domain.
9. An energy management optimization device for a building virtual power plant, It is characterized in that include: A first modeling module is used to establish a building virtual power plant model of a target area, wherein the building virtual power plant model includes energy consumption equipment models and energy supply equipment models of individual buildings in the target area; A target establishment module is used to determine the total operating cost and power balance relationship of the building virtual power plant in the target area based on the building virtual power plant model; establish a first objective function and a second objective function based on the total operating cost and the power balance relationship; the first objective function is to minimize the power fluctuation of the distribution network tie line in the target area within the control time domain, and the second objective function is to minimize the total operating cost of the building virtual power plant within the control time domain; the control variables of the first objective function and the second objective function are the control strategies of the energy-consuming equipment model and the energy-supplying equipment model in the control time domain; A second modeling module is used to establish an energy management optimization model of the building virtual power plant in the control time domain based on the first objective function, the second objective function and the control strategy set of the control variables; A solution optimization module, used for solving the energy management optimization model in a plurality of continuous control time domains, and determining an energy management control scheme for each single building in the target area in a target optimization time domain; the target optimization time domain includes the plurality of continuous control time domains; The single building in the target area is an intelligent building in the target area; The building virtual power plant model includes a HVAC system model, a micro gas turbine model and an electric water heater model of the intelligent building; wherein the HVAC system model and the electric water heater model belong to the energy-consuming equipment model, and the micro gas turbine model belongs to the energy-supplying equipment model; The control variables of the first objective function and the second objective function include the on and off control variables of the HVAC system of each intelligent building in the control time domain and the electric power output by the micro gas turbine of each intelligent building; The power fluctuation of the distribution network tie line is the mean square error of the power of the distribution network tie line; The total operating cost of the building virtual power plant is: Among them, C city is the total operating cost of the building virtual power plant in the target area within h hours, is the operating cost of smart building i in h hours, is the operating cost of the HVAC system of smart building i in h hours, is the cost of the uncontrollable electrical load of smart building i within h hours, is the operating cost of the electric water heater in smart building i within h hours, is the gas consumption cost of the micro gas turbine of smart building i within h hours, and N is the total number of smart buildings in the building virtual power plant in the target area.
Citation Information
Cited By
Multi-energy virtual power plant energy distributed optimization management method considering network attack
CN120110772A
