CN116432626A - Condition control section constraint-oriented standardized analysis method, device and equipment - Google Patents
Condition control section constraint-oriented standardized analysis method, device and equipment Download PDFInfo
- Publication number
- CN116432626A CN116432626A CN202310396814.0A CN202310396814A CN116432626A CN 116432626 A CN116432626 A CN 116432626A CN 202310396814 A CN202310396814 A CN 202310396814A CN 116432626 A CN116432626 A CN 116432626A
- Authority
- CN
- China
- Prior art keywords
- expression
- section
- conditional
- data
- control section
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004458 analytical method Methods 0.000 title claims abstract description 39
- 230000014509 gene expression Effects 0.000 claims abstract description 472
- 238000004364 calculation method Methods 0.000 claims abstract description 47
- 238000004590 computer program Methods 0.000 claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 26
- 238000012512 characterization method Methods 0.000 claims description 4
- 238000010195 expression analysis Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000008685 targeting Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/205—Parsing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/06—Energy or water supply
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Economics (AREA)
- Water Supply & Treatment (AREA)
- Public Health (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The present application relates to a method, apparatus, computer device, storage medium and computer program product for a standardized analysis of conditional control section constraints. The method comprises the following steps: reading basic power grid data and section data; carrying out conditional section expression logic calculation according to the section data to obtain a standardized conditional section expression; analyzing the single expression of the standardized conditional section expression to obtain the minimum single expression of the conditional section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression by combining the basic power grid data; and analyzing the control section expression according to the section data, obtaining a minimum single expression of the control section expression, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression by combining the basic power grid data. By adopting the method, standardized conditional control section constraint modeling data can be formed on the premise of ensuring the equivalent or complete conditional control section expression, and a foundation is provided for subsequent conditional control section standardized modeling.
Description
Technical Field
The present application relates to the field of power spot market clearing technology, and in particular, to a standardized analysis method, apparatus, computer device, storage medium and computer program product for conditional control section constraint.
Background
Along with the promotion of the power spot market reform process, the mode of the power dispatching mechanism for deciding the power generation plan is greatly changed, namely, the mode is not manually determined based on historical experience and actual conditions in the traditional mode, but a safety constraint unit combination and a safety constraint economic dispatching tool are adopted for deciding the daily or real-time unit plan. Among the many constraint conditions to be considered, the power grid safety is always the key factor of the power dispatching mechanism to pay most attention to, and the formation of an alternating current-direct current series-parallel power system puts higher demands on the power grid safety constraint, especially the condition control section constraint is introduced.
The condition control section constraint refers to the power grid safety constraint that the effective condition constraint contains independent variables (including unit output, unit running state and the like) or dependent variables (including section and line flow) to be determined in an optimizing mode, and the control section constraint contains the independent variables or the dependent variables to be determined in an optimizing mode. Aiming at the fine modeling of the complex condition control section constraint, domestic and foreign scholars have proposed a relatively mature standardized modeling method.
However, since the conditional expressions of the conditional control sections in the original boundary data include complex logic operations such as and, or, not, absolute values, and the like, and the conditional expressions of different conditional control sections belonging to the same combinable section have form differences, the clear calculation program cannot form input data required by standardized modeling.
Disclosure of Invention
Aiming at the complex logic characteristics of the conditional control section expression, the invention provides a standardized analysis method, a standardized analysis device, a standardized analysis computer device, a standardized analysis storage medium and a standardized analysis computer program product for the conditional control section constraint, which can form standardized conditional control section constraint modeling data on the premise of ensuring the equivalent or complete conditional control section expression and provide a basis for subsequent conditional control section standardized modeling.
In a first aspect, the present application provides a normalized analysis method for conditional control section constraints.
The method comprises the following steps:
reading basic power grid data and section data; the basic power grid data comprise power grid model data, equipment planning data, unit data, load data and tie line data;
carrying out logic calculation of conditional control section conditional section expressions according to section data to obtain standardized conditional section expressions; the standardized condition section expression comprises a standardized condition section expression single expression;
Analyzing the single expression of the standardized conditional section expression to obtain the minimum single expression of the conditional section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression according to the minimum single expression of the conditional section expression unit and the basic power grid data;
and analyzing the control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching the corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
In one embodiment, performing a conditional control section conditional section expression logic calculation based on section data, obtaining a normalized conditional section expression includes:
the original condition section expression of the section is controlled according to the section data acquisition condition;
based on the original conditional section expression of the conditional control section, generating a standardized conditional section expression of each conditional control section according to a first logic calculation principle;
if the original conditional section expression contains a specific operator, a second logic calculation principle is followed, and a final standardized conditional section expression is generated.
In one embodiment, analyzing the normalized conditional section expression single expression, obtaining a conditional section expression unit minimum single expression, and matching corresponding electrical equipment physical quantities in the minimum single expression according to the conditional section expression unit minimum single expression and the basic power grid data comprises:
Deconstructing a single expression of the standardized conditional section expression according to the position of the logic calculator to obtain a conditional section expression unit of the conditional control section;
integrating the conditional section expression units of the conditional control section, and eliminating repeated or completely consistent conditional section expression units;
deconstructing a conditional section expression unit of the conditional control section according to the position of the operator to obtain a minimum single expression, a constraint symbol and a constraint limit value of the conditional section expression unit;
based on the minimum single expression of the conditional section expression unit, the corresponding electrical equipment physical quantity in the minimum single expression is matched by combining the basic power grid data.
In one embodiment, analyzing a control section expression of a conditional control section according to section data, obtaining a minimum single expression of the control section expression, and matching corresponding electrical equipment physical quantities in the minimum single expression according to the minimum single expression of the control section expression and basic grid data comprises:
deconstructing the control section expression according to the position of the operator to obtain a minimum single expression, a constraint direction and a constraint limit value of the control section expression;
based on the minimum single expression of the control section expression, the corresponding physical quantity of the electrical equipment in the minimum single expression is matched by combining the basic power grid data.
In one embodiment, generating a normalized conditional slice expression for each conditional control slice based on an original conditional slice expression for the conditional control slice following a first logic calculation principle comprises:
the first logic calculation principle comprises a logic operation distribution law, and aims at standard and OR formula, so that conditional section expressions in different forms are converted into the same standard form.
In one embodiment, if the original conditional section expression contains a specific operator, following a second logical calculation principle, generating the final normalized conditional section expression comprises:
the specific operator comprises an absolute value operator, and the second logical computation principle comprises equivalent characterization by using an AND operator.
In a second aspect, the present application further provides a standardized parsing apparatus for conditional control section constraint. The device comprises:
the data reading module is used for reading basic power grid data and section data; the basic power grid data comprise power grid model data, equipment planning data, unit data, load data and tie line data;
the standardized condition section expression acquisition module is used for carrying out logic calculation of the conditional control section condition section expression according to section data to acquire a standardized condition section expression; the standardized condition section expression comprises a standardized condition section expression single expression;
The standardized condition section expression single-term analysis module is used for analyzing the standardized condition section expression single-term to obtain a minimum single-term of the condition section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single-term according to the minimum single-term of the condition section expression unit and the basic power grid data;
the control section expression analysis module is used for analyzing the control section expression of the conditional control section according to the section data, obtaining the minimum single expression of the control section expression, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
reading basic power grid data and section data; the basic power grid data comprise power grid model data, equipment planning data, unit data, load data and tie line data;
carrying out logic calculation of conditional control section conditional section expressions according to section data to obtain standardized conditional section expressions; the standardized condition section expression comprises a standardized condition section expression single expression;
Analyzing the single expression of the standardized conditional section expression to obtain the minimum single expression of the conditional section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression according to the minimum single expression of the conditional section expression unit and the basic power grid data;
and analyzing the control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching the corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
reading basic power grid data and section data; the basic power grid data comprise power grid model data, equipment planning data, unit data, load data and tie line data;
carrying out logic calculation of conditional control section conditional section expressions according to section data to obtain standardized conditional section expressions; the standardized condition section expression comprises a standardized condition section expression single expression;
Analyzing the single expression of the standardized conditional section expression to obtain the minimum single expression of the conditional section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression according to the minimum single expression of the conditional section expression unit and the basic power grid data;
and analyzing the control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching the corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
reading basic power grid data and section data; the basic power grid data comprise power grid model data, equipment planning data, unit data, load data and tie line data;
carrying out logic calculation of conditional control section conditional section expressions according to section data to obtain standardized conditional section expressions; the standardized condition section expression comprises a standardized condition section expression single expression;
Analyzing the single expression of the standardized conditional section expression to obtain the minimum single expression of the conditional section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression according to the minimum single expression of the conditional section expression unit and the basic power grid data;
and analyzing the control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching the corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
The standardized analysis method, the standardized analysis device, the standardized analysis computer equipment, the standardized analysis storage medium and the standardized analysis computer program product for the condition control section constraint are used for carrying out the logic calculation of the condition control section condition section expression according to the section data after the basic power grid data and the basic section data are read, and obtaining the standardized condition section expression. The basic power grid data comprise power grid model data, equipment planning data, unit data, load data and tie line data, and the standardized condition section expression comprises a standardized condition section expression single expression. And then analyzing the single expression of the standardized conditional section expression to obtain the minimum single expression of the conditional section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression according to the minimum single expression of the conditional section expression unit and the basic power grid data. And meanwhile, analyzing a control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data. On the premise of ensuring the equivalent or complete expression of the conditional control section, standardized conditional control section constraint modeling data are formed, and a foundation is provided for subsequent conditional control section standardized modeling.
Drawings
FIG. 1 is a flow diagram of a standardized analysis method facing conditional control section constraints in one embodiment;
FIG. 2 is a schematic flow chart of a step of analyzing a normalized conditional section expression unit, obtaining a conditional section expression unit minimum unit, and matching physical quantities of corresponding electrical devices in the minimum unit according to the conditional section expression unit minimum unit and basic grid data in one embodiment;
FIG. 3 is a flow diagram of another embodiment of a normalized analysis method facing a conditional control section constraint;
FIG. 4 is a schematic diagram of a standardized analysis device facing conditional control section constraints in one embodiment;
fig. 5 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, a standardized analysis method for constraint of a conditional control section is provided, and this embodiment is applied to a terminal for illustration by using the method, it is understood that the method may also be applied to a server, and may also be applied to a system including the terminal and the server, and implemented through interaction between the terminal and the server. In this embodiment, the method includes the steps of:
102, reading basic power grid data and section data; the base grid data includes grid model data, equipment planning data, unit data, load data, tie line data.
In one embodiment, the read basic grid data and section data are input data.
In one embodiment, the read data further includes basic information and calculation parameters.
In one embodiment, the equipment planning data comprises equipment maintenance plans, equipment maintenance inversion plans, equipment default grid-connected schemes, maintenance operation mode adjustment and the like, and the section data comprises section basic information, section calculation parameters, section formula calculation object definition, section formula calculation object constants and the like.
104, carrying out logic calculation of conditional control section conditional section expressions according to section data to obtain standardized conditional section expressions; the standardized conditional section expression comprises a standardized conditional section expression single expression.
In one embodiment, the conditional control section refers to that when the corresponding conditional constraint is effective, the running state of the power grid (including unit output, line flow, unit startup number and the like) needs to meet the corresponding safety control constraint, the conditional section expression comprises a conditional constraint expression for affecting whether the control section is effective, the conditional constraint can be formed by a plurality of inequality or equality constraints, and each constraint can be a logic AND or relation.
And 106, analyzing the single expression of the standardized conditional section expression, obtaining the minimum single expression of the conditional section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression according to the minimum single expression of the conditional section expression unit and the basic power grid data.
In one embodiment, conditional slice expression units of the conditional control slice are obtained based on the position structure normalization conditional slice expression unit of the logical operators. And then integrating the conditional section expression units of the conditional control section, and deconstructing the conditional section expression units of the integrated conditional control section according to the position of an operator to obtain the minimum single expression of the conditional section expression units. And according to the minimum single equation, matching the physical quantity of the corresponding electrical equipment by combining the basic power grid data.
And step 108, analyzing a control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
In one embodiment, deconstructing the control section expression according to the position of the operator, obtaining a minimum single expression of the control section expression, and matching the physical quantity of the corresponding electrical equipment according to the minimum single expression combined with the basic power grid data.
In the standardized analysis method facing the condition control section constraint, basic power grid data and section data are read, wherein the basic power grid data comprise power grid model data, equipment planning data, unit data, load data and connecting line data. And performing logic calculation of conditional control section conditional section expressions according to the section data to obtain a standardized conditional section expression, wherein the standardized conditional section expression comprises a single standardized conditional section expression. Analyzing the standardized conditional section expression single expression, obtaining a minimum single expression of the conditional section expression unit, and matching the corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the conditional section expression unit and the basic power grid data. And analyzing the control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching the corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data. On the premise of ensuring the equivalent or complete expression of the conditional control section, standardized conditional control section constraint modeling data are formed, and a foundation is provided for subsequent conditional control section standardized modeling.
In one embodiment, performing a conditional control section conditional section expression logic calculation based on section data, obtaining a normalized conditional section expression includes:
the original condition section expression of the section is controlled according to the section data acquisition condition; based on the original conditional section expression of the conditional control section, generating a standardized conditional section expression of each conditional control section according to a first logic calculation principle; if the original conditional section expression contains a specific operator, a second logic calculation principle is followed, and a final standardized conditional section expression is generated.
In one embodiment, taking conditional section expression CE as an example, the process of conditional section expression logic computation is specifically described.
Specifically, the conditional section expression unit includes a single algebraic inequality or equality constraint.
Specifically, the conditional section expression CE is specifically described as follows:
(y 1 +y 2 ≥100||y 3 +y 4 ≤1000)&&(y 5 +y 6 +y 7 ≥2||y 8 +y 9 +y 10 ≤2)
wherein the conditional section expression CE comprises 4 conditional section expression units, y respectively 1 +y 2 ≥100、y 3 +y 4 ≤1000、y 5 +y 6 +y 7 ≥2、y 8 +y 9 +y 10 ≤2。
For convenience of explanation, the above 4 conditional section expression units are respectively named as A, B, C, D, and according to the logic calculation rule, it is not difficult to obtain that the final standardized conditional section expression is a & & & & |c |a & |d |b & |c |b & & D.
In this embodiment, an original condition section expression of the condition control section is obtained according to the section data, and then a standardized condition section expression of each condition control section is generated based on the original condition section expression of the condition control section and following a first logic calculation principle. If the original conditional section expression contains a specific operator, a second logic calculation principle is followed, and a final standardized conditional section expression is generated. The standardized conditional section expression is generated through logic operation, so that preparation is made for analyzing the single expression of the standardized conditional section expression and generating standardized analysis results of conditional control section constraint.
In one embodiment, as shown in fig. 2, resolving the normalized conditional section expression unit, obtaining a conditional section expression unit minimum single expression, and matching the corresponding electrical equipment physical quantity in the minimum single expression according to the conditional section expression unit minimum single expression and the basic grid data includes:
and 202, deconstructing the single expression of the standardized conditional section expression according to the position of the logic calculator to obtain a conditional section expression unit of the conditional control section.
In one embodiment, the normalized conditional section expression single form is deconstructed to obtain a conditional section expression unit of the conditional control section according to the position of the AND logic calculator in the conditional section expression single form.
In one embodiment, the conditional section expression single expression includes a single expression in an effective condition constraint corresponding to the control section.
In one embodiment, taking the conditional section expression single expression a & C included in the conditional section expression CE as an example, the conditional section expression unit A, C is obtained after the conditional section expression single expression is deconstructed.
And 204, integrating the conditional section expression units of the conditional control section, and eliminating repeated or completely consistent conditional section expression units.
In one embodiment, duplicate or identical conditional section expression units are culled based on a set of conditional section expression units for the same conditional control section.
In one embodiment, taking the conditional section expression CE as an example, after the standardized conditional section expression is deconstructed by a single formula, a conditional section expression unit set { a, C, a, D, B, C, B, D } is obtained, and after repeated term elimination, a simplest conditional section expression unit set { a, B, C, D } is obtained.
And 206, deconstructing the conditional section expression unit of the conditional control section according to the position of the operator, and obtaining the minimum single expression, the constraint symbol and the constraint limit value of the conditional section expression unit.
In one embodiment, the operators include "+", "-" = "," > "," < "," > = "," <= ".
In one embodiment, the unit y is expressed in terms of a conditional section 1 +y 2 More than or equal to 100 as an example, and obtaining the minimum single item y through deconstructing the conditional section expression unit 1 "、"y 2 And the constraint symbol is equal to or more than 100.
And step 208, based on the minimum single expression of the conditional section expression unit, matching the corresponding electrical equipment physical quantity in the minimum single expression by combining the basic power grid data.
In one embodiment, based on a section formula calculation object definition table, combining section formula calculation object definition data and basic power grid data, matching the obtained minimum single expression of the conditional section expression unit with the physical quantity of the electrical equipment to obtain basic information of the conditional section unit, the conditional section unit containing equipment, the transmission limit of the conditional section unit and the basic information of the conditional section single expression.
In one embodiment, the unit y is expressed in terms of a conditional section 1 +y 2 More than or equal to 100 as an example, and after the matching of the conditional section expression unit composition equipment, obtaining' y 1 "、"y 2 "corresponds to ac lines 1001, 1002, respectively, in the grid model.
In this embodiment, the single expression of the standardized conditional section expression is deconstructed according to the position of the logic calculator, so as to obtain the conditional section expression unit of the conditional control section, integrate the conditional section expression unit of the conditional control section, and reject the repeated or completely consistent conditional section expression unit. Deconstructing a conditional section expression unit of the conditional control section according to the position of an operator, obtaining a minimum single expression, a constraint symbol and a constraint limit value of the conditional section expression unit, combining basic power grid data based on the minimum single expression of the conditional section expression unit, matching corresponding electric equipment physical quantity in the minimum single expression, resolving an effective conditional expression, and providing a part of basis for subsequent conditional control section standardized modeling.
In one embodiment, analyzing a control section expression of a conditional control section according to section data, obtaining a minimum single expression of the control section expression, and matching corresponding electrical equipment physical quantities in the minimum single expression according to the minimum single expression of the control section expression and basic grid data comprises:
deconstructing the control section expression according to the position of the operator to obtain a minimum single expression, a constraint direction and a constraint limit value of the control section expression;
based on the minimum single expression of the control section expression, the corresponding physical quantity of the electrical equipment in the minimum single expression is matched by combining the basic power grid data.
In one embodiment, similar to the deconstructing of the conditional section expression unit of the conditional control section, deconstructing is performed on the control section expression according to the position of the operator, so as to obtain the minimum single expression, the constraint direction and the constraint limit value of the control section expression.
In one embodiment, the operators include "+", "-" = "," > "," < "," > = "," <= ".
In one embodiment, the control section expression includes constraints that need to be met.
In one embodiment, an object definition table is calculated based on a section formula, and a minimum single expression of a control section expression is matched with physical quantity composition equipment of electrical equipment by combining basic power grid data to obtain corresponding condition control section containing equipment and a condition control section transmission limit.
In this embodiment, deconstructing the control section expression according to the position of the operator, obtaining a minimum single expression, a constraint direction and a constraint limit value of the control section expression, matching corresponding electrical equipment physical quantities in the minimum single expression based on the minimum single expression of the control section expression, combining basic power grid data, and analyzing the corresponding control section expression to provide a part of basis for subsequent conditional control section standardized modeling.
In one embodiment, generating a normalized conditional slice expression for each conditional control slice based on an original conditional slice expression for the conditional control slice following a first logic calculation principle comprises:
the first logic calculation principle comprises a logic operation distribution law, and aims at standard and OR formula, so that conditional section expressions in different forms are converted into the same standard form.
In one embodiment, the conditional control slice conditional slice expression is logically computed based on a logical operation distribution law, targeting a standard and or expression, to form a normalized conditional slice expression.
In one embodiment, a standard AND or expression comprises an expression made up of a plurality of single expressions that have a logical OR relationship, where a single expression comprises an expression made up of a plurality of algebraic inequalities or equations that have a logical AND relationship.
In one embodiment, targeting the standard and or formula includes converting different forms of conditional section expressions to the same standard form.
In one embodiment, if the original conditional section expression contains a specific operator, following a second logical calculation principle, generating the final normalized conditional section expression comprises:
the specific operator comprises an absolute value operator, and the second logical computation principle comprises equivalent characterization by using an AND operator.
In one embodiment, the conditional section expression y 1 |+|y 2 And the equivalent characterization process is specifically described by taking the example that the I is more than or equal to 100.
In one embodiment, |y 1 The positive and negative values of the I-press value can be divided into two cases, namely|y 2 The same principle can be divided into two cases, i.e. +.>So the original conditional section expression y 1 |+|y 2 The |gtoreq 100 is divided into 2×2=4 cases equivalent, i.e
In one embodiment, the final equivalent characterized and or relationship is:
y 1 +y 2 ≥100&&y 1 ≥0&&y 2 ≥0||y 1 -y 2 ≥100&&y 1 ≥0&&y2≤0||-y 1 +y 2 ≥100&&y 1 ≤0&&y 2 ≥0||-y 1 -y 2 ≥100&&y 1 ≤0&&y 2 ≤0。
in one embodiment, a normalized analysis result of the condition control section constraint is output, wherein the normalized analysis result of the condition control section constraint includes a condition section unit basic information, a condition section unit containing device, a condition section unit transmission limit, a condition section single item basic information, a condition control section containing device, a condition control section transmission limit.
In another embodiment, as shown in FIG. 3, a standardized analysis method is provided for conditional control section constraints.
And 306, deconstructing the single expression of the standardized conditional section expression according to the position of the logic calculator to obtain a conditional section expression unit of the conditional control section.
And 308, integrating the conditional section expression units of the conditional control section, and eliminating repeated or completely consistent conditional section expression units.
And 310, deconstructing the conditional section expression unit of the conditional control section according to the position of the operator, and obtaining the minimum single expression, the constraint symbol and the constraint limit value of the conditional section expression unit.
And step 314, deconstructing the control section expression according to the position of the operator, and obtaining the minimum single expression, the constraint direction and the constraint limit value of the control section expression.
And step 318, outputting a standardized analysis result of the condition control section constraint.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, as shown in fig. 4, the embodiment of the application further provides a standardized analysis device for the conditional control section constraint, which is used for implementing the standardized analysis method for the conditional control section constraint. The implementation scheme of the solution provided by the device is similar to the implementation scheme described in the above method, so the specific limitation in the embodiment of the standardized analysis device for the constraint of the conditional control section provided below can be referred to the limitation of the standardized analysis method for the constraint of the conditional control section hereinabove, and will not be repeated herein.
In one embodiment, a normalized analysis apparatus for conditional control section constraints is provided, comprising: the system comprises a data reading module, a standardized condition section expression acquisition module, a standardized condition section expression single-item analysis module and a control section expression analysis module, wherein:
the data reading module is used for reading basic power grid data and section data; the base grid data includes grid model data, equipment planning data, unit data, load data, tie line data.
The standardized condition section expression acquisition module is used for carrying out logic calculation of the conditional control section condition section expression according to section data to acquire a standardized condition section expression; the standardized conditional section expression comprises a standardized conditional section expression single expression.
The standardized condition section expression single-term analysis module is used for analyzing the standardized condition section expression single-term, obtaining a minimum single-term of the condition section expression unit, and matching the corresponding physical quantity of the electrical equipment in the minimum single-term according to the minimum single-term of the condition section expression unit and the basic power grid data.
The control section expression analysis module is used for analyzing the control section expression of the conditional control section according to the section data, obtaining the minimum single expression of the control section expression, and matching the corresponding physical quantity of the electrical equipment in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
In one embodiment, the apparatus further comprises:
the original condition section expression acquisition module is used for controlling the original condition section expression of the section according to the section data acquisition conditions.
The standardized condition section expression generation module is used for generating a standardized condition section expression of each condition control section according to a first logic calculation principle based on an original condition section expression of the condition control section; if the original conditional section expression contains a specific operator, a second logic calculation principle is followed, and a final standardized conditional section expression is generated.
In one embodiment, the apparatus further comprises:
and the conditional section expression unit acquisition module is used for deconstructing the standardized conditional section expression single expression according to the position of the logic calculator to acquire the conditional section expression unit of the conditional control section.
And the conditional section expression unit integration module is used for integrating the conditional section expression units of the conditional control section and eliminating repeated or completely consistent conditional section expression units.
And the conditional section expression unit deconstructing module is used for deconstructing the conditional section expression unit of the conditional control section according to the position of the operator to obtain the minimum single expression, the constraint symbol and the constraint limit value of the conditional section expression unit.
The minimum single-item matching module of the conditional section expression unit is used for matching the corresponding electrical equipment physical quantity in the minimum single-item based on the minimum single-item of the conditional section expression unit and combining basic power grid data.
In one embodiment, the apparatus further comprises:
and the control section expression deconstructing module is used for deconstructing the control section expression according to the position of the operator to obtain the minimum single expression, the constraint direction and the constraint limit value of the control section expression.
The control section expression minimum single-item matching module is used for matching the corresponding electrical equipment physical quantity in the minimum single-item based on the minimum single-item of the control section expression and combining basic power grid data.
In one embodiment, the apparatus further comprises:
the first logic calculation module is used for converting the conditional section expressions in different forms into the same standard form by taking the standard and OR formula as a target, wherein the first logic calculation principle comprises a logic operation distribution law.
In one embodiment, the apparatus further comprises:
the second logic calculation module is used for carrying out equivalent representation on specific operators including absolute value operators and second logic calculation principles including utilizing AND operators.
The above-mentioned standardized analysis device for conditional control section constraint can be implemented in whole or in part by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a standardized analysis method for conditional control section constraints. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In an embodiment, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps of the method embodiments described above.
In an embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.
Claims (10)
1. A standardized analysis method for conditional control section constraints, the method comprising:
reading basic power grid data and section data; the basic power grid data comprise power grid model data, equipment planning data, unit data, load data and tie line data;
performing logic calculation of conditional control section conditional section expressions according to the section data to obtain standardized conditional section expressions; wherein the standardized condition section expression comprises a standardized condition section expression single expression;
Analyzing the single expression of the standardized conditional section expression to obtain a minimum single expression of a conditional section expression unit, and matching corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the conditional section expression unit and the basic power grid data;
analyzing a control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
2. The method of claim 1, wherein said performing a conditional section expression logic calculation from said section data, obtaining a normalized conditional section expression comprises:
controlling an original condition section expression of the section according to the section data acquisition condition;
based on the original conditional section expression of the conditional control section, generating a standardized conditional section expression of each conditional control section according to a first logic calculation principle;
and if the original conditional section expression contains a specific operator, generating a final standardized conditional section expression according to a second logic calculation principle.
3. The method according to claim 1, wherein the parsing the normalized conditional section expression unit to obtain a conditional section expression unit minimum unit single, and matching the corresponding electrical device physical quantity in the minimum unit single according to the conditional section expression unit minimum unit single and the base grid data comprises:
deconstructing the single expression of the standardized conditional section expression according to the position of the logic calculator to obtain a conditional section expression unit of the conditional control section;
integrating the conditional section expression units of the conditional control section, and eliminating repeated or completely consistent conditional section expression units;
deconstructing the conditional section expression unit of the conditional control section according to the position of the operator to obtain a minimum single expression, a constraint symbol and a constraint limit value of the conditional section expression unit;
and based on the minimum single expression of the conditional section expression unit, combining the basic power grid data, and matching the corresponding electric equipment physical quantity in the minimum single expression.
4. The method according to claim 1, wherein the analyzing the control section expression of the conditional control section according to the section data, obtaining a minimum single expression of the control section expression, and matching the corresponding electrical device physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic grid data comprises:
Deconstructing the control section expression according to the position of the operator to obtain a minimum single expression, a constraint direction and a constraint limit value of the control section expression;
and based on the minimum single expression of the control section expression, combining the basic power grid data, and matching the corresponding electric equipment physical quantity in the minimum single expression.
5. The method of claim 2, wherein the generating a normalized conditional slice expression for each conditional control slice based on the original conditional slice expression for the conditional control slice following a first logic calculation principle comprises:
the first logic calculation principle comprises a logic operation distribution law, and aims at standard and OR formula, so that conditional section expressions in different forms are converted into the same standard form.
6. The method of claim 2, wherein if the original conditional section expression contains a specific operator, following a second logic calculation principle, generating a final normalized conditional section expression comprises:
the specific operator comprises an absolute value operator, and the second logical computation principle comprises equivalent characterization by using an AND operator.
7. A normalized analysis device for conditional control section constraints, the device comprising:
The data reading module is used for reading basic power grid data and section data; the basic power grid data comprise power grid model data, equipment planning data, unit data, load data and tie line data;
the standardized condition section expression acquisition module is used for carrying out logic calculation on the condition control section condition section expression according to the section data to acquire a standardized condition section expression; wherein the standardized condition section expression comprises a standardized condition section expression single expression;
the standardized condition section expression single-term analysis module is used for analyzing the standardized condition section expression single-term to obtain a minimum single-term of a condition section expression unit, and matching corresponding electrical equipment physical quantity in the minimum single-term according to the minimum single-term of the condition section expression unit and the basic power grid data;
the control section expression analysis module is used for analyzing the control section expression of the conditional control section according to the section data, obtaining the minimum single expression of the control section expression, and matching the corresponding electrical equipment physical quantity in the minimum single expression according to the minimum single expression of the control section expression and the basic power grid data.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310396814.0A CN116432626B (en) | 2023-04-13 | 2023-04-13 | Condition control section constraint-oriented standardized analysis method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310396814.0A CN116432626B (en) | 2023-04-13 | 2023-04-13 | Condition control section constraint-oriented standardized analysis method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116432626A true CN116432626A (en) | 2023-07-14 |
CN116432626B CN116432626B (en) | 2024-02-23 |
Family
ID=87083911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310396814.0A Active CN116432626B (en) | 2023-04-13 | 2023-04-13 | Condition control section constraint-oriented standardized analysis method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116432626B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0744386A (en) * | 1993-07-29 | 1995-02-14 | Omron Corp | Device or method for deciding condition establishment |
CN104794240A (en) * | 2015-05-08 | 2015-07-22 | 国家测绘地理信息局四川测绘产品质量监督检验站 | Method for analyzing expression for checking attribute value constraint relationship of geographic space database |
CN110766480A (en) * | 2019-10-31 | 2020-02-07 | 中国南方电网有限责任公司 | Real-time market clearing optimization method and device considering condition control section |
CN111401698A (en) * | 2020-03-03 | 2020-07-10 | 中国南方电网有限责任公司 | Two-segment conditional section constraint-based SCUC clearing optimization method |
-
2023
- 2023-04-13 CN CN202310396814.0A patent/CN116432626B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0744386A (en) * | 1993-07-29 | 1995-02-14 | Omron Corp | Device or method for deciding condition establishment |
CN104794240A (en) * | 2015-05-08 | 2015-07-22 | 国家测绘地理信息局四川测绘产品质量监督检验站 | Method for analyzing expression for checking attribute value constraint relationship of geographic space database |
CN110766480A (en) * | 2019-10-31 | 2020-02-07 | 中国南方电网有限责任公司 | Real-time market clearing optimization method and device considering condition control section |
CN111401698A (en) * | 2020-03-03 | 2020-07-10 | 中国南方电网有限责任公司 | Two-segment conditional section constraint-based SCUC clearing optimization method |
Also Published As
Publication number | Publication date |
---|---|
CN116432626B (en) | 2024-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chen et al. | Robust N–k CCUC model considering the fault outage probability of units and transmission lines | |
CN114757457B (en) | Electric carbon emission overall process monitoring method and device based on electric power big data | |
Goodarzi et al. | Tight convex relaxation for TEP problem: a multiparametric disaggregation approach | |
Shi et al. | Multistage robust energy management for microgrids considering uncertainty | |
CN114757602B (en) | Supply side electric power carbon emission risk early warning method and device and computer equipment | |
Azadani et al. | Stability constrained optimal power flow in deregulated power systems | |
Li et al. | Robust transmission constrained unit commitment: a column merging method | |
CN116432626B (en) | Condition control section constraint-oriented standardized analysis method, device and equipment | |
CN116154768B (en) | Power interval prediction method adopting point prediction error empirical distribution inverse transformation | |
CN117056776A (en) | Carbon emission monitoring method, apparatus, device, medium and computer program product | |
CN115481767A (en) | Operation data processing method and device for power distribution network maintenance and computer equipment | |
CN114966203A (en) | Detection method and device for harmonic oscillation of power system and computer equipment | |
CN114862615A (en) | Aggregation method and device of distributed power resources and computer equipment | |
CN114240049A (en) | Flexible calculation method for electric power spot market indexes | |
Xie et al. | Vector ordinal optimization theory based large‐scale multi‐objective unit commitment considering stochastic wind power | |
CN112561562A (en) | Order issuing method and device, computer equipment and storage medium | |
Tong et al. | Penalized sample average approximation methods for stochastic programs in economic and secure dispatch of a power system | |
Mo et al. | Design and development of power data service platform based on multi dimension | |
CN117114329B (en) | Multi-air-source intelligent scheduling method and device | |
CN115907155B (en) | Generator set planning method and device for introducing carbon emission cost | |
CN116454890B (en) | Combined control method, device and equipment for unit based on SCUC model | |
CN116227232A (en) | Multi-stage planning method and device for active power distribution network and computer equipment | |
CN116911932A (en) | Regional power grid spot market price-out pricing method based on inter-provincial power transmission cost | |
Lin et al. | Short-term power grid load forecasting based on variable weight combination hybrid model | |
CN115065066A (en) | Local energy Internet reactive compensation collaborative optimization method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |