Power system risk prediction method and system based on big data analysis

By adjusting the ambient temperature and fitting the temperature curve when the transformer is not working, calculating the heat generation and temperature correction values, and predicting the internal temperature of the transformer, the problems of high resource consumption and frequent model updates in the existing technology are solved, and more efficient temperatures are achieved Forecasting and risk judgment.

CN117968886BActive Publication Date: 2024-11-05国网甘肃省电力公司金昌供电公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311616792.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2024-11-05
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

The prior art requires a large amount of computing resources and frequent model updates when predicting the internal temperature of the transformer, which increases cost and complexity, and it is difficult to effectively judge the temperature risk.

Method used

When the transformer is not working, adjust the ambient temperature at a preset fixed temperature interval, obtain the internal temperature data points of the transformer, use the least squares method to fit the temperature curve, calculate the heat generation and temperature correction values, predict the temperature, if the safety threshold is exceeded, Then send an early warning message.

Benefits of technology

It reduces the computing resource requirements and model update frequency, improves the accuracy and efficiency of temperature prediction, and can promptly judge the internal temperature risks of the transformer and prevent safety accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117968886B_ABST
    Figure CN117968886B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of risk prediction, and specifically discloses a method and system for predicting power system risks based on big data analysis, wherein the method comprises the following steps: S1: obtaining the ambient temperature at each time node and the internal temperature of the transformer corresponding to each ambient temperature, and generating data points in the coordinate system, and fitting the data points by the least square method; S2: calculating the mean Q of the heat generated in the same time period on different temperature dates as the heat generated in the time period; S3: calculating the temperature correction value; S4: calculating the predicted temperature; when the predicted temperature is greater than or equal to a preset safety threshold, sending an early warning message. The present invention can predict the temperature inside the transformer according to the operation of the transformer and the ambient temperature, and then determine whether there is a risk.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of risk prediction, and in particular to a method for predicting power system risks based on big data analysis. Background Art

[0002] The power system is a complex system consisting of four main components: power plants, substations, transmission lines and distribution systems. Each part has its own specific functions and tasks. Among them, the distribution system includes various equipment such as transformers, switch boxes, and distribution cabinets. Its function is to distribute the medium-voltage electricity generated by the substation and transmit it to the end users.

[0003] Considering the important impact of the internal temperature of the transformer on the safe operation of the entire power system, it is usually necessary to predict its internal temperature to prevent the temperature from being too high and causing safety accidents. In the existing technology, it mainly relies on collecting temperature data inside the transformer, and using this data to train and verify the deep learning model to obtain a prediction model for the internal temperature of the transformer, and predict the temperature inside the transformer.

[0004] Although this method can predict the internal temperature of the transformer more accurately, in actual situations, in order to ensure the accuracy of the prediction, a large amount of temperature data is required as training sets and validation sets, which requires more computing resources. In addition, the prediction model of the internal temperature of the transformer needs to be updated and optimized regularly, which increases the cost of predicting the internal temperature of the transformer. Summary of the invention

[0005] The purpose of the present invention is to provide a power system risk prediction method and system based on big data analysis to solve the above-mentioned technical problems.

[0006] The purpose of the present invention can be achieved by the following technical solutions:

[0007] The power system risk prediction method based on big data analysis includes the following steps:

[0008] S1: When the transformer is not working, the ambient temperature is adjusted from low to high at a preset fixed temperature interval. After each adjustment of the external ambient temperature, the internal temperature T of the transformer is obtained after a preset time interval;

[0009] Several time nodes are set at fixed intervals within the current date, and data points (ti, Ti) are generated in the coordinate system, where ti represents the i-th time node, and Ti represents the internal temperature of the transformer corresponding to the ambient temperature at the i-th time node. The data points are fitted by the least squares method, and the fitting formula is f(t), so as to obtain a curve of the internal temperature of the transformer changing with time;

