A method and device for scheduling power outage period

By obtaining holiday information and historical load data, we use the Euclidean distance algorithm to perform intra-group modeling and screening, calculate load points, and generate power outage plans. This solves the problems of high subjectivity and low efficiency in power outage schedule arrangements in the existing technology, and improves efficiency. Scientific and rational, automatic and intelligent power outage schedule scheduling is realized.

CN113706014BActive Publication Date: 2024-09-06GUANGDONG POWER GRID CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202110994706.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-09-06
Estimated Expiration
2041-08-27

AI Technical Summary

Technical Problem

The arrangement of power outage duration in the existing technology relies on manual experience, resulting in heavy workload, strong subjectivity, low efficiency and lack of scientific rationality, making it difficult to adapt to the development of huge power grids and optimization of load conditions.

Method used

By obtaining holiday information and historical load data, we use the Euclidean distance algorithm to perform intra-group modeling, screen template load data, calculate load points, and generate power outage plans based on alternative plans to achieve automatic and intelligent generation of power outage schedule schedules.

Benefits of technology

It improves the scientificity, feasibility and rationality of the power outage construction period, reduces the subjectivity of manual arrangements, and improves the efficiency of the power outage plan and user satisfaction with electricity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113706014B
    Figure CN113706014B
Patent Text Reader

Abstract

The present invention discloses a method and device for scheduling a power outage period, the method comprising: obtaining holiday information and historical load data within a first preset period, grouping the historical load data, using a Euclidean distance algorithm to perform intra-group modeling on the grouped historical load data, obtaining template load data for a second preset period, screening the template load data for the second preset period, obtaining the screened template load data, calculating the load integrals within each planned power outage duration based on the screened template load data, sorting the load integrals from low to high, obtaining the top ten load integrals, and generating alternative power outage plans corresponding to the top ten load integrals based on the top ten load integrals and combining the alternative plans preset in the system. The present invention relates to the field of power outage plans, and by proposing a multi-channel input and output power outage period scheduling method, the scientificity, feasibility and rationality of the power outage period are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of power outage plans, and in particular to a method and device for scheduling power outage duration. Background Art

[0002] The maintenance outage planning strategy for power equipment directly affects the reliability and economy of the power system. A reasonable maintenance outage plan can significantly improve power supply reliability and user satisfaction. However, the current actual maintenance outage plan on site mostly relies on the personal experience and subjective judgment of decision makers, and cannot guarantee the minimum power outage for users, and the rationality and feasibility of the outage schedule. At the same time, the formulation process of the outage plan is cumbersome, the efficiency of the outage plan needs to be improved, and it is impossible to achieve automatic and intelligent generation by automatic and scientific means.

[0003] The traditional method of manually arranging power outage schedules based on operating experience and historical conditions has problems such as large workload, strong subjectivity, low efficiency, and lack of scientific rationality. In addition, the optimization of power outage schedules for large power grids often needs to be optimized in combination with load conditions, holidays, and safety of late-night operations. If it is optimized and arranged manually, it will no longer be able to adapt to the development of large power grids.

[0004] Therefore, in order to improve the scientificity, feasibility and rationality of the power outage schedule, and to solve the technical problems of the existing method of manually arranging the power outage schedule, which has large workload, strong subjectivity, low efficiency and lack of scientificity and rationality, it is urgent to construct a method for scheduling the power outage schedule. Summary of the invention

[0005] The present invention provides a method and device for scheduling a power outage period, which solves the technical problems of the existing method of manually scheduling a power outage period, which has the characteristics of large workload, strong subjectivity, low efficiency and insufficient scientificity and rationality.

[0006] In a first aspect, the present invention provides a method for scheduling a power outage period, comprising:

[0007] Obtain holiday information and historical load data within the first preset period;

[0008] The historical load data are grouped, and internal modeling is performed on the grouped historical load data using a Euclidean distance algorithm to obtain template load data of a second preset period;

[0009] According to the holiday information and the preset construction period conditions, the template load data of the second preset period is screened to obtain the screened template load data;

[0010] Based on the filtered template load data, the load integrals within each planned power outage duration are calculated, and the load integrals within each planned power outage duration are sorted from low to high to obtain the top ten load integrals;

[0011] Based on the top ten load integrals and in combination with the alternative plans preset in the system, alternative power outage plans corresponding to the top ten load integrals are generated.

