Method and device for determining feasible region of micro-grid, computer equipment and storage medium
By building a static security constraint model and a power-cost feasible domain model, combined with the operating cost constraints of distributed resources, the complex problem of feasible domain solving of microgrids is solved, the solution efficiency and accuracy are improved, and the effective integration of microgrids is achieved and The efficiency of the power system is improved.
Patent Information
- Application Number
- CN202411420944.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-12
- Publication Date
- 2024-11-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The feasible domain solution of the microgrid is complex and the constraints are incomplete, making it difficult to effectively integrate distributed resources and improve the efficiency and reliability of the power system.
By obtaining the basic operation data of the microgrid, a static security constraint model is built, and the power-cost feasible domain model is built using constraint aggregation theory, taking into account the operation cost constraints of distributed resources, simplifying data transmission, and improving solution efficiency and accuracy.
The simplification of feasible domain solution of microgrid and comprehensive consideration of constraints is achieved, the calculation accuracy and efficiency of the power-cost feasible domain of microgrid is improved, and the problem of complex and incomplete constraints is solved.
Smart Images

Figure CN118970953A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of microgrid static safe operation, and in particular to a method, device, computer equipment and storage medium for determining a feasible domain of a microgrid. Background Art
[0002] As the penetration rate of distributed renewable energy continues to increase, microgrids can fully integrate and utilize it, which is a research hotspot in the industry. At present, the research on the economic operation of distributed resources focuses on the economic operation model and algorithm of microgrids, while there are few reports on the access conditions, licensing scope and responsibilities and rights of distributed resources. In addition, the planning and design of distributed resources to reduce ineffective investment in power systems also needs to be further studied. Distributed resources can actively respond to grid demand in a friendly manner, provide reliable and clean electricity during peak hours when the power supply of large power grids is tight, and alleviate transmission congestion, which is of great significance to the power supply planning and expansion planning of power systems. Due to the nonlinearity of the power flow equation, the feasible domain of the microgrid is complex to solve, and the operating cost constraints of distributed resources are not considered when calculating the feasible domain of the microgrid. Therefore, a method for solving the feasible domain of the microgrid with simple solutions and comprehensive constraints is urgently needed. Summary of the invention
[0003] In view of this, the present invention provides a method, apparatus, computer equipment and storage medium for determining a feasible domain of a microgrid, so as to solve the problems of complex solution of the feasible domain of the microgrid and incomplete constraint conditions.
[0004] In a first aspect, the present invention provides a method for determining a feasible region of a microgrid, the method comprising: Obtain basic operation data of the microgrid; A static security constraint model of the microgrid is constructed based on the microgrid operation constraints determined by the basic operation data, the distributed resource operation constraints in the microgrid, and the distributed resource cost constraints; Based on the static security constraint model, the power-cost feasible domain model of the microgrid is constructed using constraint aggregation theory. The power-cost feasible domain of the microgrid is determined based on the feasible domain model.
[0005] The method for determining the feasible domain of a microgrid provided by the present invention comprehensively considers the constraints of a static safety constraint model of a microgrid based on the microgrid operation constraints determined by the operation basic data, the distributed resource operation constraints in the microgrid, and the distributed resource cost constraints, and constructs a power-cost feasible domain model of the microgrid using the constraint aggregation theory based on the static safety constraint model, and determines the power-cost feasible domain of the microgrid based on the feasible domain model, thereby achieving the purpose of determining the feasible domain of the microgrid according to a comprehensive microgrid constraint model. The feasible domain model of the microgrid constructed using the constraint aggregation theory based on the static safety constraint model reduces the transmission of the amount of data, makes the solution of the power-cost feasible domain of the microgrid simple, improves the efficiency and accuracy of the solution of the feasible domain of the microgrid, and solves the problems of complex solution of the feasible domain of the microgrid and incomplete constraints.
[0006] In an optional implementation, the basic operation data of the microgrid includes: the number of nodes of the microgrid, node voltage, node phase angle, active power and reactive power of distributed resources at the node, the upper limit of apparent power transmission of distribution lines and transformers between any two nodes, and the upper and lower limits of node voltage allowed for safe operation of the microgrid; The microgrid operation constraints based on the basic operation data include: The constraints of the microgrid power flow equation are constructed based on the number of microgrid nodes, node voltage and node phase angle; Based on the constraints of the microgrid power flow equation and the active power and reactive power of the distributed resources at the node, the node active power and reactive power balance equation constraints are constructed; Construct the transmission capacity constraints of distribution lines and transformers based on the apparent power transmission upper limit of distribution lines and transformers between any two nodes; Construct node voltage upper and lower limit constraints based on the node voltage upper and lower limits allowed for safe operation of the microgrid; The operation constraints of the microgrid are determined based on the constraints of the microgrid power flow equation, the constraints of the node active power and reactive power balance equation, the transmission capacity constraints of the distribution lines and transformers, and the upper and lower limit constraints of the node voltage.
[0007] The method for determining the feasible domain of a microgrid provided by the present invention determines the operation constraints of the microgrid by constructing the microgrid power flow equation constraints, the node active power and reactive power balance equation constraints, the distribution line and transformer transmission capacity constraints, and the node voltage upper and lower limit constraints, thereby achieving the purpose of comprehensively describing the operation constraints of the microgrid and providing a basis for the subsequent construction of a static safety constraint model of the microgrid. In an optional implementation, the basic operation data of the microgrid further includes: active power and reactive power generated by distributed resources at nodes in the microgrid, and upper and lower limits of power angles generated by distributed resources at nodes; The distributed resource operation constraints in the microgrid based on the basic operation data include: The active power and reactive power of distributed resource generation at the nodes in the microgrid construct the upper and lower limits of active power and reactive power of distributed resource generation; Construct capacity constraints for distributed resources based on active power upper and lower limits and reactive power upper and lower limits; Based on the upper and lower limits of active power and reactive power, as well as the upper and lower limits of the power angle of the node distributed resource generation, the reactive power output constraints of the distributed resources are constructed; The distributed resource operation constraints are determined based on the active power upper and lower limit constraints and reactive power upper and lower limit constraints of the distributed resources, the capacity constraints of the distributed resources and the reactive power output constraints of the distributed resources.
[0008] The method for determining the feasible domain of a microgrid provided by the present invention determines the operating constraints of distributed resources by constructing upper and lower limits of active power and upper and lower limits of reactive power of distributed resources, capacity constraints of distributed resources and reactive power output constraints of distributed resources, thereby achieving the purpose of comprehensively describing the operating constraints of distributed resources and providing a basis for the subsequent construction of a static safety constraint model of the microgrid and the actual scheduling of distributed resources.
[0009] In an optional implementation, the basic operation data of the microgrid further includes: the cost of power generation from distributed resources; Building distributed resource cost constraints based on basic operation data includes: Divide the distributed resource power generation cost into a segmented ladder manner to obtain multiple cost segmentation intervals; Determining a cost piecewise linear function based on a plurality of cost segmentation intervals; Construct distributed resource cost constraints based on piecewise linear cost functions.
[0010] The method for determining the feasible domain of a microgrid provided by the present invention divides the distributed resource power generation cost in a step-by-step manner to obtain multiple cost segmentation intervals; determines a cost piecewise linear function based on the multiple cost segmentation intervals; and constructs a distributed resource cost constraint based on the cost piecewise linear function, thereby achieving the purpose of constructing a distributed resource cost constraint through a cost piecewise function. The constructed distributed resource cost constraint better reflects the step-by-step manner of the distributed resource power generation cost, and provides a basis for subsequently determining the power-cost feasible domain of the microgrid.
[0011] In an optional implementation, before constructing a power-cost feasible domain model of a microgrid using constraint aggregation theory based on a static security constraint model, the method for determining a feasible domain of a microgrid further includes: The constraints of the microgrid power flow equation and the transmission capacity constraints of the distribution lines and transformers are linearized to obtain linearized constraints of the microgrid power flow equation and the transmission capacity constraints of the distribution lines and transformers.
[0012] The method for determining the feasible domain of a microgrid provided by the present invention makes it complicated to solve the feasible domain of the microgrid because the constraints of the microgrid power flow equation and the transmission capacity constraints of the distribution lines and transformers are in nonlinear form. Therefore, it is necessary to linearize the constraints of the microgrid power flow equation and the transmission capacity constraints of the distribution lines and transformers. After linearization, the amount of data calculation in the feasible domain of the microgrid is reduced, thereby achieving the purpose of simple solution.
[0013] In an optional implementation, constructing a power-cost feasible domain model of a microgrid based on a static security constraint model and using constraint aggregation theory includes: Determine the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector based on the linearized microgrid power flow equation constraints, distribution line and transformer transmission capacity constraints, node active power and reactive power balance equation constraints, node voltage upper and lower limit constraints and distributed resource operation constraints; The feasible domain constraints of the microgrid are constructed based on the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector, active power of the microgrid gateway and distributed resource cost constraints; The power-cost feasible domain model of the microgrid is constructed based on the feasible domain constraints of the microgrid.
[0014] The method for determining the feasible domain of a microgrid provided by the present invention determines the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector based on the linearized microgrid power flow equation constraints, distribution line and transformer transmission capacity constraints, node active power and reactive power balance equation constraints, node voltage upper and lower limit constraints and distributed resource operation constraints, and constructs the feasible domain constraints of the microgrid based on the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector, the active power of the microgrid gateway and the distributed resource cost constraints, so that the feasible domain constraints of the microgrid take into account the active power and distributed resource cost constraints of the microgrid, and achieves the purpose of constructing a power-cost feasible domain model of the microgrid based on the feasible domain constraints of the microgrid, and provides a basis for subsequently determining the power-cost feasible domain of the microgrid based on the power-cost feasible domain model of the microgrid. In an optional implementation, determining the power-cost feasible region of the microgrid based on the power-cost feasible region model includes: Based on the feasible domain model, the vertex enumeration algorithm is used to calculate the approximate value of the feasible domain of the microgrid output; The approximate value of the microgrid output feasible domain is mapped to a fixed point to obtain the microgrid power-cost feasible domain.
[0015] The method for determining the feasible domain of a microgrid provided by the present invention adopts a vertex enumeration algorithm based on a feasible domain model to calculate an approximate value of the feasible domain of a microgrid output; the approximate value of the feasible domain of a microgrid output is fixed-point mapped to obtain a microgrid power-cost feasible domain, thereby improving the calculation accuracy and precision of the microgrid power-cost feasible domain.
[0016] In a second aspect, the present invention provides a device for determining a feasible region of a microgrid, the device comprising: An acquisition module is used to obtain basic operation data of the microgrid; The first building module is used to build a static security constraint model of the microgrid based on basic operation data; The second building module is used to build a power-cost feasible domain model of the microgrid based on the static security constraint model and the constraint aggregation theory; The determination module is used to determine the feasible domain of the micro-electric power-cost network based on the feasible domain model.
[0017] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for determining a feasible domain of a microgrid according to the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0018] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method for determining a feasible domain of a microgrid according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 is a flow chart of a method for determining a feasible region of a microgrid according to an embodiment of the present invention; Figure 2 is a flow chart of another method for determining a feasible region of a microgrid according to an embodiment of the present invention; Figure 3 is a flow chart of another method for determining a feasible region of a microgrid according to an embodiment of the present invention; FIG4 (a) is a schematic diagram of slopes corresponding to each segmented interval according to an embodiment of the present invention; FIG4( b ) is a schematic diagram of a piecewise linear function according to an embodiment of the present invention; Figure 5 is a structural block diagram of a device for determining a feasible region of a microgrid according to an embodiment of the present invention; Figure 6 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0022] According to an embodiment of the present invention, an embodiment of a method for determining a feasible domain of a microgrid 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.
[0023] In this embodiment, a method for determining a feasible region of a microgrid is provided, which can be used for the above-mentioned microgrid. Figure 1 is a flow chart of a method for determining a feasible region of a microgrid according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps: Step S101, obtaining basic operation data of the microgrid.
[0024] Specifically, Micro-Grid, also known as microgrid, refers to a small power distribution system composed of distributed resources, energy storage devices, energy conversion devices, loads, monitoring and protection devices, etc. Distributed resources, energy storage devices, energy conversion devices, loads, monitoring and protection devices can be equivalent to each node, and the microgrid can be equivalent to a small power distribution system composed of multiple nodes, which can operate independently and be interconnected with the upper power grid.
[0025] The basic operating data of the microgrid include: microgrid connection topology, conductance and susceptance parameters of distribution lines and transformers in the microgrid, transmission capacity limit of distribution lines, upper and lower limits of node voltage allowed for safe operation of the microgrid, upper and lower limits of active and reactive output of distributed resources within the microgrid (i.e., upper and lower limits of active power and reactive power of distributed resources within the microgrid), and active and reactive load forecasts of load nodes within the distribution network.
[0026] Step S102, constructing a static security constraint model of the microgrid based on the microgrid operation constraints determined by the basic operation data, the distributed resource operation constraints in the microgrid, and the distributed resource cost constraints.
[0027] Specifically, microgrid operation constraints, also known as microgrid static operation constraints, are important technical means to ensure the balance between power generation and load and maintain the frequency quality of the distribution system in the microgrid at all times. They include internal power balance constraints, output upper and lower limit constraints, exchange power upper and lower limit constraints, and battery operation constraints.
[0028] The operating constraints of distributed resources mainly involve the distributed power generation output of each node in the microgrid.
[0029] Distributed resource cost constraints refer to the costs involved in the operation of each distributed generation resource.
[0030] The static security constraint model of the microgrid finally constructed can be equivalent to a polyhedron structure.
[0031] Step S103, constructing a power-cost feasible domain model of the microgrid using constraint aggregation theory based on the static security constraint model.
[0032] Specifically, constraint aggregation theory refers to aggregating the variable coupling constraints and upper and lower limit constraints of variables in the static safety constraint model to construct a feasible domain model that considers power and cost constraints in the microgrid. Since the static safety constraint model of the microgrid can be equivalent to a polyhedron structure, the power-cost feasible domain model of the microgrid constructed based on the static safety constraint model using constraint aggregation theory can also be equivalent to a polyhedron structure.
[0033] Step S104: determining the power-cost feasible region of the microgrid based on the feasible region model.
[0034] Specifically, the feasible domain of a microgrid refers to the set of solutions that satisfy all constraints in the optimal design of the microgrid's optimal performance, which is a two-dimensional plane. The power-cost feasible domain of a microgrid is the set constructed under the constraints of the active power and distributed resource cost of the microgrid when the optimal design of the microgrid's optimal performance is satisfied.
[0035] The method for determining the feasible domain of a microgrid provided in this embodiment considers all constraints of a static safety constraint model of a microgrid based on microgrid operation constraints determined by operation basic data, operation constraints of distributed resources in the microgrid, and cost constraints of distributed resources. A power-cost feasible domain model of the microgrid is constructed based on the static safety constraint model using constraint aggregation theory. The power-cost feasible domain of the microgrid is determined based on the feasible domain model, thereby achieving the purpose of determining the feasible domain of the microgrid based on a comprehensive microgrid constraint model. The feasible domain model of the microgrid is constructed based on the static safety constraint model using constraint aggregation theory, which reduces the amount of data transmission, makes the solution of the power-cost feasible domain of the microgrid simple, improves the efficiency and accuracy of the solution of the feasible domain of the microgrid, and solves the problems of complex solution of the feasible domain of the microgrid and incomplete constraints.
[0036] In this embodiment, a method for determining a feasible region of a microgrid is provided, which can be used in a microgrid. Figure 2 is a flow chart of a method for determining a feasible region of a microgrid according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps: Step S201, obtain the basic operation data of the microgrid. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.
[0037] Step S202: constructing a static security constraint model of the microgrid based on the microgrid operation constraints, distributed resource operation constraints and distributed resource cost constraints in the microgrid determined by the basic operation data.
[0038] Specifically, the above step S202 includes: Step S2021, determining microgrid operation constraints based on basic operation data.
[0039] In some optional implementations, the basic operation data of the microgrid includes: the number of nodes, node voltage, node phase angle, active power and reactive power of distributed resources at the node, the upper limit of apparent power transmission of distribution lines and transformers between any two nodes, and the upper and lower limits of node voltage allowed for safe operation of the microgrid; the above step S2021 includes: Step a1: construct the microgrid power flow equation constraints based on the number of microgrid nodes, node voltages and node phase angles.
[0040] Specifically, the microgrid power flow equation constraint is expressed as follows: (1); (2); in: , Node i and nodesj Distribution lines between ij Active power flow equation and reactive power flow equation; , Distribution lines ij The series susceptance and series conductance of , Node i and nodes j The node voltage amplitude of , Node i and nodes j Voltage phase angle; For distribution lines ij The voltage phase angle; is the node number set, i.e. the number of nodes, Representation and Node i A collection of node numbers that are directly connected via distribution lines.
[0041] Step a2: construct node active power and reactive power balance equation constraints based on the microgrid power flow equation constraints and the active power and reactive power of distributed resources at the node.
[0042] Specifically, the node active power and reactive power balance equation constraints are expressed as follows: (3); (4); Where: Equation (3) and Equation (4) are the node active power balance equation and reactive power balance equation respectively; , Node i Active power and reactive power generated by distributed resources; , The nodes are i Active load and reactive load; , They are the active power and reactive power of the micro-electric gateway interface; , Node j The threshold active power and threshold reactive power.
[0043] Step a3: constructing a transmission capacity constraint of a distribution line and a transformer based on the apparent power transmission upper limit of the distribution line and the transformer between any two nodes.
[0044] Specifically, the transmission capacity constraints of distribution lines and transformers are expressed as follows: (5); Where: Formula (5) represents the distribution line ij and the transmission capacity constraints of transformers; , Distribution lines ij and the transformer's apparent power transfer limit; is the number of segments for piecewise linearization of the transmission capacity constraint.
[0045] Step a4: construct node voltage upper and lower limit constraints based on the node voltage upper and lower limits allowed for safe operation of the microgrid.
[0046] Specifically, the node voltage upper and lower limit constraints are expressed as follows: (6); Where: Equation (6) represents the upper and lower limit constraints of node voltage; , are the upper and lower limits of node voltage allowed for safe operation of microgrid at node i, respectively.
[0047] Step a5, determining the microgrid operation constraints based on the microgrid power flow equation constraints, node active power and reactive power balance equation constraints, distribution line and transformer transmission capacity constraints, and node voltage upper and lower limit constraints.
[0048] Specifically, the microgrid operation constraints are expressed as: (1); (2); (3); (4); (5); (6).
[0049] Step S2022: constructing distributed resource operation constraints in the microgrid based on the basic operation data.
[0050] In some optional implementations, the active power and reactive power generated by the distributed resources at the nodes in the microgrid, and the upper and lower limits of the power angle of the distributed resources at the nodes; the above step S2022 includes: Step b1, the active power and reactive power of the distributed resource power generation nodes in the microgrid construct the upper and lower limit constraints of the active power and the upper and lower limit constraints of the reactive power of the distributed resource power generation.
[0051] Specifically, the upper and lower limits of active power and reactive power for distributed resource generation are expressed as follows: (7); in: , Node i The upper and lower limits of the active power of distributed resource generation, , Node i The upper and lower limits of active power generated by distributed resources.
[0052] Step b2: constructing capacity constraints of distributed resources based on active power upper and lower limit constraints and reactive power upper and lower limit constraints.
[0053] Specifically, the capacity constraint of distributed resources is expressed as follows: (8); in: is the apparent power transmission upper limit of distributed resources, that is, the capacity constraint of distributed resources.
[0054] Step b3, constructing the reactive power output constraint of distributed resources based on the upper and lower limits of active power and reactive power and the upper and lower limits of the power angle of node distributed generation.
[0055] Specifically, the reactive power output constraint of distributed resources is expressed as follows: (9); in: and Is a node i The upper and lower limits of the power angle of distributed generation.
[0056] Step b4, determining the distributed resource operation constraints based on the active power upper and lower limit constraints and reactive power upper and lower limit constraints of the distributed resources, the capacity constraints of the distributed resources and the reactive power output constraints of the distributed resources.
[0057] Specifically, the distributed resource operation constraints are expressed as: (7); (8); (9).
[0058] Step S2023, constructing distributed resource cost constraints based on the basic operation data.
[0059] In some optional implementations, the basic operation data of the microgrid further includes: distributed resource power generation cost; step S2023 includes: Step c1, dividing the distributed resource power generation cost in a segmented and stepped manner to obtain multiple cost segment intervals.
[0060] Specifically, the cost of distributed resource generation is expressed asx Indicates that it is divided into K Segment, that is K Segment interval .
[0061] Step c2, determining a cost piecewise linear function based on multiple cost segmentation intervals.
[0062] Specifically, as shown in Figures 4(a) and 4(b), K Segment interval ,use Ψ Represents a piecewise linear function operator, and let the piecewise linear function be The value at .
[0063] The piecewise linear function is expressed as follows: (10); in: , represents the slope of each piecewise linear function, Represents the intercept of the straight line corresponding to the piecewise linear function on the y-axis, Represents a piecewise linear function in The intercept at .
[0064] Step c1, constructing distributed resource cost constraints based on the cost piecewise linear function.
[0065] Specifically, the distributed resource cost constraint is expressed as follows: (11); in: for distributed generation costs; For Node i Distributed generation power.
[0066] Step S203: Based on the static security constraint model, the power-cost feasible domain model of the microgrid is constructed by using constraint aggregation theory. Figure 1 Step S103 of the illustrated embodiment will not be described in detail here.
[0067] Step S204: determine the microgrid power-cost feasible region based on the feasible region model. Figure 1 Step S104 of the illustrated embodiment will not be described in detail here.
[0068] The method for determining the feasible domain of a microgrid provided in this embodiment determines the operation constraints of the microgrid by constructing the constraints of the microgrid power flow equation, the constraints of the active power and reactive power balance equations of the nodes, the transmission capacity constraints of the distribution lines and transformers, and the upper and lower limits of the node voltage, thereby achieving the purpose of comprehensively describing the operation constraints of the microgrid. The operation constraints of distributed resources are determined by constructing the upper and lower limits of the active power and reactive power of distributed resources, the capacity constraints of distributed resources, and the reactive power output constraints of distributed resources, thereby achieving the purpose of comprehensively describing the operation constraints of distributed resources. The power generation cost of distributed resources is divided in a step-by-step manner to obtain multiple cost segmentation intervals; a cost piecewise linear function is determined based on multiple cost segmentation intervals; a distributed resource cost constraint is constructed based on the cost piecewise linear function, thereby achieving the purpose of constructing the distributed resource cost constraint through the cost piecewise function. The constructed distributed resource cost constraint better reflects the step-by-step manner of the power generation cost of distributed resources. The construction of the microgrid operation constraint, the distributed resource operation constraint in the microgrid, and the distributed resource cost constraint provides a basis for the subsequent determination of the power-cost feasible domain of the microgrid.
[0069] In this embodiment, a method for determining a feasible region of a microgrid is provided, which can be used in a microgrid. Figure 3 is a flow chart of a method for determining a feasible region of a microgrid according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps: Step S301, obtain the basic operation data of the microgrid. Figure 2 Step S201 of the illustrated embodiment will not be described in detail here.
[0070] Step S302: construct a static security constraint model of the microgrid based on the microgrid operation constraints, distributed resource operation constraints and distributed resource cost constraints determined by the operation basic data. Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.
[0071] Step S303, linearizing the microgrid power flow equation constraints and the distribution line and transformer transmission capacity constraints to obtain linearized microgrid power flow equation constraints and distribution line and transformer transmission capacity constraints.
[0072] Specifically, due to the nonlinearity of the constraints of the microgrid power flow equation, the feasible domain of the microgrid is complex to solve, so it is necessary to linearize the power flow equation. The linear initial approximation is to model the active and reactive power flows in a linearized form and achieve acceptable accuracy. For the microgrid power flow equation, the voltage squared is As the independent variable and ignoring network losses, the power flow equation can be approximated as the following linear form.
[0073] (12); The capacity constraint formula for the line and transformer is quadratic and convex, so the transmission capacity constraint of the distribution line and transformer is approximated into a piecewise linear form. ij The piecewise linear approximation form of is: (13); in: is the number of diagonal lines that approximate the capacity constraint of a branch.
[0074] Step S304: construct a power-cost feasible domain model of the microgrid using constraint aggregation theory based on the static security constraint model.
[0075] Specifically, the above step S304 includes: Step S3041, determine the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector based on the linearized microgrid power flow equation constraints, distribution line and transformer transmission capacity constraints, node active power and reactive power balance equation constraints, node voltage upper and lower limit constraints and distributed resource operation constraints.
[0076] Specifically, based on the linearized microgrid power flow equation constraints, distribution line and transformer transmission capacity constraints, node active power and reactive power balance equation constraints, node voltage upper and lower limit constraints, and distributed resource operation constraints, that is, equations (3) to (9) and (12) determine the node voltage phase angle vector , node voltage vector , node active power vector and node reactive power vector .
[0077] Node voltage phase angle vector Represents the set of magnitudes and directions of the node voltage phase angles of all nodes in the microgrid.
[0078] Node voltage vector Represents the set of node voltage magnitudes and directions for all nodes in the microgrid.
[0079] Node active power vector Represents the set of active power magnitudes and directions of all nodes in the microgrid that contain distributed resources.
[0080] Node active power vector Represents the set of reactive power magnitudes and directions of all nodes in a microgrid that contain distributed resources.
[0081] Step S3042, constructing the constraints of the feasible domain of the microgrid based on the node voltage phase angle vector, the node voltage vector, the node active power vector and the node reactive power vector, the active power of the microgrid gateway and the distributed resource cost constraints.
[0082] Specifically, the feasible region constraint of the microgrid is expressed as follows: (14); in: , , , They are respectively , , , is a vector of elements; , The value of is predetermined in the dispatching phase on the distribution side of the grid and becomes the boundary condition of the microgrid in the operation phase.
[0083] Step S3043, constructing a power-cost feasible domain model of the microgrid based on the feasible domain constraints of the microgrid.
[0084] Specifically, and , and The value of is optimized on the microgrid side during the operation phase to meet the dispatching requirements from the distribution system side. When and are used to replace the line capacity constraints and the power flow equation, the power-cost feasible domain model of the microgrid is constructed with the microgrid feasible domain constraints. The power-cost feasible domain model of the microgrid is a polyhedron, denoted as , and the feasible domain constraints of the microgrid after linearization are related.
[0085] Step S305: determining the power-cost feasible region of the microgrid based on the power-cost feasible region model.
[0086] Specifically, the above step S305 includes: Step S3051, using a vertex enumeration algorithm based on a feasible domain model to calculate an approximate value of a feasible domain of a microgrid output.
[0087] Specifically, the internal state variables of the microgrid, namely the node voltage phase angle vector , node voltage vector and internal decision variables, namely the node active power vector and the node reactive power vector , , aggregate the microgrid into constraints on active power and cost, and obtain the approximate value of the microgrid power-cost feasible domain, which is expressed by the following formula: (15); use It is indicated that the feasible domain of microgrid power-cost is approximately: (16); in: is the feasible domain of microgrid output, which is a bounded region in two-dimensional space, that is, the feasible domain approximation of the active power-cost of the microgrid, which can guarantee any feasible domain approximation that satisfies the constraints of All can be executed by the microgrid without violating the operation constraints.
[0088] Step S3052, performing fixed-point mapping on the approximate value of the microgrid output feasible region to obtain the microgrid power-cost feasible region.
[0089] The approximate value of the feasible domain of the microgrid output is mapped to a fixed point, and the linearized feasible domain of the microgrid can be expressed as a polygon , As the feasible region constraint after linearization Projection in the direction. Because of the constraints of overall power generation capacity and load, is a bounded region on the PC domain. Based on the linearization approximation, is a polyhedron, and its projection is a polygon with finite points. Since network loss is ignored, It will overestimate the output capacity and underestimate the input capacity of the microgrid. Therefore, it cannot be directly used to represent the approximation of the feasible domain of microgrid output. It is easy to obtain by calculation, and its vertices provide information for finding important vertices in the feasible region of the microgrid. It can be used as a guide to obtain an approximate microgrid power-cost feasible region.
[0090] The method for determining the feasible domain of a microgrid provided in this embodiment determines the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector based on the linearized microgrid power flow equation constraints, distribution line and transformer transmission capacity constraints, node active power and reactive power balance equation constraints, node voltage upper and lower limit constraints and distributed resource operation constraints, and constructs the feasible domain constraints of the microgrid based on the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector, the active power of the microgrid gateway and the distributed resource cost constraints, so that the feasible domain constraints of the microgrid take into account the active power and distributed resource cost constraints of the microgrid, and achieves the purpose of constructing a power-cost feasible domain model of the microgrid based on the feasible domain constraints of the microgrid, and provides a basis for determining the power-cost feasible domain of the microgrid based on the power-cost feasible domain model of the microgrid. Based on the feasible domain model, the vertex enumeration algorithm is used to calculate the approximate value of the feasible domain of the microgrid output; the approximate value of the feasible domain of the microgrid output is mapped to a fixed point to obtain the microgrid power-cost feasible domain, which improves the calculation accuracy and precision of the microgrid power-cost feasible domain.
[0091] In this embodiment, a device for determining a feasible domain of a microgrid is also provided, and the device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0092] This embodiment provides a device for determining a feasible region of a microgrid, such as Figure 5 As shown, including: An acquisition module 501 is used to acquire basic operation data of a microgrid; A first construction module 502 is used to construct a static security constraint model of the microgrid based on basic operation data; The second construction module 503 is used to construct a power-cost feasible domain model of the microgrid based on the static security constraint model and the constraint aggregation theory; The determination module 504 is used to determine the feasible region of the micro-electric power-cost network based on the feasible region model.
[0093] In some optional implementations, the first building module 502 includes: The first construction unit is used to construct microgrid operation constraints based on basic operation data.
[0094] The second construction unit is used to construct the distributed resource operation constraints in the microgrid based on the basic operation data.
[0095] The third construction unit is used to construct distributed resource cost constraints based on the basic operation data.
[0096] In some optional embodiments, the first building block includes: A first construction subunit is used to construct a microgrid power flow equation constraint based on the number of nodes, node voltages and node phase angles of the microgrid; A second construction subunit is used to construct node active power and reactive power balance equation constraints based on the microgrid power flow equation constraints and the active power and reactive power of the distributed resources at the node; A third construction subunit is used to construct a transmission capacity constraint of a distribution line and a transformer based on an apparent power transmission upper limit of the distribution line and the transformer between any two nodes; A fourth construction subunit is used to construct node voltage upper and lower limit constraints based on the node voltage upper and lower limits allowed for safe operation of the microgrid; The first determination subunit is used to determine the microgrid operation constraints based on the microgrid power flow equation constraints, node active power and reactive power balance equation constraints, distribution line and transformer transmission capacity constraints, and node voltage upper and lower limit constraints.
[0097] In some optional embodiments, the second building block includes: The fifth construction subunit is used to construct the upper and lower limit constraints of active power and reactive power of distributed resource power generation at the nodes in the microgrid.
[0098] The sixth construction subunit is used to construct the capacity constraints of the distributed resources based on the upper and lower limit constraints of active power and the upper and lower limit constraints of reactive power.
[0099] The seventh construction subunit is used to construct the reactive power output constraint of the distributed resources based on the upper and lower limit constraints of active power and the upper and lower limit constraints of reactive power and the upper and lower limit of the power angle of the node distributed resource power generation.
[0100] The second determination subunit is used to determine the distributed resource operation constraints based on the active power upper and lower limit constraints and reactive power upper and lower limit constraints of the distributed resources, the capacity constraints of the distributed resources and the reactive power output constraints of the distributed resources.
[0101] In some optional embodiments, the third building block includes: The division sub-unit is used to divide the distributed resource power generation cost in a segmented and stepped manner to obtain multiple cost segment intervals.
[0102] The third determining subunit is used to determine a cost piecewise linear function based on a plurality of cost segmentation intervals.
[0103] The eighth construction subunit is used to construct the distributed resource cost constraint based on the cost piecewise linear function.
[0104] In an optional implementation, the second building module 503 includes: The first determination unit is used to determine the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector based on the linearized microgrid power flow equation constraints, distribution line and transformer transmission capacity constraints, node active power and reactive power balance equation constraints, node voltage upper and lower limit constraints and distributed resource operation constraints.
[0105] The fourth construction unit is used to construct the microgrid feasible domain constraints based on the node voltage phase angle vector, the node voltage vector, the node active power vector and the node reactive power vector, the active power of the microgrid gateway and the distributed resource cost constraints.
[0106] The fifth construction unit is used to construct a power-cost feasible domain model of the microgrid based on the feasible domain constraints of the microgrid.
[0107] In an optional implementation, the determination module 504 includes: The calculation unit is used to calculate the approximate value of the feasible domain of the microgrid output by adopting a vertex enumeration algorithm based on the feasible domain model.
[0108] The mapping unit is used for performing fixed-point mapping on the approximate value of the microgrid output feasible domain to obtain the microgrid power-cost feasible domain.
[0109] The device for determining the feasible region of the microgrid also includes: The linearization module is used to linearize the constraints of the microgrid power flow equation and the transmission capacity constraints of the distribution line and transformer, so as to obtain linearized constraints of the microgrid power flow equation and the transmission capacity constraints of the distribution line and transformer.
[0110] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0111] The device for determining the feasible domain of the microgrid in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0112] The embodiment of the present invention also provides a computer device having the above Figure 5 The device for determining the feasible region of the microgrid is shown.
[0113] See also Figure 6, Figure 6 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.
[0114] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0115] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0116] The memory 20 may 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; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0117] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0118] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.
[0119] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device may be a touch screen.
[0120] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0121] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for determining a feasible region of a microgrid, characterized in that: The method comprises: Obtain basic operation data of the microgrid; Constructing a static security constraint model of the microgrid based on the microgrid operation constraints, distributed resource operation constraints and distributed resource cost constraints in the microgrid determined by the basic operation data; Based on the static security constraint model, a power-cost feasible domain model of the microgrid is constructed by using constraint aggregation theory; The power-cost feasible region of the microgrid is determined based on the feasible region model.
2. The method according to claim 1, characterized in that: The basic operation data of the microgrid include: the number of nodes of the microgrid, node voltage, node phase angle, active power and reactive power of distributed resources at the node, the upper limit of apparent power transmission of distribution lines and transformers between any two nodes, and the upper and lower limits of node voltage allowed for safe operation of the microgrid; Constructing microgrid operation constraints based on the basic operation data includes: Constructing a microgrid power flow equation constraint based on the number of nodes, node voltages, and node phase angles of the microgrid; Based on the constraints of the microgrid power flow equation and the active power and reactive power of the distributed resources at the node, the node active power and reactive power balance equation constraints are constructed; Construct the transmission capacity constraints of distribution lines and transformers based on the apparent power transmission upper limit of distribution lines and transformers between any two nodes; Construct node voltage upper and lower limit constraints based on the node voltage upper and lower limits allowed for safe operation of the microgrid; The microgrid operation constraints are determined based on the microgrid power flow equation constraints, node active power and reactive power balance equation constraints, distribution line and transformer transmission capacity constraints, and node voltage upper and lower limit constraints.
3. The method according to claim 2, characterized in that The basic operation data of the microgrid also includes: active power and reactive power generated by distributed resources at nodes in the microgrid, and upper and lower limits of power angles generated by distributed resources at nodes; Constructing the distributed resource operation constraints in the microgrid based on the basic operation data includes: The active power and reactive power of distributed resource generation at the nodes in the microgrid construct the upper and lower limits of active power and reactive power of distributed resource generation; Constructing capacity constraints of distributed resources based on the active power upper and lower limit constraints and the reactive power upper and lower limit constraints; Constructing the reactive power output constraint of the distributed resources based on the active power upper and lower limit constraints and the reactive power upper and lower limit constraints and the power angle upper and lower limits of the node distributed resource power generation; The distributed resource operation constraints are determined based on the active power upper and lower limit constraints and reactive power upper and lower limit constraints of the distributed resources, the capacity constraints of the distributed resources and the reactive power output constraints of the distributed resources.
4. The method according to claim 3, characterized in that The basic operation data of the microgrid also includes: the cost of distributed resource power generation; Constructing distributed resource cost constraints based on the basic operation data includes: Dividing the distributed resource power generation cost in a segmented and stepped manner to obtain a plurality of cost segment intervals; Determining a cost piecewise linear function based on a plurality of cost segmentation intervals; A distributed resource cost constraint is constructed based on the cost piecewise linear function.
5. The method according to claim 4, characterized in that Before constructing a power-cost feasible domain model of a microgrid using constraint aggregation theory based on the static security constraint model, the method further includes: The microgrid power flow equation constraints and the distribution line and transformer transmission capacity constraints are linearized to obtain linearized microgrid power flow equation constraints and distribution line and transformer transmission capacity constraints.
6. The method according to claim 5, characterized in that Based on the static security constraint model, the power-cost feasible domain model of the microgrid is constructed by using constraint aggregation theory, including: Determine the node voltage phase angle vector, node voltage vector, node active power vector and node reactive power vector based on the linearized microgrid power flow equation constraints, distribution line and transformer transmission capacity constraints, node active power and reactive power balance equation constraints, node voltage upper and lower limit constraints and distributed resource operation constraints; Constructing a microgrid feasible domain constraint based on the node voltage phase angle vector, the node voltage vector, the node active power vector and the node reactive power vector, the active power of the microgrid gateway and the distributed resource cost constraint; A power-cost feasible domain model of the microgrid is constructed based on the feasible domain constraints of the microgrid.
7. The method according to claim 1, characterized in that Determining the power-cost feasible region of the microgrid based on the power-cost feasible region model includes: Based on the feasible domain model, an approximate value of the feasible domain of the microgrid output is calculated by using a vertex enumeration algorithm; The approximate value of the microgrid output feasible domain is mapped to a fixed point to obtain the microgrid power-cost feasible domain.
8. A device for determining a feasible region of a microgrid, characterized in that: The device comprises: An acquisition module is used to obtain basic operation data of the microgrid; A first building module is used to build a static safety constraint model of the microgrid based on the basic operation data; A second building module is used to build a power-cost feasible domain model of the microgrid based on the static security constraint model and using constraint aggregation theory; A determination module is used to determine the microgrid power-cost feasible domain based on the feasible domain model.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for determining the feasible domain of a microgrid according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for determining the feasible region of a microgrid according to any one of claims 1 to 7.
Citation Information
Patent Citations
Hybrid microgrid optimization operation method considering harmonic and voltage imbalance constraints
CN110601198A
Method and device for identifying output feasible region of virtual power plant based on constraint aggregation
CN110783967A
Flexible aggregation method and device for adjustable resources in power distribution network, equipment and medium
CN115146872A
Distributed resource cluster optimization scheduling method and device based on feasible region projection
CN118381101A
Optimization method and apparatus for power management system
WO2023051101A1
Cited By
Power distribution network gateway active-reactive-voltage regulation feasible region calculation method
CN122136997A
