Data updating method for underground cable model
By calculating the power consumption data and the preset state distance value of the underground cable model, and judging and eliminating invalid data, the data inaccuracy caused by environmental and equipment errors is solved, and the accuracy of model updates and grid stability are improved.
Patent Information
- Application Number
- CN202210105956.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-28
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2042-01-28
AI Technical Summary
The existing underground cable models are inaccurate enough due to invalid data caused by environmental and acquisition equipment errors when data is updated.
By obtaining the power consumption data of the target cable, calculate the distance from the preset data value in the normal and abnormal states, determine whether the data set is valid, and remove invalid data to update the model.
Improve the accuracy and reliability of underground cable model data updates to ensure stable operation of the power grid.
Smart Images

Figure CN114519267B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of underground cable models, and in particular to a data updating method for an underground cable model. Background Art
[0002] As the coverage of underground cables becomes wider and wider, in order to improve the monitoring efficiency of underground cables, three-dimensional modeling of underground cables can be performed to monitor the status of underground cables in real time to ensure reliable power supply.
[0003] After building a 3D cable model, most existing methods directly collect relevant cable data and update the model in real time based on the collected data. However, due to the influence of the environment and the errors of the collection equipment itself, the collected cable data may be invalid data, and directly updating the cable model based on the above collected data is not accurate enough. Summary of the invention
[0004] An embodiment of the present invention provides a method for updating data of an underground cable model to solve the problem that the collected cable data may be invalid data and the cable model is not accurately updated directly based on the collected data due to the influence of errors in the environment and the collection equipment itself.
[0005] In a first aspect, the present invention provides a method for updating data of an underground cable model, comprising:
[0006] Acquire a data value set of a target cable; the data value set includes data values of power consumption data of the target cable at M moments;
[0007] Calculate the distance between the data value of the power consumption data at each moment and the first preset data value to obtain M first distance values; the first preset data value is determined according to the data value of the power consumption data of the target cable in a normal state;
[0008] Calculate the distance between the data value of the power consumption data at each moment and the second preset data value to obtain M second distance values; the second preset data value is determined according to the data value of the power consumption data of the target cable in an abnormal state;
[0009] Whether the data value set is valid is determined according to the M first distance values and the M second distance values, and when the data value set is determined to be valid, the underground cable model of the target cable is updated with the data value set.
[0010] In a possible implementation, judging whether the data value set is valid according to the M first distance values and the M second distance values includes:
[0011] Calculate the sum of the first distance value and the second distance value at the same time to obtain M distance sums;
[0012] Compare the M distance sums with the preset distance sum to determine whether the data value set is valid.
[0013] In a possible implementation, comparing the M distance sums with a preset distance sum to determine whether the data value set is valid includes:
[0014] Compare each distance sum with a preset distance sum, and if the distance sum is greater than the preset distance sum, determine that the distance sum is invalid; if the distance sum is not greater than the preset distance sum, determine that the distance sum is valid;
[0015] If the number of invalid distance sums is greater than a preset number, the data value set is determined to be invalid;
[0016] If the number of invalid distance sums is not greater than a preset number, the data value set is determined to be valid.
[0017] In a possible implementation, after comparing each distance sum with a preset distance sum, the method further includes:
[0018] If the distance sum is determined to be invalid, a first alarm signal is issued.
[0019] In a possible implementation, calculating the distance between the data value of the power consumption data at each moment and the first preset data value to obtain M first distance values includes:
[0020] By using the clustering method, with the first preset data value as the cluster center, the distance value between the data value of the power consumption data at each moment and the first preset data value is calculated to obtain M first distance values.
[0021] In a possible implementation, calculating the distance between the data value of the power consumption data at each moment and the second preset data value to obtain M second distance values includes:
[0022] The clustering method is used, with the second preset data value as the cluster center, to calculate the distance between the data value of the power consumption data at each moment and the second preset data value, and obtain M second distance values.
[0023] In a possible implementation, after determining whether the data value set is valid according to the M first distance values and the M second distance values, the method further includes:
[0024] When the data value set is determined to be invalid, a second alarm signal is issued.
[0025] In a second aspect, the present invention provides a data updating device for an underground cable model, comprising:
[0026] An acquisition module is used to acquire a data value set of a target cable; the data value set includes data values of power consumption data of the target cable at M moments;
[0027] A first calculation module is used to calculate the distance between the data value of the power consumption data at each moment and the first preset data value to obtain M first distance values; the first preset data value is determined according to the data value of the power consumption data of the target cable in a normal state;
[0028] A second calculation module is used to calculate the distance between the data value of the power consumption data at each moment and the second preset data value to obtain M second distance values; the second preset data value is determined according to the data value of the power consumption data of the target cable in an abnormal state;
[0029] The judging module is used to judge whether the data value set is valid according to the M first distance values and the M second distance values, and when the data value set is judged to be valid, update the underground cable model of the target cable with the data value set.
[0030] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the processor implements the steps of a method for updating data of an underground cable model as described in the first aspect or any possible implementation of the first aspect.
[0031] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method for updating data of an underground cable model as described in the first aspect or any possible implementation of the first aspect.
[0032] The embodiment of the present invention provides a data updating method for an underground cable model, which obtains a data value set of a target cable; calculates the distance value between the data value of the power consumption data at each moment and a first preset data value to obtain M first distance values, and calculates the distance value between the data value of the power consumption data at each moment and a second preset data value to obtain M second distance values. Whether the data value set is valid is determined based on the M first distance values and the M second distance values, and invalid data value sets can be eliminated to ensure the reliability of the underground cable model data update, thereby ensuring the reliability of the underground cable operation and improving the stability of the power grid operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0034] Figure 1 is a flow chart of the implementation of the data updating method of the underground cable model provided by the embodiment of the present invention;
[0035] Figure 2 It is a structural schematic diagram of a data updating device for an underground cable model provided by an embodiment of the present invention;
[0036] Figure 3 is a schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0037] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0038] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below in conjunction with the accompanying drawings.
[0039] See also Figure 1 , which shows a flow chart of the implementation of the data updating method of the underground cable model provided by an embodiment of the present invention. Figure 1 As shown, a method for updating data of an underground cable model may include:
[0040] S101, obtaining a data value set of a target cable; the data value set includes data values of power consumption data of the target cable at M moments.
[0041] Optionally, the target cable is a cable for which an underground cable model has been constructed. The data value set may include data values of power consumption data of the target cable at M moments. The power consumption data may be voltage, current, or other data that can be updated in the underground cable model of the target cable, which may be specifically determined according to the underground cable model of the target cable.
[0042] S102, calculating the distance between the data value of the power consumption data at each moment and the first preset data value to obtain M first distance values; the first preset data value is determined according to the data value of the power consumption data when the target cable is in a normal state.
[0043] Optionally, the first preset data value may be a representative data value according to the power consumption data of the target cable in a normal state, for example, an average value. The first distance value may be calculated by a clustering method.
[0044] Specifically, for the electricity consumption data at each moment, the distance value between the data value of the electricity consumption data and the first preset data value is calculated and marked as the first distance value. The first distance value indicates the distance relationship between the electricity consumption data and the first preset data value, that is, the first distance value can be used to determine whether the electricity consumption data is normal.
[0045] S103, calculating the distance between the data value of the power consumption data at each moment and the second preset data value to obtain M second distance values; the second preset data value is determined according to the data value of the power consumption data when the target cable is in an abnormal state.
[0046] Optionally, the second preset data value may be a representative data value according to the power consumption data of the target cable in an abnormal state, for example, an average value. The second distance value may be calculated by the same clustering method as that for calculating the first distance value.
[0047] Specifically, for the electricity consumption data at each moment, the distance value between the data value of the electricity consumption data and the second preset data value is calculated and marked as the second distance value. The second distance value represents the distance relationship between the electricity consumption data and the second preset data value, that is, the second distance value can be used to determine whether the electricity consumption data is abnormal.
[0048] S104, judging whether the data value set is valid according to the M first distance values and the M second distance values, and updating the underground cable model of the target cable with the data value set when the data value set is judged to be valid.
[0049] Optionally, the cable generally includes a normal state or an abnormal state, and the power usage data in the normal state and the power usage data in the abnormal state can be used to update the underground cable model to ensure that the model can reflect the status of the cable in real time.
[0050] When the power consumption data is neither the power consumption data under normal conditions nor the power consumption data under abnormal conditions, it indicates that the power consumption data is invalid, that is, the power consumption data cannot reflect the state of the underground cable model and needs to be eliminated to ensure the validity of the underground cable model.
[0051] Optionally, the validity of the data value set can be determined by the first distance value and the second distance value of each power consumption data. For example, if there is invalid power consumption data in the data value set, the data value set can be determined to be invalid, or if the number of invalid power consumption data in the data value set is greater than a certain number, the data value set can be determined to be invalid. The specific setting can be based on actual conditions.
[0052] When the data value set is determined to be valid, the data value set can be used to update the underground cable model. When the data value set is determined to be invalid, the power consumption data of the target cable can be re-collected to perform a determination update.
[0053] The embodiment of the present invention calculates the distance value between the data value of each power consumption data in the data value set and the first preset data value, and the distance value between the data value of each power consumption data and the second preset data value, and determines whether the data value set is valid according to the first distance value and the second distance value. Updating the corresponding underground cable model with a valid data value set can improve the accuracy and reliability of the underground cable model update. At the same time, the invalidity of the data value set can indicate to a certain extent that there is a problem with the acquisition equipment, and the problematic acquisition equipment can be repaired or replaced in time. Therefore, by judging whether the data value set is valid, the reliability of the acquisition equipment can also be improved.
[0054] In some embodiments of the present invention, the above-mentioned S104 of "determining whether the data value set is valid based on M first distance values and M second distance values" may include: calculating the sum of the first distance value and the second distance value at the same time to obtain M distance sums; comparing the M distance sums with the preset distance sum to determine whether the data value set is valid.
[0055] Optionally, the sum of the first distance value and the second distance value at the same moment is calculated to obtain M distance sums. For each moment, the distance sum at that moment can indicate whether the power consumption data at that moment is valid. By judging whether the power consumption data at each moment is valid, it is further judged whether the data value set is valid.
[0056] Optionally, the preset distance sum can be set according to actual conditions, for example, it can be: the sum of the maximum distance value between the data value of normal power consumption data and the first preset data value and the maximum distance value between the data value of abnormal power consumption data and the second preset data value.
[0057] In some embodiments of the present invention, M distance sums are compared with a preset distance sum to determine whether the data value set is valid, including: comparing each distance sum with the preset distance sum, if the distance sum is greater than the preset distance sum, determining that the distance sum is invalid; if the distance sum is not greater than the preset distance sum, determining that the distance sum is valid; if the number of invalid distance sums is greater than the preset number, determining that the data value set is invalid; if the number of invalid distance sums is not greater than the preset number, determining that the data value set is valid.
[0058] Optionally, each distance sum is compared with a preset distance sum, and the power consumption data whose distance sum is greater than the preset distance sum is invalid data, which is neither normal power consumption data nor abnormal power consumption data, and cannot be used to update the underground cable model of the target cable. When invalid power consumption data is determined, the collection equipment for collecting power consumption data can be tested to determine whether there is a problem with the collection equipment, so as to facilitate timely maintenance or replacement to ensure the stability of the collection equipment.
[0059] The power consumption data whose distance sum is not greater than the preset distance sum is valid data. The power consumption data belongs to normal power consumption data or abnormal power consumption data, which truly reflects the status of the target cable and can be used to update the underground cable model of the target cable.
[0060] In some embodiments of the present invention, after comparing each distance sum with a preset distance sum, the method further comprises: if it is determined that the distance sum is invalid, issuing a first alarm signal.
[0061] Optionally, after determining that the distance and the data are invalid, a first alarm signal is issued to indicate that the distance and the corresponding power consumption data are invalid, and the power consumption data can be recorded to build an invalid power consumption database. Whether the power consumption data is invalid can also be determined through the invalid power consumption database.
[0062] In some embodiments of the present invention, the above-mentioned S102 of "calculating the distance value between the data value of the electricity consumption data at each moment and the first preset data value to obtain M first distance values" may include: using a clustering method, with the first preset data value as the cluster center, calculating the distance value between the data value of the electricity consumption data at each moment and the first preset data value to obtain M first distance values.
[0063] The above S103 "calculate the distance value between the data value of the electricity consumption data at each moment and the second preset data value to obtain M second distance values" may include: using a clustering method, taking the second preset data value as the cluster center, calculating the distance value between the data value of the electricity consumption data at each moment and the second preset data value to obtain M second distance values.
[0064] Optionally, a clustering method may be used to calculate the first distance value or the second distance value of the power consumption data at each moment with the first preset data value or the second preset data value as the cluster center, for example, a system clustering method or a k-means clustering method may be used.
[0065] In some embodiments of the present invention, after determining whether the data value set is valid according to the M first distance values and the M second distance values, the method further comprises: issuing a second alarm signal when the data value set is determined to be invalid.
[0066] Optionally, when it is determined that the data value set is invalid, a second alarm signal may be issued to record the data value set to indicate that the data value set is invalid.
[0067] The embodiment of the present invention judges the data value set of the target cable and updates the underground cable model according to the valid data value set, thereby improving the reliability of the underground cable model data update, ensuring the authenticity of the underground cable data obtained through the model, improving the stability of the underground cable operation, and ensuring the stable operation of the power grid.
[0068] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0069] The following is an embodiment of the device of the present invention. For details not described in detail therein, reference may be made to the corresponding method embodiment described above.
[0070] Figure 2 The following is a schematic diagram showing the structure of a data updating device for an underground cable model provided by an embodiment of the present invention. For ease of explanation, only the parts related to the embodiment of the present invention are shown, which are described in detail as follows:
[0071] like Figure 2 As shown, the data updating device 20 for the underground cable model may include: an acquisition module 201 , a first calculation module 202 , a second calculation module 203 and a judgment module 204 .
[0072] The acquisition module 201 is used to acquire the data value set of the target cable; the data value set includes the data values of the power consumption data of the target cable at M moments. The first calculation module 202 is used to calculate the distance value between the data value of the power consumption data at each moment and the first preset data value, and obtain M first distance values; the first preset data value is determined based on the data value of the power consumption data when the target cable is in a normal state. The second calculation module 203 is used to calculate the distance value between the data value of the power consumption data at each moment and the second preset data value, and obtain M second distance values; the second preset data value is determined based on the data value of the power consumption data when the target cable is in an abnormal state. The judgment module 204 is used to judge whether the data value set is valid based on the M first distance values and the M second distance values, and when the data value set is judged to be valid, the underground cable model of the target cable is updated with the data value set.
[0073] In some embodiments of the present invention, the determination module 204 may include: a calculation unit and a determination unit.
[0074] The calculation unit is used to calculate the sum of the first distance value and the second distance value at the same time to obtain M distance sums. The judgment unit is used to compare the M distance sums with the preset distance sum to judge whether the data value set is valid.
[0075] In some embodiments of the present invention, the first judgment unit is also used to compare each distance sum with a preset distance sum. If the distance sum is greater than the preset distance sum, the distance sum is determined to be invalid; if the distance sum is not greater than the preset distance sum, the distance sum is determined to be valid; if the number of invalid distance sums is greater than the preset number, the data value set is determined to be invalid; if the number of invalid distance sums is not greater than the preset number, the data value set is determined to be valid.
[0076] In some embodiments of the present invention, the device 20 may further include: a first alarm module, configured to issue a first alarm signal if, after comparing each distance sum with a preset distance sum, the distance sum is determined to be invalid.
[0077] In some embodiments of the present invention, the first calculation module 202 can also be used to use a clustering method, with the first preset data value as the cluster center, to calculate the distance value between the data value of the power consumption data at each moment and the first preset data value, and obtain M first distance values.
[0078] In some embodiments of the present invention, the second calculation module 203 can also be used to use the clustering method, with the second preset data value as the cluster center, to calculate the distance value between the data value of the power consumption data at each moment and the second preset data value, and obtain M second distance values.
[0079] In some embodiments of the present invention, the device 20 may further include: a second alarm module for, after determining whether the data value set is valid based on the M first distance values and the M second distance values, issuing a second alarm signal when the data value set is determined to be invalid.
[0080] Figure 3 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 3 As shown, the electronic device 30 of this embodiment includes: a processor 300, a memory 301, and a computer program 302 stored in the memory 301 and executable on the processor 300. When the processor 300 executes the computer program 302, the steps in the above-mentioned data updating method of the underground cable model are implemented, for example Figure 1 Alternatively, when the processor 300 executes the computer program 302, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 2 Functionality of modules / units 201 to 204 is shown.
[0081] Exemplarily, the computer program 302 may be divided into one or more modules / units, one or more modules / units are stored in the memory 301, and are executed by the processor 300 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments that can implement specific functions, and the instruction segments are used to describe the execution process of the computer program 302 in the electronic device 30. For example, the computer program 302 may be divided into Figure 2 Modules / units 201 to 204 are shown.
[0082] The electronic device 30 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 30 may include, but is not limited to, a processor 300 and a memory 301. Those skilled in the art will appreciate that Figure 3 It is only an example of the electronic device 30 and does not constitute a limitation of the electronic device 30. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0083] The processor 300 may be a central processing unit (CPU), or 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. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0084] The memory 301 may be an internal storage unit of the electronic device 30, such as a hard disk or memory of the electronic device 30. The memory 301 may also be an external storage device of the electronic device 30, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 30. Further, the memory 301 may also include both an internal storage unit of the electronic device 30 and an external storage device. The memory 301 is used to store computer programs and other programs and data required by the electronic device. The memory 301 may also be used to temporarily store data that has been output or is to be output.
[0085] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0086] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0087] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0088] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0089] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0090] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0091] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned data update method embodiments of each underground cable model can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0092] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A method for updating data of an underground cable model, characterized in that: include: Acquire a data value set of a target cable; the data value set includes data values of power consumption data of the target cable at M moments; Calculate the distance between the data value of the power consumption data at each moment and the first preset data value to obtain M first distance values; The first preset data value is determined according to the data value of the power consumption data of the target cable in a normal state; the distance value between the data value of the power consumption data and the second preset data value at each moment is calculated to obtain M second distance values; The second preset data value is determined according to the data value of the power consumption data of the target cable in an abnormal state; Whether the data value set is valid is determined according to the M first distance values and the M second distance values, and when the data value set is determined to be valid, the underground cable model of the target cable is updated with the data value set.
2. The data updating method of the underground cable model according to claim 1, characterized in that: The determining whether the data value set is valid according to the M first distance values and the M second distance values includes: Calculate the sum of the first distance value and the second distance value at the same time to obtain M distance sums; The M distance sums are compared with a preset distance sum to determine whether the data value set is valid.
3. The data updating method of the underground cable model according to claim 2, characterized in that: The comparing the M distance sums with the preset distance sum to determine whether the data value set is valid includes: Compare each distance sum with the preset distance sum, and if the distance sum is greater than the preset distance sum, determine that the distance sum is invalid; if the distance sum is not greater than the preset distance sum, determine that the distance sum is valid; If the number of invalid distance sums is greater than a preset number, determining that the data value set is invalid; If the number of invalid distance sums is not greater than the preset number, the data value set is determined to be valid.
4. The data updating method of the underground cable model according to claim 3, characterized in that: After comparing each distance sum with the preset distance sum, the method further includes: If the distance sum is determined to be invalid, a first alarm signal is issued.
5. The data updating method of the underground cable model according to claim 1, characterized in that: The calculating the distance between the data value of the power consumption data at each moment and the first preset data value to obtain M first distance values includes: By using a clustering method, with the first preset data value as the cluster center, the distance value between the data value of the power consumption data at each moment and the first preset data value is calculated to obtain M first distance values.
6. The underground cable model data updating method according to claim 1, characterized in that: The calculating the distance between the data value of the power consumption data at each moment and the second preset data value to obtain M second distance values includes: By using the clustering method, taking the second preset data value as the cluster center, the distance value between the data value of the power consumption data at each moment and the second preset data value is calculated to obtain M second distance values.
7. The method for updating underground cable model data according to any one of claims 1 to 6, characterized in that: After determining whether the data value set is valid according to the M first distance values and the M second distance values, the method further includes: When the data value set is determined to be invalid, a second alarm signal is issued.
8. A data updating device for an underground cable model, characterized in that: include: An acquisition module, used for acquiring a data value set of a target cable; The data value set includes data values of power consumption data of the target cable at M moments; A first calculation module, used for calculating the distance between the data value of the power consumption data at each moment and the first preset data value, to obtain M first distance values; The first preset data value is determined according to the data value of the power consumption data of the target cable in a normal state; A second calculation module, used to calculate the distance between the data value of the power consumption data at each moment and the second preset data value, to obtain M second distance values; The second preset data value is determined according to the data value of the power consumption data of the target cable in an abnormal state; The judging module is used to judge whether the data value set is valid according to the M first distance values and the M second distance values, and when the data value set is judged to be valid, update the underground cable model of the target cable with the data value set.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the underground cable model data updating method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the underground cable model data updating method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Analyzing method for shortest available path of underground pipe network cable based on power grid model
CN102314536A
Overvoltage simulation analysis method and system of cable line
CN108509712A