CN117057335B - Intelligent generation method for four pre-schemes of flood control in drainage basin - Google Patents

Intelligent generation method for four pre-schemes of flood control in drainage basin Download PDF

Info

Publication number
CN117057335B
CN117057335B CN202311316250.1A CN202311316250A CN117057335B CN 117057335 B CN117057335 B CN 117057335B CN 202311316250 A CN202311316250 A CN 202311316250A CN 117057335 B CN117057335 B CN 117057335B
Authority
CN
China
Prior art keywords
scheme
flood control
global
objects
plan
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.)
Active
Application number
CN202311316250.1A
Other languages
Chinese (zh)
Other versions
CN117057335A (en
Inventor
陈�胜
刘超
马顺
方婧
田济杨
刘媛媛
许纯骁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui & Huaihe River Institute Of Hydraulic Research (anhui Water Conservancy Project Quality Inspection Center Station)
China Institute of Water Resources and Hydropower Research
Original Assignee
Anhui & Huaihe River Institute Of Hydraulic Research (anhui Water Conservancy Project Quality Inspection Center Station)
China Institute of Water Resources and Hydropower Research
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Anhui & Huaihe River Institute Of Hydraulic Research (anhui Water Conservancy Project Quality Inspection Center Station), China Institute of Water Resources and Hydropower Research filed Critical Anhui & Huaihe River Institute Of Hydraulic Research (anhui Water Conservancy Project Quality Inspection Center Station)
Priority to CN202311316250.1A priority Critical patent/CN117057335B/en
Publication of CN117057335A publication Critical patent/CN117057335A/en
Application granted granted Critical
Publication of CN117057335B publication Critical patent/CN117057335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A10/00TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE at coastal zones; at river basins
    • Y02A10/40Controlling or monitoring, e.g. of flood or hurricane; Forecasting, e.g. risk assessment or mapping

Abstract

The invention provides an intelligent generation method of a four-pre-scheme for flood control in a river basin, which comprises the steps of generating and managing a related global object of the four-pre-scheme for flood control, and further comprises the following steps: extracting service object codes of related global objects and converting the service object codes into global identifiers; carrying out electronization and/or standardization treatment on the dispatching rules of the flood control plan to form an electronized plan library supporting intelligent generation of the plan; carrying out dynamic program coding on the electronized plans and related objects in the electronized plan library to form dynamic program codes for analyzing complex scheduling rules and quick data interaction; carrying out forecast scheduling calculation, importing a calculation result into a memory, calling a dynamic program to carry out intelligent analysis, and automatically generating a flood control four-scheme; and generating a formatted scheduling scheme by using a scheme template, and visually displaying a scheme generation result or exporting a scheme document.

Description

Intelligent generation method for four pre-schemes of flood control in drainage basin
Technical Field
The invention relates to the technical field of flood control data processing, in particular to an intelligent generation method of a four-scheme flood control in a river basin.
Background
The digital twin watershed construction is the core and key of intelligent water conservancy, and the construction of an intelligent water conservancy system with the functions of four prediction, early warning, previewing and planning is quickened. The flood control 'four pre-forms' are one of important services of digital twin drainage basin construction, and the pre-form function relates to the intelligent generation of a scheme, namely, a flood control scheduling scheme of the drainage basin is automatically generated according to a digital twin drainage basin forecast scheduling simulation result.
The intelligent generation technology of the flood control scheme relates to the intersection science of information technology and flood control business, and the implementation difficulty of an automatic and efficient technology required by intelligent generation is high. The traditional flood control scheduling scheme is usually obtained by manually distinguishing according to each flood control scheme of the river basin, the traditional flood control scheme is unstructured document data, corresponding scheduling conditions and execution schemes are described by words, and when in actual use, staff can obtain corresponding execution schemes by referring to documents according to the current rain condition and flood condition. The method relies on manual discrimination, has low efficiency, is easy to generate artificial errors, and cannot meet the requirements of intelligent water conservancy construction in a new period. Some existing application systems are built with intelligent scheme generation function modules, but the goal of scheme generation only is not achieved in practice. If the scheduling rules in the plans cannot be processed, only the generated schemes are rainwater condition statistics, forecast scheduling calculation results and early warning information, and the core scheduling scheme content is not generated. The inadequacies of the intelligent generation of solutions to the current state of the art have resulted in a lag in flood control "four-pre" overall construction work.
In actual work, a plurality of technical problems need to be solved in realizing intelligent generation of the scheme. Firstly, a plan for generating a scheme relates to various business objects, such as hydraulic engineering, hydrologic fracture surface, protection objects and the like, and the coding systems of the various business objects are different at present, so that the conditions of repeated codes and one code with multiple meanings possibly exist, and if the objects are placed in a computer system for automatic processing and data exchange, the automatic processing and the data exchange are very difficult; secondly, most of the prior plans used for generating schemes are unstructured document materials, automatic processing of triggering conditions and executing scheme extraction cannot be realized, meanwhile, the conditions of the plans are often combinations of a plurality of conditions, and standardized expression and processing of the conditions are difficult problems; in addition, for a river basin, the number of scheduling rules and the number of related various business objects are huge, so that attribute values (including the result of forecast scheduling calculation) of a plurality of objects can be transmitted to the scheduling rules, whether the various scheduling rules trigger to generate a corresponding scheme or not is rapidly analyzed, the corresponding scheme needs to be rapidly and efficiently executed, and the traditional method takes a great amount of time to execute the method of reading data from a database or a file in real time through analyzing a conditional expression in real time and cannot meet the requirement of high efficiency of flood control scheduling decision service; finally, the result of the generation scheme needs to be displayed in a format template, which is easy to achieve in the prior art, but the attribute of the multi-class object of the pre-scheme template needs to be replaced by a calculated value or an attribute value, which has a certain difficulty.
In summary, traditional method scheduling scheme generation relies on manual review of documents, and automated generation of schemes is not realized. Digital twin-basin flood control 'four-pre' application provides requirements for intelligent generation of schemes, but the implementation of the prior art has a plurality of difficulties. These difficulties include: the multi-class business objects have no uniform identification, and real-time data interaction is difficult to perform; the dispatching rules are not standardized, and automatic processing of a computer system cannot be realized; the number of the dispatching rules and the business objects is huge, and a processing method with high efficiency is not enough; the visualization of the proposal results needs to replace the attribute of the complex business object, and the technical difficulty is great. The automatic and efficient generation of the visible scheme can achieve the intelligent level of scheme generation, and a plurality of difficulties need to be overcome.
Chen Sheng, liu Changjun, li Jingbing, liu Yesen and Lv Juan are published in journal of China flood control drought resistance at stage 32 of 6 of 2022, entitled "flood control" four-pretreatment "digital twin technology and application research", which proposes: based on the 'four pre' (forecast, early warning, preview, plan) test point application of flood control, several core digital twin technologies supporting the 'four pre' flood control are researched, related applications are induced, and a reference is provided for intelligent water conservancy construction. The practical requirement of flood control application is used as a drive, a flood control four-pre digital twin technical framework is researched, the main characteristic of digital twin virtual-real mapping is used as a main line, and core digital twin technologies such as a digital watershed simulation system supporting the virtual-real mapping, a digital scene and a twin body state synchronization are researched. Meanwhile, several digital twin technology applications such as virtualized monitoring, hydraulic engineering inspection, remote control and intelligent decision-making are induced. According to research, the digital twin technology has good application value for flood control 'four pre-forms', and has feasibility in technical aspects, thus being worthy of further research and development. The method has the defects that a specific method is not provided for generating the scheme in the scheme function module, and an automatic and efficient method for generating the scheme is not provided.
Cai Yang, the national construction, the previous and Zhang Azhe are published in the journal of China Water conservancy in the 20 th stage of 2021, the article of accelerating construction of intelligent water conservancy system with four pre-modeling functions is provided, the article proposes that intelligent water conservancy construction is used as one of six implementation paths for promoting the high-quality development of new-stage water conservancy and one of the most obvious marks for the high-quality development of the new-stage water conservancy, the requirements of 'required traction, application to upper, digital energization and lifting capacity' are met by taking digitization, networking and intellectualization as main lines, taking digitization scenes, intelligent simulation and accurate decision as paths, comprehensively promoting calculation data, algorithm and calculation force construction, constructing a digital twin drainage basin and accelerating construction of intelligent water conservancy system with forecasting, early warning, pre-modeling and pre-planning functions. The method has the defects that only the concept of the intelligent plan is provided, a specific method for generating the plan is not provided, and the characteristics of the intelligent plan are not specifically reflected.
Disclosure of Invention
In order to solve the technical problems, the intelligent generation method of the four flood control pre-schemes in the river basin provided by the invention can quickly and accurately generate a scheduling execution scheme according to a standardized flood control scheduling scheme, thereby gaining precious time for flood control scheduling decisions and providing a technical tool for flood control scientific decisions.
The invention aims to provide an intelligent generation method of a four-pre-scheme for flood control in a river basin, which comprises the steps of generating and managing related global objects of the four-pre-scheme for flood control and further comprises the following steps:
step 1: extracting the service object codes of the related global objects and converting the service object codes into global identifiers;
step 2: carrying out electronization and/or standardization treatment on the dispatching rules of the flood control plan to form an electronized plan library supporting intelligent generation of the plan;
step 3: carrying out dynamic program coding on the electronic plans and related objects in the electronic plan library to form dynamic program codes for analyzing complex scheduling rules and quick data interaction;
step 4: carrying out forecast scheduling calculation, importing a calculation result into a memory, calling a dynamic program to carry out intelligent analysis, and automatically generating a flood control four-scheme;
step 5: and generating a formatted scheduling scheme by using a scheme template, and visually displaying a scheme generation result or exporting a scheme document.
Preferably, the related global object comprises at least one of hydraulic engineering, hydrologic sites and flood protection objects.
In any of the above schemes, preferably, the hydraulic engineering comprises a gate, a dam and a flood storage area, and the service object code of the hydraulic engineering is according to the flood control engineering library code rule.
In any of the above schemes, preferably, the hydrologic station includes a rainfall station, a river hydrologic station and a reservoir hydrologic station, and the business object code of the hydrologic station is according to the real-time rain condition database table structure and the identifier.
In any of the above schemes, preferably, the flood protection object includes a levee area, a residential site and a factory.
In any of the foregoing solutions, preferably, step 1 includes maintaining original codes and properties of the related global objects unchanged, newly establishing a global object identifier, and generating a global identifier corresponding to the related global object by associating a class of the related global object to an original service object in a flood control plan.
In any of the above schemes, preferably, the electronic plan library is used for normalizing a traditional flood control plan into a conditional expression and a plan template to form a plan which can be processed intelligently by a computer.
In any of the above schemes, preferably, the step 2 includes disassembling the condition and the execution scheme of the scheduling rule, normalizing the condition of the scheduling rule, and generating a conditional expression, where the execution scheme of the scheduling rule is kept as unstructured data.
In any of the above aspects, preferably, the normalization process includes splitting the combined condition included in the scheduling rule into a single condition expressed as [ related global object globally unique identifier|related global object name, attribute identifier|attribute name ] and a size relation with a set threshold.
In any of the above embodiments, preferably, the combined conditional expression is a combination of a plurality of the single conditional expressions, each of the single conditional expressions being connected by a logical relationship, the logical relationship including&&Sum of%!One of them.
In any of the above aspects, preferably, the step 3 includes replacing global objects in the conditional expression with global objects in the dynamic program code generationgetobj(x) Replacing the attribute in the conditional expression withgetproperty(y) Wherein, the method comprises the steps of, wherein,xfor the global identifier of the associated global object,yan attribute identifier for the associated global object.
In any of the above schemes, preferably, the step 4 includes the following substeps:
step 41: injecting the forecast scheduling result or the real-time data into the attribute corresponding to the memory object according to the global unified identification;
step 42: invoking the compiled conditional expressions one by one, and extracting a corresponding execution scheme for the establishment of the conditions;
step 43: replacing the object attribute in the execution scheme template with an actual numerical value;
step 44: judging whether the condition is met or not and judging whether the unexecuted scheduling condition exists or not;
step 45: and outputting the execution scheme meeting the condition.
The intelligent generation method of the four pre-scheme for flood control in the river basin provided by the invention can realize efficient and accurate generation and visual display of the flood control scheduling scheme and realize intelligent generation of the four pre-scheme for flood control in the river basin.
Drawings
Fig. 1 is a flow chart of a preferred embodiment of a watershed flood control four-scheme intelligent generation method according to the present invention.
Fig. 2 is a flow chart of another preferred embodiment of the intelligent generation method of the watershed flood control four-scheme according to the present invention.
Fig. 3 is a schematic diagram of a global unified identifier and each business object according to a preferred embodiment of the intelligent generation method of the four pre-scheme of river basin flood control according to the present invention.
Fig. 4 is a flow chart of an embodiment of a solution normalization process of a watershed flood control four-project intelligent generation method according to the present invention.
Fig. 5 is a schematic diagram of an embodiment of a management interface for normalized scheduling rules of a watershed flood control four-project intelligent generation method according to the present invention.
Figure 6 is a flow chart of one embodiment of a scheme generation analysis of a watershed flood control four-scheme intelligent generation method according to the present invention.
Detailed Description
The invention is further illustrated by the following figures and specific examples.
Example 1
As shown in fig. 1, a method for intelligently generating four flood control plans in a river basin is implemented, step 100 is executed, and related global objects of four flood control plans are generated and managed, wherein the related global objects comprise at least one of hydraulic engineering, hydrologic sites and flood control protection objects, the hydraulic engineering comprises a gate, a dam and a flood storage area, and service object codes of the hydraulic engineering are according to flood control engineering library coding rules; the hydrologic station comprises a rainfall station, a river hydrologic station and a reservoir hydrologic station, and the business object code of the hydrologic station is based on a real-time rain condition database table structure and an identifier; the flood protection object comprises a polder area, a resident point and factories and mines.
Step 110 is executed, the service object codes of the related global objects are extracted and converted into global identifiers, original codes and attributes of the related global objects are kept unchanged, global object identifiers are newly established, the service objects are associated to the original service objects in the flood control plan through the categories of the related global objects, and the global identifiers corresponding to the related global objects are generated.
And executing step 120, namely performing electronization and/or standardization processing on the dispatching rules of the flood control plans to form an electronized plan library supporting intelligent generation of the schemes, disassembling the conditions and the execution schemes of the dispatching rules, performing standardization processing on the conditions of the dispatching rules to generate conditional expressions, and continuously maintaining the execution schemes of the dispatching rules as unstructured data.
The normalization process includes splitting the combined conditions contained in the scheduling rules into individual conditions expressed as [ related global object globally unique identifier|related global object name ]]And magnitude relation with the set threshold. The combined conditional expression is a combination of a plurality of single-brother conditional expressions, each single conditional expression is connected by a logic relationship, and the logic relationship comprises&&Sum of%!One of them.
For example, condition [1001| ]Lower dragon claw].[1|Water level]≥36.6&&[1001|Lower dragon claw].[1|Water level]In < 38.7, 1001 is the global unique identifier of the lower paw of the hydrologic station in the related global object, the lower paw is the name of the hydrologic station in the related global object, 1 is the attribute identifier, and the water level is the attribute name.
The electronic plan library is used for standardizing the traditional flood control plan into a conditional expression and a plan template to form a plan which can be intelligently processed by a computer.
Executing step 130 to obtain an electronic plan in the electronic plan library and related electronic plansThe objects are dynamically program coded to form dynamic program code for parsing complex scheduling rules and fast data interactions. Upon generation of the dynamic program code, replacing global objects in the conditional expression withgetobj(x) Replacing the attribute in the conditional expression withgetproperty(y) Wherein, the method comprises the steps of, wherein,xfor the global identifier of the associated global object,yan attribute identifier for the associated global object.
Executing step 140, performing forecast scheduling calculation, importing a calculation result into a memory, calling a dynamic program to perform intelligent analysis, and automatically generating a flood control four-scheme, wherein the method comprises the following sub-steps:
step 141 is executed, according to the global unified identification, the forecast dispatching result or the real-time data is injected into the attribute corresponding to the memory object;
executing step 142, calling the compiled conditional expressions one by one, and extracting corresponding execution schemes for the condition establishment;
executing step 143, replacing the object attribute in the execution scheme template with the actual value;
executing step 144, judging whether the condition is satisfied or whether there is a non-executed scheduling condition;
step 145 is performed to output an execution scheme satisfying the condition.
Step 150 is executed, the scheme template is used to generate a formatted scheduling scheme, and the scheme generation result is visually displayed or a scheme document is exported.
Example 2
As shown in fig. 2, the intelligent generation method of the four-pre-scheme for flood control in the river basin comprises the following steps:
1) Generating and managing flood control four-pre-related global objects, which are used for expressing and data interaction of related objects in a scheme;
in the step 1), global identification (GUID) is used for generating and managing objects related to all generation schemes, so that various flood control related business objects with different coding rules can search and interact data with each other;
2) The dispatching rules of the flood control plans are processed electronically and normally to form an electronic plan library supporting intelligent application;
in the step 2), the electronic plan library normalizes the traditional flood control plan into a conditional expression and a plan template to form a plan which can be intelligently processed by a computer;
3) Carrying out dynamic program coding on the electronic plan and related objects to form a scheduling rule capable of analyzing complexity and extracting object data rapidly;
in step 3), the electronic plan of step 2) is constructed into dynamic program codes and then compiled into memory objects, each scheduling condition is compiled into a program function,
3-1, the scheme is generated without analyzing the conditional expression in real time, the conditional expression code can be directly executed, and the efficiency is far higher than that of the conditional expression in real time;
3-2, compiling each object into a memory object, directly indexing the object through a global identifier, and efficiently acquiring an attribute value of the object for scheme generation analysis;
4) Performing related forecast scheduling calculation, importing a calculation result into a memory, calling a dynamically compiled program to perform intelligent analysis, and automatically and quickly obtaining a scheme;
the specific steps of the step 4) are as follows:
4-1, transmitting a result of the related flood forecast scheduling to the memory object according to the global object identification;
4-2, executing a conditional rule function of the memory;
4-3, returning true by the conditional rule function, and processing by using a rule expression according to a scheme template to generate a corresponding scheme;
4-4, repeating the steps 4-2 to 4-3 until all condition rules are executed;
5) Generating a formatted scheduling scheme by using a scheme template, and visually displaying a scheme result or exporting a document;
in step 5), the visual display displays the result of the scheme according to the format of the flood control scheduling scheme, and the user can modify and export the formatted scheme document.
Example 3
The invention provides an intelligent generation method of a flood control four-pre-scheme of a river basin, which can realize efficient and accurate generation and visual display of a flood control scheduling scheme and realize intelligent generation of the flood control four-pre-scheme of the river basin. The invention aims at realizing the following technical scheme:
the intelligent generation of the four-pre scheme for flood control in the river basin comprises the following steps:
1) Generating and managing flood control four-pre-related global objects for data interaction of scheme related objects;
2) The dispatching rules of the flood control plans are processed electronically and normally to form an electronic plan library;
3) Dynamically coding the electronic plan and related objects to form a code program capable of analyzing complex scheduling rules and rapidly extracting data;
4) Performing related forecast scheduling calculation, transmitting calculation results into a memory, calling a dynamic program to perform intelligent analysis, and automatically and quickly obtaining a corresponding scheme;
5) And generating a formatting scheme by using a scheme template, and visually displaying the scheme result or exporting a document.
The intelligent generation method of the four-pre-scheme for flood control in the river basin can quickly and accurately generate the scheduling execution scheme according to the standardized flood control scheduling scheme, thereby winning precious time for flood control scheduling decisions and providing a technical tool for flood control scientific decisions. Compared with a method for manually consulting a scheduling plan, the method is more efficient and accurate; compared with other current implementation methods, the method provides a basis for intelligent scheme generation through unified object identification and structured scheme processing, realizes automatic, efficient and accurate generation of the scheduling scheme through dynamic program coding and regular expression processing, and reaches the level of intelligent scheme generation.
The method provides a technical method for intelligent generation of a digital twin-watershed flood control four-pre-scheme, has good applicability, can be suitable for construction of most flood control four-pre-application systems, and has important value for realization of flood control four-pre-scheme functions. The method comprises the work of unified object identification planning, plan standardization processing, plan generation algorithm realization, plan visualization and the like, wherein the plan generation and the plan visualization can be realized through a computer program and are integrated into a flood control four-in-one application system, and the development language can use a plurality of high-level languages. Besides the flood control business field, the method can also be used in other business fields of digital twin-watershed, such as water resource, agricultural water, drought resistance and the like, and different business fields are characterized in that the concerned business objects and the dispatching rules are different.
Example 4
An intelligent generation method of a four-pre scheme for flood control in a river basin comprises the following steps:
1) Generating and managing flood control four-pre-related global objects for data interaction of scheme related objects;
in step 1), the relevant global objects in the flood control plan used for generating the plan include hydraulic engineering, hydrologic sites and flood control protection objects. The hydraulic engineering comprises a gate, a dam, a flood storage area and the like, part of the hydraulic engineering has the effect of flood control, and the service object coding is according to the coding rule of the flood control engineering base; the hydrologic station mainly comprises a rainfall station, a river hydrologic station, a reservoir hydrologic station and the like, wherein the business object codes are based on a real-time rain condition database table structure and identifiers (SL 323-2011), flood protection objects comprise a poled area, residential points, factories and mines and the like, and various business object coding rules are not standardized and have respective coding rules. The coding rules of various objects are different, so that unified management in an analysis model generated by a scheme and data exchange are difficult, and the intelligent scheme generation foundation is not provided. The method keeps the original codes and the attributes of various business objects unchanged, newly establishes a global object identifier (using GUID), and then associates the global object identifier with the original business objects in the flood control plan through the categories of the business objects, so that all the business objects have a global identifier, and unified management and data exchange can be realized in the program generated by the plan. For more clear presentation of the present embodiment, a schematic diagram of the relationship between the global uniform identifier and each business object is provided as shown in fig. 3;
2) The dispatching rules of the flood control plans are processed electronically and normalized to form an electronic plan library which can support intelligent generation of the plans;
in step 2), the normalization processing of the plan and the expression method of the combined scheduling conditions in the plan are involved;
(1) The standardized processing of the plan is because the scheduling rule of the current plan is unstructured document data, and the automatic processing of the triggering condition and the execution scheme cannot be realized. For example, a dispatch rule is described in the text, "when the water level of Gao Qiao bay reaches 66.8 meters, general levers, such as a black stone ferry levee, a double-mountain bay levee, a high-bridge bay levee, and the like, are prepared for important property transfer and application. "(abstract river superscalar flood plan 2021), such text is difficult for computer programs to automate, where descriptive text needs to be normalized to structured or semi-structured data. The method breaks apart the conditions and execution schemes of the scheduling rules, normalizes the condition parts, and keeps the execution scheme parts as unstructured data. The 'condition-execution scheme' pairs corresponding to the scheduling rules one by one are formed, and corresponding schemes are generated and provided for staff when the conditions are met;
(2) Meanwhile, a plurality of conditions are considered, such as 'when the water level of the lower dragon claw reaches 36.6 meters and is lower than 38.7 meters', river flood discharge is fully utilized, water is naturally discharged from a low-standard levee, and inspection defending and personnel danger avoiding are well carried out. The 'lower dragon claw water level reaches 36.6 meters' and the 'lower dragon claw water level is lower than 38.7 meters' are required to be simultaneously met. On the basis of the establishment of the global object identification, the method forms the expression mode of the global object and the attribute and the expression mode of the combination condition. The shape is as follows:
[1001|lower dragon claw].[1|Water level]≥36.6&&[1001|Lower dragon claw].[1|Water level] <38.7
Wherein "1001" is hydrologic station "Lower dragon claw"globally unique identifier (implemented in step 1)", "1" is "Water and its preparation method Bit positionThe chinese name following the unique identifier of the attribute is not used in the schema generation model, and is mainly what allows the user to view conditional expressions with ease. Using'&&"logical relationship of the respective conditions of the composition", "may be used:!"equi-logical relationships, and brackets are used to express priority. The logical relationship may be arbitrarily complex, thereby constituting an arbitrarily complex logical relationship. The method can realize the expression of the scheduling rule condition with any complexity, solves the problem of how to express the complex scheduling condition in a standardized way, and provides a basis for the automatic generation of the scheme;
3) Carrying out dynamic program coding on the electronic plan and related objects to form dynamic program codes capable of analyzing complex scheduling rules and quick data interaction;
in step 3), the electronic plan and related objects are dynamically program coded and compiled into memory objects. The method mainly considers how to rapidly and accurately execute the scheduling condition analysis under the condition that the scheduling rules and the service objects are numerous, thereby obtaining an execution scheme meeting the conditions. The conditional expressions in step 2 can express various kinds of combination conditions, then their resolution is difficult, and resolving numerous conditional expressions is a time-consuming calculation. The method skillfully utilizes a code dynamic compiling mechanism to realize the analysis of the conditional expression, and solves the problem of calculation efficiency. Specifically, the global object in the conditional expression is replaced by:
getobj(1001)
the attribute substitution is:
getproperty(1)
the original expression becomes:
getobj(1001).getproperty(1)≥36.6&& getobj(1001).getproperty(1)<38.7
the code is a code conforming to the grammar of the program language, and can be directly executed in the memory after compiling, so that the analysis of complex combination conditions and objects is not needed. And two methods, namely, the object and the attribute can be obtained from the memory by defining the global unified identifier in the step 1). The method does not need to analyze the conditional expression in real time, but directly executes the code, so that the running efficiency is very fast, and the problem of the efficiency of scheme generation analysis is solved. The basic flow of the implementation of step 4) is shown in fig. 4. The scheduling rules are managed through a user interface, so that the scheduling rules are more convenient to manage, and a management interface of the standardized scheduling rules is shown in fig. 5;
4) Carrying out forecast scheduling calculation, importing a calculation result into a memory, calling a dynamic program to carry out intelligent analysis, and automatically and quickly obtaining a scheme;
in step 4), a dynamic program is called to conduct intelligent analysis, and a scheme is automatically and quickly obtained. Scheme generation analysis is the core function of the method, and the scheme generation analysis is based on the three steps, wherein the scheme generation analysis is used for analyzing that the schemes in the scheme meet the conditions according to the result of forecast scheduling calculation (professional model analysis of future flood level and arrival time) or specific information of the current flood situation (such as actual water level data containing 'lower paws'), and then generating corresponding execution schemes;
4-1, injecting a forecast scheduling result or real-time data into the attribute corresponding to the memory object according to the global unified identification;
4-2, calling the compiled conditional expressions in the step 3) one by one, and extracting a corresponding execution scheme for the establishment of the conditions;
4-3, replacing the object attribute in the execution scheme template with an actual value (such as the water level value of the lower paw);
the result of forming multiple execution schemes is the result of generating the required scheme. The process flow of step 4) is shown in fig. 6;
5) Generating a formatted scheduling scheme by using a scheme template, and visually displaying a scheme generation result or exporting a scheme document;
in step 5), the protocol results are visually displayed. The visual display displays the result generated by the scheme in a formatted document which is in a hypertext format, and workers can modify the result according to the requirement; or exports the generated scheme as a file (e.g., word, scheduling instruction mail in pdf format) that can be issued to the scheme execution unit.
The intelligent generation method of the four-pre-scheme of flood control in the drainage basin is applied to a plurality of four-pre-scheme application systems of the drainage basin developed by the unit and is used for generating a flood control scheduling scheme of the drainage basin according to a forecast scheduling result. And a practical and efficient tool is provided for the rapid response of flood control scheduling decisions and scientific flood management. The automatic, efficient and accurate generation of the scheduling scheme is realized, and the level of intelligent scheme generation is reached.
The foregoing description of the invention has been presented for purposes of illustration and description, but is not intended to be limiting. Any simple modification of the above embodiments according to the technical substance of the present invention still falls within the scope of the technical solution of the present invention. In this specification, each embodiment is mainly described in the specification as a difference from other embodiments, and the same or similar parts between the embodiments need to be referred to each other. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.