[0012] Optionally, before acquiring the holiday information and the historical load data within the first preset period, the method further includes:

[0013] The input variables of the function interface of the power outage duration are designed, and the relationship between the input variables is limited; the relationship between the input variables is limited to assist in generating a power outage duration optimization plan.

[0014] Optionally, obtaining holiday information and historical load data within a first preset period includes:

[0015] Acquire the holiday information and preliminary historical load data within a first preset period;

[0016] A small amount of missing load data in the preliminary historical load data is filled by using a linear interpolation method to obtain the historical load data within the first preset period.

[0017] Optionally, the historical load data is grouped, and the grouped historical load data is modeled within the group using a Euclidean distance algorithm to obtain template load data of a second preset period, including:

[0018] Grouping the historical load data to obtain the grouped historical load data;

[0019] Using the Euclidean distance algorithm, the historical load data of the group is modeled within the group to obtain preliminary template load data;

[0020] The unselectable load data in the preliminary template load data is eliminated to generate the template load data of the second preset period.

[0021] Optionally, the template load data of the second preset period is screened according to the holiday information and the preset construction period conditions to obtain the screened template load data, including:

[0022] Determine whether the template load data of the second preset period needs to exclude weekend load data; if so, exclude weekend load data of the template load data of the second preset period;

[0023] Determine whether the template load data of the second preset period needs to exclude holiday load data; if so, exclude the holiday load data of the template load data of the second preset period;

[0024] According to the preset regulation of not accepting the early morning start and end time periods, the early morning load data in the template load data of the second preset period is eliminated to obtain the filtered template load data.

[0025] In a second aspect, the present invention provides a device for scheduling a power outage period, comprising:

[0026] A load module, used to obtain holiday information and historical load data within a first preset period;

[0027] A template module, used for grouping the historical load data, and performing intra-group modeling on the grouped historical load data using a Euclidean distance algorithm to obtain template load data of a second preset period;

[0028] A screening module, used for screening the template load data of the second preset period according to the holiday information and the preset construction period conditions, to obtain the screened template load data;

[0029] A calculation module, for calculating the load integrals within each planned power outage duration based on the filtered template load data, and sorting the load integrals within each planned power outage duration from low to high to obtain the top ten load integrals;

[0030] A generating module is used to generate an alternative power outage plan corresponding to the top ten load integrals based on the top ten load integrals and in combination with the alternative plans preset in the system.

[0031] Optionally, the device further comprises:

[0032] The limiting module is used to design various input variables of the function interface of the power outage duration and to limit the relationship between the various input variables; limiting the relationship between the various input variables is used to assist in generating a power outage duration optimization plan.

[0033] Optionally, the load module comprises:

[0034] An acquisition submodule, used to acquire the holiday information and preliminary historical load data within a first preset period;

[0035] The filling submodule is used to fill in a small amount of missing load data in the preliminary historical load data by using a linear interpolation method to obtain the historical load data within the first preset period.

[0036] Optionally, the template module includes:

[0037] A grouping submodule, used for grouping the historical load data to obtain the grouped historical load data;

[0038] A modeling submodule, for performing intra-group modeling on the grouped historical load data using the Euclidean distance algorithm to obtain preliminary template load data;

[0039] The template submodule is used to eliminate the unselectable load data in the preliminary template load data and generate the template load data of the second preset period.

[0040] Optionally, the screening module includes:

[0041] A first judgment submodule is used to judge whether the template load data of the second preset period needs to exclude weekend load data; if so, exclude weekend load data of the template load data of the second preset period;

[0042] A second judgment submodule is used to judge whether the template load data of the second preset period needs to exclude holiday load data; if so, exclude the holiday load data of the template load data of the second preset period;

[0043] The elimination submodule is used to eliminate the midnight load data in the template load data of the second preset period according to the preset regulation of not accepting the midnight start and end time periods, so as to obtain the filtered template load data.

[0044] It can be seen from the above technical scheme that the present invention has the following advantages: the present invention provides a method for scheduling a power outage schedule, by obtaining holiday information and historical load data within a first preset period, grouping the historical load data, and using the Euclidean distance algorithm to perform intra-group modeling on the grouped historical load data to obtain template load data for a second preset period, and filtering the template load data for the second preset period according to the holiday information and the preset schedule conditions to obtain filtered template load data, and based on the filtered template load data, calculating the load integral within each planned power outage duration, and sorting the load integral within each planned power outage duration from low to high to obtain the top ten load integrals, and based on the top ten load integrals, combined with the preset alternative plans in the system, generating alternative power outage plans corresponding to the top ten load integrals, and through the power outage schedule scheduling method with multi-channel input and output, the existing existing method of manually arranging the power outage schedule has the technical problems of large workload, strong subjectivity, low efficiency and insufficient scientificity and rationality, and improves the scientificity, feasibility and rationality of the power outage schedule. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, 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.