[0010] S2: Get the ambient temperature range [m, n] of the current date, set the monitoring period, and select the date whose ambient temperature range is within [m-m', n+m'] within the monitoring period, which is defined as the temperature date, and m' is the preset temperature deviation;

[0011] Get the current time node t k and the next adjacent time node t k+1 , get the temperature date and time node t k and t k+1 The heat generated by the transformer during the corresponding time interval;

[0012] Calculate the mean value Q of the heat output as k , t k+1 ]The heat generated by the internal transformer;

[0013] S3: Calculate the temperature correction value ∆T k =Q / (μ*c*V*ρ), where, ΔT k t k+1 The temperature correction value at the moment, μ is the preset correction coefficient, c is the specific heat capacity of air, V is the volume of air inside the transformer, and ρ is the density of air;

[0014] S4: k+1 Substitute the fitted function f(t) to obtain the first temperature value T k , calculate the predicted temperature T' k =∆T k +T k , where T' k t k+1 The predicted temperature at the time;

[0015] When there is the predicted temperature T' k When it is greater than or equal to the preset safety threshold, an early warning message is sent.

[0016] As a further solution of the present invention: in the process of adjusting the ambient temperature, the ambient temperature of the area where the transformer is located in the past five years is obtained, the maximum value N and the minimum value M of the ambient temperature are obtained, and in the process of adjusting the ambient temperature, the adjustment range of the ambient temperature is [M, N].

[0017] As a further solution of the present invention: the process of obtaining the internal temperature of the transformer specifically includes:

[0018] A number of temperature sensors are arranged at fixed intervals inside the transformer, the temperatures of all the temperature sensors when they are stable are obtained, and the average value of the temperatures is calculated as the internal temperature of the transformer.

[0019] As a further solution of the present invention: when the number of the temperature dates is less than a preset value, the following steps are performed:

[0020] When the number of the temperature dates is less than the preset value, the following steps are performed:

[0021] Obtain the number Q of temperature dates and the start date P of the monitoring period, obtain the temperature range within the previous day Pq adjacent to the start date, and determine whether it is a temperature date;

[0022] When Pq is the temperature date, let the number of temperature dates be Q+1, and let Pq be the starting date P, and repeat the above steps until the number of temperature dates reaches the preset value.

[0023] As a further solution of the present invention: in the process of screening the temperature dates, the end date P' of the monitoring period is obtained. When there is a time interval between the end date P' and last year's date P, and the number of temperature dates is less than a preset value, the ambient temperature range is adjusted to [m-2m', n+2m'], and the temperature dates are screened out within the monitoring period.

[0024] As a further solution of the present invention: in the step S4, when the predicted temperature is lower than the preset safety threshold, the difference between the safety threshold and the predicted temperature is calculated, and the difference is an absolute value. When the difference is less than or equal to the preset value, an early warning message is sent.

[0025] As a further solution of the present invention: in step S4, the safety threshold of the temperature is obtained based on the model of the transformer.

[0026] The power system risk prediction system based on big data analysis includes:

[0027] Initial module: When the transformer is not working, the ambient temperature is adjusted from low to high at a preset fixed temperature interval. After each adjustment of the external ambient temperature, the internal temperature T of the transformer is obtained after a preset time interval;

[0028] Several time nodes are set at fixed intervals within the current date, and data points (ti, Ti) are generated in the coordinate system, where ti represents the i-th time node, and Ti represents the internal temperature of the transformer corresponding to the ambient temperature at the i-th time node. The data points are fitted by the least squares method, and the fitting formula is f(t), so as to obtain a curve of the internal temperature of the transformer changing with time;

[0029] Heat calculation module: obtain the ambient temperature range [m, n] of the current date, set the monitoring period, filter the date whose ambient temperature range is within [m-m', n+m'] within the monitoring period, define it as the temperature date, and m' is the preset temperature deviation;

[0030] Get the current time node t k and the next adjacent time node t k+1 , get the temperature date and time node t k and t k+1 The heat generated by the transformer during the corresponding time interval;

