Operation method and device of building comprehensive energy system and storage medium
By constructing an operating cost function containing carbon emission costs and using the NSGA-II algorithm, the problem of optimizing the objective function in the existing technology focusing only on operating costs is solved, and the sustainable development of the integrated building energy system is achieved.
Patent Information
- Application Number
- CN202411094304.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-12-06
AI Technical Summary
In the operating methods of existing integrated building energy systems, the optimization objective function usually only considers the minimization of operating costs and does not take into account carbon emissions, resulting in the failure to achieve sustainable development.
Build an operating cost function, including fuel cost, operating and maintenance cost, abandonment penalty cost and carbon emission cost, and solve it under constraints through the NSGA-II algorithm, and the optimal operating plan is taken into account both operating cost and carbon emissions.
The optimal operating plan is achieved, taking into account both operating costs and carbon emissions, thus solving the problem of optimizing the objective function in the existing technology that only considers operating costs and ignores carbon emissions, and promoting the sustainable development of the integrated building energy system.
Smart Images

Figure CN119090186A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of operation of a building integrated energy system, and in particular to an operation method of a building integrated energy system, an operation device of a building integrated energy system, a computer-readable storage medium and a computer program product. Background Art
[0002] The building integrated energy system efficiently integrates multiple energy carriers (electricity, heat, cooling, gas, etc.), realizes coordinated coupling of the supply and demand sides through optimized scheduling, and improves the overall operating efficiency. In the existing operation methods of building integrated energy systems, the optimization objective function usually only considers the minimization of operating costs, ignoring the environmental impact of building energy use. As the issue of carbon emissions has received increasing attention, it is necessary to optimize the objective function in the future to take into account both economic and environmental impacts to achieve sustainable development of building integrated energy systems.
[0003] Currently, there is no solution to the above problem. Summary of the invention
[0004] The main purpose of the present application is to provide an operation method of a building integrated energy system, an operation device of a building integrated energy system, a computer-readable storage medium and a computer program product, so as to at least solve the problem that in the operation method of the existing building integrated energy system, the optimization objective function usually only considers the minimization of the operation cost without taking into account the carbon emission.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for operating a building integrated energy system is provided, the method comprising: constructing an operating cost function and constructing constraints, the dependent variable of the operating cost function is the total operating cost of the building integrated energy system, the total operating cost is the sum of fuel cost, operating and maintenance cost, penalty cost for abandoned light and carbon emission cost, the independent variable of the operating cost function is an operating plan, the operating plan comprises: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system and the carbon emissions of the building integrated energy system, the constraints are at least used to constrain the power generation of the units; under the constraints of the constraints, with the goal of minimizing the total operating cost, solving the operating cost function to obtain the optimal operating plan; controlling the building integrated energy system to operate according to the optimal operating plan.
[0006] Optionally, under the constraints of the constraints, with the goal of minimizing the total operating cost, solving the operating cost function to obtain the optimal operating plan, including: setting the operating cost function as the fitness function of the NSGA-Ⅱ algorithm; under the constraints of the constraints, randomly generating an initial population of the NSGA-Ⅱ algorithm, one initial population being one operating plan; under the constraints of the constraints, based on the fitness function and the initial population, using the NSGA-Ⅱ algorithm to solve the operating cost function to obtain the optimal operating plan.
[0007] Optionally, constructing an operation cost function includes: constructing a fuel cost function, wherein the fuel cost function is Among them, C fuel is the fuel cost, c e,t is the electricity purchase price of the building integrated energy system in sub-period t, Q e,t is the power purchase amount of the building comprehensive energy system in the sub-period t, c g,t is the gas purchase price of the building integrated energy system in the sub-period t, V g,t is the gas purchase volume of the building integrated energy system in the sub-period t, T is the number of the sub-periods included in the predetermined period; construct an equipment operation and maintenance cost function, the equipment operation and maintenance cost function is Among them, C om is the operation and maintenance cost, P t l is the power generation of the unit l in the building integrated energy system in the sub-period t, is the unit operation and maintenance cost of the unit l, L is the total number of the units in the building integrated energy system; a penalty cost function for abandoned light is constructed, and the penalty cost function for abandoned light is Among them, C punish is the penalty cost for abandoning light, is the energy supply deviation of the i-th load in the building integrated energy system caused by the uncertainty of wind and solar power in the sub-period t, is the deviation change of the energy supply type i load in the building integrated energy system caused by the uncertainty of wind and solar power in the sub-period t, is the deviation unit penalty cost of the i-th type of load in the building integrated energy system; constructs a carbon emission cost function, and the carbon emission cost function is C co2 =β co2,t E sell,t , where C co2 is the carbon emission cost, β co2,t is the price of carbon dioxide emitted by the building comprehensive energy system in the sub-period t, Esell,t is the carbon emissions of the building comprehensive energy system in the sub-period t; according to the fuel cost function, the equipment operation and maintenance cost function, the light penalty cost function, the carbon emission cost function and The operating cost function is constructed, wherein C is the operating cost function.
[0008] Optionally, the unit includes: a photovoltaic unit and a micro combined heat and power unit, the constraint condition includes: an electric balance constraint condition, and constructing the constraint condition includes: constructing the electric balance constraint condition, and the electric balance constraint condition is: P PV,t +P dis,t +P mCHP,t +P in,t =P cha,t +P EB,t +P load,t , where P PV,t is the power generation of the photovoltaic system in sub-period t, P dis,t is the discharge capacity of the electric energy storage device of the building integrated energy system in the sub-period t, P mCHP,t is the power generation of the micro CHP generator in the sub-period t, P in,t is the amount of electricity purchased from the power grid by the building integrated energy system in the sub-period t, P cha,t is the charge capacity of the electric energy storage device of the building integrated energy system in the sub-period t, P EB,t is the power consumption of the electric boiler of the building comprehensive energy system, P load,t is the electrical load of the building integrated energy system in the sub-period t.
[0009] Optionally, the unit includes: a photovoltaic unit, the constraint condition includes: a photovoltaic power generation constraint condition, and constructing the constraint condition includes: constructing the photovoltaic power generation constraint condition, and the photovoltaic power generation constraint condition is: in, is the power generation of the photovoltaic unit in sub-period t, is the lower limit of the power generation of the photovoltaic group in the sub-period t, is the upper limit of the power generation of the photovoltaic group in the sub-period t, is the installed capacity of the photovoltaic system.
[0010] Optionally, the unit includes: a micro combined heat and power unit, the constraint conditions include: a micro combined heat and power unit constraint condition and a heat balance constraint condition, and constructing the constraint conditions includes: constructing the micro combined heat and power unit constraint conditions, and the micro combined heat and power unit constraint conditions are: Among them, P mCHP,tis the power generation of the micro CHP generator in sub-period t, is the electrical conversion efficiency of the micro combined heat and power generator, G mCHP,t is the gas consumption of the micro CHP generator in the sub-period t, H mCHP,t is the heat generation of the micro CHP machine in the sub-period t, is the heat conversion efficiency of the micro combined heat and power generator, is the minimum gas consumption of the micro CHP generator in the sub-period t, is the maximum gas consumption of the micro CHP generator in the sub-period t, is the minimum gas consumption of the micro CHP generator in the sub-period t-1, ΔG mCHP is the climbing limit of the gas consumption of the micro CHP machine, γ min is the minimum power-to-heat ratio of the micro CHP machine, γ max is the maximum power-to-heat ratio of the micro combined heat and power generator; constructs the thermal balance constraint condition, which is: H load,t =H mCHP,t +H GB,t +H EB,t , where H load,t is the heat load of the building integrated energy system in the sub-period t, H mCHP,t is the heat generation of the micro CHP generator in the sub-period t, H GB,t is the heat output of the gas boiler of the building comprehensive energy system in the sub-period t, H EB,t is the heat output of the electric boiler of the building integrated energy system in the sub-period t.
[0011] Optionally, the constraint condition includes: an electric energy storage constraint condition, and constructing the constraint condition includes: constructing the electric energy storage constraint condition, and the electric energy storage constraint condition is:
[0012] Among them, P cha,t is the charge amount of the electric energy storage device of the building integrated energy system in the sub-period t, is the maximum charge capacity of the electrical energy storage device in the sub-period t, P dis,t is the discharge amount of the electrical energy storage device in the sub-period t, is the maximum discharge capacity of the electrical energy storage device in the sub-period t, E t is the energy storage capacity of the energy storage device in the sub-period t, E t-1 is the energy storage capacity of the energy storage device in the sub-period t-1, η cha is the discharge efficiency of the electrical energy storage device, η disis the charging efficiency of the electrical energy storage device, SOC min is the maximum SOC value of the energy storage device, SOC min is the minimum SOC value of the energy storage device, E r is the rated capacity of the energy storage device.
[0013] According to another aspect of the present application, an operation device for a building integrated energy system is provided, the device comprising: a construction unit, for constructing an operation cost function and constraining conditions, the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, the total operation cost is the sum of fuel cost, operation and maintenance cost, penalty cost for abandoned light and carbon emission cost, the independent variable of the operation cost function is an operation plan, the operation plan comprises: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system and the carbon emission of the building integrated energy system, the constraints are at least used to constrain the power generation of the units; a solving unit, for solving the operation cost function under the constraints of the constraints, with the goal of minimizing the total operation cost, and obtaining an optimal operation plan; a control unit, for controlling the building integrated energy system to operate according to the optimal operation plan.
[0014] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the operating methods of the building integrated energy system.
[0015] According to another aspect of the present application, a computer program product is provided, including a computer program / instruction, which implements any one of the operating methods of the building integrated energy system when executed by a processor.
[0016] By applying the technical solution of the present application, the operating cost function in the present application not only takes into account operating costs such as fuel costs, operating and maintenance costs, and penalty costs for abandoned light, but also takes into account carbon emission costs, so that the final optimal operating plan takes into account both operating costs and carbon emissions, thereby solving the problem that in the operating method of the existing building integrated energy system, the optimization objective function usually only considers the minimization of operating costs, but does not take into account carbon emissions. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing an operation method of a building integrated energy system provided in an embodiment of the present application is shown;
[0018] Figure 2 A schematic diagram of a flow chart of an operation method of a building integrated energy system provided according to an embodiment of the present application is shown;
[0019] Figure 3 A structural block diagram of an operating device of a building integrated energy system provided according to an embodiment of the present application is shown.
[0020] The above drawings include the following reference numerals:
[0021] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION
[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] As introduced in the background technology, in the existing operation methods of building integrated energy systems, the optimization objective function usually only considers the minimization of operation costs, without taking carbon emissions into consideration. In order to solve the problem that in the existing operation methods of building integrated energy systems, the optimization objective function usually only considers the minimization of operation costs, without taking carbon emissions into consideration, the embodiments of the present application provide an operation method for a building integrated energy system, an operation device for a building integrated energy system, a computer-readable storage medium and a computer program product.
[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0027] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of an operation method of a building integrated energy system according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the display method of device information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0029] In this embodiment, a method for operating a building integrated energy system that runs on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] Figure 2 1 is a flow chart of the operation method of the building integrated energy system according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0031] Step S201, constructing an operation cost function and constraining conditions, wherein the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, and the total operation cost is the sum of fuel cost, operation and maintenance cost, penalty cost for abandoned light and carbon emission cost, and the independent variable of the operation cost function is an operation plan, and the operation plan includes: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system and the carbon emission of the building integrated energy system, and the constraints are at least used to constrain the power generation of the units;
[0032] In an optional solution, the construction of the running cost function in the above step S201 can be implemented as follows:
[0033] Construct the fuel cost function. The above fuel cost function is Among them, C fuel is the above fuel cost, c e,t is the electricity purchase price of the above building integrated energy system in sub-period t, Q e,t is the power purchase amount of the above building comprehensive energy system in the above sub-period t, c g,t is the gas purchase price of the above building integrated energy system in the above sub-period t, V g,t is the gas purchase volume of the above building integrated energy system in the above sub-period t, and T is the number of the above sub-periods included in the predetermined period;
[0034] Construct the equipment operation and maintenance cost function. The equipment operation and maintenance cost function is: Among them, C om is the above operation and maintenance cost, P t l is the power generation of the above unit l in the above building integrated energy system in the above sub-period t, is the unit operation and maintenance cost of the above unit l, and L is the total number of the above units in the above building integrated energy system;
[0035] Construct the light abandonment penalty cost function, the above light abandonment penalty cost function is Among them, C punish is the above-mentioned penalty cost for abandoning light, is the energy supply deviation of the i-th load in the above building integrated energy system caused by the uncertainty of wind and solar power in the above sub-period t, is the deviation change of the energy supply type i load in the above building integrated energy system caused by the uncertainty of wind and solar power in the above sub-period t, is the deviation unit penalty cost of the i-th type of load in the above building integrated energy system;
[0036] Construct a carbon emission cost function, the above carbon emission cost function is C co2 =β co2,t E sell,t , where C co2 is the above carbon emission cost, β co2,t is the price of carbon dioxide emitted by the above building integrated energy system in the above sub-period t, E sell,t is the carbon emission of the above building comprehensive energy system in the above sub-period t;
[0037] According to the fuel cost function, the equipment operation and maintenance cost function, the light penalty cost function, the carbon emission cost function and Construct the above-mentioned operation cost function, where C is the above-mentioned operation cost function.
[0038] In an optional solution, the above-mentioned units include: photovoltaic units and micro combined heat and power units, and the above-mentioned constraints include: electric balance constraints. The construction constraints in the above-mentioned step S201 can be implemented as follows:
[0039] Construct the above electrical balance constraint conditions, which are:
[0040] P PV,t +P dis,t +P mCHP,t +P in,t =P cha,t +P EB,t +P load,t , where P PV,t is the power generation of the above photovoltaic unit in sub-period t, P dis,t is the discharge capacity of the electric energy storage device of the above building integrated energy system in the above sub-period t, P mCHP,t is the power generation of the micro CHP generator in the above sub-period t, P in,tis the amount of electricity purchased from the power grid by the above building integrated energy system in the above sub-period t, P cha,t is the charging capacity of the electric energy storage device of the above building comprehensive energy system in the above sub-period t, P EB,t is the power consumption of the electric boiler of the above building comprehensive energy system, P load,t is the electrical load of the above-mentioned building comprehensive energy system in the above-mentioned sub-period t.
[0041] In an optional solution, the above-mentioned unit includes: a photovoltaic unit, the above-mentioned constraint condition includes: a photovoltaic power generation constraint condition, and the constraining condition constructed in the above-mentioned step S201 can be implemented as follows:
[0042] Construct the above photovoltaic power generation constraints, which are: Among them, P t pv is the power generation of the above photovoltaic unit in sub-period t, is the lower limit of the power generation of the above photovoltaic unit in the above sub-period t, is the upper limit of the power generation of the above photovoltaic unit in the above sub-period t, is the installed capacity of the above-mentioned PV units.
[0043] In an optional solution, the above-mentioned unit includes: a micro combined heat and power unit, and the above-mentioned constraints include: micro combined heat and power unit constraints and thermal balance constraints. The construction of the constraints in the above-mentioned step S201 can be implemented as follows:
[0044] Construct the constraints of the micro combined heat and power unit mentioned above. The constraints of the micro combined heat and power unit mentioned above are: Among them, P mCHP,t is the power generation of the micro CHP generator in sub-period t, is the electrical conversion efficiency of the micro CHP generator, G mCHP,t is the gas consumption of the micro CHP generator in the above sub-period t, H mCHP,t is the heat output of the micro CHP generator in the above sub-period t, is the heat conversion efficiency of the micro CHP generator, is the minimum gas consumption of the micro CHP generator in the above sub-period t, is the maximum gas consumption of the micro CHP generator in the above sub-period t, is the minimum gas consumption of the micro CHP generator in the above sub-period t-1, ΔG mCHP is the climbing limit of the gas consumption of the micro CHP generator, γ min is the minimum power-to-heat ratio of the above micro CHP machine, γ max is the maximum power-to-heat ratio of the above-mentioned micro combined heat and power generator;
[0045] Construct the above thermal balance constraint condition, which is: H load,t =H mCHP,t +H GB,t +H EB,t , where H load,t is the heat load of the above building comprehensive energy system in the above sub-period t, H mCHP,t is the heat output of the micro CHP generator in the above sub-period t, H GB,t is the heat output of the gas boiler of the above building comprehensive energy system in the above sub-period t, H EB,t is the heat output of the electric boiler of the above-mentioned building comprehensive energy system in the above-mentioned sub-period t.
[0046] In an optional solution, the above constraint conditions include: electric energy storage constraint conditions, and the construction constraint conditions in the above step S201 can be implemented as follows:
[0047] Construct the above-mentioned electric energy storage constraint conditions, which are:
[0048] Among them, P cha,t is the charging capacity of the electric energy storage device of the above-mentioned building integrated energy system in the above-mentioned sub-period t, is the maximum charge capacity of the above energy storage device in the above sub-period t, P dis,t is the discharge amount of the above-mentioned electric energy storage device in the above-mentioned sub-period t, is the maximum discharge capacity of the above energy storage device in the above sub-period t, E t is the energy storage capacity of the above energy storage device in the above sub-period t, E t-1 is the energy storage capacity of the above energy storage device in the above sub-period t-1, η cha is the discharge efficiency of the above-mentioned electrical energy storage device, η dis is the charging efficiency of the above-mentioned energy storage device, SOC min is the maximum SOC value of the above energy storage device, SOC min is the minimum SOC value of the above energy storage device, E r is the rated capacity of the above energy storage device.
[0049] Step S202, under the constraints of the above constraints, with the goal of minimizing the above total operating cost, solving the above operating cost function to obtain the optimal operating plan;
[0050] In an optional solution, the above step S202 can be implemented as follows:
[0051] The above operating cost function is set as the fitness function of the NSGA-Ⅱ algorithm;
[0052] Under the constraints of the above mentioned constraints, the initial population of the above mentioned NSGA-Ⅱ algorithm is randomly generated, and one of the above mentioned initial populations is one of the above mentioned operation schemes;
[0053] Under the constraints of the above constraints, based on the above fitness function and the above initial population, the above NSGA-Ⅱ algorithm is used to solve the above operation cost function to obtain the above optimal operation plan.
[0054] Specifically, the NSGA-Ⅱ algorithm is a classic multi-objective genetic algorithm that introduces a fast non-dominated sorting method and an elite strategy, defines congestion instead of fitness sharing, reduces the algorithm's computational complexity, and improves computational efficiency. The specific steps are as follows:
[0055] An initial population Pt of size N is randomly generated, and after non-dominated sorting, selection, crossover and mutation, a subpopulation Qt is generated, and the two populations are combined to form a population Rt of size 2N;
[0056] Perform fast non-dominated sorting and calculate the crowding degree of individuals in each non-dominated layer. Select appropriate individuals to form a new parent population Pt+1 based on the non-dominated relationship and the crowding degree of the individuals.
[0057] Through the basic operations of the genetic algorithm, a new offspring population Qt+1 is generated, and Pt+1 and Qt+1 are merged to form a new population Rt. The above operations are repeated until the conditions for the end of the program are met.
[0058] Furthermore, the solution steps are as follows:
[0059] 1) Taking the building integrated energy system as the analysis object, the load demand simulation analysis is carried out through the Dest software to simulate and obtain the load demand data. According to the climatic conditions, the whole year is divided into three typical days: summer, winter and transition season through K-means clustering;
[0060] 2) Taking the minimum daily operating cost as the fitness function, combined with various constraints, initialize the reference point and population P (population size is N);
[0061] 3) Perform crossover, mutation and selection on the parent population P(t) to generate a subpopulation Q(t), and mix P(t) and Q(t) to obtain a new population R(t) with a size of 2N. Perform non-dominated sorting on R(t) to divide it into different non-dominated solution sets (F1, F2, …, Fd);
[0062] 4) Starting from F1, move one non-dominated solution set to the new solution set S each time until the size of S is greater than N for the first time. Suppose that the size of S is greater than N for the first time by moving Fe. If the size of S is equal to N, then S is directly used as the next generation parent population P(t+1). If the size of S is greater than N, put the solution set before Fe into P(t+1), and then select the remaining solutions according to the reference point-based selection mechanism. If the termination condition is met, output the Pareto optimal solution set and determine the cost optimization plan. Otherwise, repeat step 3).
[0063] Step S203, controlling the above-mentioned building integrated energy system to operate according to the above-mentioned optimal operation plan.
[0064] Through the above embodiments, the operating cost function in the present application not only takes into account operating costs such as fuel costs, operating and maintenance costs, and penalty costs for abandoned light, but also takes into account carbon emission costs, so that the final optimal operating plan takes into account both operating costs and carbon emissions, thereby solving the problem that in the operating method of the existing building integrated energy system, the optimization objective function usually only considers the minimization of operating costs, but does not take into account carbon emissions.
[0065] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0066] The embodiment of the present application also provides an operating device for a building integrated energy system. It should be noted that the operating device for a building integrated energy system of the embodiment of the present application can be used to execute the operating method for a building integrated energy system provided by the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0067] The following is an introduction to the operating device of the building integrated energy system provided in the embodiment of the present application.
[0068] Figure 3 is a structural block diagram of an operating device of a building integrated energy system according to an embodiment of the present application. Figure 3 As shown, the device comprises:
[0069] The construction unit 10 is used to construct an operation cost function and a constraint condition, wherein the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, and the total operation cost is the sum of the fuel cost, the operation and maintenance cost, the penalty cost for abandoned light, and the carbon emission cost. The independent variable of the operation cost function is an operation plan, and the operation plan includes: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system, and the carbon emission of the building integrated energy system. The constraint condition is at least used to constrain the power generation of the units;
[0070] In an optional solution, the above-mentioned building block includes:
[0071] The first building block is used to build a fuel cost function. The fuel cost function is: Among them, C fuel is the above fuel cost, c e,t is the electricity purchase price of the above building integrated energy system in sub-period t, Q e,t is the power purchase amount of the above building comprehensive energy system in the above sub-period t, c g,t is the gas purchase price of the above building integrated energy system in the above sub-period t, V g,t is the gas purchase volume of the above building integrated energy system in the above sub-period t, and T is the number of the above sub-periods included in the predetermined period;
[0072] The second building block is used to build an equipment operation and maintenance cost function. The equipment operation and maintenance cost function is: Among them, C om For the above operation and maintenance costs, is the power generation of the above unit l in the above building integrated energy system in the above sub-period t, is the unit operation and maintenance cost of the above unit l, and L is the total number of the above units in the above building integrated energy system;
[0073] The third building block is used to construct a light abandonment penalty cost function. The light abandonment penalty cost function is: Among them, C punish is the above-mentioned penalty cost for abandoning light, is the energy supply deviation of the i-th load in the above building integrated energy system caused by the uncertainty of wind and solar power in the above sub-period t, is the deviation change of the energy supply type i load in the above building integrated energy system caused by the uncertainty of wind and solar power in the above sub-period t, is the deviation unit penalty cost of the i-th type of load in the above building integrated energy system;
[0074] The fourth building block is used to build a carbon emission cost function. The carbon emission cost function is C co2 =β co2, t E sell,t , where C co2 is the above carbon emission cost, β co2,t is the price of carbon dioxide emitted by the above building integrated energy system in the above sub-period t, E sell,t is the carbon emission of the above building comprehensive energy system in the above sub-period t;
[0075] The fifth building block is used to calculate the cost of the fuel according to the fuel cost function, the equipment operation and maintenance cost function, the light penalty cost function, the carbon emission cost function and Construct the above-mentioned operation cost function, where C is the above-mentioned operation cost function.
[0076] In an optional solution, the above-mentioned unit includes: a photovoltaic unit and a micro combined heat and power unit, the above-mentioned constraint condition includes: an electric balance constraint condition, and the above-mentioned construction unit includes:
[0077] The sixth building block is used to build the above-mentioned electric balance constraint condition, which is:
[0078] P PV,t +P dis,t +P mCHP,t +P in,t =P cha,t +P EB,t +P load,t , where P PV,t is the power generation of the above photovoltaic unit in sub-period t, P dis,t is the discharge capacity of the electric energy storage device of the above building integrated energy system in the above sub-period t, P mCHP,t is the power generation of the micro CHP generator in the above sub-period t, P in,t is the amount of electricity purchased from the power grid by the above building integrated energy system in the above sub-period t, P cha,t is the charging capacity of the electric energy storage device of the above building comprehensive energy system in the above sub-period t, P EB,t is the power consumption of the electric boiler of the above building comprehensive energy system, P load,t is the electrical load of the above-mentioned building comprehensive energy system in the above-mentioned sub-period t.
[0079] In an optional solution, the above-mentioned unit includes: a photovoltaic unit, the above-mentioned constraint condition includes: a photovoltaic power generation constraint condition, and the above-mentioned construction unit includes:
[0080] The seventh building block is used to build the above photovoltaic power generation constraint conditions, which are: Among them, P t pv is the power generation of the above photovoltaic unit in sub-period t, is the lower limit of the power generation of the above photovoltaic unit in the above sub-period t, is the upper limit of the power generation of the above photovoltaic unit in the above sub-period t, is the installed capacity of the above-mentioned PV units.
[0081] In an optional solution, the unit includes: a micro combined heat and power generator, the constraint conditions include: a micro combined heat and power generator unit constraint condition and a heat balance constraint condition, and the construction unit includes:
[0082] The eighth building block is used to build the constraint conditions of the micro combined heat and power unit. The constraint conditions of the micro combined heat and power unit are: Among them, P mCHP,t is the power generation of the micro CHP generator in sub-period t, is the electrical conversion efficiency of the micro CHP generator, G mCHP,t is the gas consumption of the micro CHP generator in the above sub-period t, H mCHP,t is the heat output of the micro CHP generator in the above sub-period t, is the heat conversion efficiency of the micro CHP generator, is the minimum gas consumption of the micro CHP generator in the above sub-period t, is the maximum gas consumption of the micro CHP generator in the above sub-period t, is the minimum gas consumption of the micro CHP generator in the above sub-period t-1, ΔG mCHP is the climbing limit of the gas consumption of the micro CHP generator, γ min is the minimum power-to-heat ratio of the above micro CHP machine, γ max is the maximum power-to-heat ratio of the above-mentioned micro combined heat and power generator;
[0083] The ninth building block is used to build the above mentioned thermal balance constraint condition, which is: H load,t =H mCHP,t +H GB,t +H EB,t , where H load,t is the heat load of the above building comprehensive energy system in the above sub-period t, H mCHP,t is the heat output of the micro CHP generator in the above sub-period t, H GB,tis the heat output of the gas boiler of the above building comprehensive energy system in the above sub-period t, H EB,t is the heat output of the electric boiler of the above-mentioned building comprehensive energy system in the above-mentioned sub-period t.
[0084] In an optional solution, the above constraint condition includes: an electric energy storage constraint condition, and the above construction unit includes:
[0085] The tenth construction module is used to construct the above-mentioned electric energy storage constraint conditions, and the above-mentioned electric energy storage constraint conditions are:
[0086] Among them, P cha,t is the charging capacity of the electric energy storage device of the above-mentioned building integrated energy system in the above-mentioned sub-period t, is the maximum charge capacity of the above energy storage device in the above sub-period t, P dis,t is the discharge amount of the above-mentioned electric energy storage device in the above-mentioned sub-period t, is the maximum discharge capacity of the above energy storage device in the above sub-period t, E t is the energy storage capacity of the above energy storage device in the above sub-period t, E t-1 is the energy storage capacity of the above energy storage device in the above sub-period t-1, η cha is the discharge efficiency of the above-mentioned electrical energy storage device, η dis is the charging efficiency of the above-mentioned energy storage device, SOC min is the maximum SOC value of the above energy storage device, SOC min is the minimum SOC value of the above energy storage device, E r is the rated capacity of the above energy storage device.
[0087] A solving unit 20 is used to solve the operating cost function under the constraints of the above-mentioned constraints and take the minimum of the above-mentioned total operating cost as the goal to obtain the optimal operating plan;
[0088] In an optional solution, the above-mentioned solving unit includes:
[0089] A setting module, used to set the above-mentioned operating cost function as the fitness function of the NSGA-Ⅱ algorithm;
[0090] A generation module, used for randomly generating an initial population of the NSGA-Ⅱ algorithm under the constraints of the constraints, wherein one initial population is one operation scheme;
[0091] The solution module is used to solve the operation cost function by using the NSGA-Ⅱ algorithm under the constraints of the above constraints, based on the above fitness function and the above initial population, to obtain the above optimal operation plan.
[0092] The control unit 30 is used to control the above-mentioned building integrated energy system to operate according to the above-mentioned optimal operation plan.
[0093] Through the above embodiments, the operating cost function in the present application not only takes into account operating costs such as fuel costs, operating and maintenance costs, and penalty costs for abandoned light, but also takes into account carbon emission costs, so that the final optimal operating plan takes into account both operating costs and carbon emissions, thereby solving the problem that in the operating method of the existing building integrated energy system, the optimization objective function usually only considers the minimization of operating costs, but does not take into account carbon emissions.
[0094] The operating device of the above-mentioned building integrated energy system includes a processor and a memory. The above-mentioned construction unit, solution unit and control unit are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions. The above-mentioned modules are all located in the same processor; or, the above-mentioned modules are located in different processors in any combination.
[0095] The processor contains a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem that in the operation method of the existing building integrated energy system, the optimization objective function usually only considers the minimization of operating costs, without taking into account the problem of carbon emissions.
[0096] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0097] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the operation method of the building integrated energy system.
[0098] Specifically, the operation method of the building integrated energy system includes:
[0099] Step S201, constructing an operation cost function and constraining conditions, wherein the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, and the total operation cost is the sum of fuel cost, operation and maintenance cost, penalty cost for abandoned light and carbon emission cost, and the independent variable of the operation cost function is an operation plan, and the operation plan includes: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system and the carbon emission of the building integrated energy system, and the constraints are at least used to constrain the power generation of the units;
[0100] Step S202, under the constraints of the above constraints, with the goal of minimizing the above total operating cost, solving the above operating cost function to obtain the optimal operating plan;
[0101] Step S203, controlling the above-mentioned building integrated energy system to operate according to the above-mentioned optimal operation plan.
[0102] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the program executes the operating method of the building integrated energy system when it is running.
[0103] Specifically, the operation method of the building integrated energy system includes:
[0104] Step S201, constructing an operation cost function and constraining conditions, wherein the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, and the total operation cost is the sum of fuel cost, operation and maintenance cost, penalty cost for abandoned light and carbon emission cost, and the independent variable of the operation cost function is an operation plan, and the operation plan includes: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system and the carbon emission of the building integrated energy system, and the constraints are at least used to constrain the power generation of the units;
[0105] Step S202, under the constraints of the above constraints, with the goal of minimizing the above total operating cost, solving the above operating cost function to obtain the optimal operating plan;
[0106] Step S203, controlling the above-mentioned building integrated energy system to operate according to the above-mentioned optimal operation plan.
[0107] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:
[0108] Step S201, constructing an operation cost function and constraining conditions, wherein the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, and the total operation cost is the sum of fuel cost, operation and maintenance cost, penalty cost for abandoned light and carbon emission cost, and the independent variable of the operation cost function is an operation plan, and the operation plan includes: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system and the carbon emission of the building integrated energy system, and the constraints are at least used to constrain the power generation of the units;
[0109] Step S202, under the constraints of the above constraints, with the goal of minimizing the above total operating cost, solving the above operating cost function to obtain the optimal operating plan;
[0110] Step S203, controlling the above-mentioned building integrated energy system to operate according to the above-mentioned optimal operation plan.
[0111] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0112] Step S201, constructing an operation cost function and constraining conditions, wherein the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, and the total operation cost is the sum of fuel cost, operation and maintenance cost, penalty cost for abandoned light and carbon emission cost, and the independent variable of the operation cost function is an operation plan, and the operation plan includes: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system and the carbon emission of the building integrated energy system, and the constraints are at least used to constrain the power generation of the units;
[0113] Step S202, under the constraints of the above constraints, with the goal of minimizing the above total operating cost, solving the above operating cost function to obtain the optimal operating plan;
[0114] Step S203, controlling the above-mentioned building integrated energy system to operate according to the above-mentioned optimal operation plan.
[0115] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0116] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0117] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0118] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0119] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0120] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0121] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0122] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0123] 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.
[0124] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0125] 1) In the operation method of the building integrated energy system of the present application, the operation cost function in the present application not only takes into account the operation costs such as fuel cost, operation and maintenance cost, and penalty cost for abandoned light, but also takes into account the carbon emission cost, so that the optimal operation plan finally obtained takes into account both the operation cost and carbon emission, thereby solving the problem that in the operation method of the existing building integrated energy system, the optimization objective function usually only considers the minimization of the operation cost, but does not take into account the carbon emission.
[0126] 2) In the operating device of the building integrated energy system of the present application, the operating cost function in the present application not only takes into account operating costs such as fuel costs, operating and maintenance costs, and penalty costs for abandoned light, but also takes into account carbon emission costs, so that the final optimal operating plan takes into account both operating costs and carbon emissions, thereby solving the problem that in the existing operating methods of building integrated energy systems, the optimization objective function usually only considers minimizing operating costs without taking into account carbon emissions.
[0127] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for operating a building integrated energy system, characterized in that: The method comprises: Constructing an operation cost function and a constraint condition, wherein the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, the total operation cost is the sum of the fuel cost, the operation and maintenance cost, the penalty cost for abandoned light and the carbon emission cost, and the independent variable of the operation cost function is the operation plan, and the operation plan includes: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the units of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the units of various loads in the building integrated energy system and the carbon emission of the building integrated energy system, and the constraint condition is at least used to constrain the power generation of the units; Under the constraints of the constraints, taking the minimum total operating cost as the goal, solving the operating cost function to obtain the optimal operating plan; The building integrated energy system is controlled to operate according to the optimal operation plan.
2. The method according to claim 1, characterized in that Under the constraints of the constraints, with the goal of minimizing the total operating cost, solving the operating cost function to obtain the optimal operating plan includes: The operating cost function is set as the fitness function of the NSGA-Ⅱ algorithm; Under the constraints of the constraints, randomly generate an initial population of the NSGA-Ⅱ algorithm, one initial population being one operation scheme; Under the constraints of the constraints, based on the fitness function and the initial population, the NSGA-II algorithm is used to solve the operation cost function to obtain the optimal operation plan.
3. The method according to claim 1, characterized in that Construct a running cost function, including: Construct a fuel cost function, which is Among them, C fuel is the fuel cost, c e,t is the electricity purchase price of the building integrated energy system in sub-period t, Q e,t is the power purchase amount of the building comprehensive energy system in the sub-period t, c g,t is the gas purchase price of the building integrated energy system in the sub-period t, V g,t is the gas purchase volume of the building integrated energy system in the sub-period t, and T is the number of the sub-periods included in the predetermined period; Construct an equipment operation and maintenance cost function, which is: Among them, C om is the operation and maintenance cost, P t l is the power generation of the unit l in the building integrated energy system in the sub-period t, is the unit operation and maintenance cost of the unit l, and L is the total number of the units in the building integrated energy system; Construct a light abandonment penalty cost function, the light abandonment penalty cost function is Among them, C punish is the penalty cost for abandoning light, is the energy supply deviation of the i-th load in the building integrated energy system caused by the uncertainty of wind and solar power in the sub-period t, is the deviation change of the energy supply type i load in the building integrated energy system caused by the uncertainty of wind and solar power in the sub-period t, is the deviation unit penalty cost of the i-th type of load in the building integrated energy system; Construct a carbon emission cost function, the carbon emission cost function is C co2 =β co2,t E sell,t , where C co2 is the carbon emission cost, β co2,t is the price of carbon dioxide emitted by the building comprehensive energy system in the sub-period t, E sell,t is the carbon emissions of the building comprehensive energy system in the sub-period t; According to the fuel cost function, the equipment operation and maintenance cost function, the light penalty cost function, the carbon emission cost function and The operating cost function is constructed, wherein C is the operating cost function.
4. The method according to claim 1, characterized in that The unit includes: a photovoltaic unit and a micro combined heat and power unit, and the constraint conditions include: an electric balance constraint condition, and a construction constraint condition, including: The electric balance constraint condition is constructed, and the electric balance constraint condition is: P PV,t +P dis,t +P mCHP,t +P in,t =P cha,t +P EB,t +P load,t , where P PV,t is the power generation of the photovoltaic system in sub-period t, P dis,t is the discharge capacity of the electric energy storage device of the building integrated energy system in the sub-period t, P mCHP,t is the power generation of the micro CHP generator in the sub-period t, P in , t is the amount of electricity purchased from the power grid by the building integrated energy system in the sub-period t, P cha , t is the charging capacity of the electric energy storage device of the building comprehensive energy system in the sub-period t, P EB , t is the power consumption of the electric boiler of the building comprehensive energy system, P load,t is the electrical load of the building integrated energy system in the sub-period t.
5. The method according to claim 1, characterized in that: The unit includes: a photovoltaic unit, the constraint conditions include: photovoltaic power generation constraint conditions, and the construction constraint conditions include: The photovoltaic power generation constraint condition is constructed, and the photovoltaic power generation constraint condition is: Among them, P t pv is the power generation of the photovoltaic unit in sub-period t, is the lower limit of the power generation of the photovoltaic group in the sub-period t, is the upper limit of the power generation of the photovoltaic group in the sub-period t, is the installed capacity of the photovoltaic system.
6. The method according to claim 1, characterized in that The unit includes: a micro combined heat and power unit, the constraint conditions include: a micro combined heat and power unit constraint condition and a heat balance constraint condition, and the constraint conditions are constructed, including: Construct the constraints of the micro combined heat and power unit, and the constraints of the micro combined heat and power unit are: Among them, P mCHP,t is the power generation of the micro CHP generator in sub-period t, is the electrical conversion efficiency of the micro combined heat and power generator, G mCHP,t is the gas consumption of the micro CHP generator in the sub-period t, H mCHP,t is the heat generation of the micro CHP machine in the sub-period t, is the heat conversion efficiency of the micro combined heat and power generator, is the minimum gas consumption of the micro CHP generator in the sub-period t, is the maximum gas consumption of the micro CHP generator in the sub-period t, is the minimum gas consumption of the micro CHP generator in the sub-period t-1, ΔG mCHP is the climbing limit of the gas consumption of the micro CHP machine, γ min is the minimum power-to-heat ratio of the micro CHP machine, γ max is the maximum power-to-heat ratio of the micro combined heat and power generator; Construct the thermal balance constraint condition, which is: H load,t =H mCHP,t +H GB,t +H EB,t , where H load,t is the heat load of the building integrated energy system in the sub-period t, H mCHP,t is the heat generation of the micro CHP generator in the sub-period t, H GB,t is the heat output of the gas boiler of the building comprehensive energy system in the sub-period t, H EB,t is the heat output of the electric boiler of the building integrated energy system in the sub-period t.
7. The method according to claim 4, characterized in that The constraints include: electric energy storage constraints, construction constraints, including: Construct the electric energy storage constraint condition, which is: Among them, P cha,t is the charge amount of the electric energy storage device of the building integrated energy system in the sub-period t, is the maximum charge capacity of the electrical energy storage device in the sub-period t, P dis,t is the discharge amount of the electrical energy storage device in the sub-period t, is the maximum discharge capacity of the electrical energy storage device in the sub-period t, E t is the energy storage capacity of the energy storage device in the sub-period t, E t-1 is the energy storage capacity of the energy storage device in the sub-period t-1, η cha is the discharge efficiency of the electrical energy storage device, η dis is the charging efficiency of the electrical energy storage device, SOC min is the maximum SOC value of the energy storage device, SOC min is the minimum SOC value of the energy storage device, E r is the rated capacity of the energy storage device.
8. An operating device for a building integrated energy system, characterized in that: The device comprises: A construction unit is used to construct an operation cost function and a constraint condition, wherein the dependent variable of the operation cost function is the total operation cost of the building integrated energy system, and the total operation cost is the sum of the fuel cost, the operation and maintenance cost, the penalty cost for abandoned light, and the carbon emission cost; the independent variable of the operation cost function is an operation plan, and the operation plan includes: the amount of electricity purchased by the building integrated energy system, the amount of gas purchased by the building integrated energy system, the power generation of the unit of the building integrated energy system, the deviation change of various loads in the building integrated energy system, the energy supply deviation of the unit of various loads in the building integrated energy system, and the carbon emission of the building integrated energy system; and the constraint condition is at least used to constrain the power generation of the unit; A solving unit, used for solving the operating cost function under the constraint of the constraint condition and taking the minimum total operating cost as the goal to obtain the optimal operating plan; A control unit is used to control the building integrated energy system to operate according to the optimal operation plan.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for operating the building integrated energy system according to any one of claims 1 to 7.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method for operating the building integrated energy system described in any one of claims 1 to 7 is implemented.
