Method and device for determining transient result of pumped storage pipeline
By segmenting the pumped storage pipeline and combining the coupling processing of Bernoulli equation and Riemann invariant boundary equation, the calculation accuracy of smaller step size and the efficiency of conventional step size are combined in the pumped storage pipeline system to solve the problem It solves the problem of excessive calculation amount in the existing technology and improves the calculation efficiency and accuracy.
Patent Information
- Application Number
- CN202410763243.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-10
AI Technical Summary
In the existing technology, when calculating the hydraulic system of a pumped storage power station through one-dimensional numerical simulation, the fixed step size calculation results in an excessive amount of calculation, making it difficult to balance calculation accuracy and efficiency. Especially in long pipeline systems, smaller step sizes increase the amount of calculation and conventional steps increase the amount of calculation. cannot meet the accuracy requirements.
By obtaining the pipeline layout diagram of the pumped storage pipeline, it is segmented into sub-pipes, and the initial value of the constant flow is determined based on the sub-pipeline data information and the Bernoulli equation, and coupled with the pressure pipeline water flow state equation and the Riemann invariant boundary equation Processing, obtaining transient results, allows special pipelines to use smaller step sizes while other pipelines use regular step sizes.
It effectively solves the contradiction between calculation accuracy and efficiency and improves calculation efficiency. Especially in long pipeline systems, it can accurately describe flow pattern changes and meet the calculation requirements of complex working conditions.
Smart Images