[0031] Calculate the mean value Q of the heat output as k , t k+1 ]The heat generated by the internal transformer;

[0032] Correction temperature module: calculates the temperature correction value ∆T k =Q / (μ*c*V*ρ), where, ΔT k t k+1 The temperature correction value at the moment, μ is the preset correction coefficient, c is the specific heat capacity of air, V is the volume of air inside the transformer, and ρ is the density of air;

[0033] Prediction module: t k+1 Substitute the fitted function f(t) to obtain the first temperature value T k , calculate the predicted temperature T' k =∆T k +T k , where T' k t k+1 The predicted temperature at the time;

[0034] When there is the predicted temperature T' k When it is greater than or equal to the preset safety threshold, an early warning message is sent.

[0035] Beneficial effects of the present invention: In the present invention, first, a curve of the transformer internal temperature changing with time is obtained. The reason why the fitted function represents the curve of the transformer internal temperature changing with time is that each ambient temperature corresponds to an internal temperature of the transformer, and there is only one ambient temperature at each time point in a day, so the internal temperature of the transformer at this time point is also unique. The internal temperature of the transformer is linked to time through the ambient temperature; then, the time node t is calculated. k and t k+1The heat generated by the transformer in the time interval is selected because the date with the ambient temperature range of [m-m', n+m'] is selected because when the ambient temperature is higher, users will use more electrical appliances, resulting in an increase in load. The heat generated inside the transformer is mainly due to core loss and winding loss. The calculation formula for winding loss is Pw= Pk* (Sjs / Se), where Pw is the winding loss; Pk is the short-circuit active power of the transformer; Sjs is the calculated load of the transformer; Se is the rated capacity of the transformer. The size of the calculated load depends on the size of the actual load and the load factor. In addition, the power consumption of users is different in different time periods. For example, at night and during the day, users need to rest, and the use of electrical appliances will be less, resulting in a decrease in load. In order to improve the accuracy of the calculation, the mean of the data in the same period is used as the heat transferred in that period; then, according to the heat exchange principle: heat exchange = mass * specific heat capacity * temperature difference, calculate how much the temperature inside the transformer will change due to the heat generation, substitute the time point into the fitted function, and get the internal temperature of the transformer at the next time node when the transformer is not working. Then calculate the sum of the two to get the predicted temperature. The present invention can predict the temperature inside the transformer according to the operation of the transformer and the ambient temperature, and then determine whether there is a risk. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The present invention will be further described below in conjunction with the accompanying drawings.

[0037] Figure 1 It is a flow chart of the power system risk prediction method based on big data analysis of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] See also Figure 1 As shown, the present invention is a power system risk prediction method based on big data analysis, comprising the following steps:

[0040] S1: When the transformer is not working, the ambient temperature is adjusted from low to high at a preset fixed temperature interval. After each adjustment of the external ambient temperature, the internal temperature T of the transformer is obtained after a preset time interval;

[0041] Several time nodes are set at fixed intervals within the current date, and data points (ti, Ti) are generated in the coordinate system, where ti represents the i-th time node, and Ti represents the internal temperature of the transformer corresponding to the ambient temperature at the i-th time node. The data points are fitted by the least squares method, and the fitting formula is f(t), so as to obtain a curve of the internal temperature of the transformer changing with time;

[0042] S2: Get the ambient temperature range [m, n] of the current date, set the monitoring period, and select the date whose ambient temperature range is within [m-m', n+m'] within the monitoring period, which is defined as the temperature date, and m' is the preset temperature deviation;

[0043] Get the current time node t k and the next adjacent time node t k+1 , get the temperature date and time node t k and t k+1 The heat generated by the transformer during the corresponding time interval;

[0044] Calculate the mean value Q of the heat output as k , t k+1 ]The heat generated by the internal transformer;