[0046] Figure 1 A flowchart of a method for scheduling a power outage period according to a first embodiment of the present invention;

[0047] Figure 2 A flowchart of a second embodiment of a method for scheduling a power outage period according to the present invention;

[0048] Figure 3 The present invention is a structural block diagram of an embodiment of a device for scheduling power outage duration according to the present invention. DETAILED DESCRIPTION

[0049] The embodiment of the present invention provides a method and device for scheduling a power outage period, which is used to solve the technical problems that the existing method of manually scheduling a power outage period has a large workload, strong subjectivity, low efficiency and insufficient scientificity and rationality.

[0050] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below 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.

[0051] For example, see Figure 1 , Figure 1 The flowchart of the first embodiment of the method for scheduling power outage duration of the present invention includes:

[0052] Step S101, obtaining holiday information and historical load data within a first preset period;

[0053] Step S102, grouping the historical load data, and using the Euclidean distance algorithm to perform intra-group modeling on the grouped historical load data to obtain template load data of a second preset period;

[0054] It should be noted that the absolute distance between two points in a multidimensional space measured by Euclidean distance is calculated as follows:

[0055] In an embodiment of the present invention, the grouped historical load data is modeled within the group using a Euclidean distance algorithm to obtain preliminary template load data, and unselectable load data in the preliminary template load data is removed to generate template load data of a second preset period.

[0056] Step S103, filtering the template load data of the second preset period according to the holiday information and the preset construction period conditions to obtain filtered template load data;

[0057] It should be noted that the preset construction period conditions include whether to accept weekend information, whether to accept holiday information, and whether to accept the early morning start and end time periods in the input variables entered by the user.

[0058] Step S104, based on the filtered template load data, calculate the load integrals within each planned power outage duration, and sort the load integrals within each planned power outage duration from low to high to obtain the top ten load integrals;

[0059] It should be noted that the load integral is the amount of power loss during a specific power outage duration; the less power loss during a specific power outage duration, the lower the load integral.

[0060] Step S105, based on the top ten load integrals and in combination with the alternative plans preset in the system, generating alternative power outage plans corresponding to the top ten load integrals.

[0061] A method for scheduling a power outage duration provided in an embodiment of the present invention obtains holiday information and historical load data within a first preset period, groups the historical load data, and uses a Euclidean distance algorithm to perform intra-group modeling on the grouped historical load data to obtain template load data for a second preset period. The template load data for the second preset period is screened according to the holiday information and the preset duration conditions to obtain the screened template load data. Based on the screened template load data, the load integrals within each planned power outage duration are calculated, and the load integrals within each planned power outage duration are sorted from low to high to obtain the top ten load integrals. Based on the top ten load integrals, in combination with the alternative plans preset in the system, alternative power outage plans corresponding to the top ten load integrals are generated. The power outage duration scheduling method with multi-channel input and output solves the technical problems of large workload, strong subjectivity, low efficiency, and insufficient scientificity and rationality in the existing method of manually arranging the power outage duration, thereby improving the scientificity, feasibility and rationality of the power outage duration.

[0062] For example 2, please refer to Figure 2 , Figure 2 The present invention is a flowchart of a method for scheduling a power outage period, comprising:

[0063] Step S201, obtaining holiday information and preliminary historical load data within a first preset period;

[0064] In an optional embodiment, before obtaining the holiday information and the preliminary historical load data within the first preset period, the method further includes:

[0065] The input variables of the function interface of the power outage duration are designed, and the relationship between the input variables is limited; the relationship between the input variables is limited to assist in generating a power outage duration optimization plan.

[0066] In the embodiment of the present invention, various input variables of the function interface of the power outage period are designed, and the relationship between the various input variables is limited, and then holiday information and preliminary historical load data within a first preset period are obtained.

