Smart grid dispatching method, dispatching device and computer program product
The fuzzy clustering algorithm is used to divide the power consumption period and calculate the response, and generate a scheduling plan, which solves the problem of unreasonable smart grid scheduling and improves the accuracy of the division of power period and the rationality of dispatch.
Patent Information
- Application Number
- CN202410913192.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-09
AI Technical Summary
Unreasonable smart grid dispatching results in electricity consumption behavior being closely linked to daily life and production methods. The time-of-use electricity price model is uncertain and opaque in the billing cycle and pricing perspective, resulting in inconvenient electricity use and irregular pricing.
The fuzzy clustering algorithm is used to divide the current power load data to obtain multiple power consumption periods. The initial electricity price is determined based on the historical power load data, the responsiveness is calculated, a dispatch plan is generated based on the responsiveness, and the smart grid is dispatched.
The fuzzy clustering algorithm is used to improve the accuracy of electricity period division, and different electricity price strategies are adopted for different periods to realize real-time dispatch adjustment of smart grids and improve the rationality of dispatch.
Smart Images

Figure CN118487286B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart grids, and more specifically, to a scheduling method for a smart grid, a scheduling device for a smart grid, and a computer program product. Background Art
[0002] The introduction of the time-of-use electricity price model can guide consumers to use a large amount of electricity during the off-peak period, thereby alleviating the contradiction between electricity supply and demand during the peak period. However, consumers' electricity consumption behavior is closely related to their daily life and production methods. The time-of-use electricity price model has uncertainty and opacity in the billing cycle and pricing, which causes inconvenience in electricity use and irregular pricing, and then leads to technical problems of unreasonable smart grid scheduling.
[0003] Therefore, there is an urgent need for a method to solve the technical problem of unreasonable smart grid scheduling in the existing technology. Summary of the invention
[0004] The main purpose of this application is to provide a smart grid scheduling method, a smart grid scheduling device and a computer program product, so as to at least solve the technical problem of unreasonable smart grid scheduling in the prior art.
[0005] According to one aspect of the present application, a scheduling method for a smart grid is provided, comprising: an acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of users in a historical time period, the current power load data is the power load data in a current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user; a processing step, using a fuzzy clustering algorithm to divide the current power load data into multiple power consumption time periods, and according to the historical power load data , determining the initial electricity price corresponding to the electricity consumption period, wherein the electricity load data of any two of the electricity consumption periods are different, and the initial electricity prices of any two of the electricity consumption periods are different; a calculation step, obtaining the adjusted electricity load data, and calculating the responsiveness based on the adjusted electricity load data and the current electricity load data, wherein the adjusted electricity load data is the electricity load data of the user after the initial electricity price is determined, and the responsiveness is used to characterize the degree of change of the electricity load data after the initial electricity price is determined; a scheduling step, generating a corresponding scheduling plan according to the size of the responsiveness, and scheduling the smart grid according to the scheduling plan.
[0006] Optionally, a fuzzy clustering algorithm is used to divide the current power load data to obtain multiple power consumption time periods, including: calculating the membership based on the current power load data, wherein the membership is used to characterize the degree of fit between the current power load data and the average value of the power load data within the corresponding power consumption time period; establishing a feature matrix based on the membership, wherein the feature matrix is used to characterize the membership characteristics of the current power load data; and standardizing the feature matrix using a fuzzy clustering algorithm to obtain the power consumption time period.
[0007] Optionally, the plurality of power consumption time periods include a peak time period, a valley time period, and a normal time period, the membership includes a peak membership and a valley membership, the peak membership is the membership corresponding to the current power load data in the peak time period, the valley membership is the membership corresponding to the current power load data in the valley time period, and the membership is calculated according to the current power load data, including: according to the formula , calculate the peak membership corresponding to the current power load data at the i-th moment ,in, is the current power load data at the i-th moment, is the minimum value in the current power load data, is the maximum value of the current power load data; according to the formula , calculate the valley membership corresponding to the current power load data at the i-th moment .
[0008] Optionally, according to the membership degree, a feature matrix is established, including: according to the formula , calculate the characteristic matrix .
[0009] Optionally, a fuzzy clustering algorithm is used to standardize the characteristic matrix to obtain the power consumption period, including: performing logarithmic transformation on the characteristic matrix to obtain a fuzzy similarity matrix; clustering the fuzzy similarity matrix to obtain multiple cluster centers; and determining that the time period corresponding to the current power load data corresponding to the cluster center is the power consumption period.
[0010] Optionally, the historical power load data includes historical load demand, and determining the initial electricity price corresponding to the power consumption period according to the historical power load data includes: according to the formula , calculate the initial electricity price ,in, is the historical load demand, and is the predetermined coefficient.
[0011] Optionally, the current power consumption includes the current total power consumption and the current daily power consumption, the adjusted power load data includes the adjusted total power consumption and the adjusted daily power consumption, and the responsiveness is calculated according to the adjusted power load data and the current power load data, including: according to the formula , calculate the Moment Responsiveness ,in, is the total number of users, is the difference between the first ratio and the second ratio, wherein the first ratio is Moment The current total electricity consumption of the user is The second ratio is the ratio of the total current power consumption of the user to the total current power consumption of the user. Moment The adjusted total electricity consumption of the user is The ratio of the total adjusted electricity consumption of the users to the total adjusted electricity consumption of the users, is the difference between the third ratio and the fourth ratio, wherein the third ratio is Moment The current daily electricity consumption of the user The fourth ratio is the ratio of the total current daily power consumption of the user to the total current daily power consumption of the user. Moment The adjusted daily electricity consumption of each user is The ratio of the total adjusted daily electricity consumption of the users, is the difference between the fifth ratio and the sixth ratio, wherein the fifth ratio is time The sixth ratio is the ratio of the sum of the current total power consumption of the users to the current daily power consumption. time The ratio of the total adjusted electricity consumption of each of the users to the adjusted daily electricity consumption.
[0012] Optionally, the scheduling plan includes a target electricity price, and a corresponding scheduling plan is generated according to the size of the responsiveness, including: determining whether the responsiveness is greater than or equal to 0, and when the responsiveness is greater than or equal to 0, determining that the initial electricity price is the target electricity price; when the responsiveness is less than 0, repeating the processing step and the calculation step at least once in sequence, and adjusting the initial electricity price during the repetition process until a preset condition is met, and determining that the initial electricity price when the preset condition is met is the target electricity price, wherein the preset condition is that the responsiveness is greater than or equal to 0 or the number of repetitions is greater than a threshold number.
[0013] According to another aspect of the present application, a dispatching device for a smart grid is provided, comprising: an acquisition unit, used for an acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of users in a historical time period, the current power load data is the power load data in a current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user; a processing unit, used for a processing step, using a fuzzy clustering algorithm to divide and process the current power load data to obtain a plurality of power consumption time periods, and determining the corresponding power consumption time periods according to the historical power load data. An initial electricity price, wherein the electricity load data of any two of the electricity consumption periods are different, and the initial electricity prices of any two of the electricity consumption periods are different; a calculation unit, used for a calculation step, obtaining adjusted electricity load data, and calculating a responsiveness based on the adjusted electricity load data and the current electricity load data, wherein the adjusted electricity load data is the electricity load data of the user after the initial electricity price is determined, and the responsiveness is used to characterize the degree of change of the electricity load data after the initial electricity price is determined, and the adjusted electricity load data includes at least the adjusted electricity consumption of the user; a scheduling unit, used for a scheduling step, generating a corresponding scheduling plan based on the size of the responsiveness, and scheduling the smart grid according to the scheduling plan.
[0014] According to another aspect of the present application, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any one of the methods described are implemented.
[0015] Applying the technical solution of the present application, first, obtain historical power load data and current power load data; then use fuzzy clustering algorithm to divide and process the current power load data to obtain multiple power time periods, and determine the initial electricity price corresponding to the power time period according to the historical power load data. The power load data of any two power time periods are different, and the initial electricity prices of any two power time periods are different; then, obtain the adjusted power load data, and calculate the responsiveness according to the adjusted power load data and the current power load data; finally, generate the corresponding scheduling plan according to the size of the responsiveness, and schedule the smart grid according to the scheduling plan. The specific division of the power time period by the fuzzy clustering algorithm can improve the accuracy of the division of the power time period. After adopting the time-of-use electricity price difference strategy of different electricity prices for different time periods, the adjusted power load data is obtained, and then the corresponding scheduling plan is generated according to the change of user responsiveness before and after the time-of-use electricity price strategy is adopted, so as to realize the real-time adjustment of the smart grid scheduling, and further consider the user's power consumption behavior, that is, the power load data, to achieve the purpose of improving the rationality of the scheduling of the smart grid. The technical problem of unreasonable smart grid scheduling in the prior art is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing a scheduling method for a smart grid provided in an embodiment of the present application is shown;
[0018] Figure 2 A schematic diagram of a process flow of a smart grid scheduling method provided according to an embodiment of the present application is shown;
[0019] Figure 3 A structural block diagram of a smart grid dispatching device provided according to an embodiment of the present application is shown.
[0020] The above drawings include the following reference numerals:
[0021] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION
[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] As introduced in the background technology, the smart grid scheduling in the prior art is unreasonable. To solve the above problem, the embodiments of the present application provide a smart grid scheduling method, a smart grid scheduling device and a computer program product.
[0026] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0027] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a smart grid scheduling method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0028] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the dispatching method of the smart grid in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0029] In this embodiment, a scheduling method for a smart grid running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] Figure 2 is a flow chart of a scheduling method for a smart grid according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0031] Step S201, an acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of the user in the historical time period, the current power load data is the power load data in the current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user;
[0032] Specifically, electricity load data can reflect a series of electricity consumption behaviors. By analyzing this data, we can obtain information on various electricity consumption behaviors, such as: electricity consumption time distribution, seasonal changes, equipment usage, household electricity consumption habits, corporate electricity consumption patterns, regional electricity consumption characteristics, energy efficiency, demand response, power market transactions, fault diagnosis, user behavior prediction, and energy conservation and emission reduction, etc. Among them, analyzing electricity load data can understand the electricity demand in different time periods of the day, such as peak hours and trough hours; according to different seasons of the year, the electricity load may change significantly. For example, in summer, the increased use of air conditioners may lead to an increase in electricity load. By analyzing load data, we can infer the operation status and usage frequency of specific equipment (such as air conditioners, refrigerators, washing machines, etc.). Through long-term observation of household electricity load data, we can understand the household's electricity usage habits, such as the time to get up in the morning and the time to turn off the lights at night. For commercial and industrial users, electricity load data can reflect the electricity usage pattern in the production process, such as the start and shutdown time of the machine, the operation status of the production line, etc. By analyzing the electricity load data of different regions, we can understand the electricity usage characteristics of the region, such as the differences in electricity usage patterns in industrial areas, residential areas, and commercial areas. Through electricity load data, we can evaluate energy consumption. The power load data can help power system operators to manage demand response, balance supply and demand by adjusting the power load, and improve the stability of the power grid. In the power market, the power load data can be used as the basis for transactions, helping market participants to formulate prices and trading strategies. Abnormal power load data may indicate problems with the power system or equipment, such as overload, short circuit or equipment failure. By analyzing historical power load data, users' future power consumption behavior can be predicted, providing a basis for power supply and demand planning. Analyzing power load data can help identify potential areas for energy conservation and emission reduction, and promote the sustainable use of energy.
[0033] Step S202, a processing step, using a fuzzy clustering algorithm to divide the current power load data to obtain multiple power consumption periods, and determining the initial electricity price corresponding to the power consumption period according to the historical power load data, wherein if the power load data of any two of the power consumption periods are different, the initial electricity prices of any two of the power consumption periods are different;
[0034] Specifically, the fuzzy clustering algorithm is a clustering method based on fuzzy mathematics theory. The fuzzy clustering algorithm can handle uncertainty and ambiguity in data well. In practical applications, the fuzzy clustering algorithm can be used in combination with other algorithms to improve the clustering effect. For example, the fuzzy clustering algorithm can be combined with the K-means algorithm to improve clustering accuracy and stability. The determination of the above initial electricity price is actually a time-of-use electricity price strategy, which adjusts the electricity price according to different time periods of the day, aiming to encourage users to use more electricity during periods of low electricity demand, thereby achieving a reasonable allocation of electricity resources and reducing peak loads. The electricity price is higher during peak hours, moderate during off-peak hours, and lower during off-peak hours.
[0035] Step S203, a calculation step, obtaining adjusted power load data, and calculating the responsiveness according to the adjusted power load data and the current power load data, wherein the adjusted power load data is the power load data of the user after the initial power price is determined, and the responsiveness is used to characterize the degree of change of the power load data after the initial power price is determined;
[0036] Specifically, the above process of calculating the responsiveness is to determine whether the last time-of-use electricity price strategy can meet the user's electricity demand.
[0037] Step S204, a scheduling step, generates a corresponding scheduling plan according to the size of the above-mentioned responsiveness, and schedules the smart grid according to the above-mentioned scheduling plan.
[0038] Specifically, the above dispatching scheme can predict the power demand in the future by analyzing historical data and real-time data, and realize the reasonable distribution of power grid load. At the same time, through demand response technology, users are encouraged to use electricity during low-load periods to reduce the pressure on the power grid. Or, by utilizing the complementarity of various renewable energy sources (such as solar energy, wind energy, etc.) and traditional energy (such as coal, natural gas, etc.), the optimized dispatching of the power generation side can be realized, the energy utilization efficiency can be improved, and carbon emissions can be reduced. Excess power can be stored through energy storage devices (such as batteries, supercapacitors, etc.), and power can be released during peak power demand periods to achieve the balance of power grid load. The reactive power can be dynamically adjusted through the smart grid dispatching system to improve the voltage stability of the power grid and reduce losses. It is also possible to build an independent power system in a local area to realize the optimized dispatching of distributed energy, improve energy utilization efficiency, and reduce dependence on the main power grid. By establishing a power market, the market-oriented allocation of power resources can be realized, and the flexibility and efficiency of power grid dispatching can be improved.
[0039] Through this embodiment, first, historical power load data and current power load data are obtained; then, the current power load data is divided and processed by a fuzzy clustering algorithm to obtain multiple power consumption periods, and the initial electricity price corresponding to the power consumption period is determined according to the historical power load data. The power load data of any two power consumption periods are different, and the initial electricity prices of any two power consumption periods are different; then, the adjusted power load data is obtained, and the responsiveness is calculated according to the adjusted power load data and the current power load data; finally, according to the size of the responsiveness, a corresponding scheduling scheme is generated, and the smart grid is scheduled according to the scheduling scheme. The specific division of the power consumption period by the fuzzy clustering algorithm can improve the accuracy of the division of the power consumption period. After adopting the time-of-use electricity price difference strategy of different electricity prices for different time periods, the adjusted power load data is obtained, and then the corresponding scheduling scheme is generated according to the change of the user responsiveness before and after the time-of-use electricity price strategy is adopted, so as to realize the real-time adjustment of the smart grid scheduling, and further consider the user's power consumption behavior, that is, the power load data, to achieve the purpose of improving the rationality of the scheduling of the smart grid. The technical problem of unreasonable smart grid scheduling in the prior art is solved.
[0040] In the specific implementation process, the above step S202 can be implemented by the following steps: step S2021, according to the above current power load data, calculate the membership, wherein the above membership is used to characterize the degree of fit between the above current power load data and the average value of the power load data in the corresponding power consumption period; step S2022, according to the above membership, establish a feature matrix, wherein the above feature matrix is used to characterize the membership characteristics of the above current power load data; step S2023, use fuzzy clustering algorithm to standardize the above feature matrix to obtain the above power consumption period. This method can further quickly divide the above power consumption period.
[0041] In practical applications, the division of electricity consumption time periods is not always so clear. Fuzzy logic can handle such problems more flexibly by using membership. In fuzzy logic, membership is used to indicate the degree of membership of an element to a fuzzy set. It is usually represented by a value between 0 and 1, where 0 means that it does not belong to the set at all and 1 means that it completely belongs to the set.
[0042] In order to further quickly calculate the peak membership and the valley membership, the multiple power consumption time periods include peak time periods, valley time periods and normal time periods, the membership includes peak membership and valley membership, the peak membership is the membership corresponding to the current power load data in the peak time period, and the valley membership is the membership corresponding to the current power load data in the valley time period. The step S2021 of the present application can be implemented by the following steps: step S20211, according to the formula , calculate the peak membership corresponding to the current power load data at the i-th moment ,in, is the current power load data at the i-th moment, is the minimum value among the above current power load data, is the maximum value of the current power load data; Step S20212, according to the formula , calculate the valley membership corresponding to the current power load data at the i-th moment .
[0043] Specifically, assuming that the electricity consumption period is divided according to the fluctuation of electricity consumption, the following three time periods can be set: valley period (00:00 - 06:00): during this period, the electricity demand is relatively low; peak period (06:00 - 18:00): during this period, the electricity demand gradually increases, but is still in a relatively balanced state; peak period (18:00 - 24:00): during this period, the electricity demand reaches a peak. The membership degree can be used to quantify the electricity consumption characteristics of each time period. For example: for the moment of 00:00, its membership degree is 1 in the valley period (completely belonging to the valley period), and is 0 in the peak period and peak period (not belonging to these two periods). For the moment of 06:00, its membership degree gradually decreases in the valley period and gradually increases in the peak period. Assume that at the moment of 06:00, the membership degree of the valley period is 0.5, the membership degree of the peak period is also 0.5, and the membership degree of the peak period is 0. For the time 18:00, its membership gradually decreases during the off-peak period and gradually increases during the peak period. Assume that at 18:00, the membership of the off-peak period is 0, the membership of the off-peak period is 0.5, and the membership of the peak period is also 0.5.
[0044] The above step S2022 can also be implemented in other ways, for example: according to the formula , calculate the above feature matrix This method can further quickly calculate the above-mentioned feature matrix based on multiple peak memberships and multiple valley memberships at multiple different moments.
[0045] Specifically, the main purpose of membership calculation in the feature matrix is to measure the "similarity" or "degree of belonging" of data samples in a certain class or feature. Membership is a measure used to determine the degree to which samples are in different categories or features. In many application scenarios, such as data analysis, pattern recognition, and machine learning, this method can help us better understand and process data. In feature engineering, membership can be used to weight features. This means that some features may be more important than others, and by assigning different memberships to features, their influence in the model can be adjusted. In addition, in multidimensional data sets, membership can help determine the performance of data points in different dimensions, thereby providing guidance for further analysis.
[0046] In some embodiments, the above step S2023 can be specifically implemented by the following steps: step S20231, logarithm transformation processing is performed on the above feature matrix to obtain a fuzzy similarity matrix; step S20232, clustering processing is performed on the above fuzzy similarity matrix to obtain multiple cluster centers; step S20233, determining that the time period corresponding to the above current power load data corresponding to the above cluster center is the above power consumption time period. This method can further improve the accuracy of power consumption time period division.
[0047] Specifically, the basic steps of the fuzzy clustering algorithm are as follows: First, select the number of clusters, initialize the cluster centers, and randomly select multiple data points for the cluster centers. For each data point, calculate its membership in each cluster based on its distance from the cluster center. The membership degree indicates the degree to which a data point belongs to a certain cluster. Update the cluster centers and calculate the new position of each cluster center based on the membership degree. Compare the positions of the new and old cluster centers. If the convergence condition is met (for example, the change in the cluster center is less than a certain threshold), the algorithm ends; otherwise, continue to iterate. After the algorithm converges, output the clustering results, that is, the membership degree and cluster center of the data point.
[0048] In a specific embodiment, the above historical power load data includes historical load demand, and the above step S202 can be implemented by the following steps: Step S2024, according to the formula , the above initial electricity price is calculated ,in, is the above historical load demand, and This method can further quickly calculate the above initial electricity price.
[0049] In practical applications, other calculation formulas for the initial electricity price may also be used, and this application does not impose any specific restrictions. For example, the initial electricity price may be determined based on historical electricity prices and their corresponding weights.
[0050] In another embodiment, the current power consumption includes the current total power consumption and the current daily power consumption, and the adjusted power load data includes adjusting the total power consumption and adjusting the daily power consumption. The step S203 can be implemented by the following steps: Step S2031, according to the formula , calculate the Moment Responsiveness ,in, is the total number of the above users, is the difference between the first ratio and the second ratio, the first ratio being Moment The current total electricity consumption of the above users is The second ratio is the ratio of the total current power consumption of the above users to the total current power consumption of the above users. Moment The adjusted total electricity consumption of the above users is The ratio of the total adjusted electricity consumption of the above users to the total adjusted electricity consumption of the above users is is the difference between the third ratio and the fourth ratio, the third ratio being Moment The current daily electricity consumption of the above users is The fourth ratio is the ratio of the total current daily power consumption of the above users to the total current daily power consumption of the above users. Moment The adjusted daily electricity consumption of the above users is The ratio of the total adjusted daily electricity consumption of the above users, is the difference between the fifth ratio and the sixth ratio, the fifth ratio being time The sixth ratio is the ratio of the total current power consumption of the above users to the current daily power consumption. time The method can further improve the calculation accuracy of the responsiveness.
[0051] Specifically, the calculation formula of responsiveness is: and , combining the above two formulas, we can get the calculation formula of the above responsiveness, where: It represents the proportion of the electricity consumption of the hth user in the total electricity consumption of all users. .
[0052] The above-mentioned dispatching scheme includes a target electricity price, and the above-mentioned step S204 can be implemented by the following steps: step S2041, determining whether the above-mentioned responsiveness is greater than or equal to 0, and determining the above-mentioned initial electricity price to be the above-mentioned target electricity price when the above-mentioned responsiveness is greater than or equal to 0; step S2042, when the above-mentioned responsiveness is less than 0, repeating the above-mentioned processing steps and the above-mentioned calculation steps at least once in sequence, and adjusting the above-mentioned initial electricity price during the repetition process until the preset condition is met, and determining the above-mentioned initial electricity price when the preset condition is met to be the above-mentioned target electricity price, wherein the above-mentioned preset condition is that the above-mentioned responsiveness is greater than or equal to 0 or the number of repetitions is greater than the number threshold. This method can further quickly generate the above-mentioned dispatching scheme.
[0053] Specifically, when the above responsiveness is greater than or equal to 0, it indicates that all users have a good response at this moment, and the final time-sharing pricing strategy is directly generated according to the time division plan, and then the scheduling plan is obtained. When the above responsiveness is less than 0, it indicates that all users have a poor response at this moment, and the time period should be re-divided to obtain the time division plan. Considering that the time-sharing electricity price strategy affects the sales electricity price and the distribution volume plan, according to the power equipment and meters connected to the distribution line, the meter will feed back the consumer's power consumption to the distribution unit, and the distribution unit will feed back the time-sharing electricity price to the consumer in real time through the meter display interface; consumers actively or passively adjust the use of power equipment according to the power consumption.
[0054] The embodiment of the present application also provides a dispatching device for a smart grid. It should be noted that the dispatching device for the smart grid of the embodiment of the present application can be used to execute the dispatching method for the smart grid provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0055] The following is an introduction to the smart grid scheduling device provided in an embodiment of the present application.
[0056] Figure 3 Schematic diagram of a dispatching device for a smart grid according to an embodiment of the present application. Figure 3 As shown, the device comprises:
[0057] The acquisition unit 10 is used for the acquisition step of acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of the user in the historical time period, and the current power load data is the power load data in the current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user;
[0058] Specifically, electricity load data can reflect a series of electricity consumption behaviors. By analyzing this data, we can obtain information on various electricity consumption behaviors, such as: electricity consumption time distribution, seasonal changes, equipment usage, household electricity consumption habits, corporate electricity consumption patterns, regional electricity consumption characteristics, energy efficiency, demand response, power market transactions, fault diagnosis, user behavior prediction, and energy conservation and emission reduction, etc. Among them, analyzing electricity load data can understand the electricity demand in different time periods of the day, such as peak hours and trough hours; according to different seasons of the year, the electricity load may change significantly. For example, in summer, the increased use of air conditioners may lead to an increase in electricity load. By analyzing load data, we can infer the operation status and usage frequency of specific equipment (such as air conditioners, refrigerators, washing machines, etc.). Through long-term observation of household electricity load data, we can understand the household's electricity usage habits, such as the time to get up in the morning and the time to turn off the lights at night. For commercial and industrial users, electricity load data can reflect the electricity usage pattern in the production process, such as the start and shutdown time of the machine, the operation status of the production line, etc. By analyzing the electricity load data of different regions, we can understand the electricity usage characteristics of the region, such as the differences in electricity usage patterns in industrial areas, residential areas, and commercial areas. Through electricity load data, we can evaluate energy consumption. The power load data can help power system operators to manage demand response, balance supply and demand by adjusting the power load, and improve the stability of the power grid. In the power market, the power load data can be used as the basis for transactions, helping market participants to formulate prices and trading strategies. Abnormal power load data may indicate problems with the power system or equipment, such as overload, short circuit or equipment failure. By analyzing historical power load data, users' future power consumption behavior can be predicted, providing a basis for power supply and demand planning. Analyzing power load data can help identify potential areas for energy conservation and emission reduction, and promote the sustainable use of energy.
[0059] The processing unit 20 is used for the processing step of dividing the current power load data by a fuzzy clustering algorithm to obtain a plurality of power consumption periods, and determining the initial electricity price corresponding to the power consumption period according to the historical power load data, wherein the power load data of any two of the power consumption periods are different, and the initial electricity prices of any two of the power consumption periods are different;
[0060] Specifically, the fuzzy clustering algorithm is a clustering method based on fuzzy mathematics theory. The fuzzy clustering algorithm can handle uncertainty and ambiguity in data well. In practical applications, the fuzzy clustering algorithm can be used in combination with other algorithms to improve the clustering effect. For example, the fuzzy clustering algorithm can be combined with the K-means algorithm to improve clustering accuracy and stability. The determination of the above initial electricity price is actually a time-of-use electricity price strategy, which adjusts the electricity price according to different time periods of the day, aiming to encourage users to use more electricity during periods of low electricity demand, thereby achieving a reasonable allocation of electricity resources and reducing peak loads. The electricity price is higher during peak hours, moderate during off-peak hours, and lower during off-peak hours.
[0061] The calculation unit 30 is used for the calculation step, obtaining the adjusted power load data, and calculating the responsiveness according to the adjusted power load data and the current power load data, wherein the adjusted power load data is the power load data of the user after the initial power price is determined, and the responsiveness is used to characterize the degree of change of the power load data after the initial power price is determined;
[0062] Specifically, the above process of calculating the responsiveness is to determine whether the last time-of-use electricity price strategy can meet the user's electricity demand.
[0063] The scheduling unit 40 is used for the scheduling step, generates a corresponding scheduling plan according to the size of the above-mentioned responsiveness, and schedules the smart grid according to the above-mentioned scheduling plan.
[0064] Specifically, the above dispatching scheme can predict the power demand in the future by analyzing historical data and real-time data, and realize the reasonable distribution of power grid load. At the same time, through demand response technology, users are encouraged to use electricity during low-load periods to reduce the pressure on the power grid. Or, by utilizing the complementarity of various renewable energy sources (such as solar energy, wind energy, etc.) and traditional energy (such as coal, natural gas, etc.), the optimized dispatching of the power generation side can be realized, the energy utilization efficiency can be improved, and carbon emissions can be reduced. Excess power can be stored through energy storage devices (such as batteries, supercapacitors, etc.), and power can be released during peak power demand periods to achieve the balance of power grid load. The reactive power can be dynamically adjusted through the smart grid dispatching system to improve the voltage stability of the power grid and reduce losses. It is also possible to build an independent power system in a local area to realize the optimized dispatching of distributed energy, improve energy utilization efficiency, and reduce dependence on the main power grid. By establishing a power market, the market-oriented allocation of power resources can be realized, and the flexibility and efficiency of power grid dispatching can be improved.
[0065] Through this embodiment, the acquisition unit acquires historical power load data and current power load data; the processing unit uses a fuzzy clustering algorithm to divide and process the current power load data to obtain multiple power time periods, and determines the initial electricity price corresponding to the power time period based on the historical power load data. The power load data of any two power time periods are different, and the initial electricity prices of any two power time periods are different; the calculation unit acquires the adjusted power load data, and calculates the responsiveness based on the adjusted power load data and the current power load data; the scheduling unit generates a corresponding scheduling plan based on the size of the responsiveness, and schedules the smart grid according to the scheduling plan. The specific division of the power time period by the fuzzy clustering algorithm can improve the accuracy of the division of the power time period. After adopting the time-of-use electricity price difference strategy of different electricity prices for different time periods, the adjusted power load data is obtained, and then the corresponding scheduling plan is generated according to the change of the user responsiveness before and after the time-of-use electricity price strategy is adopted, so as to realize the real-time adjustment of the smart grid scheduling, and further consider the user's power consumption behavior, that is, the power load data, to achieve the purpose of improving the rationality of the scheduling of the smart grid. The technical problem of unreasonable smart grid scheduling in the prior art is solved.
[0066] In the specific implementation process, the processing unit includes a first calculation module, a building module and a processing module, wherein the first calculation module is used to calculate the membership degree according to the current power load data, wherein the membership degree is used to characterize the degree of fit between the current power load data and the average value of the power load data in the corresponding power consumption period; the building module is used to establish a feature matrix according to the membership degree, wherein the feature matrix is used to characterize the membership characteristics of the current power load data; the processing module is used to standardize the feature matrix using a fuzzy clustering algorithm to obtain the power consumption period. The device can further quickly divide the power consumption period.
[0067] In practical applications, the division of electricity consumption time periods is not always so clear. Fuzzy logic can handle such problems more flexibly by using membership. In fuzzy logic, membership is used to indicate the degree of membership of an element to a fuzzy set. It is usually represented by a value between 0 and 1, where 0 means that it does not belong to the set at all and 1 means that it completely belongs to the set.
[0068] In order to further quickly calculate the peak membership and the valley membership, the multiple power consumption time periods include peak time periods, valley time periods and normal time periods, the membership includes peak membership and valley membership, the peak membership is the membership corresponding to the current power load data in the peak time period, the valley membership is the membership corresponding to the current power load data in the valley time period, the first calculation module of the present application includes a first calculation submodule and a second calculation submodule, wherein the first calculation submodule is used to calculate according to the formula , calculate the peak membership corresponding to the current power load data at the i-th moment ,in, is the current power load data at the i-th moment, is the minimum value among the above current power load data, is the maximum value of the current power load data; the second calculation submodule is used to calculate according to the formula , calculate the valley membership corresponding to the current power load data at the i-th moment .
[0069] Specifically, assuming that the electricity consumption period is divided according to the fluctuation of electricity consumption, the following three time periods can be set: valley period (00:00 - 06:00): during this period, the electricity demand is relatively low; peak period (06:00 - 18:00): during this period, the electricity demand gradually increases, but is still in a relatively balanced state; peak period (18:00 - 24:00): during this period, the electricity demand reaches a peak. The membership degree can be used to quantify the electricity consumption characteristics of each time period. For example: for the moment of 00:00, its membership degree is 1 in the valley period (completely belonging to the valley period), and is 0 in the peak period and peak period (not belonging to these two periods). For the moment of 06:00, its membership degree gradually decreases in the valley period and gradually increases in the peak period. Assume that at the moment of 06:00, the membership degree of the valley period is 0.5, the membership degree of the peak period is also 0.5, and the membership degree of the peak period is 0. For the time 18:00, its membership gradually decreases during the off-peak period and gradually increases during the peak period. Assume that at 18:00, the membership of the off-peak period is 0, the membership of the off-peak period is 0.5, and the membership of the peak period is also 0.5.
[0070] The above-mentioned establishment module is also used to , calculate the above feature matrix The device can further quickly calculate the above-mentioned characteristic matrix according to multiple peak memberships and multiple valley memberships at multiple different moments.
[0071] Specifically, the main purpose of membership calculation in the feature matrix is to measure the "similarity" or "degree of belonging" of data samples in a certain class or feature. Membership is a measure used to determine the degree to which samples are in different categories or features. In many application scenarios, such as data analysis, pattern recognition, and machine learning, this method can help us better understand and process data. In feature engineering, membership can be used to weight features. This means that some features may be more important than others, and by assigning different memberships to features, their influence in the model can be adjusted. In addition, in multidimensional data sets, membership can help determine the performance of data points in different dimensions, thereby providing guidance for further analysis.
[0072] In some embodiments, the processing module includes a first processing submodule, a second processing submodule and a determination submodule, wherein the first processing submodule is used to perform logarithmic transformation processing on the feature matrix to obtain a fuzzy similarity matrix; the second processing submodule is used to perform clustering processing on the fuzzy similarity matrix to obtain multiple cluster centers; the determination submodule is used to determine that the time period corresponding to the current power load data corresponding to the cluster center is the power consumption time period. The device can further improve the accuracy of the power consumption time period division.
[0073] Specifically, the basic steps of the fuzzy clustering algorithm are as follows: First, select the number of clusters, initialize the cluster centers, and randomly select multiple data points for the cluster centers. For each data point, calculate its membership in each cluster based on its distance from the cluster center. The membership degree indicates the degree to which a data point belongs to a certain cluster. Update the cluster centers and calculate the new position of each cluster center based on the membership degree. Compare the positions of the new and old cluster centers. If the convergence condition is met (for example, the change in the cluster center is less than a certain threshold), the algorithm ends; otherwise, continue to iterate. After the algorithm converges, output the clustering results, that is, the membership degree and cluster center of the data point.
[0074] In a specific embodiment, the historical power load data includes historical load demand, and the processing unit further includes a second calculation module for calculating the historical load demand according to the formula , the above initial electricity price is calculated ,in, is the above historical load demand, and The device can further quickly calculate the above initial electricity price.
[0075] In practical applications, other calculation formulas for the initial electricity price may also be used, and this application does not impose any specific restrictions. For example, the initial electricity price may be determined based on historical electricity prices and their corresponding weights.
[0076] In another embodiment, the current power consumption includes the current total power consumption and the current daily power consumption, the adjusted power load data includes the adjusted total power consumption and the adjusted daily power consumption, and the calculation unit includes a third calculation module for calculating the current total power consumption according to the formula , calculate the Moment Responsiveness ,in, is the total number of the above users, is the difference between the first ratio and the second ratio, the first ratio being Moment The current total electricity consumption of the above users is The second ratio is the ratio of the total current power consumption of the above users to the total current power consumption of the above users. Moment The adjusted total electricity consumption of the above users is The ratio of the total adjusted electricity consumption of the above users to the total adjusted electricity consumption of the above users is is the difference between the third ratio and the fourth ratio, the third ratio being Moment The current daily electricity consumption of the above users is The fourth ratio is the ratio of the total current daily power consumption of the above users to the total current daily power consumption of the above users. Moment The adjusted daily electricity consumption of the above users is The ratio of the total adjusted daily electricity consumption of the above users, is the difference between the fifth ratio and the sixth ratio, the fifth ratio being time The sixth ratio is the ratio of the total current power consumption of the above users to the current daily power consumption. time The method can further improve the calculation accuracy of the responsiveness.
[0077] Specifically, the calculation formula of responsiveness is: and , combining the above two formulas, we can get the calculation formula of the above responsiveness, where: It represents the proportion of the electricity consumption of the hth user in the total electricity consumption of all users. .
[0078] The above-mentioned dispatching scheme includes a target electricity price, and the above-mentioned dispatching unit includes a determination module and a repetition module, wherein the determination module is used to determine whether the above-mentioned responsiveness is greater than or equal to 0, and when the above-mentioned responsiveness is greater than or equal to 0, the above-mentioned initial electricity price is determined to be the above-mentioned target electricity price; the repetition module is used to repeat the above-mentioned processing steps and the above-mentioned calculation steps in sequence at least once when the above-mentioned responsiveness is less than 0, and adjust the above-mentioned initial electricity price in the repetition process until the preset condition is met, and determine that the above-mentioned initial electricity price when the preset condition is met is the above-mentioned target electricity price, wherein the above-mentioned preset condition is that the above-mentioned responsiveness is greater than or equal to 0 or the number of repetitions is greater than the number threshold. The device can further quickly generate the above-mentioned dispatching scheme.
[0079] Specifically, when the above responsiveness is greater than or equal to 0, it indicates that all users have a good response at this moment, and the final time-sharing pricing strategy is directly generated according to the time division plan, and then the scheduling plan is obtained. When the above responsiveness is less than 0, it indicates that all users have a poor response at this moment, and the time period should be re-divided to obtain the time division plan. Considering that the time-sharing electricity price strategy affects the sales electricity price and the distribution volume plan, according to the power equipment and meters connected to the distribution line, the meter will feed back the consumer's power consumption to the distribution unit, and the distribution unit will feed back the time-sharing electricity price to the consumer in real time through the meter display interface; consumers actively or passively adjust the use of power equipment according to the power consumption.
[0080] The dispatching device of the smart grid includes a processor and a memory. The acquisition unit, processing unit, calculation unit, and dispatching unit are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.
[0081] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the smart grid can be dispatched by adjusting the kernel parameters.
[0082] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0083] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the scheduling method of the smart grid.
[0084] Specifically, the dispatching method of the smart grid includes:
[0085] Step S201, an acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of the user in the historical time period, the current power load data is the power load data in the current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user;
[0086] Specifically, electricity load data can reflect a series of electricity consumption behaviors. By analyzing this data, we can obtain information on various electricity consumption behaviors, such as: electricity consumption time distribution, seasonal changes, equipment usage, household electricity consumption habits, corporate electricity consumption patterns, regional electricity consumption characteristics, energy efficiency, demand response, power market transactions, fault diagnosis, user behavior prediction, and energy conservation and emission reduction, etc. Among them, analyzing electricity load data can understand the electricity demand in different time periods of the day, such as peak hours and trough hours; according to different seasons of the year, the electricity load may change significantly. For example, in summer, the increased use of air conditioners may lead to an increase in electricity load. By analyzing load data, we can infer the operation status and usage frequency of specific equipment (such as air conditioners, refrigerators, washing machines, etc.). Through long-term observation of household electricity load data, we can understand the household's electricity usage habits, such as the time to get up in the morning and the time to turn off the lights at night. For commercial and industrial users, electricity load data can reflect the electricity usage pattern in the production process, such as the start and shutdown time of the machine, the operation status of the production line, etc. By analyzing the electricity load data of different regions, we can understand the electricity usage characteristics of the region, such as the differences in electricity usage patterns in industrial areas, residential areas, and commercial areas. Through electricity load data, we can evaluate energy consumption. The power load data can help power system operators to manage demand response, balance supply and demand by adjusting the power load, and improve the stability of the power grid. In the power market, the power load data can be used as the basis for transactions, helping market participants to formulate prices and trading strategies. Abnormal power load data may indicate problems with the power system or equipment, such as overload, short circuit or equipment failure. By analyzing historical power load data, users' future power consumption behavior can be predicted, providing a basis for power supply and demand planning. Analyzing power load data can help identify potential areas for energy conservation and emission reduction, and promote the sustainable use of energy.
[0087] Step S202, a processing step, using a fuzzy clustering algorithm to divide the current power load data to obtain multiple power consumption periods, and determining the initial electricity price corresponding to the power consumption period according to the historical power load data, wherein if the power load data of any two of the power consumption periods are different, the initial electricity prices of any two of the power consumption periods are different;
[0088] Specifically, the fuzzy clustering algorithm is a clustering method based on fuzzy mathematics theory. The fuzzy clustering algorithm can handle uncertainty and ambiguity in data well. In practical applications, the fuzzy clustering algorithm can be used in combination with other algorithms to improve the clustering effect. For example, the fuzzy clustering algorithm can be combined with the K-means algorithm to improve clustering accuracy and stability. The determination of the above initial electricity price is actually a time-of-use electricity price strategy, which adjusts the electricity price according to different time periods of the day, aiming to encourage users to use more electricity during periods of low electricity demand, thereby achieving a reasonable allocation of electricity resources and reducing peak loads. The electricity price is higher during peak hours, moderate during off-peak hours, and lower during off-peak hours.
[0089] Step S203, a calculation step, obtaining adjusted power load data, and calculating the responsiveness according to the adjusted power load data and the current power load data, wherein the adjusted power load data is the power load data of the user after the initial power price is determined, and the responsiveness is used to characterize the degree of change of the power load data after the initial power price is determined;
[0090] Specifically, the above process of calculating the responsiveness is to determine whether the last time-of-use electricity price strategy can meet the user's electricity demand.
[0091] Step S204, a scheduling step, generates a corresponding scheduling plan according to the size of the above-mentioned responsiveness, and schedules the smart grid according to the above-mentioned scheduling plan.
[0092] Specifically, the above dispatching scheme can predict the power demand in the future by analyzing historical data and real-time data, and realize the reasonable distribution of power grid load. At the same time, through demand response technology, users are encouraged to use electricity during low-load periods to reduce the pressure on the power grid. Or, by utilizing the complementarity of various renewable energy sources (such as solar energy, wind energy, etc.) and traditional energy (such as coal, natural gas, etc.), the optimized dispatching of the power generation side can be realized, the energy utilization efficiency can be improved, and carbon emissions can be reduced. Excess power can be stored through energy storage devices (such as batteries, supercapacitors, etc.), and power can be released during peak power demand periods to achieve the balance of power grid load. The reactive power can be dynamically adjusted through the smart grid dispatching system to improve the voltage stability of the power grid and reduce losses. It is also possible to build an independent power system in a local area to realize the optimized dispatching of distributed energy, improve energy utilization efficiency, and reduce dependence on the main power grid. By establishing a power market, the market-oriented allocation of power resources can be realized, and the flexibility and efficiency of power grid dispatching can be improved.
[0093] An embodiment of the present invention provides a processor, and the processor is used to run a program, wherein the scheduling method of the smart grid is executed when the program is run.
[0094] Specifically, the dispatching method of the smart grid includes:
[0095] Step S201, an acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of the user in the historical time period, the current power load data is the power load data in the current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user;
[0096] Specifically, electricity load data can reflect a series of electricity consumption behaviors. By analyzing this data, we can obtain information on various electricity consumption behaviors, such as: electricity consumption time distribution, seasonal changes, equipment usage, household electricity consumption habits, corporate electricity consumption patterns, regional electricity consumption characteristics, energy efficiency, demand response, power market transactions, fault diagnosis, user behavior prediction, and energy conservation and emission reduction, etc. Among them, analyzing electricity load data can understand the electricity demand in different time periods of the day, such as peak hours and trough hours; according to different seasons of the year, the electricity load may change significantly. For example, in summer, the increased use of air conditioners may lead to an increase in electricity load. By analyzing load data, we can infer the operation status and usage frequency of specific equipment (such as air conditioners, refrigerators, washing machines, etc.). Through long-term observation of household electricity load data, we can understand the household's electricity usage habits, such as the time to get up in the morning and the time to turn off the lights at night. For commercial and industrial users, electricity load data can reflect the electricity usage pattern in the production process, such as the start and shutdown time of the machine, the operation status of the production line, etc. By analyzing the electricity load data of different regions, we can understand the electricity usage characteristics of the region, such as the differences in electricity usage patterns in industrial areas, residential areas, and commercial areas. Through electricity load data, we can evaluate energy consumption. The power load data can help power system operators to manage demand response, balance supply and demand by adjusting the power load, and improve the stability of the power grid. In the power market, the power load data can be used as the basis for transactions, helping market participants to formulate prices and trading strategies. Abnormal power load data may indicate problems with the power system or equipment, such as overload, short circuit or equipment failure. By analyzing historical power load data, users' future power consumption behavior can be predicted, providing a basis for power supply and demand planning. Analyzing power load data can help identify potential areas for energy conservation and emission reduction, and promote the sustainable use of energy.
[0097] Step S202, a processing step, using a fuzzy clustering algorithm to divide the current power load data to obtain multiple power consumption periods, and determining the initial electricity price corresponding to the power consumption period according to the historical power load data, wherein if the power load data of any two of the power consumption periods are different, the initial electricity prices of any two of the power consumption periods are different;
[0098] Specifically, the fuzzy clustering algorithm is a clustering method based on fuzzy mathematics theory. The fuzzy clustering algorithm can handle uncertainty and ambiguity in data well. In practical applications, the fuzzy clustering algorithm can be used in combination with other algorithms to improve the clustering effect. For example, the fuzzy clustering algorithm can be combined with the K-means algorithm to improve clustering accuracy and stability. The determination of the above initial electricity price is actually a time-of-use electricity price strategy, which adjusts the electricity price according to different time periods of the day, aiming to encourage users to use more electricity during periods of low electricity demand, thereby achieving a reasonable allocation of electricity resources and reducing peak loads. The electricity price is higher during peak hours, moderate during off-peak hours, and lower during off-peak hours.
[0099] Step S203, a calculation step, obtaining adjusted power load data, and calculating the responsiveness according to the adjusted power load data and the current power load data, wherein the adjusted power load data is the power load data of the user after the initial power price is determined, and the responsiveness is used to characterize the degree of change of the power load data after the initial power price is determined;
[0100] Specifically, the above process of calculating the responsiveness is to determine whether the last time-of-use electricity price strategy can meet the user's electricity demand.
[0101] Step S204, a scheduling step, generates a corresponding scheduling plan according to the size of the above-mentioned responsiveness, and schedules the smart grid according to the above-mentioned scheduling plan.
[0102] Specifically, the above dispatching scheme can predict the power demand in the future by analyzing historical data and real-time data, and realize the reasonable distribution of power grid load. At the same time, through demand response technology, users are encouraged to use electricity during low-load periods to reduce the pressure on the power grid. Or, by utilizing the complementarity of various renewable energy sources (such as solar energy, wind energy, etc.) and traditional energy (such as coal, natural gas, etc.), the optimized dispatching of the power generation side can be realized, the energy utilization efficiency can be improved, and carbon emissions can be reduced. Excess power can be stored through energy storage devices (such as batteries, supercapacitors, etc.), and power can be released during peak power demand periods to achieve the balance of power grid load. The reactive power can be dynamically adjusted through the smart grid dispatching system to improve the voltage stability of the power grid and reduce losses. It is also possible to build an independent power system in a local area to realize the optimized dispatching of distributed energy, improve energy utilization efficiency, and reduce dependence on the main power grid. By establishing a power market, the market-oriented allocation of power resources can be realized, and the flexibility and efficiency of power grid dispatching can be improved.
[0103] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:
[0104] Step S201, an acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of the user in the historical time period, the current power load data is the power load data in the current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user;
[0105] Step S202, a processing step, using a fuzzy clustering algorithm to divide the current power load data to obtain multiple power consumption periods, and determining the initial electricity price corresponding to the power consumption period according to the historical power load data, wherein if the power load data of any two of the power consumption periods are different, the initial electricity prices of any two of the power consumption periods are different;
[0106] Step S203, a calculation step, obtaining adjusted power load data, and calculating the responsiveness according to the adjusted power load data and the current power load data, wherein the adjusted power load data is the power load data of the user after the initial power price is determined, and the responsiveness is used to characterize the degree of change of the power load data after the initial power price is determined;
[0107] Step S204, a scheduling step, generates a corresponding scheduling plan according to the size of the above-mentioned responsiveness, and schedules the smart grid according to the above-mentioned scheduling plan.
[0108] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0109] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0110] Step S201, an acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of the user in the historical time period, the current power load data is the power load data in the current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user;
[0111] Step S202, a processing step, using a fuzzy clustering algorithm to divide the current power load data to obtain multiple power consumption periods, and determining the initial electricity price corresponding to the power consumption period according to the historical power load data, wherein if the power load data of any two of the power consumption periods are different, the initial electricity prices of any two of the power consumption periods are different;
[0112] Step S203, a calculation step, obtaining adjusted power load data, and calculating the responsiveness according to the adjusted power load data and the current power load data, wherein the adjusted power load data is the power load data of the user after the initial power price is determined, and the responsiveness is used to characterize the degree of change of the power load data after the initial power price is determined;
[0113] Step S204, a scheduling step, generates a corresponding scheduling plan according to the size of the above-mentioned responsiveness, and schedules the smart grid according to the above-mentioned scheduling plan.
[0114] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0115] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0116] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0117] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0119] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0120] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0121] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0122] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0123] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0124] 1) The dispatching method of the smart grid of the present application first obtains historical power load data and current power load data; then uses a fuzzy clustering algorithm to divide and process the current power load data to obtain multiple power consumption periods, and determines the initial electricity price corresponding to the power consumption period according to the historical power load data. The power load data of any two power consumption periods are different, and the initial electricity prices of any two power consumption periods are different; then, obtains the adjusted power load data, and calculates the responsiveness according to the adjusted power load data and the current power load data; finally, generates a corresponding dispatching scheme according to the size of the responsiveness, and dispatches the smart grid according to the dispatching scheme. The specific division of the power consumption period by the fuzzy clustering algorithm can improve the accuracy of the division of the power consumption period. After adopting the time-of-use electricity price difference strategy of different electricity prices for different time periods, the adjusted power load data is obtained, and then the corresponding dispatching scheme is generated according to the change of the user responsiveness before and after the time-of-use electricity price strategy is adopted, so as to realize the real-time adjustment of the smart grid dispatching, and further consider the user's power consumption behavior, that is, the power load data, so as to achieve the purpose of improving the rationality of the dispatching of the smart grid. The technical problem of unreasonable dispatching of smart grids in the prior art is solved.
[0125] 2) The dispatching device of the smart grid of the present application, the acquisition unit acquires the historical power load data and the current power load data; the processing unit uses the fuzzy clustering algorithm to divide and process the current power load data to obtain multiple power time periods, and determines the initial electricity price corresponding to the power time period according to the historical power load data. The power load data of any two power time periods are different, and the initial electricity prices of any two power time periods are different; the calculation unit acquires the adjusted power load data, and calculates the responsiveness according to the adjusted power load data and the current power load data; the dispatching unit generates the corresponding dispatching scheme according to the size of the responsiveness, and dispatches the smart grid according to the dispatching scheme. The specific division of the power time period by the fuzzy clustering algorithm can improve the accuracy of the division of the power time period. After adopting the time-of-use electricity price difference strategy of different electricity prices for different time periods, the adjusted power load data is obtained, and then the corresponding dispatching scheme is generated according to the change of the user responsiveness before and after the time-of-use electricity price strategy is adopted, so as to realize the real-time adjustment of the smart grid dispatch, and further consider the user's power consumption behavior, that is, the power load data, to achieve the purpose of improving the rationality of the dispatch of the smart grid. The technical problem of unreasonable dispatching of smart grids in the prior art is solved.
[0126] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A dispatching method for a smart grid, characterized in that: include: Acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of the user in the historical time period, the current power load data is the power load data in the current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user; The processing step is to divide the current power load data by using a fuzzy clustering algorithm to obtain multiple power consumption periods, and determine the initial electricity price corresponding to the power consumption period according to the historical power load data, wherein the power load data of any two power consumption periods are different, and the initial electricity prices of any two power consumption periods are different; A calculation step, obtaining adjusted power load data, and calculating a responsiveness based on the adjusted power load data and the current power load data, wherein the adjusted power load data is the power load data of the user after the initial power price is determined, and the responsiveness is used to characterize the degree of change of the power load data after the initial power price is determined; a scheduling step, generating a corresponding scheduling plan according to the magnitude of the responsiveness, and scheduling the smart grid according to the scheduling plan, The current power load data is divided and processed using a fuzzy clustering algorithm to obtain multiple power consumption time periods, including: Calculating the degree of membership according to the current power load data, wherein the degree of membership is used to characterize the degree of fit between the current power load data and the average value of the power load data in the corresponding power consumption period; According to the membership degree, a characteristic matrix is established, wherein the characteristic matrix is used to characterize the membership degree characteristics of the current power load data; The characteristic matrix is standardized by using a fuzzy clustering algorithm to obtain the power consumption period. The multiple power consumption time periods include a peak time period, a valley time period, and a normal time period, the membership includes a peak membership and a valley membership, the peak membership is the membership corresponding to the current power load data in the peak time period, the valley membership is the membership corresponding to the current power load data in the valley time period, and the membership is calculated according to the current power load data, including: According to the formula , calculate the peak membership corresponding to the current power load data at the i-th moment ,in, is the current power load data at the i-th moment, is the minimum value in the current power load data, is the maximum value of the current power load data; According to the formula , calculate the valley membership corresponding to the current power load data at the i-th moment , The current power consumption includes the current total power consumption and the current daily power consumption, the adjusted power load data includes the adjusted total power consumption and the adjusted daily power consumption, and the responsiveness is calculated according to the adjusted power load data and the current power load data, including: The current power consumption includes the current total power consumption and the current daily power consumption, the adjusted power load data includes the adjusted total power consumption and the adjusted daily power consumption, and the responsiveness is calculated according to the adjusted power load data and the current power load data, including: according to the formula , calculate the Moment Responsiveness ,in, is the total number of users, is the difference between the first ratio and the second ratio, wherein the first ratio is Moment The current total electricity consumption of the user is The second ratio is the ratio of the total current power consumption of the user to the total current power consumption of the user. Moment The adjusted total electricity consumption of the user is The ratio of the total adjusted electricity consumption of the users to the total adjusted electricity consumption of the users, is the difference between the third ratio and the fourth ratio, wherein the third ratio is Moment The current daily electricity consumption of the user The fourth ratio is the ratio of the total current daily power consumption of the user to the total current daily power consumption of the user. Moment The adjusted daily electricity consumption of each user is The ratio of the total adjusted daily electricity consumption of the users, is the difference between the fifth ratio and the sixth ratio, wherein the fifth ratio is time The sixth ratio is the ratio of the sum of the current total power consumption of the users to the current daily power consumption. time The ratio of the total adjusted electricity consumption of each of the users to the adjusted daily electricity consumption.
2. The method according to claim 1, characterized in that According to the membership degree, a feature matrix is established, including: According to the formula , calculate the characteristic matrix .
3. The method according to claim 1, characterized in that: The characteristic matrix is standardized by using a fuzzy clustering algorithm to obtain the power consumption period, including: Performing logarithmic transformation on the characteristic matrix to obtain a fuzzy similarity matrix; Performing clustering processing on the fuzzy similarity matrix to obtain multiple cluster centers; Determine that the time period corresponding to the current power load data corresponding to the cluster center is the power consumption time period.
4. The method according to claim 1, characterized in that: The historical electricity load data includes historical load demand, and determining the initial electricity price corresponding to the electricity consumption period according to the historical electricity load data includes: According to the formula , calculate the initial electricity price ,in, is the historical load demand, and is the predetermined coefficient.
5. The method according to claim 1, characterized in that The dispatching scheme includes a target electricity price. According to the magnitude of the responsiveness, a corresponding dispatching scheme is generated, including: determining whether the responsiveness is greater than or equal to 0, and if the responsiveness is greater than or equal to 0, determining the initial electricity price to be the target electricity price; When the responsiveness is less than 0, the processing step and the calculation step are repeated in sequence at least once, and the initial electricity price is adjusted during the repetition until a preset condition is met, and the initial electricity price when the preset condition is met is determined to be the target electricity price, wherein the preset condition is that the responsiveness is greater than or equal to 0 or the number of repetitions is greater than a threshold number.
6. A dispatching device for a smart grid, characterized in that: include: An acquisition unit, used for the acquisition step, acquiring historical power load data and current power load data, wherein the historical power load data is the power load data of the user in the historical time period, the current power load data is the power load data in the current time period, the end time of the historical time period is before the start time of the current time period, and the current power load data at least includes the current power consumption of the user; A processing unit, used for the processing step, using a fuzzy clustering algorithm to divide the current power load data to obtain multiple power consumption time periods, and determining the initial electricity price corresponding to the power consumption time period according to the historical power load data, wherein the power load data of any two of the power consumption time periods are different, and the initial electricity prices of any two of the power consumption time periods are different; a calculation unit, used for a calculation step, obtaining adjusted power load data, and calculating a responsiveness according to the adjusted power load data and the current power load data, wherein the adjusted power load data is the power load data of the user after the initial power price is determined, and the responsiveness is used to characterize the degree of change of the power load data after the initial power price is determined, and the adjusted power load data at least includes the adjusted power consumption of the user; A scheduling unit is used for the scheduling step, generating a corresponding scheduling plan according to the magnitude of the responsiveness, and scheduling the smart grid according to the scheduling plan, The processing unit includes a first calculation module, an establishment module and a processing module, wherein the first calculation module is used to calculate the membership according to the current power load data, wherein the membership is used to characterize the degree of fit between the current power load data and the average value of the power load data in the corresponding power consumption period; the establishment module is used to establish a feature matrix according to the membership, wherein the feature matrix is used to characterize the membership characteristics of the current power load data; the processing module is used to standardize the feature matrix using a fuzzy clustering algorithm to obtain the power consumption period, The plurality of power consumption time periods include a peak time period, a valley time period, and a normal time period, the membership includes a peak membership and a valley membership, the peak membership is the membership corresponding to the current power load data in the peak time period, the valley membership is the membership corresponding to the current power load data in the valley time period, the first calculation module of the present application includes a first calculation submodule and a second calculation submodule, wherein the first calculation submodule is used to calculate the power load according to the formula , calculate the peak membership corresponding to the current power load data at the i-th moment ,in, is the current power load data at the i-th moment, is the minimum value in the current power load data, is the maximum value in the current power load data; the second calculation submodule is used to calculate according to the formula , calculate the valley membership corresponding to the current power load data at the i-th moment , The current power consumption includes the current total power consumption and the current daily power consumption, the adjusted power load data includes the adjusted total power consumption and the adjusted daily power consumption, and the calculation unit includes a third calculation module for calculating according to the formula , calculate the Moment Responsiveness ,in, is the total number of users, is the difference between the first ratio and the second ratio, wherein the first ratio is Moment The current total electricity consumption of the user is The second ratio is the ratio of the total current power consumption of the user to the total current power consumption of the user. Moment The adjusted total electricity consumption of the user is The ratio of the total adjusted electricity consumption of the users to the total adjusted electricity consumption of the users, is the difference between the third ratio and the fourth ratio, wherein the third ratio is Moment The current daily electricity consumption of the user The fourth ratio is the ratio of the total current daily power consumption of the user to the total current daily power consumption of the user. Moment The adjusted daily electricity consumption of each user is The ratio of the total adjusted daily electricity consumption of the users, is the difference between the fifth ratio and the sixth ratio, wherein the fifth ratio is time The sixth ratio is the ratio of the sum of the current total power consumption of the users to the current daily power consumption. time The ratio of the total adjusted electricity consumption of each of the users to the adjusted daily electricity consumption.
7. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