[0045] S3: Calculate the temperature correction value ∆T k =Q / (μ*c*V*ρ), where, ΔT k t k+1 The temperature correction value at the moment, μ is the preset correction coefficient, c is the specific heat capacity of air, V is the volume of air inside the transformer, and ρ is the density of air;

[0046] S4: k+1 Substitute the fitted function f(t) to obtain the first temperature value T k , calculate the predicted temperature T' k =∆T k +T k , where T' k t k+1 The predicted temperature at the time;

[0047] When there is the predicted temperature T' k When it is greater than or equal to the preset safety threshold, an early warning message is sent.

[0048] It should be noted that, first, the curve of the transformer internal temperature changing with time is obtained. The reason why the fitted function represents the curve of the transformer internal temperature changing with time is that each ambient temperature corresponds to an internal temperature of the transformer, and there is only one ambient temperature at each time point in a day, so the internal temperature of the transformer at this time point is also unique. Through the ambient temperature, the internal temperature of the transformer is linked to time; then, the time node t is calculated. k and t k+1 The heat generated by the transformer in the time interval is selected because the date with the ambient temperature range of [m-m', n+m'] is selected because when the ambient temperature is higher, users will use more electrical appliances, resulting in an increase in load. The heat generated inside the transformer is mainly affected by the core loss and winding loss. The calculation formula for winding loss is Pw= Pk* (Sjs / Se), where Pw is the winding loss; Pk is the short-circuit active power of the transformer; Sjs is the calculated load of the transformer; Se is the rated capacity of the transformer. The size of the calculated load depends on the actual load size and the load factor. In addition, the power consumption of users is different in different time periods. For example, at night and during the day, users need to rest at night, and the use of electrical appliances will be less, resulting in a decrease in load. In order to improve the accuracy of the calculation, the mean of the data in the same period is used as the heat transferred in that period; then, according to the heat exchange principle: heat exchange = mass * specific heat capacity * temperature difference, calculate how much the temperature inside the transformer will change due to the heat generation, substitute the time point into the fitted function, and get the internal temperature of the transformer at the next time node when the transformer is not working. Then calculate the sum of the two to get the predicted temperature.

[0049] In another preferred implementation of the present invention, in the process of adjusting the ambient temperature, the ambient temperature of the area where the transformer is located in the past five years is obtained, the maximum value N and the minimum value M of the ambient temperature are obtained, and in the process of adjusting the ambient temperature, the adjustment range of the ambient temperature is [M, N].

[0050] It is worth noting that the ambient temperature ranges in different regions may vary greatly. Therefore, obtaining the ambient temperature of the transformer's location can reduce the amount of data and save time costs in the process of adjusting the ambient temperature.

[0051] In another preferred implementation of the present invention, the process of obtaining the internal temperature of the transformer specifically includes:

[0052] A number of temperature sensors are arranged at fixed intervals inside the transformer, the temperatures of all the temperature sensors when they are stable are obtained, and the average value of the temperatures is calculated as the internal temperature of the transformer.

[0053] In another preferred implementation of the present invention, when the number of the temperature dates is less than a preset value, the following steps are performed:

[0054] Obtain the number Q of temperature dates and the start date P of the monitoring period, obtain the temperature range within the previous day Pq adjacent to the start date, and determine whether it is a temperature date;

[0055] When Pq is the temperature date, let the number of temperature dates be Q+1, and let Pq be the starting date P, and repeat the above steps until the number of temperature dates reaches the preset value.

[0056] It is understandable that in this case, the number of temperature dates is small. When the sample size is small, the resulting data may deviate from the actual situation, so the number of temperature dates needs to be supplemented to the preset value.

[0057] In another preferred implementation of the present invention, during the process of screening the temperature dates, the end date P' of the monitoring period is obtained. When there is a time interval between the end date P' and last year's date P, and the number of temperature dates is less than a preset value, the ambient temperature range is adjusted to [m-2m', n+2m'], and the temperature dates are screened out within the monitoring period.