[0067] In the specific implementation, the various input variables of the function interface for obtaining the power outage duration include the following input variables: Oracle database connection address (string, format is 'user name / password@IP:port / instance name'), current date (string, format is 'year-month-day'), whether the current power outage id is the bus (substation) (bool quantity), whether the current power outage id is the main transformer (bool quantity), current power outage id (string), whether to accept weekend power outages (bool quantity), whether to accept holiday power outages (bool quantity), unacceptable early morning power outage start and end time (string, format is 'hour: minute: second', the minimum time interval is time), planned power outage duration (int type, number of power outage moments), and the overall power outage start and end time allowed in the future (string, format is 'year-month-day hour: minute: second'). For example: the database connection address is 'tdya / tdya@192.168.12.209:1521 / orcl', the current date is '2021-4-29', whether it is a busbar is True, whether it is a main transformer is False, the current power outage id is '19190', whether to accept weekend power outages is True, whether to accept holiday power outages is True, the unacceptable early morning power outage start and end times are '1:00:00' and '5:00:00', the planned power outage duration is 16, and the overall power outage start and end times allowed in the future are '2020-8-29 0:00:00' and '2020-9-28 0:00:00'.

[0068] Then, define the relationship between the input variables and determine whether the values ​​of the input variables are reasonable. For example, the bool value of whether the bus is a busbar cannot be the same as the bool value of whether the main transformer is a busbar; the overall power outage start time allowed in the future should be earlier than the overall power outage end time allowed in the future. If the value of the input variable does not meet the definition rules, an error is printed.

[0069] The input variables entered by the user, such as whether to accept weekend information, whether to accept holiday information, and whether to accept the early morning start and end time periods, can be used as preset construction period conditions for the subsequent steps of eliminating unnecessary data.

[0070] The reason why the system uses the historical load of the last four months is that it has been observed that the historical load of the last four months can fully extract the normal 7-day template load (if it exceeds 4 months, the accuracy of the template will deteriorate over time; if it is less than 4 months, the 7-day template load cannot be accurately extracted due to insufficient data). If the three weeks before and one week after the Spring Festival holiday are included in the historical load, the number of days included will be increased in the historical data (so as to minimize the impact of the factory shutdown and resumption of work before and after the Spring Festival on the load). For holidays and short holidays, these time lengths are no longer added (because the data volume of 4 months is enough to find the 7-day template load). At the same time, in order to ensure the continuity of the load as much as possible, the load of the adjustment date is not removed or supplemented. The time range of holiday information is from the past six months to the next two months. For example: as shown in Table 1, the columns of the holiday information table holiday_info are HOLIDAY, HNAME, HDAY, and DATE2STR. Among them, HOLIDAY indicates whether it is a holiday or a adjusted holiday (bool quantity), HNAME is the name of the holiday (string), HDAY is the name of the holiday day (string), and the rest are null. DATE2STR is the holiday date (Oracle time type, format is 'year-month-day').

[0071] Table 1

[0072]

[0073]

[0074] Step S202, using a linear interpolation method to fill in a small amount of load data missing from the preliminary historical load data, to obtain historical load data within a first preset period;

[0075] In the embodiment of the present invention, a linear interpolation method is used to generate a complete time series based on the start and end time of the historical load, which is used to fill in a small amount of load data missing from the Oracle database and obtain the historical load data within the first preset period.

[0076] Step S203, grouping the historical load data to obtain grouped historical load data;

[0077] In the embodiment of the present invention, the historical load data is grouped based on a week as a unit (7 days a week, 8 hours a day, 8 moments an hour, and 96 moments a day in total) to obtain grouped historical load data.

[0078] Step S204, using the Euclidean distance algorithm to perform intra-group modeling on the grouped historical load data to obtain preliminary template load data;

[0079] In the embodiment of the present invention, the preliminary template load is constructed using the Euclidean distance algorithm.

[0080] In the specific implementation, in the historical load data, the historical load data from Monday to Sunday of each week (96 moments per day, 8 moments per hour, and 8 hours per day) are searched backward from the start time as groups until the data ends. In each group, all historical load data at the same time on the same working day are paired, and the Euclidean distance is calculated (it should be noted that the pairing can only be with the same starting week type. If the Euclidean distance calculated with different starting week types, the most similar load obtained cannot reflect the load trend of each week type within 1 week). Then, all calculated Euclidean distances are sorted according to their size to obtain preliminary template load data (that is, the sorted Euclidean distance).

[0081] Step S205, eliminating unselectable load data in the preliminary template load data, and generating template load data of a second preset period;