Claims (5)

1. The intelligent generation method of the four flood control pre-schemes of the river basin comprises the steps of generating and managing related global objects of the four flood control pre-schemes, and is characterized by further comprising the following steps:
step 1: extracting the business object code of the related global object and converting the business object code into a global identifier, wherein the business object code comprises the following steps: the original codes and the attributes of the related global objects are kept unchanged, a global object identifier is newly established, the related global objects are related to the original business objects in the flood control plan through the categories of the related global objects, and a global identifier corresponding to the related global objects is generated;
step 2: the method for carrying out electronization and/or standardization processing on the dispatching rules of the flood control plans to form an electronized plan library supporting intelligent generation of the plans comprises the following steps: unpacking the condition and the execution scheme of the dispatching rule, carrying out standardization processing on the condition of the dispatching rule, and generating a conditional expression, wherein the execution scheme of the dispatching rule is continuously kept as unstructured data;
the electronic plan library is used for standardizing the traditional flood control plan into a conditional expression and a plan template to form a plan which can be intelligently processed by a computer;
step 3: dynamically program coding the electronic plans and related objects in the electronic plan library to form dynamic program codes for analyzing complex scheduling rules and quick data interaction, wherein the dynamic program codes comprise: upon generation of the dynamic program code, replacing global objects in the conditional expression withgetobj(x) Replacing the attribute in the conditional expression withgetproperty(y) Wherein, the method comprises the steps of, wherein,xfor the global identifier of the associated global object,yidentifying the attribute of the related global object;
step 4: the forecasting dispatching calculation is carried out, the calculation result is imported into a memory, the dynamic program is called for intelligent analysis, and a four-scheme flood control scheme is automatically generated, and the method comprises the following sub-steps:
step 41: injecting the forecast scheduling result or the real-time data into the attribute corresponding to the memory object according to the global unified identification;
step 42: invoking the compiled conditional expressions one by one, and extracting a corresponding execution scheme for the establishment of the conditions;
step 43: replacing the object attribute in the execution scheme template with an actual numerical value;
step 44: judging whether the condition is met or not and judging whether the unexecuted scheduling condition exists or not;
step 45: outputting an execution scheme meeting the condition;
step 5: and generating a formatted scheduling scheme by using a scheme template, and visually displaying a scheme generation result or exporting a scheme document.
2. The watershed flood control four-scheme intelligent generation method of claim 1, wherein the related global object comprises at least one of hydraulic engineering, hydrologic sites and flood control protection objects.
3. The intelligent generation method of four river basin flood control schemes according to claim 2, wherein the hydraulic engineering comprises a gate, a dam and a flood storage area, and the business object codes of the hydraulic engineering are according to flood control engineering library coding rules.
4. The intelligent generation method of four river basin flood control schemes according to claim 3, wherein the hydrologic stations comprise a rainfall station, a river channel hydrologic station and a reservoir hydrologic station, and business object codes of the hydrologic stations are based on real-time rain condition database table structures and identifiers.
5. The intelligent generation method of four river basin flood control schemes according to claim 4, wherein the flood control protection objects comprise a polder area, a resident point and factories and mines.
CN202311316250.1A 2023-10-12 2023-10-12 Intelligent generation method for four pre-schemes of flood control in drainage basin Active CN117057335B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311316250.1A CN117057335B (en) 2023-10-12 2023-10-12 Intelligent generation method for four pre-schemes of flood control in drainage basin

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311316250.1A CN117057335B (en) 2023-10-12 2023-10-12 Intelligent generation method for four pre-schemes of flood control in drainage basin

