A kind of thunder and lightning locator data drawing methods
Technical field
The invention belongs to electrical network Geographic Information System field, relate in particular in a kind of electrical network Geographic Information System, on geographic map, generate and show the drawing methods of its position and areal concentration based on discrete thunder and lightning point data.
Background technology
Electrical network Geographic Information System (power grid GIS system), it is the specialized information system that adopts geography information (GIS) technical management transmission of electricity, power transformation, distribution and low voltage electric network, be mainly used in national grid and south electric network subordinate province,, power supply administrations at different levels, power office or Utilities Electric Co. such as county, realize failing, become, join, the business functions such as graphics management, File Maintenance, automatic mapping and topological analysis of low voltage electric network.The power grid GIS system utilizes the technology of general GIS system, electronic charts such as soil, river, roads as a setting, main functionality is patterned maintenance, inquiry and the analysis that realizes equipment on the circuit in the electrical network, shaft tower, electric substation, distribution substation institute, the circuit.
The power grid GIS system mainly handles is to have the grid equipment that power network topology connects, rather than atural object objects such as soil, river, road, therefore has the relevant outstanding feature of electrical network.The power grid GIS client provides visual interface to be used to show power network resources, spatial information with patterned ways of presentation figurative expression power network resources, the distribution trend that can check each bar circuit in the electrical network easily by the power grid GIS client, and in the relevant pattern exhibiting of data under the geography information background of power business.By the data of graphical treatment intuitively is that operation of power networks scheduling, each production business provide support and reference.
Electric power enterprise prevents and the ability of processing disaster in order to improve in the prior art, just need to generate multiple thunder and lightning position and areal concentration figure, react the influence of thunder and lightning intuitively to power equipment, but existing method is all fairly simple, the statistics out of true, analyze imperfectly, adopt the idea that realizes pre-control based on the method for the pre-control of distribution topology in the power grid GIS system so just produced.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of thunder and lightning locator data drawing methods, can generate multiple thunder and lightning position and areal concentration figure, reacts the influence of thunder and lightning to power equipment intuitively, improves the ability of electric power enterprise prevention and processing disaster.
For solving above-mentioned existing technical matters, the present invention adopts following scheme: a kind of thunder and lightning locator data drawing methods comprises the steps:
Step 1: discrete lightning strike spot data are carried out gridding density handle;
Step 2: with rule discrete the gridding density data carry out the isopycnic linear process;
Step 3: automatically the isopycnic smoothing processing is become closed curve, and fill generation thunder and lightning density profile;
Step 4: with the demonstration that superposes of thunder and lightning density profile and power grid GIS system.
As preferably, specifically comprise in the described step 1: the area dividing of needs being analyzed according to the professional given grid dividing parameter of thunder and lightning measurement type become plurality of continuous etc. the square net of length and width; According to the lightning strike spot data, add up thunderbolt point number in each grid, carry out following calculating as the thunderbolt density value of this grid.
As preferably, specifically comprise in the described step 2: with the upper left angle point of each grid representative point as density value; Divide a plurality of isodensity values by the thunder and lightning statistical service, the definite of this value can have multiple scheme: on average divide by overall density value, divide by given density equivalence etc.; By the degree of depth traversal of X-direction to Y-axis, finding has the intermediate value on certain point or two summits, sideline to equal first equivalent time from grid sideline, the full figure upper left corner, beginning article one isoplethes drawing; By above-mentioned some adjacent edge line search towards periphery equivalent point, and line, make when forming sealing up to this line sealing or with the full figure border in this way and end; Continuation continues search in above-mentioned discovery position, up to all isoplethes drawings of finishing this equivalence; Repeat above-mentioned steps and finish all equivalent isoplethes drawings.
As preferably, specifically comprise in the described step 3: successively each summit of all isoline is connected into smooth curve by the Bei Saier curve mode; Curve is confirmed that the sealing back is combined to form face in other curves, and fills that all statistical regions are filled up the most at last, form the isodensity distribution plan according to predetermined color.
As preferably, specifically comprise in the described step 4: translucentization of thunder and lightning density profile that generates; Translucent distribution plan is offset 0.5 grid length of side respectively to the bottom right, and places power grid GIS figure upper strata to show, the thunder and lightning density profile of finally finishing based on electrical network shows.
Beneficial effect:
The present invention adopts technique scheme that a kind of thunder and lightning locator data drawing methods is provided, based on the discrete thunder and lightning number of data points certificate that has geography information position and time mark, by combining with geographical information platform, and through linearization process, generate multiple thunder and lightning position and areal concentration figure, by stack, result and power network topology are shown with figure, react the influence of thunder and lightning intuitively to power equipment, and process is calculated and can be obtained thunderbolt point and the crossing situation in power circuit corridor, has improved the ability of electric power enterprise prevention and processing disaster.
Description of drawings
Fig. 1 is the overview flow chart of the inventive method;
Fig. 2 is that embodiment of the invention data grids are divided synoptic diagram;
Fig. 3 is the process flow diagram of embodiment of the invention isoplethes drawing process;
Fig. 4 is an embodiment of the invention isoline sideline traversal order synoptic diagram;
Fig. 5 is an embodiment of the invention isoline pointwise retrieving synoptic diagram.
Embodiment
In order to make those skilled in the art person understand the scheme of the embodiment of the invention better, the embodiment of the invention is described in further detail below in conjunction with drawings and embodiments.
With reference to Fig. 1 is the overview flow chart of the inventive method, and details are as follows:
Step 1: discrete lightning strike spot data are carried out gridding density handle.
The area dividing of needs being analyzed according to the professional given grid dividing parameter of thunder and lightning measurement type become plurality of continuous etc. the square net of length and width, as shown in Figure 2, usually for the quantity of the precision grid of Calculation results should be not too small preferably, but overstocked division may cause finally showing too much " isolated island " data area of appearance among the result, influences whole structure.The density of therefore dividing grid has stronger business experience, and in the thunder and lightning statistics, the scope of the common grid of analysis of statistics should be more than with respect to the 3*3 km in the geography for every day, just can be added up effect preferably, and when analyzing for more long-term statistics, can dwindle sizing grid relatively, to improve result's precision.
Can count the number of times of the thunderbolt in a period of time in each lattice according to grid dividing and general thunder and lightning data,, then can carry out follow-up isodensity by this density value and calculate as the thunderbolt density typical value of these lattice.
Step 2: the density data of gridding is carried out the isopycnic linear process, form many group isopycnics.
At first, form the data mode of two-dimensional array with the upper left angle point of each grid representative point as density value.
Define a plurality of isodensity values by the thunder and lightning statistical service, the definite of this value can have multiple scheme: on average divide by overall density value, divide by given density equivalence etc.
By the degree of depth traversal of X-direction to Y-axis, as Fig. 3, finding has the intermediate value on certain point or two summits, sideline to equal first equivalent time from grid sideline, the full figure upper left corner, beginning article one isoplethes drawing.And note the positional information of this point simultaneously, the record of positional information since usually the position of point on certain bar sideline, therefore the position (comprising reference position, final position) that needs this line of record, and point a certain position (simplify the back and use 0-99 scope record) on line.
By the adjacent towards periphery sideline of above-mentioned point and each the grid upper left corner to lower right corner line search equivalent point, because leg-of-mutton equivalent point way of search is more simple, so said method is to form triangle by the diagonal line that increases grid to carry out recursive lookup.Concrete grammar is seen Fig. 4 process flow diagram, after searching for this with isoline that connect into sealing a little or that intersect in both sides and sideline.
Continue traversal downwards in the position of above-mentioned first equivalent point of discovery, the new equivalent point of not finding before finding carries out above-mentioned recurrence traversal once more, takes out up to all isoline same equivalence and so forth.In like manner come back to data head and search other equivalent isoline, and all isoline are noted by the equivalence classification.
Step 3: the point of every isoline of formation that will calculate forms the Bei Saier curve of sealing as parameter, and the isoline smoothing is helped checking intuitively and showing.
Many the isoline after level and smooth cuts mutually and forms a plurality of equivalent zones, utilizes the equivalence that forms each regional line representative to determine each Regional Representative's density value interval, uses the interval zone of color equity of regulation to fill.And all blocks are combined into the thunder and lightning isodensity map of All Ranges.
Step 4:, so carrying out to carry out the translation of 0.5 mesh width to X-axis and Y-axis when superposeing with power network topology figure and map because step 2 is calculated the upper left angle point of time grid that interval scale point uses as representing the position.
With the thunder and lightning isodensity map translucent after as a setting figure insert between background map and the power network topology figure, produce the electrical network figure that has lightning information.Can make things convenient for by this figure and to check the influence of thunder and lightning intuitively power equipment in the electrical network.
More than embodiment of the present invention is described in detail, used embodiment herein the present invention set forth, the explanation of above embodiment just is used for help understanding system and method for the present invention; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.