[0082] In the embodiment of the present invention, the unselectable load data in the preliminary template load data is eliminated to generate the template load data of the second preset period.

[0083] In the specific implementation, the unselectable loads are removed, and the template loads for one week are generated, and the template loads for the next week and 30 days are spliced. In the order of Euclidean distance from small to large, each Euclidean distance tuple is iterated in turn (weekly grouping from Monday to Sunday). If the load date includes holidays (the characteristics of holiday loads are too different from those of weekdays), or includes the period before and after the Chinese New Year (due to the suspension of work and production before and after the Chinese New Year, the load has a trend of gradually decreasing and gradually increasing), or there is a power outage (power outage has a greater impact on the load curve), the current tuple is no longer used, and the next Euclidean distance tuple is judged instead. Until the current Euclidean distance tuple does not contain the above situation, the two 7*96 (two weeks, 7 days a week, 8 hours a day, 8 moments an hour, a total of 96 moments a day) historical loads of this tuple are averaged to generate the template load for one week. If there is no tuple that meets the requirements in the end, an error is printed. According to today's date, today's week type (Monday, Tuesday...day) is generated. According to today's week type, cut the template load for one week and reassemble it to get the template load for the next week. Repeat the template load for the next week for 5 consecutive times, and take the load data of the previous 30 days as the template load for the next 30 days.

[0084] Then insert the object to be optimized. Get the insertion time and plan primary key id of the current power outage period optimization related data from Oracle, and insert the current id's load for the next 30 days into the Oracle data table. The reason for outputting the template load curve for the next 30 days is to help operators more intuitively observe the relationship between the power outage plan and the future load, thereby significantly improving the efficiency and reliability of decision-making. Use the sql statement 'select sysdate from dual' to get the insertion time of the current power outage plan from Oracle. Use the sql statement 'select seq_id.nextval from dual' to get the primary key id of the current power outage plan from Oracle. For example: As shown in Table 2, the columns of the future_1month_load load data table for the next month are as follows: ID, CEDIAN_ID, DATE_TIME, VALUE_S, TYPE, INSERT_T. Among them, ID is the generated plan id (string), CEDIAN_ID is the current measuring point id (string), DATE_TIME is the type of the predicted load time of the current measuring point id in the next month (Oracle time type), VALUE_S is the predicted load value of the current measuring point id in the next month (number(6,2) type), TYPE is the measuring point type, including bus and main transformer (string), INSERT_T is the insertion time of the generated plan (Oracle time type).

[0085] Table 2

[0086] ID CEDIAN_ID DATE_TIME VALUE_S TYPE INSERT_T 10 19190 2021-5-24 22:45:00 25.30 muxian 2021-4-26 9:14:48

[0087] Step S206, determining whether the template load data of the second preset period needs to exclude weekend load data; if so, excluding weekend load data of the template load data of the second preset period;

[0088] In the embodiment of the present invention, when the template load data of the second preset period needs to exclude weekend load data, the weekend load data of the template load data of the second preset period is excluded.

[0089] In the specific implementation, the week type of the corresponding date is generated according to the time of the template load in the next month. If the weekend power outage is accepted, no modification is made. Otherwise, all data on Saturday and Sunday are removed from the forecast load in the next month.

[0090] Step S207, determining whether the template load data of the second preset period needs to exclude holiday load data; if so, excluding the holiday load data of the template load data of the second preset period;

[0091] In the embodiment of the present invention, when the template load data of the second preset period needs to exclude holiday load data, the holiday load data of the template load data of the second preset period is excluded.

[0092] In the specific implementation, the holiday data is spliced ​​according to the template load date of the next month. If the power outage during the holiday is accepted, no modification is made. Otherwise, all data during the holiday period is removed from the forecast load of the next month.

[0093] Step S208, according to the preset regulation of not accepting the early morning start and end time periods, the early morning load data in the template load data of the second preset period is eliminated to obtain the filtered template load data;

[0094] In the embodiment of the present invention, due to the unacceptable regulations of the early morning start and end time periods, it is necessary to eliminate the early morning load data to obtain the filtered template load data.

[0095] In the specific implementation, according to the unacceptable early morning start and end time points, the early morning data is removed from the template load for the next month (by adding a time column (excluding the date), and then removing the early morning period data according to the unacceptable early morning start and end time input by the function). If the planned power outage duration is longer than the duration after removing the early morning period, an error is printed. According to the input overall allowed power outage start and end time, continue to filter data. If the filtered result is empty, an error is printed.