Publications (2)

Publication Number Publication Date
CN117057335A CN117057335A (en) 2023-11-14
CN117057335B true CN117057335B (en) 2024-01-05

Family

ID=88653995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311316250.1A Active CN117057335B (en) 2023-10-12 2023-10-12 Intelligent generation method for four pre-schemes of flood control in drainage basin

Country Status (1)

Country Link
CN (1) CN117057335B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652529A (en) * 2020-07-03 2020-09-11 中国水利水电科学研究院 Water engineering combined scheduling method
CN114240119A (en) * 2021-12-10 2022-03-25 浙江水利水电学院 Digital twin-based flood control and waterlogging prevention system and early warning method for whole elements of territorial universe

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112966954B (en) * 2021-03-15 2022-10-18 河海大学 Flood control scheduling scheme optimization method based on time convolution network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652529A (en) * 2020-07-03 2020-09-11 中国水利水电科学研究院 Water engineering combined scheduling method
CN114240119A (en) * 2021-12-10 2022-03-25 浙江水利水电学院 Digital twin-based flood control and waterlogging prevention system and early warning method for whole elements of territorial universe

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
面向防洪"四预"的数字孪生流域数据底板建设;刘业森 等;中国防汛抗旱;第32卷(第6期);全文 *
面向防洪"四预"的数字孪生流域知识平台建设探索;刘昌军 等;中国防汛抗旱;第33卷(第3期);全文 *

