Water and electricity flow calculation method and device of hydraulic structure, computer equipment and storage medium
By obtaining upstream water flow data and determining the target push-flow model to process water current data, the problem of inaccurate water current data in water conservancy projects is solved, and the coordinated operation efficiency of water conservancy projects is improved and the rational utilization of water resources is achieved.
Patent Information
- Application Number
- CN202411061881.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-12-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing hydrological flow measurement equipment cannot obtain accurate water current data in real time under extreme climate conditions, resulting in low efficiency in collaborative operation of water conservancy projects, inability to deal with flood prevention and power generation in a timely manner, and serious waste of water resources.
By obtaining upstream water flow data and the type of hydraulic buildings to be monitored, the target push flow model is determined, and the data is processed based on the model to calculate the water current amount data, providing accurate water current amount data, improving the accuracy of the model and the real-timeness of the data.
The coordinated operation efficiency of water conservancy projects has been improved, the accuracy and real-time nature of water current data has been ensured, the upstream and downstream collaborative work obstacles caused by data errors have been avoided, and the flood prevention and power generation efficiency has been improved.
Smart Images

Figure CN119130339A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of hydrological monitoring, and in particular to a method, device, computer equipment and storage medium for calculating the hydroelectric flow of hydraulic structures. Background Art
[0002] Existing hydrological flow measurement equipment uses the push flow calculation based on hydraulic principles and is deployed on the central platform. The computing and storage pressure is high. At the same time, the edge side lacks real-time flow data, and it is impossible to optimize the power generation production plan in real time. There are problems such as inapplicability or inaccuracy. In extreme climates (such as drought and flood, drought and flood, etc.), accurate hydropower flow data cannot be obtained, and the safe flood season of water conservancy projects faces a severe situation. In addition, the supporting hydrological facilities of water conservancy projects are insufficient, and there is a lack of accurate discharge data. The water flow and water level data between upstream and downstream are not connected, resulting in low efficiency of coordinated operation of water conservancy projects. For example, downstream water conservancy projects cannot obtain accurate upstream water flow data in time during the flood season to respond to flood control in time, and the power generation efficiency is low and water resources are seriously wasted during the non-flood season. Therefore, how to obtain accurate hydropower flow data of hydraulic structures in a timely manner and improve the efficiency of coordinated operation of water conservancy projects has become an urgent problem to be solved. Summary of the invention
[0003] The present application provides a method, device, computer equipment and storage medium for calculating the hydropower flow of hydraulic structures, so as to obtain accurate hydropower flow data of hydraulic structures in a timely manner, thereby improving the coordinated operation efficiency of water conservancy projects.
[0004] In a first aspect, the present application provides a method for calculating the hydroelectric flow of a hydraulic structure, the method comprising:
[0005] Upon receiving a request for calculating the hydroelectric flow, obtaining upstream water flow data and the type of the hydraulic structure to be monitored;
[0006] Based on the type of the hydraulic structure to be monitored, determining a target flow-pushing model in a preset flow-pushing model library;
[0007] The upstream water flow data is processed based on the target flow model to obtain the water flow data of the hydraulic structure to be monitored.
[0008] In a second aspect, the present application also provides a hydroelectric flow calculation device for a hydraulic structure, the device comprising:
[0009] A data acquisition module, used to acquire upstream water flow data and the type of hydraulic structures to be monitored upon receiving a request for calculating water flow;
[0010] A model determination module, used to determine a target flow-pushing model in a preset flow-pushing model library based on the type of the hydraulic structure to be monitored;
[0011] The flow acquisition module is used to process the upstream water flow data based on the target flow model to obtain the water flow data of the hydraulic structure to be monitored.
[0012] In a third aspect, the present application also provides a computer device, comprising a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and implement the water flow calculation method of the hydraulic structure as described above when executing the computer program.
[0013] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method for calculating the water flow of a hydraulic structure as described above.
[0014] The present application discloses a method, device, computer equipment and storage medium for calculating the hydropower flow of a hydraulic structure. When a hydropower flow calculation request is received, the upstream water flow data and the type of the hydraulic structure to be monitored are obtained; based on the type of the hydraulic structure to be monitored, a target flow-pushing model is determined in a preset flow-pushing model library; based on the target flow-pushing model, the upstream water flow data is processed to obtain the hydropower flow data of the hydraulic structure to be monitored. When the present application receives a hydropower flow calculation request, the target flow-pushing model applicable to each hydraulic structure is determined according to the type of the hydraulic structure, and then the hydropower flow data of the hydraulic structure is calculated according to the target flow-pushing model. The hydropower flow data can be obtained in a timely manner, and the flow-pushing accuracy of the target flow-pushing model is improved, thereby improving the accuracy of the hydropower flow data obtained by the flow-pushing, avoiding the inability of upstream and downstream hydraulic structures to work together due to incorrect data, and improving the collaborative operation efficiency of water conservancy projects. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0016] Figure 1 It is a schematic flow chart of a first embodiment of a method for calculating the hydroelectric flow of a hydraulic structure provided by an embodiment of the present application;
[0017] Figure 2 is a schematic flow chart of a second embodiment of a method for calculating the hydroelectric flow of a hydraulic structure provided by an embodiment of the present application;
[0018] Figure 3is a schematic flow chart of a third embodiment of a method for calculating the hydroelectric flow of a hydraulic structure provided by an embodiment of the present application;
[0019] Figure 4 A schematic block diagram of a hydroelectric flow calculation device for a hydraulic structure provided in an embodiment of the present application;
[0020] Figure 5 A schematic block diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0022] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0023] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0024] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0025] The embodiments of the present application provide a method, device, computer equipment and storage medium for calculating the hydropower flow of a hydraulic structure. Among them, the method for calculating the hydropower flow of a hydraulic structure can determine the target flow-pushing model applicable to each hydraulic structure according to the type of the hydraulic structure when receiving a hydropower flow calculation request, and then calculate the hydropower flow data of the hydraulic structure according to the target flow-pushing model, so that the hydropower flow data can be obtained in a timely manner, and the flow-pushing accuracy of the target flow-pushing model is improved, thereby improving the accuracy of the hydropower flow data obtained by the flow-pushing, avoiding the inability of upstream and downstream hydraulic structures to work together due to incorrect data, and improving the collaborative operation efficiency of water conservancy projects. Among them, the server can be an independent server or a server cluster.
[0026] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0027] See also Figure 1 , Figure 1 This is a schematic flow chart of a method for calculating the hydropower flow of a hydraulic structure provided by an embodiment of the present application. The method for calculating the hydropower flow of a hydraulic structure can be applied to a server, and is used to determine the target flow-pushing model applicable to each hydraulic structure according to the type of the hydraulic structure when a hydropower flow calculation request is received, and then calculate the hydropower flow data of the hydraulic structure according to the target flow-pushing model, so that the hydropower flow data can be obtained in a timely manner, and the flow-pushing accuracy of the target flow-pushing model is improved, thereby improving the accuracy of the hydropower flow data obtained by the flow-pushing, avoiding the inability of upstream and downstream hydraulic structures to work together due to incorrect data, and improving the collaborative operation efficiency of water conservancy projects.
[0028] like Figure 1 As shown, the method for calculating the hydroelectric flow of a hydraulic structure specifically includes steps S101 to S104.
[0029] S101, upon receiving a request for calculating the hydroelectric flow, obtaining upstream water flow data and the type of hydraulic structures to be monitored;
[0030] In one embodiment, when a water flow calculation request is received, the upstream and downstream water levels and the types of hydraulic structures to be monitored are collected through the RS485 interface, and the hydraulic flow-pushing integrated machine corresponding to the upstream hydraulic structure is collected through the network port to send upstream water flow data (such as water level, downstream flow, etc.). RS485 is a serial communication protocol and is one of the standards of the Electronic Industry Alliance.
[0031] Among them, each hydraulic structure is equipped with a hydraulic flow-pushing integrated machine, which has an embedded flow-pushing model library. The flow-pushing model library is used to store flow-pushing models corresponding to various hydraulic structures. The hydraulic flow-pushing integrated machine can be successfully upgraded by remotely downloading the firmware, remotely configured, and the upgrade record is traceable; configuration import and export: supports the import and export of system configuration, variable configuration and other files as a whole and in sub-items, to achieve rapid configuration of similar devices; built-in watchdog, anti-crash settings, to ensure long-term reliable operation of the terminal; VPN (Virtual Private Network): supports PPTP (Point-to-Point Tunneling Protocol), L2TP (Layer 2 Tunneling Protocol), IPSEC (Internet Protocol Security), OPENVPN (OpenVPN Access Server) to ensure data security; one-key self-check function to achieve convenient operation and maintenance; hardware and software integration, highly integrated: integrates IPC (Industrial Personal Computer), HMI (Human-Machine I nterface, human-machine interface), gateway, fieldbus protocol, routing exchange, intelligent analysis, hydraulic flow pushing and other functions are integrated to reduce the overall cost, on-site implementation difficulty and maintenance investment.
[0032] In one embodiment, the upstream water flow data is water flow data of a hydraulic structure upstream of the hydraulic structure to be monitored.
[0033] In one embodiment, the hydraulic structure to be monitored is a hydraulic structure that requires water flow calculation, and the types of the hydraulic structure to be monitored may include weirs, gates, hydropower stations, pumping stations, tunnels and culverts, flow measuring channels, and the like.
[0034] S102, based on the type of the hydraulic structure to be monitored, determining a target flow-pushing model in a preset flow-pushing model library;
[0035] In one embodiment, each type of hydraulic structure to be monitored corresponds to a flow-pushing model. For example, the flow-pushing model corresponding to the flow measuring trough is the flow measuring trough flow-pushing model, and the flow-pushing model corresponding to the hydropower station is the hydropower station flow-pushing model.
[0036] In one embodiment, a preset flow-pushing model library stores a plurality of flow-pushing models and a corresponding relationship between each flow-pushing model and various types of hydraulic structures.
[0037] In one embodiment, the flow-pushing model can be obtained by training the historical hydroelectric flow data of various types of hydraulic structures.
[0038] In one embodiment, according to the type of the hydraulic structure to be monitored, a flow-pushing model corresponding to the type of hydraulic structure is searched in the flow-pushing model library as the target flow-pushing model of the hydraulic structure to be monitored.
[0039] S103: Process the upstream water flow data based on the target flow prediction model to obtain the water flow data of the hydraulic structure to be monitored.
[0040] In one embodiment, before processing the upstream water flow data according to the target streaming model, pre-processing operations such as data cleaning and formatting may be performed on the data.
[0041] In one embodiment, the hydropower flow data includes first flow data, such as outflow flow synthesis, flood discharge flow, power generation flow, outflow flow, reservoir water level, tail water level and other data; second flow data, such as unit power generation flow, gate water discharge flow, water flow and other data.
[0042] Furthermore, the hydropower flow calculation request includes a first flow calculation request and a second flow calculation request; when the hydropower flow calculation request is received, before obtaining the upstream water flow data and the type of hydraulic structure to be monitored, it also includes: when the flow calculation time preset by the user arrives, generating the first flow calculation request; when the user triggers the preset flow calculation instruction, generating the second flow calculation request.
[0043] Furthermore, the hydropower flow data includes first flow data and second flow data; the processing of the upstream water flow data based on the target flow model to obtain the hydropower flow data of the hydraulic structure to be monitored includes: when the hydropower flow calculation request is the first flow calculation request, performing a first processing on the upstream water flow data based on the target flow model to obtain the first flow data; when the hydropower flow calculation request is the second flow calculation request, performing a second processing on the upstream water flow data based on the target flow model to obtain the second flow data.
[0044] In one embodiment, the preset flow calculation time can be set by the user as needed, for example, the calculation is scheduled every 5 minutes, and other interval durations or times can also be set as needed.
[0045] In one embodiment, when the preset flow calculation time arrives, a first flow calculation request is generated to calculate the scheduled flow calculation task, and the upstream water flow data is first processed using the target flow model machine to obtain the first flow data, such as outflow flow synthesis, flood discharge flow, power generation flow, outflow flow, reservoir water level, tail water level and other data.
[0046] In one embodiment, the flow calculation instruction is used to generate a hydropower flow calculation request. The user can trigger the flow calculation instruction according to the actual situation to generate a second flow calculation request, so as to use the target flow model machine to perform a second processing on the upstream water flow data, and calculate the second flow data of the hydraulic structure in real time, such as the unit power generation flow, gate water discharge flow, water flow and other data.
[0047] In another embodiment, an automatic trigger condition may also be set, such as triggering a flow calculation request when receiving water flow data sent from upstream, so as to calculate the hydropower flow data of the current hydraulic structure in real time.
[0048] See also Figure 2 , Figure 2 The present invention is a schematic flow chart of a method for calculating the hydroelectric flow of a hydraulic structure provided by an embodiment of the present application. The method for calculating the hydroelectric flow of a hydraulic structure can be applied to a server to determine a target flow-pushing model according to the flow pattern and the type of hydraulic structure, thereby improving the accuracy of the flow-pushing model and further improving the accuracy of the hydroelectric flow data obtained by the flow-pushing model.
[0049] like Figure 2 As shown, the step S102 of the method for calculating the hydroelectric flow of the hydraulic structure specifically includes steps S201 to S202.
[0050] S201. When the type of the hydraulic structure to be monitored is a gate, obtaining the gate opening height and the water head above the gate of the hydraulic structure to be monitored;
[0051] In one embodiment, when the type of hydraulic structure to be monitored is a gate, it is necessary to judge the flow pattern of the water flow based on the gate opening height and the water head above the gate, and determine the target flow model of the current hydraulic structure to be monitored based on the water flow pattern.
[0052] The water head on the gate usually refers to the vertical height difference between the water surface upstream of the gate and the bottom of the gate. It is an important parameter in hydraulic calculation, affecting the flow velocity, flow rate and water pressure on hydraulic structures.
[0053] S202: Determine the flow pattern of the water flow based on the ratio of the gate opening height to the water head above the gate and a first preset threshold, and determine the target flow model based on the water flow pattern.
[0054] Furthermore, the water flow state is determined based on the ratio of the gate opening height to the water head on the gate and a first preset threshold, including: when the ratio of the gate opening height to the water head on the gate is less than or equal to the first preset threshold, determining that the water flow state is hole flow; when the ratio of the gate opening height to the water head on the gate is greater than the first preset threshold, determining that the water flow state is weir flow.
[0055] In one embodiment, the method of judging the flow state by the ratio of the gate opening height to the water head above the gate is a practical criterion for distinguishing the water flow state based on the gate operation and water head conditions. The following is a specific description:
[0056] In one embodiment, hole flow usually occurs when the gate opening area is relatively small and the water flows out through a relatively small opening. In this case, the vertical velocity component of the water flow can be ignored, the water flow mainly exhibits horizontal flow, and the velocity distribution in the vertical direction is relatively uniform.
[0057] In one embodiment, weir flow usually occurs when the gate opening area is large and the water flows freely over the weir crest. In this case, the water flows form a free overflow jet above the weir crest, the vertical velocity component of the water flow is significant, and the water flow forms aeration and turbulence downstream of the weir crest.
[0058] In one embodiment, the first preset threshold can be set by the user according to actual needs to distinguish between orifice flow and weir flow. For example, when e / H (e is the gate opening height, H is the water head on the gate) ≤ 0.65, it is orifice flow; when e / H>0.65, it is weir flow.
[0059] Furthermore, the step S102 also includes: when the type of the hydraulic structure to be monitored is a weir or the water flow state is a weir flow, obtaining the weir wall thickness and the water head above the weir of the hydraulic structure to be monitored; based on the second preset threshold, the third preset threshold and the ratio of the weir wall thickness to the water head above the weir, determining the target flow model.
[0060] In one embodiment, the water head above the weir refers to the vertical height difference from the water surface upstream of the weir to the weir top or other reference points (such as the weir bottom).
[0061] In one embodiment, when the type of the hydraulic structure to be monitored is a weir, a thin-wall weir push flow model, a practical weir push flow model or a wide-top weir push flow model is used as a target push flow model to be determined.
[0062] In one embodiment, when the ratio of the weir wall thickness to the water head on the weir is less than a second preset threshold, the thin-wall weir weir flow plugging model is used as the target plugging model; when the ratio of the weir wall thickness to the water head on the weir is greater than or equal to the second preset threshold and less than a third preset threshold, the practical weir weir flow plugging model is used as the target plugging model; when the ratio of the weir wall thickness to the water head on the weir is greater than or equal to the second preset threshold and the ratio of the weir wall thickness to the water head on the weir is greater than or equal to the third preset threshold, the wide-top weir weir flow plugging model is used as the target plugging model.
[0063] In a specific embodiment, the flow model library includes a weir flow flow model, a hole flow model, a hydropower station flow model, a pump station flow model, a tunnel culvert flow model, a flow channel flow model, etc. The applicable flow model is selected according to the type of building. When the hydraulic structure is a hydropower station, the hydropower station flow model is used as the target flow model, when the hydraulic structure is a pump station, the pump station turbine flow model is used as the target flow model, when the hydraulic structure is a tunnel culvert, the tunnel culvert flow model is used as the target flow model, when the hydraulic structure is a flow channel, the flow channel flow model is used as the target flow model. When the hydraulic structure is a gate, the hole flow model or the weir flow model is selected according to the flow state, and the judgment method is as follows: when e / H (e is the gate opening height, H is the head on the gate) ≤ the first preset threshold (such as 0.65), it is a hole flow, and the hole flow model is used as the target flow model. When e / H>the first preset threshold (such as 0.65), it is weir flow. The thin-wall weir push flow model, practical weir push flow model or wide-top weir push flow model is selected according to the type of weir. The judgment method is as follows: when δ / H (δ is the weir wall thickness, H is the water head on the weir)<the second preset threshold (such as 0.67), it is a thin-wall weir, and the thin-wall weir weir flow push flow model is used as the target push flow model; when the second preset threshold ≤δ / H<the third preset threshold (such as 2.5), it is a practical weir, and the practical weir flow push flow model is used as the target push flow model; when δ / H≥the third preset threshold (2.5), it is a wide-top weir, and the wide-top weir weir flow push flow model is used as the target push flow model.
[0064] See also Figure 3 , Figure 3 The present invention is a schematic flow chart of a method for calculating the hydropower flow of a hydraulic structure provided by an embodiment of the present application. The method for calculating the hydropower flow of a hydraulic structure can be applied to a server to encrypt data according to the confidentiality level of the hydropower flow data, thereby improving the security of the data, and sending the data through a distributed soft bus to achieve multi-point transmission, thereby improving the efficiency of data transmission, and thus improving the collaborative operation efficiency of upstream and downstream hydraulic structures.
[0065] like Figure 3 As shown, after the step S104, the method for calculating the hydroelectric flow of the hydraulic structure further includes steps S301 to S303.
[0066] S301, classifying the water and electricity flow data according to target recipients, and obtaining data to be sent corresponding to each target recipient;
[0067] S302, determining the confidentiality level of the data to be sent based on the importance level of the data to be sent and the risk leakage level of the target recipient;
[0068] S303: Encrypt the data to be sent based on the confidentiality level and the encryption rule corresponding to the target recipient, and send the encrypted data to be sent to the target recipient.
[0069] In one embodiment, the target receiver is an object that needs to receive hydropower flow data, such as a central station, a river basin management department, a flow-pushing device at a downstream station, and the like.
[0070] In one embodiment, data can be sent through a distributed soft bus to achieve multi-point data transmission, and can be sent to multiple target recipients at the same time, such as a central station, a river basin management department, and a streaming device at a downstream station.
[0071] In one embodiment, the hydropower flow data is classified according to different target recipients. For example, the data to be sent to the central station is classified into one category, the data to be sent to the watershed management part is classified into one category, and the data to be sent to the downstream station is classified into one category.
[0072] In one embodiment, the confidentiality level of the data, such as low, medium, or high, is determined based on the importance level of the data to be sent and the risk level of leakage of the target recipient.
[0073] In one embodiment, the importance level of the data to be sent is the value and importance of the data to the recipient. The risk leakage level is the risk that the data may be leaked after the target recipient, and the risk leakage level can be obtained by analyzing the network security and environment of the target recipient and comprehensively evaluating it.
[0074] Specifically, the importance level of the data to be sent can be set by the user according to the actual situation, or it can be determined by evaluating the value and sensitivity of the data to be sent, for example, whether it contains commercial secrets or critical infrastructure data. Or it can be classified into public, internal, confidential or top secret levels according to the nature and purpose of the data. Or other methods specified by the user to judge the importance level of the data to be sent.
[0075] Specifically, the recipient's risk leakage level can be obtained by evaluating the recipient's network security measures (such as firewalls, intrusion detection systems, security protocols, etc.), possible security holes and vulnerabilities, the recipient's data protection measures (such as data encryption, access control, data backup and recovery strategies), the recipient's physical security measures (such as access control systems, monitoring equipment, physical access control, etc.), the recipient's employees' safety awareness, training, credit rating, etc., the risks that may be brought about by the recipient's environment (such as natural disasters), the security and reliability of the recipient's use of third-party services, etc.
[0076] In one embodiment, based on the determined confidentiality level and the encryption rules corresponding to the target recipient, the data is encrypted and then sent to the corresponding target recipient. The encryption rules may be rules set by the target recipient, such as encryption algorithm and key length. For example, for data with a high confidentiality level, the AES256 encryption algorithm may be used.
[0077] Among them, the encryption algorithm can also be SM1, SM2, SM3, SM4, ASE128, AES256, SHA and other algorithms. SM1 is a block cipher algorithm of the Chinese commercial cryptographic algorithm, which is mainly used for encryption and decryption of data. It is similar to the AES algorithm commonly used internationally, but has different key lengths and designs. SM2 is a public key cryptographic algorithm of the Chinese commercial cryptographic algorithm, based on the principle of elliptic curve cryptography. It is used for digital signatures, key exchange and public key encryption. SM3 is a cryptographic hash function of the Chinese commercial cryptographic algorithm, which is used to generate a summary of a message and has anti-collision properties, similar to the SHA-256 widely used internationally. SM4 is a stream cipher algorithm of the Chinese commercial cryptographic algorithm, which is used for encryption and integrity protection of data. AES128 is a 128-bit key version of AES (Advanced Encryption Standard), which is a widely used block cipher algorithm that provides strong data encryption. AES256 is a 256-bit key version of the AES algorithm, which provides higher security than AES128 and is suitable for occasions requiring a higher security level. SHA (Secure Hash Algorithm) is a series of cryptographic hash functions, such as SHA-1, SHA-256, SHA-512, etc. They are used to generate digests of messages to ensure the integrity and authenticity of data.
[0078] In one embodiment, the data is encrypted using a selected encryption algorithm to ensure the security of the data during transmission, and the encrypted data is sent to the target recipient through a secure communication channel.
[0079] In one embodiment, breakpoint resume is implemented during data transmission, that is, when the network is interrupted, the transmission is automatically continued from the breakpoint.
[0080] See also Figure 4 , Figure 4 The embodiment of the present application provides a schematic block diagram of a hydraulic flow calculation device for a hydraulic structure, wherein the hydraulic flow calculation device for a hydraulic structure is used to execute the aforementioned hydraulic flow calculation method for a hydraulic structure. The hydraulic flow calculation device for a hydraulic structure can be configured on a server.
[0081] like Figure 4 As shown, the hydraulic flow calculation device 400 of the hydraulic structure includes:
[0082] The data acquisition module 401 is used to acquire upstream water flow data and the type of hydraulic structures to be monitored when receiving a request for calculating water flow;
[0083] A model determination module 402 is used to determine a target flow-pushing model in a preset flow-pushing model library based on the type of the hydraulic structure to be monitored;
[0084] The flow acquisition module 403 is used to process the upstream water flow data based on the target flow model to obtain the hydroelectric flow data of the hydraulic structure to be monitored.
[0085] Furthermore, the model determination module 402 includes:
[0086] A gate data acquisition unit, used for acquiring the gate opening height and the water head above the gate of the hydraulic structure to be monitored when the type of the hydraulic structure to be monitored is a gate;
[0087] The flow-pushing model determining unit is used to determine the flow pattern of the water flow based on the ratio of the gate opening height to the water head above the gate and a first preset threshold, and to determine the target flow-pushing model based on the water flow pattern.
[0088] Furthermore, the streaming model determination unit includes:
[0089] An orifice flow determination subunit, configured to determine that the water flow state is orifice flow when the ratio of the gate opening height to the water head above the gate is less than or equal to the first preset threshold;
[0090] The weir flow determination subunit is used to determine that the water flow state is a weir flow when the ratio of the gate opening height to the water head above the gate is greater than the first preset threshold.
[0091] Furthermore, the model determination module 402 further includes:
[0092] A weir wall data acquisition unit, used for acquiring the weir wall thickness and the water head above the weir of the hydraulic structure to be monitored when the type of the hydraulic structure to be monitored is a weir or the flow pattern of the water flow is a weir flow;
[0093] The plug flow model determination unit is used to determine the target plug flow model based on the second preset threshold, the third preset threshold, and the ratio of the weir wall thickness to the water head above the weir.
[0094] Further, the water flow calculation request includes a first flow calculation request and a second flow calculation request;
[0095] The hydraulic flow calculation device 400 for hydraulic structures further includes a request generation module, wherein the request generation module includes:
[0096] A first request generating unit, configured to generate the first flow calculation request when a flow calculation time preset by a user arrives;
[0097] The second request generating unit is configured to generate the second flow calculation request when the user triggers a preset flow calculation instruction.
[0098] Further, the water flow data includes first flow data and second flow data;
[0099] The traffic acquisition module 403 includes:
[0100] a first data obtaining unit, configured to, when the water flow calculation request is the first flow calculation request, perform a first processing on the upstream water flow data based on the target flow model to obtain the first flow data;
[0101] The second data obtaining unit is used to perform a second processing on the upstream water flow data based on the target flow model to obtain the second flow data when the water flow calculation request is the second flow calculation request.
[0102] Furthermore, the hydraulic structure water flow calculation device 400 further includes a data sending module, and the data sending module includes:
[0103] A data acquisition unit to be sent, used for classifying the water and electricity flow data according to target recipients, and obtaining the data to be sent corresponding to each target recipient;
[0104] A confidentiality level determination unit, configured to determine the confidentiality level of the data to be sent based on the importance level of the data to be sent and the risk leakage level of the target recipient;
[0105] The data encryption and sending unit is used to encrypt the data to be sent based on the confidentiality level and the encryption rule corresponding to the target recipient, and send the encrypted data to be sent to the target recipient.
[0106] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0107] The above-mentioned device can be implemented in the form of a computer program. Figure 5 Runs on the computer device shown.
[0108] See also Figure 5 , Figure 5 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device may be a server.
[0109] See also Figure 5 The computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.
[0110] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any method for calculating the hydroelectric flow of a hydraulic structure.
[0111] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.
[0112] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any method for calculating the water flow of a hydraulic structure.
[0113] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0114] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0115] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:
[0116] Upon receiving a request for calculating the hydroelectric flow, obtaining upstream water flow data and the type of the hydraulic structure to be monitored;
[0117] Based on the type of the hydraulic structure to be monitored, determining a target flow-pushing model in a preset flow-pushing model library;
[0118] The upstream water flow data is processed based on the target flow model to obtain the water flow data of the hydraulic structure to be monitored.
[0119] In one embodiment, when the processor determines the target flow-pushing model in a preset flow-pushing model library based on the type of the hydraulic structure to be monitored, it is used to implement:
[0120] When the type of the hydraulic structure to be monitored is a gate, obtaining the gate opening height and the water head above the gate of the hydraulic structure to be monitored;
[0121] Based on the ratio of the gate opening height to the water head above the gate and a first preset threshold, a water flow pattern is determined, and based on the water flow pattern, the target flow model is determined.
[0122] In one embodiment, when the processor determines the flow state based on the ratio of the gate opening height to the water head above the gate and the first preset threshold, it is used to implement:
[0123] When the ratio of the gate opening height to the water head above the gate is less than or equal to the first preset threshold, determining that the water flow state is orifice flow;
[0124] When the ratio of the gate opening height to the water head above the gate is greater than the first preset threshold, it is determined that the water flow state is weir flow.
[0125] In one embodiment, the processor determines the target flow-pushing model in a preset flow-pushing model library based on the type of the hydraulic structure to be monitored, and is further used to implement:
[0126] When the type of the hydraulic structure to be monitored is a weir or the flow pattern of the water flow is a weir flow, obtaining the weir wall thickness and the water head above the weir of the hydraulic structure to be monitored;
[0127] The target plug flow model is determined based on the second preset threshold, the third preset threshold, and the ratio of the weir wall thickness to the water head above the weir.
[0128] In one embodiment, the hydroelectric flow calculation request includes a first flow calculation request and a second flow calculation request; before the processor obtains upstream water flow data and the type of hydraulic structure to be monitored upon receiving the hydroelectric flow calculation request, the processor is further configured to implement:
[0129] When the flow calculation time preset by the user arrives, generating the first flow calculation request;
[0130] When the user triggers a preset flow calculation instruction, the second flow calculation request is generated.
[0131] In one embodiment, the hydropower flow data includes first flow data and second flow data; when the processor processes the upstream water flow data based on the target flow model to obtain the hydropower flow data of the hydraulic structure to be monitored, it is used to implement:
[0132] When the water flow calculation request is the first flow calculation request, performing a first processing on the upstream water flow data based on the target flow model to obtain the first flow data;
[0133] When the water flow calculation request is the second flow calculation request, a second process is performed on the upstream water flow data based on the target flow model to obtain the second flow data.
[0134] In one embodiment, after the processor processes the upstream water flow data based on the target flow model to obtain the water flow data of the hydraulic structure to be monitored, it is also used to implement:
[0135] Classifying the water and electricity flow data according to target recipients, and obtaining data to be sent corresponding to each target recipient;
[0136] Determining the confidentiality level of the data to be sent based on the importance level of the data to be sent and the risk leakage level of the target recipient;
[0137] Based on the confidentiality level and the encryption rule corresponding to the target recipient, the data to be sent is encrypted, and the encrypted data to be sent is sent to the target recipient.
[0138] A computer-readable storage medium is also provided in an embodiment of the present application, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the processor executes the program instructions to implement any method for calculating the water flow of a hydraulic structure provided in an embodiment of the present application.
[0139] The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (Smart Medi a Card, SMC), a secure digital (Secure Digital, SD) card, a flash memory card (Flash Card), etc., equipped on the computer device.
[0140] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for calculating the hydroelectric flow of a hydraulic structure, characterized in that: include: Upon receiving a request for calculating the hydroelectric flow, obtaining upstream water flow data and the type of the hydraulic structure to be monitored; Based on the type of the hydraulic structure to be monitored, determining a target flow-pushing model in a preset flow-pushing model library; The upstream water flow data is processed based on the target flow model to obtain the water flow data of the hydraulic structure to be monitored.
2. The method for calculating the hydroelectric flow of a hydraulic structure according to claim 1, characterized in that: The method of determining a target flow-pushing model in a preset flow-pushing model library based on the type of the hydraulic structure to be monitored includes: When the type of the hydraulic structure to be monitored is a gate, obtaining the gate opening height and the water head above the gate of the hydraulic structure to be monitored; Based on the ratio of the gate opening height to the water head above the gate and a first preset threshold, a water flow pattern is determined, and based on the water flow pattern, the target flow model is determined.
3. The method for calculating the hydroelectric flow of a hydraulic structure according to claim 2, characterized in that: The determining of the flow pattern based on the ratio of the gate opening height to the water head above the gate and a first preset threshold value comprises: When the ratio of the gate opening height to the water head above the gate is less than or equal to the first preset threshold, determining that the water flow state is orifice flow; When the ratio of the gate opening height to the water head above the gate is greater than the first preset threshold, it is determined that the water flow state is weir flow.
4. The method for calculating the hydroelectric flow of a hydraulic structure according to claim 2, characterized in that: The method of determining a target flow-pushing model in a preset flow-pushing model library based on the type of the hydraulic structure to be monitored also includes: When the type of the hydraulic structure to be monitored is a weir or the flow pattern of the water flow is a weir flow, obtaining the weir wall thickness and the water head above the weir of the hydraulic structure to be monitored; The target plug flow model is determined based on the second preset threshold, the third preset threshold, and the ratio of the weir wall thickness to the water head above the weir.
5. The method for calculating the hydroelectric flow of hydraulic structures according to claim 1, characterized in that: The water flow calculation request includes a first flow calculation request and a second flow calculation request; The method further comprises: before obtaining upstream water flow data and the type of hydraulic structures to be monitored upon receiving a request for calculating the hydroelectric flow, When the flow calculation time preset by the user arrives, generating the first flow calculation request; When the user triggers a preset flow calculation instruction, the second flow calculation request is generated.
6. The method for calculating the hydroelectric flow of hydraulic structures according to claim 5, characterized in that: The water flow data includes first flow data and second flow data; The processing of the upstream water flow data based on the target flow model to obtain the water flow data of the hydraulic structure to be monitored includes: When the water flow calculation request is the first flow calculation request, performing a first processing on the upstream water flow data based on the target flow model to obtain the first flow data; When the water flow calculation request is the second flow calculation request, a second process is performed on the upstream water flow data based on the target flow model to obtain the second flow data.
7. The method for calculating the hydroelectric flow of a hydraulic structure according to any one of claims 1 to 6, characterized in that: After the upstream water flow data is processed based on the target flow model to obtain the water flow data of the hydraulic structure to be monitored, the method further includes: Classifying the water and electricity flow data according to target recipients, and obtaining data to be sent corresponding to each target recipient; Determining the confidentiality level of the data to be sent based on the importance level of the data to be sent and the risk leakage level of the target recipient; Based on the confidentiality level and the encryption rule corresponding to the target recipient, the data to be sent is encrypted, and the encrypted data to be sent is sent to the target recipient.
8. A hydroelectric flow calculation device for a hydraulic structure, characterized in that: include: A data acquisition module, used to acquire upstream water flow data and the type of hydraulic structures to be monitored upon receiving a request for calculating water flow; A model determination module, used to determine a target flow-pushing model in a preset flow-pushing model library based on the type of the hydraulic structure to be monitored; The flow acquisition module is used to process the upstream water flow data based on the target flow model to obtain the water flow data of the hydraulic structure to be monitored.
9. A computer device, characterized in that: The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the method for calculating the hydroelectric flow of a hydraulic structure according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method for calculating the hydroelectric flow of a hydraulic structure according to any one of claims 1 to 7.
Citation Information
Patent Citations
Real-time flow monitoring method for riverside hydrological station
CN111707318A
Method and system for monitoring discharged flow of hydropower station gate in real time
CN114881548A
Intelligent and efficient method for calculating lockage flow of gate
CN114896566A