[0096] Step S209, based on the filtered template load data, calculate the load integrals within each planned power outage duration, and sort the load integrals within each planned power outage duration from low to high to obtain the top ten load integrals.

[0097] In the embodiment of the present invention, the load integrals within each planned power outage duration are calculated based on the filtered template load data, and the load integrals are sorted according to the highest and lowest integrals to obtain the top ten highest load integrals.

[0098] In the specific implementation, continuous time intervals are searched, and in each continuous interval, the planned power outage duration is used as a sliding window to calculate the load integral. In the optional time interval, continuous time intervals are searched. Continuous time points are written into the same array to obtain a two-dimensional array. In each continuous interval, the planned power outage duration is used as the sliding window length to calculate the load integral within each planned power outage duration. The purpose of calculating the load integral is to calculate the amount of power loss within a specific power outage duration. The smaller the power loss, the lower the load integral and the higher the ranking.

[0099] Step S210, based on the top ten load integrals and in combination with the alternative plans preset in the system, generating alternative power outage plans corresponding to the top ten load integrals;

[0100] In the embodiment of the present invention, based on the top ten load integrals and in combination with the alternative plans preset in the system, alternative power outage plans corresponding to the top ten load integrals are generated.

[0101] In the specific implementation, the first 10 power outage plans are generated and inserted into the Oracle data table. The above load integrals are sorted by size, and the top ten load integrals are extracted to obtain the power outage plan time corresponding to the top ten load integrals. According to the power outage plan time, the corresponding alternative power outage plan is selected to obtain the top 10 plans as the intelligently generated alternative power outage plans. The purpose of generating the top 10 optimal power outage plans here is to allow staff to have more power outage time options to facilitate the implementation of power outage work. Insert the intelligent power outage period automatic optimization (the first 10 power outage alternative plans automatically generated by intelligence) into the Oracle data table. For example: As shown in Table 3, the columns of the power outage plan table tdya are as follows: ID, CEDIAN_ID, STARTT, ENDT, TYPE, INSERT_T. Among them, ID is the generated plan ID (string), CEDIAN_ID is the current measurement point ID (string), STARTT is the power outage plan start time of the current measurement point ID (Oracle time type), ENDT is the power outage plan end time of the current measurement point ID (Oracle time type), TYPE is the measurement point type, including busbar and main transformer (string), INSERT_T is the insertion time of the generated plan (Oracle time type). Among them, the values ​​of ID and INSERT_T correspond to the values ​​in the template load table for the next 30 days.

[0102] Table 3

[0103]

[0104] A method for scheduling a power outage duration provided in an embodiment of the present invention obtains holiday information and historical load data within a first preset period, groups the historical load data, and uses a Euclidean distance algorithm to perform intra-group modeling on the grouped historical load data to obtain template load data for a second preset period. The template load data for the second preset period is screened according to the holiday information and the preset duration conditions to obtain the screened template load data. Based on the screened template load data, the load integrals within each planned power outage duration are calculated, and the load integrals within each planned power outage duration are sorted from low to high to obtain the top ten load integrals. Based on the top ten load integrals, in combination with the alternative plans preset in the system, alternative power outage plans corresponding to the top ten load integrals are generated. The power outage duration scheduling method with multi-channel input and output solves the technical problems of large workload, strong subjectivity, low efficiency, and insufficient scientificity and rationality in the existing method of manually arranging the power outage duration, thereby improving the scientificity, feasibility and rationality of the power outage duration.

[0105] See also Figure 3 , Figure 3The present invention is a structural block diagram of a device for scheduling power outage durations according to an embodiment of the present invention, comprising:

[0106] The load module 301 is used to obtain holiday information and historical load data within a first preset period;

[0107] The template module 302 is used to group the historical load data and perform intra-group modeling on the grouped historical load data using a Euclidean distance algorithm to obtain template load data of a second preset period;

[0108] A screening module 303 is used to screen the template load data of the second preset period according to the holiday information and the preset construction period conditions to obtain the screened template load data;

[0109] The calculation module 304 is used to calculate the load integrals within each planned power outage duration based on the filtered template load data, and sort the load integrals within each planned power outage duration from low to high to obtain the top ten load integrals;

[0110] The generating module 305 is used to generate an alternative power outage plan corresponding to the top ten load integrals based on the top ten load integrals and in combination with the alternative plans preset in the system.

