CN-121982205-A - Three-dimensional visual design system of farmland drainage system based on digital twin
Abstract
The invention discloses a three-dimensional visual design system of a farmland drainage system based on digital twinning, which relates to the field of hydraulic engineering and comprises a range dividing module, a point position generating module, a sequence generating module, a ditch generating module, a width setting module and a scheme determining module, wherein the sequence generating module screens to obtain a prepared sampling point sequence of a farmland range, the ditch generating module forms a main drainage ditch and a secondary drainage ditch, the width setting module sets the cross sectional areas of the main drainage ditch and the secondary drainage ditch, the scheme determining module calculates the construction workload of an overall drainage scheme, and the main drainage ditch and at least one secondary drainage ditch generated by the overall drainage scheme with the minimum construction workload are used as final design results. Through setting up the point position and generating the module, the sequence generates the module, ditch generates the module, width sets up module and scheme and confirms the module, obtains the scheme that can satisfy the drainage demand, simultaneously, this scheme can also practice thrift construction cost as far as possible.
Inventors
- LV LIZHI
- MA XINYUE
- PAN XING
- LU MAOSONG
- HAN CHENGLIN
- SUN CHAO
- YE LEI
Assignees
- 南京市江宁区江宁街道水务管理服务站
Dates
- Publication Date
- 20260505
- Application Date
- 20260123
Claims (10)
- 1. Digital twinning-based three-dimensional visual design system for farmland drainage system, which is characterized by comprising: The range dividing module is used for carrying out three-dimensional modeling on the earth surface of the area where the farmland is located to obtain an earth surface three-dimensional model, marking the range of at least one farmland block in the earth surface three-dimensional model to obtain at least one farmland range, and taking the part of the earth surface three-dimensional model except the farmland range as a non-farmland range; The point position generation module forms drainage points in the farmland range based on the topography of the farmland range; The sequence generation module is used for uniformly setting at least one sampling point in a non-farmland range, combining drainage points to form at least one sampling point sequence in the farmland range, acquiring a gradient value of a measurement point in a path generated by the sampling point sequence, and screening to obtain at least one preparation sampling point sequence in the farmland range based on the gradient value; a raceway generating module that combines to form at least one overall drainage scheme based on a preliminary sampling point sequence, and forms a primary drainage channel and at least one secondary drainage channel based on the overall drainage scheme; The width setting module is used for estimating the drainage demand of the farmland range and setting the cross sectional areas of the main drainage channel and the auxiliary drainage channel based on the drainage demand; And a scheme determining module calculating the construction work amount of the overall drainage scheme based on the widths of the main drainage channel and the sub drainage channel, and using the main drainage channel and the at least one sub drainage channel generated by the overall drainage scheme having the smallest construction work amount as a final design result.
- 2. The digital twinning-based three-dimensional visual design system for a farmland drainage system of claim 1, wherein the forming of a farmland-wide drainage point based on the topography of the farmland range comprises the steps of: Uniformly taking at least one identification point in the farmland range, and uniformly taking at least one datum point at the edge of the farmland range; obtaining the highest water level allowed by crops planted in a farmland range, and taking the highest water level as a characteristic value of the farmland range; subtracting the characteristic value of the farmland range from the height of the datum point to obtain a reference value of the datum point, and taking the identification point with the height lower than the reference value of the datum point as the associated identification point of the datum point; Dividing the number of the associated identification points of the datum points by the total number of the identification points to obtain the identification value of the datum points, and taking the datum point with the minimum identification value as a drainage point of the farmland range.
- 3. The digital twinning-based three-dimensional visual design system for a farmland drainage system according to claim 2, wherein said combining drainage points to form at least one sample point sequence for a farmland range comprises the steps of: randomly selecting a plurality of at least one sampling points to form at least one sampling point set; And taking the distance from the sampling point to the drainage point as an evaluation value of the sampling point, and arranging the sampling points in the sampling point set from small to large according to the evaluation value to obtain at least one sampling point sequence in the farmland range.
- 4. The three-dimensional visual design system of a digital twinning-based farmland drainage system according to claim 3, wherein the gradient values of the measurement points in the path generated by the obtained sampling point sequence comprise the following steps: Filling the drainage point into the first position of the sampling point sequence to obtain a corrected sampling point sequence, and sequentially connecting sampling points in the corrected sampling point sequence along the ground surface of the farmland range to obtain a sampling path; and uniformly taking at least one measuring point in the sampling path, and taking the height of the measuring point as a gradient value of the measuring point.
- 5. The three-dimensional visual design system of a digital twin-based farmland drainage system according to claim 4, wherein the step of screening at least one preliminary sampling point sequence of a farmland range based on gradient values comprises the steps of: The water flow direction in the sampling path is from the drainage point to the sampling point, the measuring points are numbered from large to small according to the water flow direction in the sampling path, and if the gradient values of the measuring points with small numbers in the sampling path are smaller than those of the measuring points with large numbers in the sampling path, the sampling point sequence of the sampling path is generated as a preparation sampling point sequence.
- 6. The digital twinning-based three-dimensional visual design system for a farmland drainage system according to claim 5, wherein said combining to form at least one overall drainage scheme based on a preliminary sampling point sequence comprises the steps of: Selecting one of at least one prepared sampling point sequence of a farmland range, and combining to form a preliminary drainage scheme; Uniformly taking at least one sample point in a sampling path generated by a preparation sampling point sequence, carrying out coordinate modeling on the sample point, and fitting the coordinates of the sample point to obtain a fitting function of the sampling path; If the fitting functions of the two sampling paths are combined and then a solution exists, the two sampling paths are staggered, otherwise, the two sampling paths are not staggered; judging whether the sampling paths generated by the preliminary sampling point sequences in the preliminary drainage scheme are staggered or not, if so, not performing any treatment, and if not, taking the preliminary drainage scheme as the overall drainage scheme.
- 7. The digital twinning-based farmland drainage system three-dimensional visualization design system of claim 6, wherein the forming of the primary drainage channel and the at least one secondary drainage channel based on the overall drainage scheme comprises the steps of: taking a sampling path generated by a preparation sampling point sequence in the overall drainage scheme as a secondary drainage channel; And connecting the target sampling points from large to small according to the height of the target sampling points by taking the sampling point at the tail of the prepared sampling point sequence in the overall drainage scheme as the target sampling point, so as to obtain the main drainage channel.
- 8. The digital twinning-based three-dimensional visual design system for a farmland drainage system of claim 7, wherein said estimating a farmland-wide drainage demand comprises the steps of: Projecting the farmland range to a horizontal plane to obtain a farmland projection range, identifying and obtaining the outline of the farmland projection range, and uniformly taking at least one outline point on the outline of the farmland projection range; Carrying out coordinate modeling on the contour points, fitting the coordinates of the contour points to obtain a contour function of the farmland projection range, and integrating the area surrounded by the contour function to obtain the projection area of the farmland projection range; obtaining the maximum rainfall speed of the farmland range based on the historical rainfall data of the area where the farmland range is located, wherein the maximum rainfall speed is the rainfall depth in unit time; and multiplying the projection area of the farmland projection range by the maximum rainfall speed of the corresponding farmland range to obtain the drainage demand of the farmland range.
- 9. The digital twinning-based three-dimensional visual design system for a farmland drainage system according to claim 8, wherein said providing a cross-sectional area of a primary drainage channel and a secondary drainage channel comprises the steps of: Taking the ratio of the height difference of the two sampling points to the distance difference of the two sampling points at the horizontal plane projection position as the tangent ratio of the two sampling points; taking the average value of the tangent ratios of adjacent sampling points in the main drainage channel to obtain a main tangent ratio, and substituting the main tangent ratio into an arc tangent function to obtain a main angle; calculating to obtain the main flow rate of the main drainage channel by using a main displacement formula, and superposing the drainage demands in the farmland range to obtain the total drainage demands, wherein the total drainage demands are divided by the main flow rate to obtain the cross-sectional area of the main drainage channel; taking the average value of the tangent ratios of adjacent sampling points in the auxiliary drainage channel to obtain an auxiliary tangent ratio, and substituting the auxiliary tangent ratio into an arc tangent function to obtain an auxiliary angle; calculating to obtain the secondary flow rate of the secondary drainage canal by utilizing a secondary displacement formula, and dividing the drainage demand of the farmland range corresponding to the secondary drainage canal by the secondary flow rate to obtain the cross section area of the secondary drainage canal; the main displacement formula is as follows: , , Wherein S is the length of the main drainage canal, g is gravity acceleration, Taking the main angle, t is the time consumption of water flowing through the main drainage channel, and v is the main flow rate of the main drainage channel; The secondary displacement formula is as follows: , , wherein L is the length of the auxiliary drainage canal, For the secondary angle, T is the time taken for water to flow through the secondary drainage channel and V is the secondary flow rate of the secondary drainage channel.
- 10. The three-dimensional visual design system for a digital twin-based farmland drainage system according to claim 9, wherein said calculating the construction workload of the overall drainage scheme comprises the steps of: fitting coordinates of sampling points in the main drainage channel to obtain a main fitting function, and calculating the length of the main drainage channel according to the main fitting function; multiplying the length of the main drainage channel by the cross-sectional area of the main drainage channel to obtain a first construction amount; fitting coordinates of sampling points in the auxiliary drainage channel to obtain an auxiliary fitting function, and calculating the length of the auxiliary drainage channel according to the auxiliary fitting function; Multiplying the length of the secondary drainage canal by the cross-sectional area of the secondary drainage canal to obtain a second construction amount; And superposing the first construction amount and the second construction amount to obtain the construction workload of the overall drainage scheme.
Description
Three-dimensional visual design system of farmland drainage system based on digital twin Technical Field The invention relates to the field of hydraulic engineering, in particular to a three-dimensional visual design system of a farmland drainage system based on digital twinning. Background The farmland drainage means technical measures for removing excessive ground water, soil water and underground water in the farmland through manual measures and improving soil water, fertilizer, gas and heat conditions so as to promote crop growth, and the core tasks of the farmland drainage include elimination of waterlogging. Farmland drainage is mainly required to cope with the drainage demands of farmland in heavy rain. In the case of carrying out the farmland drainage design, many factors need to be considered, and the magnitude of the farmland drainage and the magnitude of the construction amount need to be considered, but when the drainage path is changed, both the drainage amount and the construction amount follow the change, and the prior art is insufficient in consideration of the change, so that it is difficult to determine an optimal design scheme. Disclosure of Invention In order to solve the technical problems, the three-dimensional visual design system of the farmland drainage system based on digital twinning is provided, and the technical scheme solves the problems in the background technology. In order to achieve the above purpose, the invention adopts the following technical scheme: three-dimensional visual design system of farmland drainage system based on digit twin includes: The range dividing module is used for carrying out three-dimensional modeling on the earth surface of the area where the farmland is located to obtain an earth surface three-dimensional model, marking the range of at least one farmland block in the earth surface three-dimensional model to obtain at least one farmland range, and taking the part of the earth surface three-dimensional model except the farmland range as a non-farmland range; The point position generation module forms drainage points in the farmland range based on the topography of the farmland range; The sequence generation module is used for uniformly setting at least one sampling point in a non-farmland range, combining drainage points to form at least one sampling point sequence in the farmland range, acquiring a gradient value of a measurement point in a path generated by the sampling point sequence, and screening to obtain at least one preparation sampling point sequence in the farmland range based on the gradient value; a raceway generating module that combines to form at least one overall drainage scheme based on a preliminary sampling point sequence, and forms a primary drainage channel and at least one secondary drainage channel based on the overall drainage scheme; The width setting module is used for estimating the drainage demand of the farmland range and setting the cross sectional areas of the main drainage channel and the auxiliary drainage channel based on the drainage demand; And a scheme determining module calculating the construction work amount of the overall drainage scheme based on the widths of the main drainage channel and the sub drainage channel, and using the main drainage channel and the at least one sub drainage channel generated by the overall drainage scheme having the smallest construction work amount as a final design result. Preferably, the forming the drainage point of the farmland range based on the topography of the farmland range comprises the following steps: Uniformly taking at least one identification point in the farmland range, and uniformly taking at least one datum point at the edge of the farmland range; obtaining the highest water level allowed by crops planted in a farmland range, and taking the highest water level as a characteristic value of the farmland range; subtracting the characteristic value of the farmland range from the height of the datum point to obtain a reference value of the datum point, and taking the identification point with the height lower than the reference value of the datum point as the associated identification point of the datum point; Dividing the number of the associated identification points of the datum points by the total number of the identification points to obtain the identification value of the datum points, and taking the datum point with the minimum identification value as a drainage point of the farmland range. Preferably, the at least one sampling point sequence for forming the farmland range by combining the drainage points comprises the following steps: randomly selecting a plurality of at least one sampling points to form at least one sampling point set; And taking the distance from the sampling point to the drainage point as an evaluation value of the sampling point, and arranging the sampling points in the sampling point set from small to large according to the evaluation value