[0058] In another preferred implementation of the present invention, in step S4, when the predicted temperature is lower than a preset safety threshold, the difference between the safety threshold and the predicted temperature is calculated, and the difference is an absolute value. When the difference is lower than or equal to a preset value, an early warning message is sent.

[0059] It is worth noting that in this case, although the predicted temperature does not reach the safety threshold, considering that the difference between the predicted temperature and the safety threshold is small, it is possible that k+1 , t k+2 ]The temperature may exceed the safety threshold, and safety accidents may occur due to untimely warnings.

[0060] In another preferred implementation of the present invention, in step S4, the safety threshold of the temperature is obtained based on the model of the transformer.

[0061] In another preferred implementation of the present invention, a power system risk prediction system based on big data analysis includes:

[0062] Initial module: When the transformer is not working, the ambient temperature is adjusted from low to high at a preset fixed temperature interval. After each adjustment of the external ambient temperature, the internal temperature T of the transformer is obtained after a preset time interval;

[0063] Several time nodes are set at fixed intervals within the current date, and data points (ti, Ti) are generated in the coordinate system, where ti represents the i-th time node, and Ti represents the internal temperature of the transformer corresponding to the ambient temperature at the i-th time node. The data points are fitted by the least squares method, and the fitting formula is f(t), so as to obtain a curve of the internal temperature of the transformer changing with time;

[0064] Heat calculation module: obtain the ambient temperature range [m, n] of the current date, set the monitoring period, filter the date whose ambient temperature range is within [m-m', n+m'] within the monitoring period, define it as the temperature date, and m' is the preset temperature deviation;

[0065] Get the current time node t k and the next adjacent time node t k+1 , get the temperature date and time node t k and t k+1 The heat generated by the transformer during the corresponding time interval;

[0066] Calculate the mean value Q of the heat output as k , t k+1 ]The heat generated by the internal transformer;

[0067] Correction temperature module: calculates the temperature correction value ∆T k =Q / (μ*c*V*ρ), where, ΔT k t k+1 The temperature correction value at the moment, μ is the preset correction coefficient, c is the specific heat capacity of air, V is the volume of air inside the transformer, and ρ is the density of air;

[0068] Prediction module: t k+1 Substitute the fitted function f(t) to obtain the first temperature value T k , calculate the predicted temperature T' k =∆T k +T k , where T' k t k+1 The predicted temperature at the time;

[0069] When there is the predicted temperature T' k When it is greater than or equal to the preset safety threshold, an early warning message is sent.

[0070] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A power system risk prediction method based on big data analysis, characterized in that: The following steps are involved: S1: When the transformer is not working, the ambient temperature is adjusted from low to high at a preset fixed temperature interval. After each adjustment of the external ambient temperature, the internal temperature T of the transformer is obtained after a preset time interval; Several time nodes are set at fixed intervals within the current date, and data points (ti, Ti) are generated in the coordinate system, where ti represents the i-th time node, and Ti represents the internal temperature of the transformer corresponding to the ambient temperature at the i-th time node. The data points are fitted by the least squares method, and the fitting formula is f(t), so as to obtain a curve of the internal temperature of the transformer changing with time; S2: Get the ambient temperature range [m, n] of the current date, set the monitoring period, and select the date whose ambient temperature range is within [m-m', n+m'] within the monitoring period, which is defined as the temperature date, and m' is the preset temperature deviation; Get the current time node t k and the next adjacent time node t k+1 , get the temperature date and time node t k and t k+1 The heat generated by the transformer during the corresponding time interval; Calculate the mean value Q of the heat output as k , t k+1 ]The heat generated by the internal transformer; S3: Calculate the temperature correction value ∆T k =Q / (μ*c*V*ρ), where, ΔT k t k+1 The temperature correction value at the moment, μ is the preset correction coefficient, c is the specific heat capacity of air, V is the volume of air inside the transformer, and ρ is the density of air; S4: k+1 Substitute the fitted function f(t) to obtain the first temperature value T k , calculate the predicted temperature T' k =∆T k +T k , where T' k t k+1 The predicted temperature at the time; When there is the predicted temperature T' k When it is greater than or equal to the preset safety threshold, an early warning message is sent.