[0111] In an optional embodiment, the device further comprises:

[0112] The limiting module is used to design various input variables of the function interface of the power outage duration and to limit the relationship between the various input variables; limiting the relationship between the various input variables is used to assist in generating a power outage duration optimization plan.

[0113] In an optional embodiment, the load module 301 includes:

[0114] An acquisition submodule, used to acquire the holiday information and preliminary historical load data within a first preset period;

[0115] The filling submodule is used to fill in a small amount of missing load data in the preliminary historical load data by using a linear interpolation method to obtain the historical load data within the first preset period.

[0116] In an optional embodiment, the template module 302 includes:

[0117] A grouping submodule, used for grouping the historical load data to obtain the grouped historical load data;

[0118] A modeling submodule, for performing intra-group modeling on the grouped historical load data using the Euclidean distance algorithm to obtain preliminary template load data;

[0119] The template submodule is used to eliminate the unselectable load data in the preliminary template load data and generate the template load data of the second preset period.

[0120] In an optional embodiment, the screening module 303 includes:

[0121] A first judgment submodule is used to judge whether the template load data of the second preset period needs to exclude weekend load data; if so, exclude weekend load data of the template load data of the second preset period;

[0122] A second judgment submodule is used to judge whether the template load data of the second preset period needs to exclude holiday load data; if so, exclude the holiday load data of the template load data of the second preset period;

[0123] The elimination submodule is used to eliminate the midnight load data in the template load data of the second preset period according to the preset regulation of not accepting the midnight start and end time periods, so as to obtain the filtered template load data.

[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0125] In the several embodiments provided in the present application, it should be understood that the methods and devices disclosed in the present invention can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as 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.

[0126] 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.

[0127] 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.

[0128] If the integrated 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 technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a readable storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0129] As described above, 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 thereof may be replaced by equivalents. However, these 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.

Claims

1. A method for scheduling power outage duration, It is characterized in that include: Obtain holiday information and historical load data within the first preset period; The historical load data are grouped, and internal modeling is performed on the grouped historical load data using a Euclidean distance algorithm to obtain template load data of a second preset period; According to the holiday information and the preset construction period conditions, the template load data of the second preset period is screened to obtain the screened template load data; Based on the filtered template load data, the load integrals within each planned power outage duration are calculated, and the load integrals within each planned power outage duration are sorted from low to high to obtain the top ten load integrals; Based on the top ten load integrals, combined with the alternative plans preset in the system, generating alternative power outage plans corresponding to the top ten load integrals; The grouping of the historical load data and performing intra-group modeling on the grouped historical load data using a Euclidean distance algorithm to obtain template load data of a second preset period includes: Taking one week as a unit, the historical load data is grouped according to 8 hours per day and 4 moments per hour to obtain the grouped historical load data; Using the Euclidean distance algorithm, the historical load data of the group is modeled within the group to obtain preliminary template load data; Eliminating unselectable load data in the preliminary template load data to generate template load data of a second preset period; Before obtaining the holiday information and the historical load data in the first preset period, the method further includes: Designing various input variables of the function interface of the power outage duration, and limiting the relationship between the various input variables; limiting the relationship between the various input variables is used to assist in generating a power outage duration optimization plan; The method of using the Euclidean distance algorithm to perform intra-group modeling on the grouped historical load data to obtain preliminary template load data specifically includes: In each group, all historical load data at the same time on the same working day are paired with each other, and the Euclidean distances of the paired historical load data are calculated. After that, all the calculated Euclidean distances are sorted to obtain preliminary template load data; The step of eliminating the unselectable load data in the preliminary template load data to generate the template load data of the second preset period specifically includes: In the preliminary template load data, each Euclidean distance tuple is iterated in order from small to large Euclidean distance, and each Euclidean distance tuple is judged in turn whether there is a power outage. If not, the average value of the two 7*32 time historical load data of the Euclidean distance tuple is calculated to obtain a one-week template load; Get the week type corresponding to the current date; Taking the week type as the starting day of a week, cutting the template load of the week, and reorganizing the cut template load of the week according to the starting day to obtain the template load of the next week; The template load for the next week is repeated 5 times in succession, and among the template loads obtained by repeating 5 times, the load data of the first 30 days is taken as the template load for the next 30 days.