Also Published As

Publication number Publication date
CN117057335A (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN111680025B (en) Method and system for intelligently assimilating space-time information of multi-source heterogeneous data oriented to natural resources
CN109165394B (en) A kind of standardization BIM model lightweight implementation method
CN108376376B (en) BIM model-based construction engineering quality management standardization method
CN104809597B (en) Data resource management platform based on data fusion
CN104573231B (en) Wisdom building system and method based on BIM
CN111369158A (en) BIM-based informatization quality management method and system
CN109829125A (en) Show the platform of user management of dispatching of power netwoks operation data
CN115713161B (en) Building information management system based on BIM technology
CN109214642B (en) Automatic extraction and classification method and system for building construction process constraints
CN111176642B (en) Interactive visualization processing system based on plane graph and application method
CN107273295A (en) A kind of software problem reporting sorting technique based on text randomness
CN115661553A (en) BIM-based rail transit member classification method, system and equipment
CN104331779A (en) Development area construction project management system and method
Laurini et al. Technology 4.0 for buildings management: from building site to the interactive building book
CN114819478A (en) Power grid collaborative planning management platform based on BIM
CN110675121A (en) Method for collecting picture type file material
CN117057335B (en) Intelligent generation method for four pre-schemes of flood control in drainage basin
Zhao et al. Application of Smart City Construction in a New Data Environment
Li et al. Analysis on Critical Success Factors of BIM Technology Implementation in Construction General Contracting Enterprises
CN112241428A (en) Digital decision-making method and system
CN113807573A (en) Construction prediction analysis method and system based on data management and three-dimensional search
Kog et al. Petri Net based verification of BPMN represented configured construction processes
CN101546397A (en) Method for extracting outgoing characteristics of urban residents
DEL GIUDICE Smart data management with BIM for Architectural Heritage
CN116227714B (en) Travel mode selection prediction and analysis method and system

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