Method and device for determining unit output in multi-energy cooperative power system
By constructing a joint fuzzy set and multi-time scheduling model, the impact of new energy uncertainty on carbon emissions in the multi-energy collaborative power system is solved, and the global optimal unit output determination is achieved, reducing carbon emissions and operating costs.
Patent Information
- Application Number
- CN202411007973.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-15
AI Technical Summary
In multi-energy collaborative power systems, it is difficult for the prior art to effectively consider the impact of new energy uncertainty on carbon emissions, resulting in the scheduling results that may generate additional carbon emissions, exceeding the prescribed restrictions.
By obtaining new energy historical output data, a joint fuzzy set is built to predict the input and output relationship of the multi-period scheduling model, a multi-period scheduling model of the multi-energy collaborative power system is determined, and an objective function is established to minimize the comprehensive operating costs, including energy costs. , reduce costs and carbon emission costs, and solve constraints to determine the global optimal unit output.
This method can effectively reduce the conservatism of scheduling results, improve economic and reliability, ensure the reliability of carbon emission constraints, meet the minimum requirements for comprehensive operating costs, and reduce carbon emissions.
Smart Images

Figure CN118966825A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power, and in particular to a method and device for determining unit output in a multi-energy coordinated electric power system. Background Art
[0002] With the proposal of the "dual carbon" goal, the penetration rate of new energy such as wind and light continues to increase, and the power system is transforming into a low-carbon and efficient new system. In recent years, the installed capacity of new energy such as wind power and photovoltaics has reached 760 million kilowatts, accounting for 30% of the total installed capacity, and the power generation of new energy is 1.2 trillion kilowatt-hours, accounting for 14% of the total power generation. However, new energy has inherent volatility and randomness, which may cause serious harm to the safe operation of the power system. A multi-energy coordinated power system that includes multiple energy sources such as heat and gas can give full play to the flexibility of different energy sources, improve energy utilization efficiency, and reduce carbon emissions. It is one of the effective ways to promote the consumption of new energy.
[0003] Domestic and foreign scholars have conducted extensive research on the optimal dispatch of multi-energy coordinated power systems. However, in existing research, the focus is usually on improving energy utilization efficiency and reducing dispatch costs, but lacks consideration of system carbon emissions, so the dispatch results may not be environmentally friendly. With the continuous improvement of environmental awareness, some studies have considered carbon emission constraints in dispatching. However, current studies model carbon emission constraints as simple inequality constraints, ignoring the impact of uncertainty from new energy sources. In actual dispatch, when the output of new energy is lower than expected, carbon-intensive units may have to be dispatched to meet the power deviation of new energy, resulting in additional carbon emissions, which will cause the total carbon emissions of multi-energy coordinated power systems to exceed the prescribed limits. Therefore, fully considering the impact of new energy uncertainty on carbon emissions and ensuring the reliability of carbon emission constraints is a difficult problem in actual dispatching.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] An embodiment of the present invention provides a method and device for determining the unit output in a multi-energy cooperative power system, so as to at least solve the technical problem that when determining the global optimal unit output in the multi-energy cooperative power system, the uncertainty range is large, which makes the determined solution conservative to a certain extent, and therefore the predicted output data is difficult to meet the minimum comprehensive operating cost requirement.
[0006] According to one aspect of an embodiment of the present invention, a method for determining unit output in a multi-energy coordinated power system is provided, comprising: obtaining historical output data of new energy in the multi-energy coordinated power system, wherein the historical output data of new energy is historical output data corresponding to new energy units in the multi-energy coordinated power system; constructing a joint fuzzy set based on the historical output data of new energy, wherein the joint fuzzy set is composed of at least two fuzzy sets, and the joint fuzzy set is used to predict the relationship between the input and output of a multi-period scheduling model; determining the multi-period scheduling model corresponding to the multi-energy coordinated power system based on the joint fuzzy set; determining the constraints of the multi-period scheduling model, wherein the constraints include at least one of the following: power system constraints, thermal system constraints, natural gas system constraints, system carbon emission constraints, and the power system constraints include new energy constraints; establishing an objective function of the multi-period scheduling model, wherein the objective function is to minimize the comprehensive operating cost of the multi-energy coordinated power system, and the comprehensive operating cost includes energy cost, new energy reduction cost, rotating standby cost, and carbon emission cost; solving the objective function under the constraints to determine the global optimal unit output in the multi-energy coordinated power system.
[0007] Optionally, a joint fuzzy set is constructed based on the historical output data of the new energy, including: determining a first fuzzy set obtained based on a distribution difference measure, and determining a second fuzzy set obtained based on first-order moment information, wherein the distribution difference measure is obtained based on the error distribution information of the historical output data of the new energy, and the first-order moment information is obtained based on the error mean information of the historical output data of the new energy; based on the first fuzzy set and the second fuzzy set, the joint fuzzy set is determined.
[0008] Optionally, determining a first fuzzy set based on a distribution difference metric includes: determining a target empirical distribution based on the new energy historical output data, wherein the target empirical distribution represents the distribution of the new energy historical output data; determining a measurement probability distribution distance corresponding to the target empirical distribution, and determining a predetermined limiting radius; determining the first fuzzy set based on the measurement probability distribution distance and the predetermined limiting radius.
[0009] Optionally, determining a second fuzzy set based on the first-order moment information includes: determining output error mean data based on the historical output data of the new energy; determining a predetermined offset degree corresponding to the second fuzzy set; and determining the second fuzzy set based on the output error mean data and the predetermined offset degree.
[0010] Optionally, solving the objective function under the constraint conditions to determine the global optimal unit output in the multi-energy cooperative power system includes: transforming the objective function to obtain a linear objective function; when there are nonlinear constraints in the constraint conditions, transforming the nonlinear constraints into linear constraints; solving the linear objective function under the constraint conditions after being transformed into linear constraints to determine the global optimal unit output.
[0011] Optionally, after solving the objective function under the constraints and determining the global optimal unit output in the multi-energy cooperative power system, it also includes: controlling the corresponding unit to output at the global optimal unit output.
[0012] Optionally, the power system constraints include at least one of the following: gas unit operation constraints, new energy reduction constraints, electric power balance constraints, rotating reserve joint opportunity constraints, and electric network joint opportunity constraints; the thermal system constraints include at least one of the following: CHP unit operation constraints, gas boiler operation constraints, heat source and heat load node constraints, pipeline dynamic characteristics constraints, and heat network temperature constraints; the natural gas system constraints include at least one of the following: P2G unit operation constraints, gas source output constraints, node flow balance constraints, pipeline flow constraints, and node pressure constraints.
[0013] According to one aspect of an embodiment of the present invention, a device for determining unit output in a multi-energy cooperative power system is provided, comprising: an acquisition module, used to acquire historical output data of new energy in the multi-energy cooperative power system, wherein the historical output data of new energy is historical output data corresponding to the new energy units in the multi-energy cooperative power system; a construction module, used to construct a joint fuzzy set based on the historical output data of new energy, wherein the joint fuzzy set is composed of at least two fuzzy sets, and the joint fuzzy set is used to predict the relationship between the input and output of a multi-period scheduling model; a first determination module, used to determine the multi-period scheduling model corresponding to the multi-energy cooperative power system based on the joint fuzzy set; a second determination module, used to For determining the constraints of the multi-period scheduling model, wherein the constraints include at least one of the following: power system constraints, thermal system constraints, natural gas system constraints, system carbon emission constraints, and the power system constraints include new energy constraints; an establishment module for establishing the objective function of the multi-period scheduling model, wherein the objective function is to minimize the comprehensive operating cost of the multi-energy coordinated power system, and the comprehensive operating cost includes energy cost, new energy reduction cost, rotating standby cost, and carbon emission cost; a third determination module for solving the objective function under the constraints to determine the global optimal unit output in the multi-energy coordinated power system.
[0014] According to one aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the method for determining unit output in a multi-energy coordinated power system as described in any one of the above.
[0015] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the above-mentioned methods for determining the unit output in a multi-energy coordinated power system.
[0016] In an embodiment of the present invention, the historical output data of new energy in a multi-energy coordinated power system is obtained, wherein the historical output data of new energy is the historical output data corresponding to the new energy units in the multi-energy coordinated power system; based on the historical output data of new energy, a joint fuzzy set is constructed, wherein the joint fuzzy set is used to predict the relationship between the input and output of the multi-period scheduling model. Based on the joint fuzzy set, the multi-period scheduling model corresponding to the multi-energy coordinated power system is determined. The constraints of the multi-period scheduling model are determined, wherein the constraints include at least one of the following: power system constraints, thermal system constraints, natural gas system constraints, system carbon emission constraints, and the power system constraints include new energy constraints. The objective function of the multi-period scheduling model is established, wherein the objective function is to minimize the comprehensive operating cost of the multi-energy coordinated power system, and the comprehensive operating cost includes energy cost, new energy reduction cost, rotating reserve cost, and carbon emission cost. Solve the objective function under the constraints to determine the global optimal unit output in the multi-energy coordinated power system. Since in the method provided by the embodiment of the present invention, the joint fuzzy set is composed of at least two fuzzy sets, and the joint fuzzy set is used to predict the relationship between the input and output of the multi-period scheduling model, it is possible to avoid the problem that a single fuzzy set may contain extremely conservative distribution information that leads to the solution of distributional robust optimization. In order to reduce this conservatism, the embodiment of the present invention constructs the fuzzy sets in distributional robust optimization as the intersection of multiple fuzzy sets, thereby generating a joint fuzzy set, so as to integrate the advantages of different fuzzy sets at the same time, exclude the extreme distributions belonging to each set, thereby improving the economy and reliability of the scheduling results, and further solving the problem that when determining the global optimal unit output in a multi-energy coordinated power system, the uncertainty range is large, which makes the determined solution conservative to a certain extent, and therefore there is a technical problem that the predicted output data is difficult to meet the minimum comprehensive operating cost requirement. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. 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:
[0018] Figure 1 is a flow chart of a method for determining unit output in a multi-energy coordinated power system according to an embodiment of the present invention;
[0019] Figure 2 It is a structural block diagram of a device for determining unit output in a multi-energy coordinated power system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] First, some nouns or terms that appear in the description of the embodiments of the present application are subject to the following explanations:
[0023] DRO: It is a combination of stochastic programming and robust optimization. It regards the uncertainty set in RO as a set that appears with probability. In DRO, this set is called ambiguity set. DRO aims to find an optimization solution that can maintain good performance under all possible distributions of uncertain parameters or data.
[0024] Bonferroni inequality: The Chinese name is usually directly translated as "Bonferroni inequality" or "Bernoulli-Bonferroni inequality". This inequality has a wide range of applications in probability theory and statistics, especially when dealing with multiple comparison problems, it is used to control the total error rate. Specifically, the Bonferroni inequality shows that for n events A1, A2, ..., An (n>1), the total probability of at least one event occurring is no greater than the sum of the probabilities of each of these events occurring.
[0025] Example 1
[0026] According to an embodiment of the present invention, an embodiment of a method for determining unit output in a multi-energy cooperative power system 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.
[0027] Figure 1 is a flow chart of a method for determining unit output in a multi-energy coordinated power system according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0028] Step S102, obtaining new energy historical output data in the multi-energy coordinated power system, wherein the new energy historical output data is the historical output data corresponding to the new energy units in the multi-energy coordinated power system;
[0029] In step S102 provided in the present application, the historical output data of new energy in the multi-energy coordinated power system is obtained, wherein the historical output data may include historical actual output data and historical predicted output data. Among them, a multi-energy coordinated power system is involved, and the multi-energy coordinated power system may include a power system, a thermal system, and a natural gas system, wherein the power system may include a new energy system, and the specific equipment settings in the system may be customized according to the actual application and scenario.
[0030] Since new energy units are uncertain, it is necessary to obtain historical output data of new energy to facilitate the construction of joint fuzzy sets corresponding to new energy, so as to integrate the advantages of different fuzzy sets at the same time and exclude the extreme distribution of each set, thereby improving the economy and reliability of the scheduling results.
[0031] Step S104, constructing a joint fuzzy set based on the historical output data of new energy sources, wherein the joint fuzzy set is composed of at least two fuzzy sets, and the joint fuzzy set is used to predict the relationship between the input and output of the multi-period scheduling model;
[0032] In step S104 provided in the present application, a joint fuzzy set is constructed. The joint fuzzy set is composed of at least two fuzzy sets. The joint fuzzy set is used to predict the relationship between the input and output of the multi-period scheduling model so as to better determine the output through the input.
[0033] In distributional robust optimization, the construction method of fuzzy sets is crucial. The embodiment of the present invention determines a joint fuzzy set, wherein the joint fuzzy set can be established by considering the fuzzy set based on moment information and the fuzzy set based on Wasserstein metric respectively. In actual scheduling, partial moment information and empirical distribution information can be obtained from historical data samples at the same time, so a single fuzzy set may contain extremely conservative distribution information that leads to the solution of distributional robust optimization. In order to reduce this conservatism, the embodiment of the present invention constructs the fuzzy set in distributional robust optimization as the intersection of multiple fuzzy sets, thereby generating a joint fuzzy set to simultaneously integrate the advantages of different fuzzy sets and exclude the extreme distributions belonging to each set, thereby improving the economy and reliability of the scheduling results.
[0034] Step S106, determining a multi-period dispatching model corresponding to the multi-energy coordinated power system according to the joint fuzzy set;
[0035] In step S106 provided in the present application, a multi-period dispatching model corresponding to the multi-energy coordinated power system is determined based on a joint fuzzy set. The equipment in the multi-energy coordinated power system may include thermal power units, gas units, new energy units, combined heat and power (CHP) units, and power to gas (P2G) equipment, wherein the new energy units have uncertainty. The electrical load in the system is supplied by thermal power units, gas units, new energy units, and CHP units, the gas load is supplied by gas sources, P2G equipment, and the natural gas network, and the heat load is supplied by CHP units, gas boilers, and heating networks. By constructing a multi-period dispatching model for the joint distributed blue-robust optimization of the multi-energy coordinated power system, a model suitable for the multi-energy coordinated power system can be determined based on this, so as to accurately determine the output of each device corresponding to the lowest comprehensive operating cost.
[0036] Step S108, determining the constraints of the multi-period dispatch model, wherein the constraints include at least one of the following: power system constraints, thermal system constraints, natural gas system constraints, system carbon emission constraints, and the power system constraints include new energy constraints;
[0037] In step S108 provided in the present application, the constraint conditions for determining the multi-period scheduling model are explained, wherein the constraint conditions include at least one of the following: power system constraint conditions, thermal system constraint conditions, natural gas system constraint conditions, system carbon emission constraint conditions, and the power system constraint conditions include new energy constraint conditions. By determining the constraint conditions, when the output data corresponding to each device determined by the application is applied, the operation of each device can comply with the corresponding constraint, avoiding problems such as equipment damage or power system failure.
[0038] Step S110, establishing an objective function of the multi-period dispatching model, wherein the objective function is to minimize the comprehensive operating cost of the multi-energy coordinated power system, and the comprehensive operating cost includes energy cost, new energy reduction cost, spinning reserve cost, and carbon emission cost;
[0039] In step S110 provided in the present application, an objective function of a multi-period scheduling model is established, wherein the objective function is limited to a function aimed at minimizing the comprehensive operating cost of the multi-energy coordinated power system. In this way, when each device operates according to the determined output data of each device, the system can achieve the effect of lowest operating cost.
[0040] Among them, the comprehensive operating cost is limited to include energy cost, new energy reduction cost, rotating standby cost, and carbon emission cost. Therefore, it can be seen that it takes into account many aspects of cost, so that the global optimal unit output, that is, the output data of each equipment can achieve the lowest cost effect of the above aspects.
[0041] Step S112, solving the objective function under the constraint conditions, and determining the global optimal unit output in the multi-energy coordinated power system.
[0042] In step S112 provided in the present application, the objective function under the constraint conditions is solved to achieve the purpose of determining the global optimal unit output in the multi-energy coordinated power system.
[0043] Through the above steps S102-S112, the historical output data of new energy in the multi-energy coordinated power system is obtained, wherein the historical output data of new energy is the historical output data corresponding to the new energy units in the multi-energy coordinated power system; based on the historical output data of new energy, a joint fuzzy set is constructed, wherein the joint fuzzy set is used to predict the relationship between the input and output of the multi-period dispatching model. Based on the joint fuzzy set, the multi-period dispatching model corresponding to the multi-energy coordinated power system is determined. The constraints of the multi-period dispatching model are determined, wherein the constraints include at least one of the following: power system constraints, thermal system constraints, natural gas system constraints, system carbon emission constraints, and power system constraints include new energy constraints. The objective function of the multi-period dispatching model is established, wherein the objective function is to minimize the comprehensive operating cost of the multi-energy coordinated power system, and the comprehensive operating cost includes energy cost, new energy reduction cost, rotating reserve cost, and carbon emission cost. Solve the objective function under the constraints to determine the global optimal unit output in the multi-energy coordinated power system. Since in the method provided by the embodiment of the present invention, the joint fuzzy set is composed of at least two fuzzy sets, and the joint fuzzy set is used to predict the relationship between the input and output of the multi-period scheduling model, it is possible to avoid the problem that a single fuzzy set may contain extremely conservative error distribution information that leads to the solution of distributional robust optimization. In order to reduce this conservatism, the embodiment of the present invention constructs the fuzzy sets in distributional robust optimization as the intersection of multiple fuzzy sets, thereby generating a joint fuzzy set, so as to integrate the advantages of different fuzzy sets at the same time, exclude the extreme distributions belonging to each set, thereby improving the economy and reliability of the scheduling results, and further solving the problem that when determining the global optimal unit output in a multi-energy coordinated power system, the uncertainty range is large, which makes the determined solution conservative to a certain extent, and therefore there is a technical problem that the predicted output data is difficult to meet the minimum comprehensive operating cost requirement.
[0044] As an optional embodiment, a joint fuzzy set is constructed based on the historical output data of new energy, including: determining a first fuzzy set obtained based on a distribution difference measure, and determining a second fuzzy set obtained based on first-order moment information, wherein the distribution difference measure is obtained based on the error distribution information of the historical output data of the new energy, and the first-order moment information is obtained based on the error mean information of the historical output data of the new energy; based on the first fuzzy set and the second fuzzy set, a joint fuzzy set is determined.
[0045] In this embodiment, the steps of determining the joint fuzzy set are described. In this example, the first fuzzy set obtained based on the distribution difference metric is determined, and the second fuzzy set obtained based on the first-order moment information is determined, wherein the distribution difference metric is obtained based on the error distribution information of the historical output data of the new energy source, and the first-order moment information is obtained based on the error mean information of the historical output data of the new energy source, wherein the error is the error value between the actual historical output data and the predicted historical output data.
[0046] For example, the first fuzzy set can be a fuzzy set based on the 1-Wasserstein metric. The second fuzzy set can be a fuzzy set of first-order moment information. Among them, the fuzzy set based on the 1-Wasserstein metric is a data-driven distributional robust optimization method. The Wasserstein distance originates from the optimal transportation problem, which reveals the inherent laws of the probability distribution space. The work done under the optimal transportation plan is called the Wasserstein distance or the Earth Mover Distance. When using the 1-Wasserstein metric, the focus is on the optimal transmission cost between distributions under a certain cost function. In the construction of fuzzy sets, the fuzzy set based on the 1-Wasserstein metric is a sphere defined in the probability distribution space with a certain radius (i.e., the Wasserstein distance) centered on a certain empirical distribution. All distributions within this sphere are considered to be close to the true unknown distribution with a high degree of confidence.
[0047] Among them, fuzzy sets based on first-order moment information usually refer to methods that use the first-order moment (such as mean) information of the distribution to define fuzzy sets. The first-order moment information reflects the central position or average level of the distribution and is one of the important indicators for describing the characteristics of the distribution. In this method, the fuzzy set may be centered on a certain mean and defined with a certain range or confidence interval. All means within this range are considered to be close to the true unknown mean with a certain degree of confidence.
[0048] According to the first fuzzy set and the second fuzzy set, a joint fuzzy set is determined. The advantages of the above two fuzzy sets can be combined. Among them, by considering the fuzzy set based on the 1-Wasserstein metric, the Wasserstein distance satisfies the three properties of the metric definition (symmetry, positive definiteness, and triangle inequality), which provides a solid theoretical basis for the fuzzy set constructed based on it. It can be flexible. Since the Wasserstein distance can be defined based on different cost functions, the appropriate cost function can be selected according to the needs of the specific problem, so as to construct a fuzzy set that is more in line with the actual situation. It can also be robust. By considering the Wasserstein distance between distributions, this method can handle the uncertainty of the fluctuation of the distribution function and ensure that the optimization effect under the worst conditions is not too bad, which not only avoids excessive costs, but also ensures efficiency. Among them, by considering the fuzzy set based on the first-order moment information, it is easy to calculate and is simpler and faster.
[0049] As an optional embodiment, determining a first fuzzy set based on a distribution difference metric includes: determining a target empirical distribution based on historical output data of new energy sources, wherein the target empirical distribution represents the distribution of historical output data of new energy sources; determining a measurement probability distribution distance corresponding to the target empirical distribution, and determining a predetermined restriction radius; determining the first fuzzy set based on the measurement probability distribution distance and the predetermined restriction radius.
[0050] In this embodiment, the specific steps of determining the first fuzzy set are described, that is, the target empirical distribution can be determined based on the historical output data of the new energy source, wherein the target empirical distribution represents the distribution of the historical output data of the new energy source, which can be expressed in letters. Then determine the distance of the measured probability distribution corresponding to the target empirical distribution, for example, the letter Represents and determines the predetermined limiting radius θ W ; According to the measured probability distribution distance and the predetermined limit radius, the first fuzzy set is determined. The specific determination method will be introduced in the optional implementation mode described below and will not be elaborated here. It can be seen that through the method of this embodiment, a sphere defined in the probability distribution space with a certain radius (i.e., Wasserstein distance) and centered on the empirical distribution of the historical output error data of new energy is constructed. All distributions within this sphere are considered to be close to the true unknown distribution with a high degree of confidence, that is, the position distribution of the output error data of new energy can be determined to be close to the true with a high degree of confidence, which is conducive to the subsequent determination of the output data of new energy.
[0051] As an optional embodiment, determining a second fuzzy set based on first-order moment information includes: determining output error mean data based on historical output error data of new energy; determining a predetermined offset degree corresponding to the second fuzzy set; and determining the second fuzzy set based on the output error mean data and the predetermined offset degree.
[0052] In this embodiment, the specific steps of determining the second fuzzy set are described, that is, determining the output error mean data according to the historical output error data of new energy sources. Among them, the output error mean data can also be understood as the first-order moment information in the historical data. The first-order moment information reflects the center position or average level of the distribution. Therefore, the true distribution range of the mean can be determined in this way. Then determine the predetermined offset degree θ corresponding to the second fuzzy set M, wherein the predetermined degree of offset can be customized according to actual experience and scenarios. The second fuzzy set is determined based on the output error mean data and the predetermined degree of offset. The specific determination method of the second fuzzy set will be introduced in the following optional implementation mode and will not be elaborated here. It can be seen that through the method of this embodiment, it constructs a system centered on the mean of the historical output error data and defined by a certain range or confidence interval. All error means within this range are considered to be close to the true unknown mean with a certain degree of confidence. Therefore, after determining the output error data of the new energy, its mean can also be within a reasonable range.
[0053] As an optional embodiment, solving the objective function under constraint conditions and determining the global optimal unit output in the multi-energy coordinated power system includes: transforming the objective function to obtain a linear objective function; when there are nonlinear constraints in the constraint conditions, transforming the nonlinear constraints into linear constraints; solving the linear objective function under the constraint conditions after being transformed into linear constraints to determine the global optimal unit output.
[0054] In this embodiment, the specific steps of solving the objective function under the constraint conditions and determining the global optimal unit output in the multi-energy coordinated power system are described. First, the objective function can be transformed to obtain a linear objective function. In the case where there are nonlinear constraints in the constraint conditions, the nonlinear constraints are transformed into linear constraints, and then the linear objective function under the constraint conditions after being transformed into linear constraints is solved to determine the global optimal unit output. By transforming the objective function into a linear objective function, linear programming problems are usually easier to solve than nonlinear programming problems. There are mature algorithms for linear programming problems (such as simplex method, interior point method, etc.), which can find the optimal solution or prove unbounded in polynomial time. In addition, for linear programming problems, if a solution exists, it must be a global optimal solution, and there is no problem of local optimal solution. This avoids the local optimal trap that may be encountered in nonlinear programming. Moreover, the solution of the linear programming problem is relatively insensitive to changes in parameters, that is, when the problem parameters change slightly, the change in the solution is also relatively small. This helps to deal with the uncertainty of data in practical applications.
[0055] Moreover, converting nonlinear constraints into linear constraints can simplify the complexity of the problem, which is easier to handle than nonlinear constraints. This reduces the complexity of the problem and makes the solution process more efficient. As mentioned earlier, there are efficient solution algorithms for linear programming problems. After converting nonlinear constraints into linear constraints, these algorithms can be used to quickly solve them. Moreover, linear constraints are usually easier to verify the feasibility of the solution than nonlinear constraints. This helps to ensure that the final solution meets all constraints, thereby improving the reliability of the solution. This helps to determine better output data.
[0056] As an optional embodiment, after solving the objective function under constraints and determining the global optimal unit output in the multi-energy coordinated power system, it also includes: controlling the corresponding unit to output at the global optimal unit output.
[0057] In this embodiment, the steps after solving the objective function under the constraint conditions and determining the global optimal unit output in the multi-energy coordinated power system are explained. After determining the global optimal unit output, the corresponding unit can also be controlled to output at the global optimal unit output. Through the global optimization algorithm, the output of each unit can be accurately calculated and allocated to minimize the overall power generation cost. Through the global optimal unit output scheduling, the efficient operation of the unit can also be ensured, unnecessary energy waste can be reduced, and the energy utilization efficiency of the entire system can be improved.
[0058] As an optional embodiment, the power system constraints include at least one of the following: gas unit operation constraints, new energy reduction constraints, electric power balance constraints, rotating reserve joint opportunity constraints, and power network joint opportunity constraints. The thermal system constraints include at least one of the following: CHP unit operation constraints, gas boiler operation constraints, heat source and heat load node constraints, pipeline dynamic characteristics constraints, and heat network temperature constraints. The natural gas system constraints include at least one of the following: P2G unit operation constraints, gas source output constraints, node flow balance constraints, pipeline flow constraints, and node pressure constraints.
[0059] In this embodiment, the power system, thermal system and natural gas system each have a series of constraints, and the existence and compliance of these constraints have significant benefits for the safe, stable, economical and efficient operation of the system. Setting the operation constraints of the gas unit can ensure the safety of the unit: by limiting the operating parameters of the unit (such as temperature, pressure, speed, etc.), the unit is prevented from overloading, and equipment damage and safety accidents are avoided. It can also improve the power generation efficiency: operate the unit under the optimal working conditions, reduce energy waste, and improve power generation efficiency and economy. By setting the constraints on the reduction of new energy, the stability of the power grid can be guaranteed: when there is excess power generation from new energy, the power generation of new energy can be reasonably reduced to prevent voltage fluctuations and frequency deviations in the power grid, and ensure the stable operation of the power grid. It can also promote the consumption of new energy. By setting the power balance constraints, the balance of supply and demand can be maintained, ensuring that the total power generation power and the total load power in the power system are balanced, and preventing power grid collapse and large-scale power outages. It can also improve the quality of power supply, maintain the stability of the power grid frequency and voltage by quickly responding to load changes, and improve the quality of power supply and user satisfaction. By setting the spinning reserve joint opportunity constraint, the system reliability can be enhanced. By reserving a certain capacity of spinning reserve power, it can respond to emergencies and load fluctuations, and enhance the reliability and resilience of the power system. In addition, it can also optimize resource allocation, reasonably allocate reserve power while ensuring reliability, and improve resource utilization efficiency and economy. By setting the power network joint opportunity constraint, it can promote regional coordination, realize resource sharing and complementary advantages through joint dispatch and optimal configuration between regional power grids, and improve the operation efficiency and stability of the entire power system. It can also respond to large-scale faults. When large-scale faults occur, it can quickly restore power supply and reduce losses, and improve the emergency response capability of the power system. By setting thermal system constraints, such as CHP unit operation constraints, it can improve energy utilization: by simultaneously supplying power and heat, energy cascade utilization and efficient conversion can be achieved, and energy utilization and economy can be improved. It can also reduce emissions: compared with separate power supply or heating systems, CHP units can reduce pollutant emissions and greenhouse gas emissions. By setting gas boiler operation constraints, the quality of heating can be guaranteed. By limiting the operating parameters of gas boilers (such as temperature, pressure, etc.), the stability of heating temperature and flow can be ensured, and the quality of heating can be improved. By setting constraints on heat source and heat load nodes, supply and demand matching can be achieved. By rationally allocating the heating demand of heat source and heat load nodes, supply and demand balance and reasonable heat distribution can be achieved. Improving system efficiency can reduce heat loss and waste and improve the operating efficiency of the entire thermal system. By setting pipeline dynamic characteristic constraints, the stability of heating can be guaranteed: considering the dynamic characteristics of pipelines such as thermal inertia and heat loss, the stability and reliability of the heating system can be ensured. By setting heat network temperature constraints, the highest and lowest temperatures in the heat network can be limited to prevent equipment from being damaged by overheating or overcooling and users from being scalded or frozen.By setting the operation constraints of P2G units, energy conversion can be promoted. Electricity can be converted into natural gas for storage through P2G units to achieve diversified utilization and balanced regulation of energy. It can also improve energy security, increase the diversity of natural gas supply sources and reduce the risk of dependence on a single energy source. By setting the gas source output constraints, the gas supply can be stable: by limiting the output range of the gas source, the gas pressure fluctuations and safety accidents caused by overload operation or insufficient gas supply can be prevented. By setting the node flow balance constraints, the flow of each node can be monitored and adjusted to ensure the continuous flow of natural gas in the pipeline network and the balance of supply and demand. By setting the pipeline flow constraints, the pipeline can be prevented from being damaged or causing safety accidents due to overload operation by limiting the flow range in the pipeline. By setting the node pressure constraints, the gas supply pressure can be stable: by monitoring and adjusting the pressure of each node. So that the multi-energy coordinated power system can achieve the effect of safe and efficient operation.
[0060] Based on the above embodiments and optional embodiments, an optional implementation is provided, which is described in detail below.
[0061] In related technologies, in actual dispatch, when the output of new energy is lower than expected, carbon-intensive units may have to be dispatched to meet the power deviation of new energy, resulting in additional carbon emissions, which will cause the total carbon emissions of the multi-energy coordinated power system to exceed the prescribed limit. Therefore, fully considering the impact of new energy uncertainty on carbon emissions and ensuring the reliability of carbon emission constraints is a difficult problem in actual dispatch.
[0062] In view of the uncertainty of new energy, the main optimization methods can be divided into stochastic optimization, robust optimization, and distributionally robust optimization. Stochastic optimization is based on the true distribution of new energy uncertainty to achieve uncertainty modeling in scheduling. Distributionally robust optimization can produce scheduling results that take into account both economy and conservatism. DRO makes weak assumptions about the exact probability distribution of uncertainty by assuming that the true distribution lies in a fuzzy set containing a series of distributions and only uses the known parts of its statistical properties, such as moment information or deviations from the empirical distribution. However, the above research still has some shortcomings:
[0063] 1) In the above studies, when considering fuzzy sets, in actual scheduling, targeted information is obtained from historical data samples. Such considerations may lead to the inclusion of distribution information in the fuzzy set that is inconsistent with the actual distribution.
[0064] 2) In the above studies, most of them adopted individual chance constraints or transformed joint chance constraints into individual chance constraints based on Bonferroni inequality, which cannot accurately reflect the coupling characteristics between different chance constraints and may not guarantee the reliability of scheduling results.
[0065] In view of this, an optional implementation manner of the present invention provides a method for determining unit output in a multi-energy coordinated power system to solve the problem of low-carbon scheduling of a multi-energy coordinated power system taking into account the uncertainty of new energy output.
[0066] Step 1: Construct a joint fuzzy set based on the historical data set of renewable energy output;
[0067] In distributional robust optimization, the construction method of fuzzy sets is crucial. In current research, fuzzy sets based on moment information and fuzzy sets based on Wasserstein metrics are considered separately. In actual scheduling, partial moment information and empirical distribution information can be obtained simultaneously from historical data samples. Therefore, a single fuzzy set may contain extremely conservative distribution information that leads to solutions for distributional robust optimization. In order to reduce this conservatism, the present invention constructs the fuzzy sets in distributional robust optimization as the intersection of multiple fuzzy sets, thereby generating a joint fuzzy set to simultaneously integrate the advantages of different fuzzy sets and exclude extreme distributions belonging to each set, thereby improving the economy and reliability of the scheduling results. Therefore, the present invention refers to this model as a joint distributional robust optimization model.
[0068] The joint fuzzy set construction process in the present invention mainly consists of the following three sub-steps:
[0069] Step 11: Obtaining a historical data set of new energy output information. The historical data set of the present invention is obtained through the historical new energy predicted output and prediction error in the multi-energy coordinated power system.
[0070] Step 12: Modeling of renewable energy output.
[0071] In actual scheduling, when the actual output of renewable energy deviates from its predicted output, the output of renewable energy is modeled as two parts: the predicted output and the prediction error containing uncertainty, namely:
[0072]
[0073] Where: is the real-time output of new energy unit j at time t; is the predicted output of new energy unit j at time t; It is the deviation between the real-time output and the predicted output of the new energy unit j at time t, that is, the prediction error, which is a random variable. The units of the above variables are all MW.
[0074] Step 13: Establish fuzzy sets based on 1-Wasserstein metric.
[0075] Constructing an empirical distribution of new energy forecast errors based on historical data
[0076]
[0077] Where: For The Dirac distribution centered on is the empirical distribution of sample N, Φ n is the new energy prediction error in historical data n; N is the number of historical samples.
[0078] 1-Wasserstein metric is a common method to measure the distance of probability distribution. Distance from experience distribution The 1-Wasserstein metric is defined as:
[0079]
[0080] Where: is the 1-Wasserstein metric; x1 and x2 are A random variable, is the distribution on the support set Ξ, Π(.) is the joint probability distribution between the two distributions; Ξ is the support set of the random variable.
[0081] As the sample size increases, based on the law of large numbers, the empirical distribution will converge to the true distribution, i.e. Therefore, the fuzzy set D based on 1-Wasserstein metric W Can be constructed as:
[0082]
[0083] Where: is a fuzzy set based on Wasserstein distance, θ W is the radius of the Wasserstein sphere; is the set of all distributions in the support set Ξ, which is defined as:
[0084]
[0085] Where: Δ P WD are the maximum and minimum values of the new energy prediction error respectively; E is the unit matrix, Φ is the The vector formed on j, t has the unit of MW.
[0086] Step 14: Establish fuzzy sets based on first-order moment information:
[0087] In addition to the above empirical distribution, historical data also contains moment information of new energy prediction errors. To describe the moment information in historical data, the present invention constructs a fuzzy set D based on the first-order moment information.M :
[0088]
[0089] Where: is a fuzzy set based on moment information; is the first-order moment information in historical data; θ M is the fuzzy concentrated distribution distance The degree of deviation, For uncertainty to satisfy the distribution The expectation operator when .
[0090] Step 15: Establish joint fuzzy sets.
[0091] In order to make full use of the advantages of the above-mentioned different fuzzy sets and eliminate the distribution information in the fuzzy set that is inconsistent with the actual distribution of new energy prediction errors, the present invention constructs a joint fuzzy set based on the above-mentioned two fuzzy sets.
[0092] Joint fuzzy set D J is defined as the intersection of the above fuzzy sets to screen the distribution information that satisfies both the 1-Wasserstein metric fuzzy set and the moment information fuzzy set, that is:
[0093]
[0094] Step 2: Establish a multi-period dispatching model for the multi-energy coordinated power system with joint distributed robust optimization.
[0095] The equipment in the multi-energy coordinated power system includes thermal power units, gas units, new energy units, combined heat and power (CHP) units, and power to gas (P2G) equipment, among which the new energy units have uncertainty. The electrical load in the system is supplied by thermal power units, gas units, new energy units, and CHP units, the gas load is supplied by gas sources, P2G equipment, and natural gas networks, and the heat load is supplied by CHP units, gas boilers, and heating networks.
[0096] The step 2 specifically comprises the following steps:
[0097] Step 21: Establish the constraints of the multi-period dispatch model of the multi-energy coordinated power system joint distributed robust optimization:
[0098] Step 211: Power system constraints:
[0099] 1) Operation constraints of thermal power units:
[0100]
[0101] Where: are the electric power of thermal power unit i under the predicted output of new energy and the actual output at time t respectively; is the power adjustment value of thermal power unit i at time t to offset the uncertainty of new energy; γ i,t is the adjustment coefficient of thermal power unit i at time t for the uncertainty of new energy; is the upward rotation reserve capacity of thermal power unit i at time t; is the downward rotation reserve capacity of thermal power unit i at time t; They are the maximum upward spinning reserve capacity and the maximum downward spinning reserve capacity of thermal power unit i at time t respectively.
[0102] 2) Gas unit operation constraints:
[0103]
[0104] Where: is the electric power of gas generator set c at time t; are the lower and upper limits of the electric power of gas unit c respectively; is the gas consumption of gas generator set c at time t; Both are energy consumption coefficients of gas unit c.
[0105] 3) New energy reduction constraints:
[0106]
[0107] Where: is the reduction amount of new energy unit j at time t.
[0108] 4) Electric power balance constraints.
[0109]
[0110] Where: is the electric power of the cogeneration unit g at time t; is the electric load k at time t; They are a collection of thermal power units, new energy units, gas units, cogeneration units, and power loads.
[0111] 5) Spinning reserve joint opportunity constraints:
[0112]
[0113] Where: RD is the risk factor set in the spinning reserve joint opportunity constraint.
[0114] 6) Constraints on power network joint opportunities:
[0115]
[0116] Where: L is the risk factor set in the power network joint opportunity constraint; is the maximum value of the allowable power flow of line l; N il 、N cl 、N jl 、N gl 、N gl 、N kl All are distribution transfer factors; A collection of power system lines.
[0117] Step 212: Establish thermal system constraints:
[0118] 1) CHP unit operation constraints:
[0119] The feasible region of a CHP unit is a linear combination of extreme points:
[0120]
[0121] Where: is the thermal power generated by CHP unit g at time t; They are all extreme points of g of CHP unit; is the power factor of CHP unit g at time t; M g is the number of extreme points of the cogeneration unit g.
[0122] 2) Gas boiler operation constraints:
[0123]
[0124] Where: is the thermal power generated by gas boiler b at time t; is the energy consumption coefficient of gas boiler b; is the gas consumption of gas boiler b at time t; It is the maximum value of thermal power generated by gas boiler h.
[0125] 3) Heat source and heat load node constraints:
[0126]
[0127] Where: are the fluid temperatures in the water supply pipe and the water return pipe at the heat source p and heat load q at time t respectively; are the fluid mass flow rates at the heat source p and heat load q respectively; is the thermal load at heat load q at time t; c is the specific heat capacity of the fluid.
[0128] 4) Pipeline dynamic characteristics constraints:
[0129] The present invention constructs a dynamic characteristic model of thermal pipelines based on the node method model and adopts a mass regulation method, that is, the pipeline mass flow is constant. The dynamic characteristics of the pipeline mainly include transmission delay and temperature loss. Taking the water supply pipeline as an example, its dynamic characteristic constraints are:
[0130]
[0131] Where: is the pipeline characteristic coefficient of pipeline b; ρ is the density of the fluid; A b , L b are the cross-sectional area and length of pipeline b respectively; Δt is the scheduling time interval; is the outlet temperature of water supply pipe b at time t when heat loss is ignored; are the inlet and outlet temperatures of water supply pipe b at time t respectively; is the mass flow rate of pipeline b; is the ceiling function.
[0132] 5) Heating network temperature constraints:
[0133]
[0134] Where: are the temperatures of the water supply and return nodes n at time t respectively; are the inlet and outlet temperatures of the return pipe b at time t respectively; are the lower and upper limits of the water supply pipe temperature respectively; are the lower and upper limits of the return pipe temperature respectively; The set of pipes that flow in and out of node n in the water supply pipeline.
[0135] Step 213: Establish natural gas system constraints:
[0136] 1) P2G unit operation constraints:
[0137]
[0138] Where: is the gas production of P2G unit g at time t; is the conversion efficiency of P2G unit g; is the electric power of P2G unit g at time t.
[0139] 2) Gas source output constraints:
[0140]
[0141] Where: is the gas production of gas source s at time t; are the lower and upper limits of the gas output of gas source s respectively.
[0142] 3) Node traffic balance constraints:
[0143]
[0144] Where: is the gas load v at time t.
[0145] 4) Pipeline flow constraints:
[0146] The present invention constructs an optimal scheduling model of the natural gas system based on a steady-state model, without considering the pipeline storage capacity, and the pipeline constraint is expressed by the Weymouth equation:
[0147]
[0148] Where: f mn,t is the flow rate of the natural gas pipeline mn at time t; π m,t , π n,t are the pressures of natural gas nodes m and n at time t; G mn is the dynamic characteristic parameter of the natural gas pipeline nm; f mn , They are the lower and upper limits of the flow rate of the natural gas pipeline mn respectively.
[0149] 5) Node pressure constraint:
[0150]
[0151] Where: π m , are the lower and upper limits of the pressure at the natural gas node m, respectively.
[0152] Step 214: Establish system carbon emission constraints:
[0153] For environmental protection reasons, carbon emissions associated with the consumption of natural gas and electricity are limited. In this invention, the carbon emission rates of different energy devices are defined as:
[0154]
[0155] Where: The carbon emission coefficient of both is ; is the carbon capture coefficient of the P2G unit; is the collection of gas sources; It is the total carbon emissions of the multi-energy coordinated power system within the entire dispatching range.
[0156] In order to limit carbon emissions while considering the uncertainty of new energy, the present invention models the carbon emission constraint as a joint opportunity constraint:
[0157]
[0158] Where: is the carbon emission limit of the system at time t; is the carbon emission reduction rate set at time t; δ C The risk factor set for the carbon emission constraint, is a collection of scheduling periods; is the probability of satisfying the joint chance constraint.
[0159] Step 22: Establish the objective function of the multi-period dispatching model of the multi-energy coordinated power system joint distributed robust optimization:
[0160] The objective function of the system is to minimize the comprehensive operating cost of the multi-energy coordinated power system, which specifically includes energy cost, new energy reduction cost, spinning reserve cost, and carbon emission cost, namely:
[0161]
[0162] Where: is the system energy cost at time t; Reduce the cost of new energy for the system at time t; is the system spinning reserve cost at time t; is the system carbon emission cost at time t; is the expectation operator.
[0163] Step 221: Establish Energy Cost:
[0164] Energy costs include coal consumption costs and natural gas costs of thermal power units. The coal consumption costs of thermal power units are a quadratic function of their output power, and the natural gas costs are a linear function of gas production, namely:
[0165]
[0166] Where: is the coal consumption cost of thermal power units at time t; is the natural gas cost at time t; are the coal consumption coefficients of thermal power unit i; is the cost coefficient of gas source s.
[0167] Step 222: Establish the penalty reduction cost:
[0168] The penalty cost of cutting new energy is a linear function of cutting new energy, that is:
[0169]
[0170] Where: is the unit reduction penalty cost coefficient of new energy unit j.
[0171] Step 223: Establish spinning reserve cost:
[0172] The spinning reserve cost is a linear function of the spinning reserve capacity of the thermal power unit, that is:
[0173]
[0174] Where: is the spinning reserve capacity cost of thermal power unit i.
[0175] Step 224: Establish carbon emission costs:
[0176] The carbon emission cost of the multi-energy coordinated power system can be expressed as a linear function of the total carbon emissions of the system, namely:
[0177]
[0178] Where: c C is the system carbon emission cost coefficient.
[0179] Step 3: Transform the solvability of the joint distribution robust model.
[0180] Step 31: Joint distribution robust joint opportunity constraint transformation:
[0181] First, the joint chance constraint in the above model is restructured into a compact form:
[0182]
[0183] Where: y is the vector consisting of decision variables in the model; a r , b r 、c r ,d r are the coefficient matrices in the joint opportunity constraint; R is the number of individual opportunity constraints in the joint opportunity constraint; δ is the set risk coefficient.
[0184] The joint opportunity constraint (50) can be equivalent to:
[0185]
[0186] Where: I is the indicator function.
[0187] Therefore, the joint opportunity constraint (50) can be transformed into the following objective function (59) and constraints (60)-(62):
[0188]
[0189] Where: (60) is the total probability law constraint, (54) is the Wasserstein metric constraint, and (62) is the first-order moment information constraint.
[0190] According to the definition of 1-Wasserstein metric and empirical distribution function, we can get:
[0191]
[0192] Substituting (56)-(57) into the optimization model (52)-(55), and according to the Lagrange duality theorem, the joint chance constraint can be transformed into a nonlinear constraint (58)-(64) containing bilinear terms:
[0193]
[0194]
[0195] ‖ψ nr (a r y+c r )-Dσ nr -μ+v‖ ∞ ≤η (60)
[0196]
[0197] ‖-Dσ n0 -μ+v‖ ∞ ≤η (62)
[0198] h≥0,μ≥0,n≥0 (63)
[0199] σ n0 ≥0,σ nr ≥0,ψ nr ≥0 (64)
[0200] Where: h, μ, n, σ n0 , σ nr , nr , α n All are auxiliary variables introduced in the joint opportunity constraint; ‖.‖ ∞ is an infinite norm.
[0201] Although the nonlinear constraints (59)-(60) containing bilinear terms can be solved directly by a nonlinear solver, in actual scheduling, as the sample size and the scale of the optimization problem increase, the solution time of the nonlinear constraints will increase exponentially, which is computationally very challenging. Therefore, the present invention introduces McCormick envelope relaxation to linearize the bilinear terms in (59)-(60) to improve the solution efficiency of the model.
[0202] First, let the auxiliary variable κ nr =ψ nr y, based on the McCormick envelope, bilinear term κ nr =ψ nr y can be transformed into constraints (65)-(68):
[0203]
[0204] κ nr ≥ψ nr L y (67)
[0205] κ nr ≤ψ nr U y (68)
[0206] Where: U y , L y are the upper and lower bounds of the decision variable y, respectively. is the auxiliary variable ψ nr The upper bound of .
[0207] Therefore, the auxiliary variable κ is introduced nr =ψ nr y replaces the bilinear terms in constraints (59)-(60), then the nonlinear constraints (59)-(60) can be transformed into linear constraints (65)-(68) and (69)-(70):
[0208]
[0209] ‖a r k nr +ψ nr c r -Dσ nr -μ+v‖ ∞ ≤η (70)
[0210] Where: is the upper bound of the dual variable, which can be obtained through the following optimization problem:
[0211]
[0212]
[0213] After solving the optimization problem (71), It can be expressed as:
[0214]
[0215] It should be noted that since there is no coupling between different optimization problems (71), the solution speed can be further improved by solving them in parallel.
[0216] Step 32: Joint distribution robust objective function transformation:
[0217] Since there are quadratic terms in the objective function, the present invention first converts it into a linear objective function based on a linear approximation method:
[0218]
[0219] Where: is the optimal electric power of thermal power unit i when the new energy prediction error is zero.
[0220] Since the 1-Wasserstein metric in the present invention selects the 1-norm, the above model is a linear programming model, and the optimal solution can only be obtained at the extreme point. Therefore, the joint distribution robust optimization objective function can be transformed into a linear objective function (74) and linear constraints (75)-(81), that is:
[0221]
[0222] λ o ≥0,η o ≥0,κ o ≥0 (81)
[0223] Where: β o , λ o 、h o , κ o , s They are all auxiliary variables introduced in the objective function.
[0224] Step 4: Nonlinear Weymouth equation constraint transformation:
[0225] In the scheduling model, the Weymouth equation (37) is a nonlinear constraint and therefore cannot be quickly solved by a solver. In the present invention, the Weymouth equation is converted into a linear continuous model.
[0226] First, since the flow direction of natural gas cannot change frequently, constraint (37) can be simplified as:
[0227]
[0228] Secondly, in order to reduce the complexity of the Weymouth equation, auxiliary variables are introduced Substituting the quadratic term of the node pressure in equation (82) At the same time Then formula (82) can be transformed into:
[0229]
[0230] By taking the first-order derivative and the second-order derivative of function (83), we can obtain:
[0231]
[0232] According to Taylor's middle value theorem, for any point in the feasible region Existence is located and between, so that:
[0233]
[0234] because The second-order derivative of (85) is always less than zero, so:
[0235]
[0236] Where: is the selected Taylor expansion point.
[0237] Therefore, a set of different Taylor expansion points can be selected Approximation by formula (87) Thus, the Weymouth equation is linearized, namely:
[0238]
[0239] At the same time, in order to tighten constraint (88), a penalty term needs to be added to the objective function Where γ is a small positive constant, that is:
[0240]
[0241] Step 5: Model solving and dispatching. After the above transformation, the joint distributed robust dispatching model of the multi-energy coordinated power system is converted into a linear dispatching model, which can be directly solved by the solver. After being solved by the solver, the global optimal unit output of the multi-energy coordinated power system can be obtained. The dispatching center issues instructions based on the optimization results to dispatch the unit output.
[0242] Through the above optional implementation, at least the following beneficial effects can be achieved:
[0243] (1) An optional implementation of the present invention constructs the fuzzy set in the distributional robust optimization as the intersection of multiple fuzzy sets, thereby obtaining a joint fuzzy set, so as to make full use of the information in the historical data, eliminate the extreme error distribution information in the distributional robust fuzzy set that does not match the actual distribution, and improve the economy and reliability of scheduling;
[0244] (2) An optional implementation method of the present invention combines joint fuzzy sets and joint opportunity constraints to establish a joint distributed robust dispatch model for a multi-energy coordinated power system taking into account carbon emission constraints, so as to fully consider the uncertainty of new energy while limiting system carbon emissions;
[0245] (3) The optional implementation mode of the present invention is different from the common method of splitting the joint opportunity constraint into individual opportunity constraints based on the Bonferroni inequality. A novel method of transforming the joint opportunity constraint and the objective function is proposed to transform the joint distribution robust model into a deterministic linear scheduling model.
[0246] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0247] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.
[0248] Example 2
[0249] According to an embodiment of the present invention, there is also provided a device for implementing the above-mentioned method for determining the unit output in the multi-energy coordinated power system. Figure 2 is a structural block diagram of a device for determining unit output in a multi-energy coordinated power system according to an embodiment of the present invention. Figure 2 As shown, the device includes: an acquisition module 202, a construction module 204, a first determination module 206, a second determination module 208, an establishment module 210 and a third determination module 212. The device is described in detail below.
[0250] An acquisition module 202 is used to acquire historical output data of new energy sources in the multi-energy coordinated power system, wherein the historical output data of new energy sources is historical output data corresponding to new energy units in the multi-energy coordinated power system;
[0251] A construction module 204, connected to the acquisition module 202, is used to construct a joint fuzzy set based on the historical output data of new energy sources, wherein the joint fuzzy set is composed of at least two fuzzy sets, and the joint fuzzy set is used to predict the relationship between the input and output of the multi-period scheduling model;
[0252] A first determination module 206, connected to the construction module 204, is used to determine a multi-period dispatch model corresponding to the multi-energy coordinated power system based on a joint fuzzy set;
[0253] A second determination module 208, connected to the first determination module 206, is used to determine the constraints of the multi-period scheduling model, wherein the constraints include at least one of the following: power system constraints, thermal system constraints, natural gas system constraints, system carbon emission constraints, and the power system constraints include new energy constraints;
[0254] An establishing module 210, connected to the second determining module 208, is used to establish an objective function of the multi-period dispatching model, wherein the objective function is to minimize the comprehensive operating cost of the multi-energy coordinated power system, and the comprehensive operating cost includes energy cost, new energy reduction cost, spinning reserve cost, and carbon emission cost;
[0255] The third determination module 212 is connected to the establishment module 210 and is used to solve the objective function under the constraint conditions and determine the global optimal unit output in the multi-energy coordinated power system.
[0256] It should be noted here that the above-mentioned acquisition module 202, construction module 204, first determination module 206, second determination module 208, establishment module 210 and third determination module 212 correspond to steps S102 to S112 in the method for determining the unit output in a multi-energy cooperative power system, and the instances and application scenarios implemented by the multiple modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.
[0257] Example 3
[0258] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute instructions to implement any of the above-mentioned methods for determining unit output in a multi-energy coordinated power system.
[0259] Example 4
[0260] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned methods for determining the unit output in a multi-energy cooperative power system.
[0261] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0262] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0263] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0264] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0265] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0266] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0267] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining unit output in a multi-energy coordinated power system, characterized in that: include: Acquire historical output data of new energy in the multi-energy coordinated power system, wherein the historical output data of new energy is historical output data corresponding to the new energy units in the multi-energy coordinated power system; According to the new energy historical output data, a joint fuzzy set is constructed, wherein the joint fuzzy set is composed of at least two fuzzy sets, and the joint fuzzy set is used to predict the relationship between the input and output of the multi-period scheduling model; Determining a multi-period dispatching model corresponding to the multi-energy coordinated power system according to the joint fuzzy set; Determine the constraints of the multi-period dispatch model, wherein the constraints include at least one of the following: power system constraints, thermal system constraints, natural gas system constraints, and system carbon emission constraints, and the power system constraints include new energy constraints; Establishing the objective function of the multi-period dispatching model, wherein the objective function is to minimize the comprehensive operating cost of the multi-energy coordinated power system, and the comprehensive operating cost includes energy cost, new energy reduction cost, spinning reserve cost, and carbon emission cost; Solve the objective function under the constraints to determine the global optimal unit output in the multi-energy coordinated power system.
2. The method according to claim 1, characterized in that: Based on the historical output data of new energy sources, a joint fuzzy set is constructed, including: Determine a first fuzzy set based on a distribution difference metric, and determine a second fuzzy set based on first-order moment information, wherein the distribution difference metric is obtained based on the error distribution information of the new energy historical output data, and the first-order moment information is obtained based on the error mean information of the new energy historical output data; The joint fuzzy set is determined according to the first fuzzy set and the second fuzzy set.
3. The method according to claim 2, characterized in that Determine the first fuzzy set based on the distribution difference measure, including: Determining a target experience distribution according to the new energy historical output data, wherein the target experience distribution represents the distribution of the new energy historical output data; Determine the measurement probability distribution distance corresponding to the target empirical distribution, and determine the predetermined limiting radius; The first fuzzy set is determined according to the measured probability distribution distance and the predetermined limiting radius.
4. The method according to claim 2, characterized in that: Determine the second fuzzy set based on the first-order moment information, including: Determine output error mean data based on the historical output data of the new energy; determining a predetermined degree of deviation corresponding to the second fuzzy set; The second fuzzy set is determined according to the output error mean data and the predetermined offset degree.
5. The method according to claim 1, characterized in that Solving the objective function under the constraint conditions to determine the global optimal unit output in the multi-energy coordinated power system includes: Transforming the objective function to obtain a linear objective function; When there is a nonlinear constraint in the constraint condition, convert the nonlinear constraint into a linear constraint; Solve the linear objective function under the constraint conditions after conversion into linear constraints to determine the global optimal unit output.
6. The method according to claim 1, characterized in that After solving the objective function under the constraint conditions and determining the global optimal unit output in the multi-energy coordinated power system, the method further includes: The corresponding unit is controlled to output power according to the global optimal unit output.
7. The method according to any one of claims 1 to 6, characterized in that: Also includes: The power system constraints include at least one of the following: gas unit operation constraints, new energy reduction constraints, electric power balance constraints, spinning reserve joint opportunity constraints, power network joint opportunity constraints, The thermal system constraints include at least one of the following: CHP unit operation constraints, gas boiler operation constraints, heat source and heat load node constraints, pipeline dynamic characteristics constraints, heat network temperature constraints The natural gas system constraint conditions include at least one of the following: P2G unit operation constraint, gas source output constraint, node flow balance constraint, pipeline flow constraint, and node pressure constraint.
8. A device for determining unit output in a multi-energy coordinated power system, characterized in that: include: An acquisition module, used to acquire historical output data of new energy in a multi-energy coordinated power system, wherein the historical output data of new energy is historical output data corresponding to new energy units in the multi-energy coordinated power system; A construction module, used to construct a joint fuzzy set based on the new energy historical output data, wherein the joint fuzzy set is composed of at least two fuzzy sets, and the joint fuzzy set is used to predict the relationship between the input and output of the multi-period scheduling model; A first determination module is used to determine a multi-period dispatching model corresponding to the multi-energy coordinated power system according to the joint fuzzy set; A second determination module is used to determine the constraint conditions of the multi-period scheduling model, wherein the constraint conditions include at least one of the following: power system constraint conditions, thermal system constraint conditions, natural gas system constraint conditions, and system carbon emission constraint conditions, and the power system constraint conditions include new energy constraint conditions; Establishing a module for establishing an objective function of the multi-period dispatching model, wherein the objective function is to minimize the comprehensive operating cost of the multi-energy coordinated power system, and the comprehensive operating cost includes energy cost, new energy reduction cost, spinning reserve cost, and carbon emission cost; The third determination module is used to solve the objective function under the constraint conditions and determine the global optimal unit output in the multi-energy coordinated power system.
9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to execute the instructions to implement the method for determining unit output in a multi-energy coordinated power system as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for determining unit output in a multi-energy coordinated power system as described in any one of claims 1 to 7.