2. The method for scheduling power outage duration according to claim 1, It is characterized in that Obtain holiday information and historical load data within the first preset period, including: Acquire the holiday information and preliminary historical load data within a first preset period; A small amount of missing load data in the preliminary historical load data is filled by using a linear interpolation method to obtain the historical load data within the first preset period.

3. The method for scheduling a power outage period according to any one of claims 1-2, It is characterized in that According to the holiday information and the preset construction period conditions, the template load data of the second preset period is screened to obtain the screened template load data, including: Determine whether the template load data of the second preset period needs to exclude weekend load data; if so, exclude weekend load data of the template load data of the second preset period; Determine whether the template load data of the second preset period needs to exclude holiday load data; if so, exclude the holiday load data of the template load data of the second preset period; According to the preset regulation of not accepting the early morning start and end time periods, the early morning load data in the template load data of the second preset period is eliminated to obtain the filtered template load data.

4. A device for scheduling power outage periods, It is characterized in that include: A load module, used to obtain holiday information and historical load data within a first preset period; A template module, used for grouping the historical load data, and performing intra-group modeling on the grouped historical load data using a Euclidean distance algorithm to obtain template load data of a second preset period; A screening module, used for screening the template load data of the second preset period according to the holiday information and the preset construction period conditions, to obtain the screened template load data; A calculation module, for calculating the load integrals within each planned power outage duration based on the filtered template load data, and sorting the load integrals within each planned power outage duration from low to high to obtain the top ten load integrals; A generating module, configured to generate an alternative power outage plan corresponding to the top ten load integrals based on the top ten load integrals and in combination with an alternative plan preset in the system; The template module includes: A grouping submodule is used to group the historical load data in units of one week, 8 hours per day and 4 moments per hour, to obtain the grouped historical load data; A modeling submodule, for performing intra-group modeling on the grouped historical load data using the Euclidean distance algorithm to obtain preliminary template load data; The template submodule is used to remove the unselectable load data in the preliminary template load data and generate the template load data of the second preset period; The device also includes: A limitation module is used to design various input variables of the function interface of the power outage duration and to limit the relationship between the various input variables; limiting the relationship between the various input variables is used to assist in generating a power outage duration optimization plan; The modeling submodule is specifically used to pair all historical load data at the same time on the same working day in each group, and calculate the Euclidean distance of the paired historical load data, and then sort all the calculated Euclidean distances to obtain preliminary template load data; The template submodule is specifically used to iterate each Euclidean distance tuple in the preliminary template load data in the order of Euclidean distance from small to large, and judge whether each Euclidean distance tuple has a power outage. If not, the average value of the two 7*32 time historical load data of the Euclidean distance tuple is calculated to obtain a template load for one week; Get the week type corresponding to the current date; Taking the week type as the starting day of a week, cutting the template load of the week, and reorganizing the cut template load of the week according to the starting day to obtain the template load of the next week; The template load for the next week is repeated 5 times in succession, and among the template loads obtained by repeating 5 times, the load data of the first 30 days is taken as the template load for the next 30 days.

5. The power outage schedule arrangement device according to claim 4, It is characterized in that The load module comprises: An acquisition submodule, used to acquire the holiday information and preliminary historical load data within a first preset period; The filling submodule is used to fill in a small amount of missing load data in the preliminary historical load data by using a linear interpolation method to obtain the historical load data within the first preset period.

6. The power outage schedule arrangement device according to any one of claims 4-5, It is characterized in that The screening module comprises: A first judgment submodule is used to judge whether the template load data of the second preset period needs to exclude weekend load data; if so, exclude weekend load data of the template load data of the second preset period; A second judgment submodule is used to judge whether the template load data of the second preset period needs to exclude holiday load data; if so, exclude the holiday load data of the template load data of the second preset period; The elimination submodule is used to eliminate the midnight load data in the template load data of the second preset period according to the preset regulation of not accepting the midnight start and end time periods, so as to obtain the filtered template load data.

Citation Information

Patent Citations

  • Power grid operation mode generating method based on monthly power transmission and distribution equipment maintenance plan

    CN104809543A

  • Micro-grid daily comprehensive load short-term prediction method based on Manhattan distance and unscented kalman filter

    CN108596407A

  • Main distribution network pre-outage configuration method based on data mining

    CN108830406A

  • Checking method, system and device for medium-and-long-term maintenance plan of power grid and medium

    CN112215374A

  • Power grid maintenance mode auxiliary generation system based on load prediction

    CN112232542A