2. The power system risk prediction method based on big data analysis according to claim 1 is characterized in that: In the process of adjusting the ambient temperature, the ambient temperature of the area where the transformer is located in the past five years is obtained, the maximum value N and the minimum value M of the ambient temperature are obtained, and in the process of adjusting the ambient temperature, the adjustment range of the ambient temperature is [M, N].

3. The power system risk prediction method based on big data analysis according to claim 1 is characterized in that: The process of obtaining the internal temperature of the transformer specifically includes: A number of temperature sensors are arranged at fixed intervals inside the transformer, the temperatures of all the temperature sensors when they are stable are obtained, and the average value of the temperatures is calculated as the internal temperature of the transformer.

4. The power system risk prediction method based on big data analysis according to claim 1 is characterized in that: When the number of the temperature dates is less than the preset value, the following steps are performed: Obtain the number Q of temperature dates and the start date P of the monitoring period, obtain the temperature range within the previous day Pq adjacent to the start date, and determine whether it is a temperature date; When Pq is the temperature date, let the number of temperature dates be Q+1, and let Pq be the starting date P, and repeat the above steps until the number of temperature dates reaches the preset value.

5. The power system risk prediction method based on big data analysis according to claim 4 is characterized in that: In the process of screening the temperature dates, the end date P' of the monitoring period is obtained. When there is a time interval between the end date P' and last year's date P, and the number of temperature dates is less than a preset value, the ambient temperature range is adjusted to [m-2m', n+2m'], and the temperature dates are screened out within the monitoring period.

6. The power system risk prediction method based on big data analysis according to claim 1 is characterized in that: In the step S4, when the predicted temperature is lower than a preset safety threshold, the absolute value of the difference between the safety threshold and the predicted temperature is calculated, and when the absolute value is lower than or equal to a preset value, an early warning message is sent.

7. The power system risk prediction method based on big data analysis according to claim 1 is characterized in that: In step S4, the safety threshold of the temperature is obtained based on the model of the transformer.

8. The power system risk prediction system based on big data analysis is characterized by: include: Initial module: When the transformer is not working, the ambient temperature is adjusted from low to high at a preset fixed temperature interval. After each adjustment of the external ambient temperature, the internal temperature T of the transformer is obtained after a preset time interval; Several time nodes are set at fixed intervals within the current date, and data points (ti, Ti) are generated in the coordinate system, where ti represents the i-th time node, and Ti represents the internal temperature of the transformer corresponding to the ambient temperature at the i-th time node. The data points are fitted by the least squares method, and the fitting formula is f(t), so as to obtain a curve of the internal temperature of the transformer changing with time; Heat calculation module: obtain the ambient temperature range [m, n] of the current date, set the monitoring period, filter the date whose ambient temperature range is within [m-m', n+m'] within the monitoring period, define it as the temperature date, and m' is the preset temperature deviation; Get the current time node t k and the next adjacent time node t k+1 , get the temperature date and time node t k and t k+1 The heat generated by the transformer during the corresponding time interval; Calculate the mean value Q of the heat output as k , t k+1 ]The heat generated by the internal transformer; Correction temperature module: calculates the temperature correction value ∆T k =Q / (μ*c*V*ρ), where, ΔT k t k+1 The temperature correction value at the moment, μ is the preset correction coefficient, c is the specific heat capacity of air, V is the volume of air inside the transformer, and ρ is the density of air; Prediction module: t k+1 Substitute the fitted function f(t) to obtain the first temperature value T k , calculate the predicted temperature T' k =∆T k +T k , where T' k t k+1 The predicted temperature at the time; When there is the predicted temperature T' k When it is greater than or equal to the preset safety threshold, an early warning message is sent.