A method, device, equipment and medium for optimizing operation of a park microgrid
Through multi-objective optimization method and particle swarm algorithm, combined with game theory combination weighting, the electrochemical energy storage charging and discharging strategy of the park microgrid is optimized, which solves the problem of insufficient carbon emission and economic optimization in the existing technology and achieves carbon emission reduction. The dual optimization of operating costs and operating costs expands user demand response benefits.
Patent Information
- Application Number
- CN202310252585.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-03-15
AI Technical Summary
Existing research on operation optimization of microgrids in parks mainly considers economics, fails to effectively reduce carbon emissions, and fails to fully exploit the demand response capabilities of flexible loads, resulting in the inability to obtain relevant revenue from the ancillary service market.
Using a multi-objective optimization method, combined with comprehensive operating costs and carbon emission costs, a multi-objective optimization model is constructed through electrochemical energy storage charge and discharge power optimization, and solved using the particle swarm algorithm, combined with game theory combination weighting to determine the weight, to achieve carbon emissions and optimization of operating costs.
It effectively reduces the carbon emissions and operating costs of the park microgrid, expands user demand response benefits, improves the scientificity and observability of weight selection, and has the advantages of global optimization and high convergence speed.
Smart Images

Figure CN116345549B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of microgrid optimization operation, and specifically relates to a park microgrid optimization operation method, device, equipment and medium. Background Art
[0002] Energy combustion is the main source of carbon dioxide emissions, accounting for about 88% of all carbon dioxide emissions, of which the power industry emissions account for about 41% of the energy industry emissions. Energy transformation supports high-quality economic development and builds a clean, low-carbon, safe and efficient energy system. The industrial park is characterized by population and industry concentration, concentrated energy resource consumption, and concentrated innovation factors. Nearly 70% of industrial energy consumption is concentrated in industrial parks, and industrial park carbon emissions account for more than 30% of the country's total carbon emissions.
[0003] With the advancement of the construction of new power systems, the requirements for microgrid flexibility are increasing. At the same time, various regions have proposed ancillary service markets to encourage users to participate in demand-side resource response. Currently, most of the research on the optimization of park microgrid operations focuses on operational economics, but insufficient consideration is given to the carbon emissions and demand response elements of park microgrid operations. The demand response capabilities of park flexible loads have not been tapped, resulting in the difficulty of effectively reducing carbon emissions from park microgrid operations and the inability to obtain related benefits from the ancillary service market. Summary of the invention
[0004] The purpose of the present invention is to provide a method, device, equipment and medium for optimizing the operation of a park microgrid, so as to solve the problem that most of the research on optimizing the operation of a park microgrid focuses on the economic consideration of operation, but insufficient consideration is given to the carbon emissions of the operation of the park microgrid.
[0005] In order to achieve the above object, the present invention adopts the following technical solution:
[0006] A first aspect of the present invention provides a method for optimizing operation of a campus microgrid, comprising the following steps:
[0007] Determine the comprehensive operating costs and carbon emission costs of the park microgrid;
[0008] The optimal comprehensive operation cost of the park microgrid is taken as the first optimization goal, and the optimal carbon emission cost is taken as the second optimization goal, and different weights are assigned to the first optimization goal and the second optimization goal respectively; the charging and discharging power of the electrochemical energy storage is taken as the optimization object;
[0009] Constructing a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object;
[0010] Determine the constraints of the multi-objective optimization model;
[0011] The optimization problem of the multi-objective optimization model is transformed into a degree optimization problem, and the optimization problem of the multi-objective optimization model is solved based on the constraints to obtain the optimization strategy of the electrochemical energy storage charging and discharging power.
[0012] Furthermore, the park microgrid includes wind turbines, photovoltaics, electrochemical energy storage and power loads.
[0013] Further, in the step of constructing a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object, the constructed multi-objective optimization model is as follows:
[0014] f=max[w1θ(F1)+w2θ(F2)]
[0015]
[0016] P buy =P load (t)+P ch (t)-P ne -P dis (t),P buy ≥0
[0017] P sell =P ne +P dis (t)-P load (t)+P ch (t),P sell ≥0
[0018]
[0019] Among them, w1 and w2 are the weights of the first optimization goal and the second optimization goal respectively; F1 represents the comprehensive operation cost; F2 represents the carbon emissions of the park microgrid; T is the time node; c1 represents the large industrial electricity price; P buy represents the power purchased from the power grid; c2 represents the photovoltaic power sales price; P sell represents the power sold to the grid; c3 represents the user's participation in the bidding in the ancillary service market; P need represents the dispatch power of the ancillary service market; δ represents the carbon emission factor of electricity; P load Represents the load forecast power; P ch Indicates the energy storage charging power; P ne Represents the predicted power of new energy; P dis Indicates the energy storage discharge power.
[0020] Furthermore, in the step of determining the constraints of the multi-objective optimization model, the constraints include: power balance constraints, energy storage charging and discharging power constraints, state of charge constraints, power conservation constraints and flexible resource constraints.
[0021] A second aspect of the present invention provides a park microgrid optimization operation device, comprising:
[0022] The first determination module is used to determine the comprehensive operation cost and carbon emission cost of the park microgrid;
[0023] The second determination module is used to take the optimal comprehensive operation cost of the park microgrid as the first optimization target, the optimal carbon emission cost as the second optimization target, and assign different weights to the first optimization target and the second optimization target respectively; and take the electrochemical energy storage charging and discharging power as the optimization object;
[0024] A model building module, used to build a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object;
[0025] A third determination module is used to determine the constraint conditions of the multi-objective optimization model;
[0026] The solution module is used to transform the optimization problem of the multi-objective optimization model into a degree optimization problem, and solve the optimization problem of the multi-objective optimization model based on the constraint conditions to obtain the optimization strategy of the electrochemical energy storage charging and discharging power.
[0027] Furthermore, the park microgrid includes wind turbines, photovoltaics, electrochemical energy storage and power loads.
[0028] Furthermore, in the model building module, the multi-objective optimization model constructed is as follows:
[0029] f=max[w1θ(F1)+w2θ(F2)]
[0030]
[0031] P buy =P load (t)+P ch (t)-P ne -P dis (t),P buy ≥0
[0032] P sell =P ne +P dis (t)-P load (t)+P ch (t),P sell ≥0
[0033]
[0034] Among them, w1 and w2 are the weights of the first optimization goal and the second optimization goal respectively; F1 represents the comprehensive operation cost; F2 represents the carbon emissions of the park microgrid; T is the time node; c1 represents the large industrial electricity price; P buy represents the power purchased from the power grid; c2 represents the photovoltaic power sales price; P sell represents the power sold to the grid; c3 represents the user's participation in the bidding in the ancillary service market; P need represents the dispatch power of the ancillary service market; δ represents the carbon emission factor of electricity; P load Represents the load forecast power; P ch Indicates the energy storage charging power; P ne Represents the predicted power of new energy; P dis Indicates the energy storage discharge power.
[0035] Furthermore, in the third determination module, the constraints include: power balance constraints, energy storage charging and discharging power constraints, state of charge constraints, power conservation constraints and flexible resource constraints.
[0036] According to a third aspect of the present invention, an electronic device is provided, comprising a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the method for optimizing operation of a campus microgrid.
[0037] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the above-mentioned campus microgrid optimization operation method is implemented.
[0038] Compared with the prior art, the advantages of this application are:
[0039] 1) The park microgrid optimization operation method provided by the present invention takes the electricity-carbon coefficient, the predicted power of new energy, and the predicted power of load as boundary conditions, the power balance at each time node and the energy storage charge state as constraints, and the carbon emissions and operating costs as optimization targets. The grid power purchase power, grid power sales power, energy storage charging power, and energy storage discharging power are regarded as independent variables, and the energy cost and carbon emissions, as well as the demand response benefits are taken as dependent variables. A multi-objective function is constructed, and the particle swarm algorithm is applied to solve the global optimal target to obtain the optimal operation strategy of energy storage.
[0040] 2) The park microgrid optimization operation method provided by the present invention adopts the game theory-based combined weighting to determine the combined weights, combining the subjectivity and objectivity of multi-objective optimization, which can effectively improve the scientificity, comprehensiveness and observability of weight selection; at the same time, a "descending semi-trapezoidal" membership function is established to convert the numerical value of the optimization target into degree optimization, solving the problem that the two optimization targets of carbon emissions and operating costs have different dimensions and units.
[0041] 3) The park microgrid optimization operation method provided by the present invention adopts a particle swarm algorithm for solving, and has the advantages of global optimization, fast convergence speed, and high solution accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0043] Figure 1 A schematic diagram of a process flow of a method for optimizing operation of a campus microgrid according to an embodiment of the present invention;
[0044] Figure 2 This is a structural block diagram of a device for optimizing operation of a campus microgrid according to an embodiment of the present invention;
[0045] Figure 3 The present invention is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0047] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention.
[0048] Example 1
[0049] The embodiment of the present invention provides a method for optimizing the operation of a park microgrid, with the goal of optimizing carbon emissions and comprehensive operating costs. The optimization object is the charging and discharging power of electrochemical energy storage, taking into account the dual impact of demand response and carbon emissions, expanding the user's demand response benefits, effectively reducing the operating costs and carbon emissions of the park microgrid, and guiding the park users to adopt the optimal operation strategy.
[0050] like Figure 1As shown, a method for optimizing operation of a park microgrid includes the following steps:
[0051] S1. Determine the comprehensive operating cost and carbon emission cost of the park microgrid.
[0052] Specifically, the campus microgrid referred to in this plan refers to a small power distribution system consisting of distributed power sources, power loads, distribution facilities, monitoring and protection devices, etc. It can be integrated into the external power grid or operated in isolation. The microgrid has complete power generation and distribution functions and is an autonomous system that can achieve self-control, self-protection and energy management.
[0053] As an example, the campus microgrid involved in this solution may include wind turbines, photovoltaics, electrochemical energy storage, and power loads.
[0054] Specifically, the comprehensive operating costs in this plan mainly include: electricity costs, electricity sales revenue and demand response benefits.
[0055] The comprehensive operating cost can be expressed as follows:
[0056]
[0057] Among them, F1 represents the daily comprehensive operating cost, unit: yuan; T represents the time node (24 hours); c1 represents the large industrial electricity price, unit: yuan; P buy represents the power purchased from the power grid, unit: kW; c2 represents the photovoltaic power sales price, unit: yuan; P sell represents the power sold to the grid, unit: kW; c3 represents the price of users participating in the ancillary service market bidding: yuan; P need Represents the dispatch power of ancillary service market, unit: kW.
[0058] P buy =P load (t)+P ch (t)-P ne -P dis (t),P buy ≥0
[0059] P sell =P ne +P dis (t)-P load (t)+P ch (t),P sell ≥0
[0060] Among them, P buy Indicates the power purchased from the power grid, unit: kW; P sell Indicates the power sold to the grid, unit: kW; P needIndicates the dispatch power of the ancillary service market, unit: kW; P load Represents the load forecast power; P ch Indicates the energy storage charging power; P ne Represents the predicted power of new energy; P dis Indicates the energy storage discharge power.
[0061] Specifically, in this scheme, the main source of carbon emissions from the park microgrid is indirect carbon emissions from the grid. Using the IPCC emission factor method, the carbon emissions of the park microgrid can be expressed as follows:
[0062]
[0063] Among them, F2 represents the daily carbon emissions of the microgrid, unit: tons; P buy It represents the power purchased from the power grid, unit: kW; δ represents the carbon emission factor of electricity, unit: ton / kWh; T is the time node (24 hours).
[0064] S2. The optimal comprehensive operation cost of the park microgrid is taken as the first optimization target, and the optimal carbon emission cost is taken as the second optimization target, and different weights are assigned to the first optimization target and the second optimization target respectively. The charging and discharging power of electrochemical energy storage is taken as the optimization object.
[0065] Specifically, the steps of assigning different weights to the first optimization objective and the second optimization objective respectively include the following:
[0066] 1) Assume that the weights of the first optimization objective and the second optimization objective are subjective weight w1 and objective weight w2 respectively;
[0067] 2) Subjective weight is expressed as w1 = (w 11 , w 12 ,…,w 1n ), the objective weight is expressed as w2=(w 21 , w 22 ,…,w 2n ), combined weight w = λ1w1 + λ2w2;
[0068] When the combined weight w has the smallest deviation from the subjective weight w1 and the objective weight w2, the optimal combination is achieved, combining the subjectivity and objectivity of multi-objective optimization to the greatest extent, that is:
[0069] min(Pw-w1P1+Pw-w2P2)
[0070] Solving for this yields:
[0071]
[0072]
[0073] λ1+λ2=1
[0074] Where λ1 and λ2 are linear combination coefficients.
[0075] 3) The solved w1 and w2 are used as the weights of the first optimization objective and the second optimization objective respectively.
[0076] It should be noted that this scheme applies the idea of game theory equilibrium to combination weighting, regards subjective weights and objective weights as the two sides of the game, plays a game around the subjectivity and objectivity of multi-objective optimization, takes the realization of Nash equilibrium as the goal, and seeks consistency or compromise between subjective weights and objective weights, so as to obtain the optimal combination weights for multi-objective optimization.
[0077] S3. Construct a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object.
[0078] The combined weight designed and calculated in the above steps is w = (w1, w2). In order to minimize the combined target value, it is necessary to maximize the combined satisfaction. Therefore, the multi-objective optimization model constructed in this scheme is as follows:
[0079] f=max[w1θ(F1)+w2θ(F2)]
[0080] Among them, f represents the objective function, w1 and w2 are the weights of the first optimization objective and the second optimization objective respectively; F1 represents the comprehensive operating cost; F2 represents the carbon emissions of the park microgrid.
[0081] S4. Determine the constraints of the multi-objective optimization model.
[0082] Specifically, the constraints in this solution may include: power balance constraints, energy storage charging and discharging power constraints, charge state constraints, power conservation constraints and flexible resource constraints.
[0083] More specifically, the above constraints can be expressed as follows:
[0084] 1) Power balance constraints:
[0085] P ne (t)+P buy (t)+P dis (t) = P load (t)+P sell (t)+P ch (t)
[0086] Among them, P ne Represents the predicted power of new energy, unit: kW; P disIndicates the energy storage discharge power, unit: kW; P ch Indicates the energy storage charging power, unit: kW; P load Indicates the load forecast power, unit: kW; P buy Indicates the purchased power, unit: kW; P sell Indicates the electricity sold, unit: kW.
[0087] 2) Energy storage charging and discharging power constraints:
[0088] β×P res ≤P ch (t)≤P res
[0089] β×P res ≤P dis (t)≤P res
[0090] Among them, P res It represents the rated power of energy storage, unit: kW; β represents the minimum allowable ratio of battery charge and discharge power.
[0091] 3) Charge state constraints:
[0092] SOC min ≤SOC(k)≤SOC max
[0093]
[0094] Among them, SOC min Indicates the minimum state of charge for energy storage; SOC max represents the maximum state of charge of the energy storage; SOC(k) represents the state of charge of the energy storage node k, SOC0 represents the initial state of charge of the energy storage, k∈[1,T]; η dis Represents the energy storage discharge efficiency; η ch Indicates energy storage charging efficiency; E res Indicates the rated capacity of energy storage, unit: kWh.
[0095] 4) Electricity conservation constraint:
[0096] SOC(0)=SOC(T)
[0097] Among them, SOC0 represents the initial charge state of the energy storage; SOC(T) represents the charge state of the energy storage node T.
[0098] 5) Flexible resource constraints:
[0099] P need ≤P r_max
[0100] Among them, Pr max represents the maximum adjustable power.
[0101] As an example, the flexible adjustable resources in the park include charging piles, air conditioners, lighting and other loads. Due to the limitations of the flexible adjustable resources, there is a maximum adjustable power.
[0102] S5. Convert the optimization problem of the multi-objective optimization model into a degree optimization problem, and solve the optimization problem of the multi-objective optimization model based on the constraints to obtain the optimization strategy of the electrochemical energy storage charging and discharging power.
[0103] Specifically, since the first optimization target and the second optimization target have different dimensions and units in the multi-objective optimization model, the present invention adopts the establishment of a "descending semi-trapezoidal" membership function to convert the numerical optimization of the optimization target into degree optimization.
[0104]
[0105] Among them, θ(F) is the degree of the objective function; F * is the target ideal value; α is the elastic satisfaction coefficient; αF * It is the target value growth range that is acceptable to the park’s decision makers.
[0106] Specifically, in this scheme, a particle swarm algorithm is used to solve the multi-objective optimization model.
[0107] When using fitness as the objective function and performing global search, it is easy to encounter the problem of difficulty in convergence, mainly because the dimensional space is large and a large number of calculations need to be traversed and iterated to obtain the optimal solution. Therefore, this solution considers some constraints in the selection of initial values and randomly selects initial values for solution. The solution steps are as follows:
[0108] Step 1: Input the basic parameters of the park microgrid photovoltaic, wind turbine, and electrochemical energy storage equipment.
[0109] Step 2: Input the new energy output forecast curve and load forecast curve.
[0110] Step 3: Obtain multi-objective weights w1, w2 based on game theory combination weighting.
[0111] Step 4: Construct a multi-objective optimization model considering carbon emissions and operating costs based on the “descending semi-trapezoidal” membership function.
[0112] Step 5: Based on the multi-objective optimization model of microgrid operation, the particle swarm algorithm is applied to solve the optimal operation strategy of energy storage.
[0113] Step 6: Output energy storage operating power P se =P dis -P ch and state of charge SOC as the optimal operating strategy.
[0114] Example 2
[0115] like Figure 2 As shown, based on the same inventive concept as the above embodiment, this embodiment also provides a park microgrid optimization operation device, including:
[0116] The first determination module is used to determine the comprehensive operation cost and carbon emission cost of the park microgrid;
[0117] The second determination module is used to take the optimal comprehensive operation cost of the park microgrid as the first optimization target, the optimal carbon emission cost as the second optimization target, and assign different weights to the first optimization target and the second optimization target respectively; and take the electrochemical energy storage charging and discharging power as the optimization object;
[0118] A model building module, used to build a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object;
[0119] A third determination module is used to determine the constraint conditions of the multi-objective optimization model;
[0120] The solution module is used to transform the optimization problem of the multi-objective optimization model into a degree optimization problem, and solve the optimization problem of the multi-objective optimization model based on the constraint conditions to obtain the optimization strategy of the electrochemical energy storage charging and discharging power.
[0121] The park microgrid includes wind turbines, photovoltaics, electrochemical energy storage and power loads.
[0122] In the model building module, the multi-objective optimization model constructed is as follows:
[0123] f=max[w1θ(F1)+w2θ(F2)]
[0124]
[0125] P buy =P load (t)+P ch (t)-P ne -P dis (t),P buy ≥0
[0126] P sell =P ne +P dis (t)-P load (t)+P ch (t),P sell ≥0
[0127]
[0128] Among them, w1 and w2 are the weights of the first optimization goal and the second optimization goal respectively; F1 represents the comprehensive operation cost; F2 represents the carbon emissions of the park microgrid; T is the time node; c1 represents the large industrial electricity price; P buy represents the power purchased from the power grid; c2 represents the photovoltaic power sales price; P sell represents the power sold to the grid; c3 represents the user's participation in the bidding in the ancillary service market; P need represents the dispatch power of the ancillary service market; δ represents the carbon emission factor of electricity; P l o ad Represents the load forecast power; P ch Indicates the energy storage charging power; P ne Represents the predicted power of new energy; P dis Indicates the energy storage discharge power.
[0129] In the third determination module, the constraints include: power balance constraints, energy storage charging and discharging power constraints, charge state constraints, power conservation constraints and flexible resource constraints.
[0130] Specifically, each constraint can be expressed as follows:
[0131] 1) Power balance constraints:
[0132] P ne (t)+P buy (t)+P dis (t) = P load (t)+P sell (t)+P ch (t)
[0133] Among them, P ne Represents the predicted power of new energy, unit: kW; P dis Indicates the energy storage discharge power, unit: kW; P ch Indicates the energy storage charging power, unit: kW; P load Indicates the load forecast power, unit: kW; P buy Indicates the purchased power, unit: kW; P sell Indicates the electricity sold, unit: kW.
[0134] 2) Energy storage charging and discharging power constraints:
[0135] β×P res ≤P ch (t)≤P res
[0136] β×P res ≤P dis (t)≤P res
[0137] Among them, P res It represents the rated power of energy storage, unit: kW; β represents the minimum allowable ratio of battery charge and discharge power.
[0138] 3) Charge state constraints:
[0139] SOC min ≤SOC(k)≤SOC max
[0140]
[0141] Among them, SOC min Indicates the minimum state of charge for energy storage; SOC max represents the maximum state of charge of the energy storage; SOC(k) represents the state of charge of the energy storage node k, SOC0 represents the initial state of charge of the energy storage, k∈[1,T]; η dis Represents the energy storage discharge efficiency; η ch Indicates energy storage charging efficiency; E res Indicates the rated capacity of energy storage, unit: kWh.
[0142] 4) Electricity conservation constraint:
[0143] SOC(0)=SOC(T)
[0144] Among them, SOC0 represents the initial charge state of the energy storage; SOC(T) represents the charge state of the energy storage node T.
[0145] 5) Flexible resource constraints:
[0146] P need ≤P r_max
[0147] Among them, Pr max represents the maximum adjustable power.
[0148] The park's flexible and adjustable resources include charging piles, air conditioning, lighting and other loads. Due to the limitations of the flexible and adjustable resources, there is a maximum adjustable power.
[0149] Example 3
[0150] like Figure 3As shown, the present invention also provides an electronic device 100 for implementing a method for optimizing operation of a park microgrid; the electronic device 100 includes a memory 101, at least one processor 102, a computer program 103 stored in the memory 101 and executable on the at least one processor 102, and at least one communication bus 104. The memory 101 can be used to store the computer program 103, and the processor 102 implements the steps of a method for optimizing operation of a park microgrid in Example 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101.
[0151] The memory 101 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0152] At least one processor 102 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. The processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.
[0153] The memory 101 in the electronic device 100 stores a plurality of instructions to implement a method for optimizing operation of a campus microgrid, and the processor 102 can execute the plurality of instructions to implement:
[0154] Determine the comprehensive operating costs and carbon emission costs of the park microgrid;
[0155] The optimal comprehensive operation cost of the park microgrid is taken as the first optimization goal, and the optimal carbon emission cost is taken as the second optimization goal, and different weights are assigned to the first optimization goal and the second optimization goal respectively; the charging and discharging power of the electrochemical energy storage is taken as the optimization object;
[0156] Constructing a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object;
[0157] Determine the constraints of the multi-objective optimization model;
[0158] The optimization problem of the multi-objective optimization model is transformed into a degree optimization problem, and the optimization problem of the multi-objective optimization model is solved based on the constraints to obtain the optimization strategy of the electrochemical energy storage charging and discharging power.
[0159] Example 4
[0160] If the module / unit integrated in the electronic device 100 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, and can also 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 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. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).
[0161] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0162] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 produce 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.
[0163] 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.
[0164] 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.
[0165] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0166] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for optimizing operation of a park microgrid, characterized in that: The steps include: Determine the comprehensive operating costs and carbon emission costs of the park microgrid; The optimal comprehensive operation cost of the park microgrid is taken as the first optimization goal, and the optimal carbon emission cost is taken as the second optimization goal, and different weights are assigned to the first optimization goal and the second optimization goal respectively; Taking the charge and discharge power of electrochemical energy storage as the optimization object; Constructing a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object; Determine the constraints of the multi-objective optimization model; The optimization problem of the multi-objective optimization model is transformed into a degree optimization problem, and the optimization problem of the multi-objective optimization model is solved based on the constraint conditions to obtain the optimization strategy of the electrochemical energy storage charging and discharging power; Different weights are assigned to the first optimization objective and the second optimization objective respectively, including: 1) Assume that the weights of the first optimization objective and the second optimization objective are subjective weight w1 and objective weight w2 respectively; 2) Subjective weight is expressed as w1 = (w 11 ,w 12 ,…,w 1n ), the objective weight is expressed as w2=(w 21 ,w 22 ,…,w 2n ), combined weight w = λ1w1 + λ2w2; When the combined weight w has the smallest deviation from the subjective weight w1 and the objective weight w2, the optimal combination is achieved, combining the subjectivity and objectivity of multi-objective optimization to the greatest extent, that is: min(Pw-w1P1+w-w2P2) Solving for this yields: λ1+λ2=1 In the formula, λ1 and λ2 are linear combination coefficients; P represents the sum of the comprehensive operation cost of the park and the carbon emission cost, P1 represents the comprehensive operation cost of the park, and P2 represents the carbon emission cost of the park operation; 3) The solved w1 and w2 are used as the weights of the first optimization objective and the second optimization objective respectively; Apply the equilibrium idea of game theory to combination weighting, regard subjective weight and objective weight as the two sides of the game, play the game around the subjectivity and objectivity of multi-objective optimization, take the realization of Nash equilibrium as the goal, find consistency or compromise between subjective weight and objective weight, and thus obtain the optimal combination weight of multi-objective optimization; In the step of constructing a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object, the constructed multi-objective optimization model is as follows: f=min[w1θ(F1)+w2θ(F2)] P buy =P load (t)+P ch (t)-P ne -P dis (t),P buy ≥0 P sell =P ne +P dis (t)-P load (t)+P ch (t),P sell ≥0 Among them, w1 and w2 are the weights of the first optimization goal and the second optimization goal respectively; F1 represents the comprehensive operation cost; F2 represents the carbon emissions of the park microgrid; T is the time node; c1 represents the large industrial electricity price; P buy represents the power purchased from the power grid; c2 represents the photovoltaic power sales price; P sell represents the power sold to the grid; c3 represents the user's participation in the bidding in the ancillary service market; P need represents the dispatch power of the ancillary service market; δ represents the carbon emission factor of electricity; P load Represents the load forecast power; P ch Indicates the energy storage charging power; P ne Represents the predicted power of new energy; P dis Indicates the energy storage discharge power; In the step of determining the constraint conditions of the multi-objective optimization model, the constraint conditions include: power balance constraint, energy storage charging and discharging power constraint, state of charge constraint, power conservation constraint and flexible resource constraint; 1) Power balance constraints: P ne (t)+P buy (t)+P dis (t)=P load (t)+P sell (t)+P ch (t) Among them, P ne Represents the predicted power of new energy, unit: kW; P dis Indicates the energy storage discharge power, unit: kW; P ch Indicates the energy storage charging power, unit: kW; P load Indicates the load forecast power, unit: kW; P buy Indicates the purchased power, unit: kW; P sell Indicates the electricity sold, unit: kW; 2) Energy storage charging and discharging power constraints: β×P res ≤P ch (t)≤P res β×P res ≤P dis (t)≤P res Among them, P res Indicates the rated power of energy storage, unit: kW; β indicates the minimum allowable ratio of battery charge and discharge power; 3) Charge state constraints: SOC min ≤SOC(s)≤SOC max Among them, SOC min Indicates the minimum state of charge for energy storage; SOC max represents the maximum state of charge of the energy storage; SOC(k) represents the state of charge of the energy storage node k, SOC0 represents the initial state of charge of the energy storage, k∈[1,T]; η dis Represents the energy storage discharge efficiency; η ch Indicates energy storage charging efficiency; E res Indicates the rated capacity of energy storage, unit: kWh; 4) Electricity conservation constraint: SOC0=OC(T) Among them, SOC0 represents the initial state of charge of energy storage; SOC(T) represents the state of charge of energy storage node T; 5) Flexible resource constraints: P need ≤P r_max Among them, P r_max Indicates the maximum adjustable power; By establishing a descending semi-trapezoidal membership function, the numerical optimization of the optimization target is converted into degree optimization; Among them, θ(F) is the degree of the objective function; F* is the target ideal value; α is the elastic satisfaction coefficient; αF * The target value growth range that is acceptable to the park's decision makers; The particle swarm algorithm is used to solve the multi-objective optimization model. Part of the constraints are considered in the selection of initial values, and the initial values are randomly selected for solution. The solution steps are as follows: Step 1: Input the parameters of the photovoltaic, wind turbine, and electrochemical energy storage equipment of the park microgrid; Step 2: Input the new energy output forecast curve and load forecast curve; Step 3: Obtain multi-objective weights w1,2 based on game theory combination weighting; Step 4: Construct a multi-objective optimization model considering carbon emissions and operating costs based on the "descending semi-trapezoidal" membership function; Step 5: Based on the multi-objective optimization model of microgrid operation, the particle swarm algorithm is used to solve the optimal operation strategy of energy storage; Step 6: Output energy storage operating power P se =P dis -P ch and state of charge SOC as the optimal operation strategy; The park microgrid includes wind turbines, photovoltaics, electrochemical energy storage and power loads.
2. A park microgrid optimization operation device, characterized in that: include: The first determination module is used to determine the comprehensive operation cost and carbon emission cost of the park microgrid; The second determination module is used to take the optimal comprehensive operation cost of the park microgrid as the first optimization target and the optimal carbon emission cost as the second optimization target, and assign different weights to the first optimization target and the second optimization target respectively; Taking the charge and discharge power of electrochemical energy storage as the optimization object; A model building module, used to build a multi-objective optimization model based on the first optimization objective and the second optimization objective, the weights corresponding to the first optimization objective and the second optimization objective, and the optimization object; A third determination module is used to determine the constraint conditions of the multi-objective optimization model; A solution module is used to convert the optimization problem of the multi-objective optimization model into a degree optimization problem, and solve the optimization problem of the multi-objective optimization model based on the constraint conditions to obtain the optimization strategy of the electrochemical energy storage charging and discharging power; The park microgrid includes wind turbines, photovoltaics, electrochemical energy storage and power loads; In the model building module, the multi-objective optimization model constructed is as follows: f=min[w1θ(F1)+w2θ(F2)] P buy =P load (t)+P ch (t)-P ne -P dis (t),P buy ≥0 P sell =P ne +P dis (t)-P load (t)+P ch (t),P sell ≥0 Among them, w1 and w2 are the weights of the first optimization goal and the second optimization goal respectively; F1 represents the comprehensive operation cost; F2 represents the carbon emissions of the park microgrid; T is the time node; c1 represents the large industrial electricity price; P buy represents the power purchased from the power grid; c2 represents the photovoltaic power sales price; P sell represents the power sold to the grid; c3 represents the user's participation in the bidding in the ancillary service market; P need represents the dispatch power of the ancillary service market; δ represents the carbon emission factor of electricity; P load Represents the load forecast power; P ch Indicates the energy storage charging power; P ne Represents the predicted power of new energy; P dis Indicates the energy storage discharge power; Different weights are assigned to the first optimization objective and the second optimization objective respectively, including: 1) Assume that the weights of the first optimization objective and the second optimization objective are subjective weight w1 and objective weight w2 respectively; 2) Subjective weight is expressed as w1 = (w 11 ,w 12 ,…,w 1n ), the objective weight is expressed as w2=(w 21 ,w 22 ,…,w 2n ), combined weight w = λ1w1 + λ2w2; When the combined weight w has the smallest deviation from the subjective weight w1 and the objective weight w2, the optimal combination is achieved, combining the subjectivity and objectivity of multi-objective optimization to the greatest extent, that is: min(Pw-w1P1+w-w2P2) Solving for this yields: λ1+λ2=1 In the formula, λ1 and λ2 are linear combination coefficients; P represents the sum of the comprehensive operation cost of the park and the carbon emission cost, P1 represents the comprehensive operation cost of the park, and P2 represents the carbon emission cost of the park operation; 3) The solved w1 and w2 are used as the weights of the first optimization objective and the second optimization objective respectively; Apply the equilibrium idea of game theory to combination weighting, regard subjective weight and objective weight as the two sides of the game, play the game around the subjectivity and objectivity of multi-objective optimization, take the realization of Nash equilibrium as the goal, find consistency or compromise between subjective weight and objective weight, and thus obtain the optimal combination weight of multi-objective optimization; In the step of determining the constraint conditions of the multi-objective optimization model, the constraint conditions include: power balance constraint, energy storage charging and discharging power constraint, state of charge constraint, power conservation constraint and flexible resource constraint; 1) Power balance constraints: P ne (t)+P buy (t)+P dis (t)=P load (t)+P sell (t)+P ch (t) Among them, P ne Represents the predicted power of new energy, unit: kW; P dis Indicates the energy storage discharge power, unit: kW; P ch Indicates the energy storage charging power, unit: kW; P load Indicates the load forecast power, unit: kW; P buy Indicates the purchased power, unit: kW; P sell Indicates the electricity sold, unit: kW; 2) Energy storage charging and discharging power constraints: β×P res ≤P ch (t)≤P res β×P res ≤P dis (t)≤P res Among them, P res Indicates the rated power of energy storage, unit: kW; β indicates the minimum allowable ratio of battery charge and discharge power; 3) Charge state constraints: SOC min ≤SOC(s)≤SOC max Among them, SOC min Indicates the minimum state of charge for energy storage; SOC max represents the maximum state of charge of the energy storage; SOC(k) represents the state of charge of the energy storage node k, SOC0 represents the initial state of charge of the energy storage, k∈[1,T]; η dis Represents the energy storage discharge efficiency; η ch Indicates energy storage charging efficiency; E res Indicates the rated capacity of energy storage, unit: kWh; 4) Electricity conservation constraint: SOC0=OC(T) Among them, SOC0 represents the initial state of charge of energy storage; SOC(T) represents the state of charge of energy storage node T; 5) Flexible resource constraints: P need ≤P r_max Among them, P r_max Indicates the maximum adjustable power; By establishing a descending semi-trapezoidal membership function, the numerical optimization of the optimization target is converted into degree optimization; Among them, θ(F) is the degree of the objective function; F * is the target ideal value; α is the elastic satisfaction coefficient; αF * The target value growth range that is acceptable to the park's decision makers; The particle swarm algorithm is used to solve the multi-objective optimization model. Part of the constraints are considered in the selection of initial values, and the initial values are randomly selected for solution. The solution steps are as follows: Step 1: Input the parameters of the photovoltaic, wind turbine, and electrochemical energy storage equipment of the park microgrid; Step 2: Input the new energy output forecast curve and load forecast curve; Step 3: Obtain multi-objective weights w1, w2 based on game theory combination weighting; Step 4: Construct a multi-objective optimization model considering carbon emissions and operating costs based on the descending semi-trapezoidal membership function; Step 5: Based on the multi-objective optimization model of microgrid operation, the particle swarm algorithm is used to solve the optimal operation strategy of energy storage; Step 6: Output energy storage operating power P se =P dis -P ch and state of charge SOC as the optimal operating strategy.
3. An electronic device, characterized in that: It comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the park microgrid optimization operation method as claimed in claim 1.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by the processor, the campus microgrid optimization operation method as described in claim 1 is implemented.
Citation Information
Patent Citations
Adaptive multiyear economic planning for energy systems, microgrid and distributed energy resources
CA3078924A1
Comprehensive evaluation method of micro-grid
CN103426122A
Optimization programming and evaluation method of micro-grid power supply
CN104881716A
Intelligent park multi-energy microgrid configuration method based on multi-target random optimization
CN110400090A
Optimal configuration method for electricity / heat hybrid energy storage system in integrated energy microgrid
CN114330835A