Figure CN118627422A
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of fluid mechanics technology, and in particular to a method and device for determining transient results of a pumped-storage pipeline. Background Art
[0002] The process of a hydraulic system changing from one steady state to another is called a transition process, also known as a transient process. The nature of the work of a pumped storage power station in the power grid means that frequent operating conditions need to be changed. The transition process during the conversion process will directly affect the hydraulic system and threaten the safe operation of the hydropower station.
[0003] At present, when calculating the pressurized pipelines in the hydraulic system of a pumped storage power station in one-dimensional numerical simulation, a fixed step size is usually selected for calculation. However, there are the following problems in one-dimensional numerical simulation calculation: the length of the pressure pipeline system of a pumped storage power station is generally several thousand meters, and selecting a smaller pipe section length and time step will greatly increase the amount of calculation, while a spatial step size of about 10m is sufficient to describe the flow characteristics of the pressure water pipe and tailwater pipe. At the same time, in actual engineering calculations, a large number of working conditions need to be calculated, so it is unnecessary to simply reduce the spatial step size and time step size of the entire pressure pipeline system, which will lead to a large increase in calculation time.
[0004] Therefore, there is an urgent need for a method to determine the transient results of pumped-storage pipelines, which can enable special pipelines to use smaller step sizes while other pressurized pipelines still use conventional step sizes, thereby solving the problem between calculation accuracy and calculation efficiency. Summary of the invention
[0005] In order to solve the above technical problems or at least partially solve the above technical problems, an embodiment of the present disclosure provides a method and device for determining transient results of a pumped-storage pipeline.
[0006] A first aspect of an embodiment of the present disclosure provides a method for determining a transient result of a pumped-storage pipeline, the method comprising:
[0007] Obtaining a pipeline layout diagram of a pumped-storage pipeline, segmenting the pipelines in the pipeline layout diagram of the pumped-storage pipeline to obtain sub-pipelines, and obtaining data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step;
[0008] Determine the initial value of the constant flow according to the data information of each sub-pipeline and the Bernoulli equation; wherein the initial value of the constant flow is used to characterize the water head of the pressure measuring tube and the water flow velocity;
[0009] According to the initial value of the constant flow, the pressurized pipeline water flow state equation, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain a coupling result; wherein the pressurized pipeline water flow state equation includes a mass equation of the pressurized pipeline water flow state and a momentum equation of the pressurized pipeline water flow state; the pressurized pipeline water flow state equation is determined based on the finite volume method; the coupling result is used to characterize the transient result of the pumped storage pipeline.
[0010] In one example, the pipeline in the pipeline layout diagram of the pumped storage pipeline is segmented to obtain each sub-pipeline, including:
[0011] According to the physical characteristics and the pipeline layout data information in the pipeline layout diagram of the pumped storage pipeline, segmentation processing is performed to obtain each sub-pipeline.
[0012] In one example, according to the initial value of the constant flow, the water flow state equation of the pressurized pipeline, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain a coupling result, including:
[0013] Inputting the initial value of the constant flow into the water flow state equation of the pressurized pipeline to obtain the transient result of each node in each of the sub-pipelines;
[0014] According to the transient result of each node in each of the sub-pipelines, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain the coupling result.
[0015] In one example, coupling the parameter information of the boundary points between the sub-pipelines according to the transient result of each node in each of the sub-pipelines, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant to obtain the coupling result includes:
[0016] Determine the transient result of the last node of the first sub-pipeline according to the transient result of each node in each of the sub-pipelines; wherein the first sub-pipeline represents a boundary point with a short spatial step length;
[0017] According to the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the transient result of the last node of the first sub-pipeline and the transient result of the first node of the second sub-pipeline are coupled to obtain the coupling result; wherein the second sub-pipeline represents a sub-pipeline adjacent to the first sub-pipeline.
[0018] In one example, the method further includes:
[0019] If the preset condition is met, the coupling result is output; wherein the preset condition is that the water flow in the pumped storage pipeline is in a stable state.
[0020] A second aspect of an embodiment of the present disclosure provides a device for determining transient results of a pumped-storage pipeline, the device comprising:
[0021] An acquisition module, used to acquire a pipeline layout diagram of a pumped-storage pipeline, segment the pipelines in the pipeline layout diagram of the pumped-storage pipeline to obtain each sub-pipeline, and acquire data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step;
[0022] A determination module, used to determine the initial value of the constant flow according to the data information of each sub-pipeline and the Bernoulli equation; wherein the initial value of the constant flow is used to characterize the water head of the pressure measuring tube and the water flow velocity;
[0023] A processing module is used to couple the parameter information of the boundary points between the sub-pipelines according to the initial value of the constant flow, the pressurized pipeline water flow state equation, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant to obtain a coupling result; wherein the pressurized pipeline water flow state equation includes a mass equation of the pressurized pipeline water flow state and a momentum equation of the pressurized pipeline water flow state; the pressurized pipeline water flow state equation is determined based on the finite volume method; and the coupling result is used to characterize the transient result of the pumped storage pipeline.
[0024] In one example, the acquisition module includes:
[0025] The first processing submodule is used to perform segmented processing according to the physical characteristics and the pipeline layout data information in the pipeline layout diagram of the pumped storage pipeline to obtain each sub-pipeline.
[0026] In one example, the processing module includes:
[0027] An input submodule, used for inputting the initial value of the constant flow into the water flow state equation of the pressurized pipeline to obtain the transient result of each node in each of the sub-pipelines;
[0028] The second processing submodule is used to couple the parameter information of the boundary points between the sub-pipelines according to the transient result of each node in each of the sub-pipelines, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant to obtain the coupling result.
[0029] In one example, the second processing submodule is specifically configured to:
[0030] Determine the transient result of the last node of the first sub-pipeline according to the transient result of each node in each of the sub-pipelines; wherein the first sub-pipeline represents a boundary point with a short spatial step length;
[0031] According to the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the transient result of the last node of the first sub-pipeline and the transient result of the first node of the second sub-pipeline are coupled to obtain the coupling result; wherein the second sub-pipeline represents a sub-pipeline adjacent to the first sub-pipeline.
[0032] In one example, the apparatus further comprises:
[0033] The output module is used to output the coupling result if a preset condition is met; wherein the preset condition is that the water flow in the pumped storage pipeline is in a stable state.
[0034] A third aspect of an embodiment of the present disclosure provides an electronic device, the server comprising: a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method of the first aspect above.
[0035] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method of the first aspect described above can be implemented.
[0036] The embodiment of the present disclosure provides a method and device for determining transient results of a pumped-storage pipeline, the method comprising: obtaining a pipeline layout diagram of the pumped-storage pipeline, segmenting the pipelines in the pipeline layout diagram of the pumped-storage pipeline to obtain each sub-pipeline, and obtaining data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step; determining a constant flow initial value according to the data information of each sub-pipeline and the Bernoulli equation; wherein the constant flow initial value is used to characterize the water head and water flow velocity of the pressure tube; according to the constant flow initial value, the water flow state equation of the pressurized pipeline, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, coupling processing is performed on the parameter information of the boundary points between the sub-pipelines to obtain a coupling result; wherein the water flow state equation of the pressurized pipeline includes a mass equation of the water flow state of the pressurized pipeline and a momentum equation of the water flow state of the pressurized pipeline; the water flow state equation of the pressurized pipeline is determined based on the finite volume method; and the coupling result is used to characterize the transient result of the pumped-storage pipeline. By adopting this technical solution, a smaller step size can be used for special pipelines while other pressurized pipelines still use a conventional step size, thereby solving the problem between calculation accuracy and calculation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0039] Figure 1 It is a flow chart of a method for determining transient results of a pumped-storage pipeline provided by an embodiment of the present disclosure;
[0040] Figure 2a It is a flow chart of another method for determining transient results of a pumped-storage pipeline provided by an embodiment of the present disclosure;
[0041] Figure 2b is a schematic diagram of a coupling result provided by an embodiment of the present disclosure;
[0042] Figure 3 It is a structural schematic diagram of a device for determining transient results of a pumped-storage pipeline provided by an embodiment of the present disclosure;
[0043] Figure 4 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0044] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0045] At present, there are still the following problems in one-dimensional computational hydrodynamics numerical simulation:
[0046] (1) In computational hydrodynamic numerical simulation, there are generally two methods to improve the calculation accuracy: ① Use the calculation method with second-order time accuracy and space accuracy, such as the finite volume method of the second-order Godunov format ② Reduce the time step and space step. For the first method, compared with the traditional first-order time and space accuracy calculation method, the calculation of 0.5 time steps will be added during the iteration process, which will increase the amount of calculation to a certain extent. For the second method, since the selection of time step and space step is coupled, obtaining a smaller time step also means that a smaller space step needs to be selected, and vice versa. Therefore, the increase in the amount of calculation brought about by this method is exponential.
[0047] (2) For the pipe sections with irregular structures and complex flow patterns, such as tailwater pipes and volutes in pumped storage pipelines, the calculation accuracy of 10 m step size cannot accurately obtain the specific values of pressure and flow at each position in the pipe section, so as to analyze the changes in the entire flow pattern. At the same time, the cavitation and water column separation phenomena that may occur in the pipe section occur in a very short time, and the time step of 0.01 s cannot meet the calculation requirements at all.
[0048] (3) The length of a pumped-storage pipeline is generally several thousand meters. Selecting a smaller pipe length and time step will greatly increase the amount of calculation, while a spatial step of about 10 meters is sufficient to describe the flow characteristics of the pressure water pipe and tailwater pipe. At the same time, in actual engineering calculations, a large number of working conditions need to be calculated. Therefore, it is unnecessary to simply reduce the spatial step and time step of the entire pumped-storage pipeline to increase the calculation time.
[0049] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0050] Figure 1 1 is a flow chart of a method for determining transient results of a pumped storage pipeline provided by an embodiment of the present disclosure, and the method can be performed by an electronic device. The electronic device can be exemplarily understood as a device such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a smart TV, etc. Figure 1 As shown, the method provided in this embodiment includes the following steps:
[0051] S101. Obtain a pipeline layout diagram of a pumped-storage pipeline, segment the pipelines in the pipeline layout diagram of the pumped-storage pipeline to obtain sub-pipelines, and obtain data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step.
[0052] In one example, after the pipelines in the pipeline layout diagram of the pumped storage pipeline are segmented, the time step and space step required for calculating each sub-pipeline are determined according to the length of each sub-pipeline and the required accuracy. The time step relationship between two adjacent sub-pipelines is a multiple relationship. For time-sensitive sub-pipelines such as cavitation boiling separation, a small time and space step is selected for calculation, and other general sub-pipelines use a general space step to save computing resources.
[0053] S102, determining a constant flow initial value according to the data information of each sub-pipeline and the Bernoulli equation; wherein the constant flow initial value is used to characterize the water head of the pressure measuring tube and the water flow velocity.
[0054] In one example, the Bernoulli equation is:
[0055]
[0056] Where: is the pressure head of sections i and j; Z i , Z j is the position head of sections i and j; is the velocity head of sections i and j; Δh i-j is the head loss between section i and section j, including local head loss and head loss along the way. Substitute the upstream and downstream water levels, unit head and head loss along the way of the pumped storage power station into the above formula to obtain the physical quantity parameter values of each segment point of the entire pipeline system.
[0057] S103. According to the initial value of the constant flow, the state equation of the water flow in the pressurized pipeline, the preset boundary conditions of the sub-pipeline and the boundary equation of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain a coupling result; wherein the state equation of the water flow in the pressurized pipeline includes the mass equation of the water flow state in the pressurized pipeline and the momentum equation of the water flow state in the pressurized pipeline; the state equation of the water flow in the pressurized pipeline is determined based on the finite volume method; the coupling result is used to characterize the transient result of the pumped storage pipeline.
[0058] In one example, the pressure pipeline water flow state equation includes a mass equation of the pressure pipeline water flow state and a momentum equation of the pressure pipeline water flow state; wherein the mass equation of the pressure pipeline water flow state can be referred to as follows:
[0059]
[0060] Where: H is the water head of the pressure tube; t is time; x is the distance along the tube axis; V is the water flow velocity; α is the water hammer wave velocity; g is the acceleration of gravity.
[0061] The momentum equation for the flow state in a pressurized pipe can be found in the following formula:
[0062]
[0063] Where: H is the water head of the pressure tube; t is time; x is the distance along the pipe axis; V is the water flow velocity; f is the constant friction coefficient; D is the pipe diameter.
[0064] Rewrite it into matrix form:
[0065]
[0066] Where:
[0067]
[0068] Using the solution method of the Riemann problem proposed by Toro, it can be approximately written as follows:
[0069]
[0070] Where: “-” represents the average. According to Toro’s suggestion, the arithmetic mean is used to estimate Right now
[0071] set up Since the u parameter value is averaged within the finite element control volume, it can be integrated from the left boundary i-1 / 2 to the right boundary i+1 / 2 within each unit cell, and the result is:
[0072]
[0073] In the formula: u and s are vectors; f is the control volume boundary flux; △t is the time step; △x is the space step, that is, the length of the control volume; the subscripts i, i-1 / 2, i+1 / 2 represent the middle point of the control volume, the left boundary point of the control volume, and the right boundary point of the control volume respectively; the subscript t, t+△t represents the time.
[0074] The value of the physical quantity of each unit control volume is discontinuous at the junction, so a solution method of the Riemann problem is adopted:
[0075]
[0076] Where: x is the distance along the pipe axis; is the average value of U on the left side of the i+1 / 2 boundary at time t; is the average value of U on the right side of the i+1 / 2 boundary at time t.
[0077] The flux at the control volume boundary i+1 / 2 is:
[0078]
[0079] Where: f, u are both vectors; is a matrix; t is time; g is gravitational acceleration; α is wave speed; is the average value of U on the left side of the i+1 / 2 boundary at time t; is the average value of U on the right side of the i+1 / 2 boundary at time t; the subscript i+1 / 2 is the position of the control body.
[0080] Since the average value in the control volume is directly used to replace the left and right boundary values of the interface, this format has first-order accuracy.
[0081]
[0082] In the formula: u and s are vectors; f is the control volume boundary flux; △t is the time step; △x is the space step, that is, the length of the control volume; the subscripts i, i-1 / 2, i+1 / 2 represent the middle point of the control volume, the left boundary point of the control volume, and the right boundary point of the control volume respectively; the subscript t, t+△t represents the time.
[0083] According to the Riemann invariant equation, the finite volume method boundary element can list the following boundary conditions:
[0084]
[0085] Where: α is the gas volume fraction; C1 is the pipeline fixing method, which is generally taken as 1; K is the fluid volume elastic modulus; E is the elastic modulus of the pipe wall material; e is the pipe wall thickness; ρ is the density; subscripts l and g refer to the liquid phase and gas phase, respectively.
[0086] Where: γ = ρg, which is the fluid density. H is the water head of the piezometer; t is time; V is the water velocity; subscript N refers to the last node of the first sub-pipeline; subscript N+1 / 2 refers to the right boundary of the last node of the first sub-pipeline; subscript 1 refers to the first node of the second sub-pipeline; superscript t and t+Δt refer to the coordinate point values at the previous moment and the next moment respectively.
[0087] In one example, the preset sub-pipeline boundary conditions are determined based on the boundaries of the units, valves, junctions, and surge tanks between the sub-pipelines.
[0088] The embodiment of the present disclosure provides a method for determining transient results of a pumped-storage pipeline, the method comprising: obtaining a pipeline layout diagram of the pumped-storage pipeline, segmenting the pipelines in the pipeline layout diagram of the pumped-storage pipeline to obtain each sub-pipeline, and obtaining data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step; determining a constant flow initial value according to the data information of each sub-pipeline and the Bernoulli equation; wherein the constant flow initial value is used to characterize the water head and water flow velocity of the pressure tube; according to the constant flow initial value, the water flow state equation of the pressurized pipeline, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, coupling processing is performed on the parameter information of the boundary points between each sub-pipeline to obtain a coupling result; wherein the water flow state equation of the pressurized pipeline includes a mass equation of the water flow state of the pressurized pipeline and a momentum equation of the water flow state of the pressurized pipeline; the water flow state equation of the pressurized pipeline is determined based on the finite volume method; and the coupling result is used to characterize the transient result of the pumped-storage pipeline. By adopting this technical solution, a smaller step size can be used for special pipelines while other pressurized pipelines still use a conventional step size, thereby solving the problem between calculation accuracy and calculation efficiency.
[0089] Figure 2a1 is a flow chart of another method for determining transient results of a pumped storage pipeline provided by an embodiment of the present disclosure. The embodiment of the present disclosure is optimized on the basis of the above embodiment, and the embodiment of the present disclosure can be combined with various optional solutions in one or more of the above embodiments.
[0090] like Figure 2a As shown, the method for determining the transient result of the pumped storage pipeline may include the following steps:
[0091] S201. Obtain a pipeline layout diagram of a pumped-storage pipeline, perform segmentation processing according to physical characteristics and pipeline layout data information in the pipeline layout diagram of the pumped-storage pipeline, obtain each sub-pipeline, and obtain data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step.
[0092] In one example, the physical characteristics may be pipe material, diameter, cross-sectional shape, spatial position, etc. Specifically, the time steps of different sub-pipelines may be different, and the spatial steps of different sub-pipelines may be different.
[0093] S202, determining a constant flow initial value according to the data information of each sub-pipeline and the Bernoulli equation; wherein the constant flow initial value is used to characterize the water head of the pressure measuring tube and the water flow velocity.
[0094] In an example, this step may refer to step S102 and will not be described in detail here.
[0095] S203. Input the initial value of the constant flow into the pressurized pipe water flow state equation to obtain the transient result of each node in each sub-pipeline; wherein the pressurized pipe water flow state equation includes the mass equation of the pressurized pipe water flow state and the momentum equation of the pressurized pipe water flow state; the pressurized pipe water flow state equation is determined based on the finite volume method.
[0096] In one example, the initial value of the constant flow represents H and V in the pumped storage pipeline when the initial time is 0; wherein H is the water head of the piezometer; and V is the water flow rate.
[0097] S204. According to the transient results of each node in each sub-pipeline, the preset sub-pipeline boundary conditions and the boundary equations of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain a coupling result; the coupling result is used to characterize the transient results of the pumped-storage pipeline.
[0098] In one example, according to the transient results of each node in each sub-pipeline, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain the coupling results, including:
[0099] Determine the transient result of the last node of the first sub-pipeline according to the transient result of each node in each sub-pipeline, wherein the first sub-pipeline represents a boundary point with a short spatial step length;
[0100] According to the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the transient result of the last node of the first sub-pipeline and the transient result of the first node of the second sub-pipeline are coupled to obtain a coupling result; wherein the second sub-pipeline represents a sub-pipeline adjacent to the first sub-pipeline.
[0101] In one example, the boundary conditions of the first sub-pipeline are:
[0102]
[0103] Where: γ = ρg, which is the fluid density. H is the water head of the piezometer; t is the time; b2 and b3 are described below; V is the flow velocity; subscript N refers to the last node of the first sub-pipeline; subscript 1 refers to the first node of the second sub-pipeline; superscript t and t+Δt refer to the coordinate point values at the previous moment and the next moment, respectively.
[0104] Pushing the first sub-pipeline back in time by half a time step gives the following equation:
[0105]
[0106] Where: γ = ρg, which is the fluid density. H is the water head of the piezometer; t is the time; b2 and b3 are described in the following formula; V is the water velocity; subscript N refers to the last node of the first sub-pipeline; subscript 1 refers to the first node of the second sub-pipeline; superscript t and t+Δt refer to the coordinate point values at the previous moment and the next moment respectively.
[0107]
[0108] Where: α is the gas volume fraction; C1 is the pipeline fixing method, which is generally taken as 1; K is the fluid volume elastic modulus; E is the elastic modulus of the pipe wall material; e is the pipe wall thickness; ρ is the density; subscripts l and g refer to the liquid phase and gas phase, respectively.
[0109] For adjacent boundary points with different time steps, assume that the time step of the first sub-pipeline is n times that of the second sub-pipeline (n is a positive integer), one time step is nΔt, and one time step of the second sub-pipeline is Δt; taking the finite volume method boundary condition as an example, the last node of the first sub-pipeline has the following equation:
[0110]
[0111] Where: γ = ρg, which is the fluid density. H is the water head of the piezometer; t is the time; b2 and b3 are described above; V is the water velocity; subscript N refers to the last node of the first sub-pipeline; subscript 1 refers to the first node of the second sub-pipeline; superscript t and t+Δt refer to the coordinate point values at the previous moment and the next moment, respectively.
[0112] In one example, the equation for the first node of the second sub-pipeline is:
[0113]
[0114] Where: γ = ρg, which is the fluid density; H is the water head of the pressure tube; t is the time; b2 and b3 are described above; V is the water flow velocity; the subscript 1 refers to the first node of the second sub-pipeline; the superscripts t and t+Δt refer to the coordinate point values at the previous moment and the next moment, respectively.
[0115] In order to close the boundary equations, let:
[0116]
[0117] Where: n is a multiple. H is the water head of the pressure gauge; t is time; V is the water velocity; the subscript 1 / 2 refers to the left boundary of the first node of the second sub-pipeline; the superscripts t and t+Δt refer to the coordinate point values at the previous moment and the next moment respectively.
[0118] You can get:
[0119]
[0120] In the formula: i=0~n-1; n is a multiple; γ=ρg, which is the fluid density; H is the water head of the pressure tube; t is time; V is the water flow velocity; the subscript 1 / 2 refers to the left boundary of the first node of the second sub-pipeline; the superscripts t and t+Δt refer to the coordinate point values at the previous moment and the next moment, respectively.
[0121] In an example, the following formula:
[0122]
[0123] Where: n is a multiple; γ = ρg, is the fluid density; H is the water head of the piezometer; t is time; V is the flow velocity; the subscript 1 / 2 refers to the left boundary of the first node of the second sub-pipeline; the superscripts t and t+Δt refer to the coordinate point values at the previous moment and the next moment respectively; f and u are both vectors; is a matrix; t is time; g is gravitational acceleration; α is wave speed; is the average value of U on the left side of the i+1 / 2 boundary at time t; is the average value of U on the right side of the i+1 / 2 boundary at time t; the subscript i+1 / 2 is the position of the control body.
[0124] In one example, the coupling result of the first node of the second sub-pipeline at each moment is obtained by simultaneous calculation. For a better explanation, please refer to Figure 2b A schematic diagram of a coupling result is shown.
[0125] S205. If the preset condition is met, output the coupling result; wherein the preset condition is that the water flow in the pumped storage pipeline is in a stable state.
[0126] In this embodiment, the preset condition may be a time condition, or a first threshold condition of the water head of the pressure measuring tube and a second threshold condition of the water flow velocity.
[0127] In this embodiment, when the time condition, the first threshold condition or the second threshold condition is met, the coupling result can be output.
[0128] The disclosed embodiment provides a method for determining transient results of a pumped-storage pipeline, the method comprising: determining the transient result of the last node of the first sub-pipeline according to the transient result of each node in each sub-pipeline; wherein the first sub-pipeline represents a boundary point with a short spatial step; according to the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, coupling the transient result of the last node of the first sub-pipeline and the transient result of the first node of the second sub-pipeline to obtain a coupling result. By adopting this technical solution, based on the complex layout of pressurized pipelines in pumped-storage power stations, according to the characteristics of different pressurized pipe sections, appropriate time steps and spatial steps can be selected for coupling calculation, which is more in line with actual conditions.
[0129] Figure 3 1 is a schematic diagram of a structure of a device for determining transient results of a pumped-storage pipeline provided by an embodiment of the present disclosure. The device for determining transient results of a pumped-storage pipeline can be understood as the above-mentioned electronic device or a part of the functional modules in the above-mentioned electronic device. Figure 3 As shown, the transient result determination device 30 of the pumped storage pipeline includes:
[0130] The acquisition module 301 is used to acquire a pipeline layout diagram of a pumped storage pipeline, segment the pipeline in the pipeline layout diagram of the pumped storage pipeline, obtain each sub-pipeline, and acquire data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step;
[0131] A determination module 302 is used to determine the initial value of the constant flow according to the data information of each sub-pipeline and the Bernoulli equation; wherein the initial value of the constant flow is used to characterize the water head of the piezometer and the water flow velocity;
[0132] The processing module 303 is used to couple the parameter information of the boundary points between each sub-pipeline according to the initial value of the constant flow, the state equation of the water flow in the pressurized pipeline, the preset boundary conditions of the sub-pipeline and the boundary equation of the Riemann invariant to obtain the coupling result; wherein the state equation of the water flow in the pressurized pipeline includes the mass equation of the water flow state in the pressurized pipeline and the momentum equation of the water flow state in the pressurized pipeline; the state equation of the water flow in the pressurized pipeline is determined based on the finite volume method; the coupling result is used to characterize the transient result of the pumped storage pipeline.
[0133] In one example, the acquisition module 301 includes:
[0134] The first processing submodule is used to perform segmented processing according to the physical characteristics and the pipeline layout data information in the pipeline layout diagram of the pumped storage pipeline to obtain each sub-pipeline.
[0135] In one example, the processing module 303 includes:
[0136] An input submodule is used to input the initial value of the steady flow into the state equation of the water flow in the pressurized pipeline to obtain the transient result of each node in each sub-pipeline;
[0137] The second processing submodule is used to couple the parameter information of the boundary points between the sub-pipelines according to the transient results of each node in each sub-pipeline, the preset sub-pipeline boundary conditions and the boundary equations of the Riemann invariant to obtain the coupling results.
[0138] In one example, the second processing submodule is specifically configured to:
[0139] Determine the transient result of the last node of the first sub-pipeline according to the transient result of each node in each sub-pipeline, wherein the first sub-pipeline represents a boundary point with a short spatial step length;
[0140] According to the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the transient result of the last node of the first sub-pipeline and the transient result of the first node of the second sub-pipeline are coupled to obtain a coupling result; wherein the second sub-pipeline represents a sub-pipeline adjacent to the first sub-pipeline.
[0141] In one example, the apparatus 30 further includes:
[0142] The output module 304 is used to output the coupling result if the preset condition is met; wherein the preset condition is that the water flow in the pumped storage pipeline is in a stable state.
[0143] The device provided in this embodiment can execute the method of any of the above embodiments, and its execution method and beneficial effects are similar, which will not be repeated here.
[0144] An embodiment of the present disclosure further provides an electronic device, which includes: a memory, in which a computer program is stored; and a processor, which is used to execute the computer program. When the computer program is executed by the processor, the method of any of the above embodiments can be implemented.
[0145] For example, Figure 4 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 4 , which shows a schematic diagram of the structure of an electronic device 1000 suitable for implementing the embodiment of the present disclosure. The electronic device 1000 in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0146] like Figure 4 As shown, the electronic device 1000 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1008 into a random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the electronic device 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0147] Typically, the following devices may be connected to the I / O interface 1005: an input device 1006 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1007 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1008 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 1000 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0148] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 1009, or installed from a storage device 1008, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0149] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0150] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0151] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0152] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains a pipeline layout diagram of a pumped-storage pipeline, performs segmentation processing on the pipelines in the pipeline layout diagram of the pumped-storage pipeline to obtain each sub-pipeline, and obtains data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step; determines the initial value of the constant flow according to the data information of each sub-pipeline and the Bernoulli equation; wherein the initial value of the constant flow is used to characterize the water head and water flow velocity of the pressure tube; according to the initial value of the constant flow, the water flow state equation of the pressurized pipeline, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, couples the parameter information of the boundary points between each sub-pipeline to obtain a coupling result; wherein the water flow state equation of the pressurized pipeline includes a mass equation of the water flow state of the pressurized pipeline and a momentum equation of the water flow state of the pressurized pipeline; the water flow state equation of the pressurized pipeline is determined based on the finite volume method; and the coupling result is used to characterize the transient result of the pumped-storage pipeline.
[0153] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0154] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0155] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0156] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0157] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0158] The embodiments of the present disclosure also provide a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method of any of the above embodiments can be implemented. The execution method and beneficial effects are similar and will not be repeated here.
[0159] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0160] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for determining transient results of a pumped storage pipeline, characterized in that: The method comprises: Obtaining a pipeline layout diagram of a pumped-storage pipeline, segmenting the pipelines in the pipeline layout diagram of the pumped-storage pipeline to obtain sub-pipelines, and obtaining data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step; Determine the initial value of the constant flow according to the data information of each sub-pipeline and the Bernoulli equation; wherein the initial value of the constant flow is used to characterize the water head of the pressure measuring tube and the water flow velocity; According to the initial value of the constant flow, the pressurized pipeline water flow state equation, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain a coupling result; wherein the pressurized pipeline water flow state equation includes a mass equation of the pressurized pipeline water flow state and a momentum equation of the pressurized pipeline water flow state; the pressurized pipeline water flow state equation is determined based on the finite volume method; the coupling result is used to characterize the transient result of the pumped storage pipeline.
2. The method according to claim 1, characterized in that The pipeline in the pipeline layout diagram of the pumped storage pipeline is segmented to obtain each sub-pipeline, including: According to the physical characteristics and the pipeline layout data information in the pipeline layout diagram of the pumped storage pipeline, segmentation processing is performed to obtain each sub-pipeline.
3. The method according to claim 1, characterized in that According to the initial value of the constant flow, the water flow state equation of the pressurized pipeline, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain a coupling result, including: Inputting the initial value of the constant flow into the water flow state equation of the pressurized pipeline to obtain the transient result of each node in each of the sub-pipelines; According to the transient result of each node in each of the sub-pipelines, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the parameter information of the boundary points between the sub-pipelines is coupled to obtain the coupling result.
4. The method according to claim 3, characterized in that The coupling process is performed on the parameter information of the boundary points between the sub-pipelines according to the transient result of each node in each of the sub-pipelines, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant to obtain the coupling result, including: Determine the transient result of the last node of the first sub-pipeline according to the transient result of each node in each of the sub-pipelines; wherein the first sub-pipeline represents a boundary point with a short spatial step length; According to the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant, the transient result of the last node of the first sub-pipeline and the transient result of the first node of the second sub-pipeline are coupled to obtain the coupling result; wherein the second sub-pipeline represents a sub-pipeline adjacent to the first sub-pipeline.
5. The method according to claim 1, characterized in that The method further comprises: If the preset condition is met, the coupling result is output; wherein the preset condition is that the water flow in the pumped storage pipeline is in a stable state.
6. A device for determining transient results of a pumped storage pipeline, characterized in that: The device comprises: An acquisition module, used to acquire a pipeline layout diagram of a pumped-storage pipeline, segment the pipelines in the pipeline layout diagram of the pumped-storage pipeline to obtain each sub-pipeline, and acquire data information of each sub-pipeline; wherein the data information of each sub-pipeline includes a time step and a space step; A determination module, used to determine the initial value of the constant flow according to the data information of each sub-pipeline and the Bernoulli equation; wherein the initial value of the constant flow is used to characterize the water head of the pressure measuring tube and the water flow velocity; A processing module is used to couple the parameter information of the boundary points between the sub-pipelines according to the initial value of the constant flow, the pressurized pipeline water flow state equation, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant to obtain a coupling result; wherein the pressurized pipeline water flow state equation includes a mass equation of the pressurized pipeline water flow state and a momentum equation of the pressurized pipeline water flow state; the pressurized pipeline water flow state equation is determined based on the finite volume method; and the coupling result is used to characterize the transient result of the pumped storage pipeline.
7. The device according to claim 6, characterized in that The acquisition module comprises: The first processing submodule is used to perform segmented processing according to the physical characteristics and the pipeline layout data information in the pipeline layout diagram of the pumped storage pipeline to obtain each sub-pipeline.
8. The device according to claim 6, characterized in that The processing module comprises: An input submodule, used for inputting the initial value of the constant flow into the water flow state equation of the pressurized pipeline to obtain the transient result of each node in each of the sub-pipelines; The second processing submodule is used to couple the parameter information of the boundary points between the sub-pipelines according to the transient result of each node in each of the sub-pipelines, the preset sub-pipeline boundary conditions and the boundary equation of the Riemann invariant to obtain the coupling result.
9. An electronic device, characterized in that: include: A processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
