Electric power material distribution method, system and equipment based on material demand and distance demand, and medium
By calculating the current monthly remaining inventory of each power supply station and filtering the demand site level of the target power supply station, an optimized distribution plan is generated, which solves the problems of low efficiency and limitations of existing power material distribution methods, and achieves efficient and economical power Material delivery.
Patent Information
- Application Number
- CN202411373353.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-02-07
AI Technical Summary
The existing power distribution methods are inefficient and have limitations, making them difficult to respond quickly in emergency situations, and rely on the experience and judgment of dispatchers, with great randomness and error.
By obtaining the initial inventory, monthly consumption and location information of each power supply station, calculate the current monthly remaining inventory, and filter the target power supply station based on the inventory and distance demand, determine its demand site level, generate corresponding distribution plans, and optimize materials Delivery path.
It improves the overall efficiency and emergency response capabilities of power material management, realizes efficient and economical distribution of power material, and reduces human errors.
Smart Images

Figure CN119398660A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power material distribution, and in particular to a method, system, equipment and medium for power material distribution based on material demand and distance demand. Background Art
[0002] In the material distribution work of the power system, the rational allocation of materials and the optimization of distribution routes are crucial links. However, existing distribution methods usually only consider a single factor, such as material demand or distribution distance, resulting in low efficiency, high cost, and difficulty in responding quickly in emergency situations. At the same time, the distribution results of these methods rely on the experience and judgment of the dispatchers, which are highly random and prone to errors.
[0003] At present, the optimization methods of power material distribution are mainly divided into methods based on traditional heuristic algorithms, artificial intelligence and machine learning. Traditional heuristic algorithms include genetic algorithms, ant colony algorithms and particle swarm optimization algorithms. These methods have certain advantages in solving path optimization problems and can provide relatively stable solutions. However, when facing large-scale and multi-constrained distribution problems, it is easy to fall into local optimality, and the calculation time is long, which makes it difficult to meet the real-time requirements in practical applications. For methods based on artificial intelligence and machine learning such as reinforcement learning and deep learning, by learning a large amount of historical data, more flexible and efficient optimization solutions can be provided in complex scenarios. Reinforcement learning methods are good at dealing with continuous decision-making problems and can achieve dynamic scheduling through strategy optimization. However, a large amount of computing resources are required during the training process, and the sensitivity to the parameters of the model is high. Once the parameters are improperly selected, the optimization results may be unstable. In addition, the hybrid method combines heuristic algorithms and artificial intelligence technologies to give full play to the advantages of both to provide a more efficient and stable distribution optimization solution. Among them, mixed integer linear programming combines heuristic search and exact algorithms to improve the computational efficiency while ensuring the quality of the solution. However, the implementation complexity of the hybrid method is high, and there are still certain limitations when dealing with dynamic changes in practical applications.
[0004] In view of this, there is a need for a method, system, equipment and medium for distributing electric power materials based on material demand and distance demand. Summary of the invention
[0005] The embodiments of the present application provide a method, system, device and medium for distributing electric power materials based on material demand and distance demand, which are used to solve the problem that the current distribution of electric power materials is inefficient and has limitations.
[0006] A first aspect of an embodiment of the present application provides a method for distributing electric power materials based on material requirements and distance requirements, including:
[0007] Obtain the initial inventory of each power supply station, the monthly consumption of each power supply station, and the location information of each power supply station;
[0008] Calculating the current monthly remaining inventory of each power supply station according to the initial inventory of each power supply station and the monthly consumption of each power supply station;
[0009] Based on the current monthly remaining inventory of each power supply station, target power supply stations whose remaining inventory at the end of the month meets the preset threshold range are selected in sequence;
[0010] Determine whether the current monthly remaining inventory of the target power supply station meets the first preset condition;
[0011] If so, the target power supply station is determined to be a third-level demand site, and a distribution plan for the target power supply station is generated according to the distance between the target power supply station and the adjacent first-level demand site or second-level demand site;
[0012] If not, the target power supply station whose current monthly remaining inventory meets the second preset condition is determined as a secondary demand station, and a distribution plan for the target power supply station is generated according to the distribution rules of the secondary demand station;
[0013] The target power supply station whose current monthly remaining inventory does not meet the second preset condition is determined as a first-level demand station, and a distribution plan for the target power supply station is generated according to the distribution rules of the first-level demand site.
[0014] Furthermore, the expression for calculating the current monthly remaining inventory of each power supply station according to the initial inventory of each power supply station and the monthly consumption of each power supply station includes:
[0015]
[0016] Where: is the remaining inventory of power station j after the i-th month, I j is the initial inventory of power station j, is the inventory replenishment amount for the mth month, is the power consumption of the power station in the mth month.
[0017] Furthermore, the determining that the target power supply station is a third-level demand site, and generating a distribution plan for the target power supply station according to the distance between the target power supply station and an adjacent first-level demand site or a second-level demand site, includes:
[0018] Calculate, based on the location information of the target power supply station, whether the distance between the target power supply station and the adjacent primary demand site or secondary demand site meets a preset condition;
[0019] If yes, the target power supply station is included in the distribution range of the adjacent primary demand station or secondary demand station, and a distribution plan for the target power supply station is generated according to the distribution rules of the adjacent primary demand station or secondary demand station;
[0020] If not, a distribution plan for the target power supply station is generated according to the distribution rules of the third-level demand sites.
[0021] Furthermore, the target power supply station whose current monthly remaining inventory meets the second preset condition is determined as a secondary demand station, and a distribution plan for the target power supply station is generated according to the distribution rule of the secondary demand station, including:
[0022] Constructing an objective function of a mathematical model of a distribution plan for the target power supply station based on the distribution rules of the secondary demand site;
[0023] Determining the constraint conditions of the objective function, wherein the constraint conditions include the delivery time constraint of the secondary demand site, the total material demand constraint of each power supply station, and the maximum delivery capacity constraint of the delivery vehicle;
[0024] A distribution plan for the target power supply station is determined according to the optimal solution of the objective function.
[0025] Furthermore, the objective function is expressed as follows:
[0026]
[0027] Where: C is the total delivery cost, x jp is the number of deliveries from power station j to power station p, D jp is the driving distance between power station j and power station p, T jp is the travel time between power station j and power station p, α and β are the cost coefficients of distance and time respectively.
[0028] Furthermore, the expressions of the constraints are as follows:
[0029]
[0030] Where: is the estimated coefficient of the day variable, day j is the day of the month, q jp is the amount of materials delivered from power station j to power station p each time, d j is the total material demand for each power supply station j, e v It is the maximum delivery capacity of the delivery vehicle.
[0031] Furthermore, the expressions of the delivery time constraints of the first-level demand sites are as follows:
[0032]
[0033] Where: is the estimated coefficient of the hour variable, hour j The hour of the day.
[0034] A second aspect of the embodiment of the present application provides a power material distribution system based on material demand and distance demand, including:
[0035] A data information acquisition unit, used to acquire the initial inventory of each power supply station, the monthly consumption of each power supply station, and the location information of each power supply station;
[0036] A current monthly remaining inventory calculation unit, used to calculate the current monthly remaining inventory of each power supply station according to the initial inventory of each power supply station and the monthly consumption of each power supply station;
[0037] A target power supply station screening unit is used to sequentially screen target power supply stations whose remaining inventory at the end of the month meets a preset threshold range based on the current monthly remaining inventory of each power supply station;
[0038] A first preset condition judgment unit, used to judge whether the current monthly remaining inventory of the target power supply station meets the first preset condition;
[0039] A third-level demand site determination unit, used to determine that the target power supply station is a third-level demand site when the current monthly remaining inventory of the target power supply station meets the first preset condition, and generate a distribution plan for the target power supply station according to the distance between the target power supply station and the adjacent first-level demand site or second-level demand site;
[0040] A secondary demand site determination unit is used to determine a target power supply station whose current monthly remaining inventory meets a second preset condition as a secondary demand station when the current monthly remaining inventory of the target power supply station does not meet a first preset condition, and generate a distribution plan for the target power supply station according to the distribution rules of the secondary demand site;
[0041] The first-level demand site determination unit is used to determine the target power supply station whose current monthly remaining inventory does not meet the second preset condition as a first-level demand station, and generate a distribution plan for the target power supply station according to the distribution rules of the first-level demand site.
[0042] A third aspect of the embodiments of the present application provides a computer device, including:
[0043] memories, transceivers, processors, and bus systems;
[0044] Wherein, the memory is used to store programs;
[0045] The processor is used to execute the program in the memory, including executing the power material distribution method based on material demand and distance demand as described in any one of the above items;
[0046] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0047] A fourth aspect of an embodiment of the present application provides a readable storage medium, including instructions, which, when executed on a computer, enables the computer to execute any of the above-described methods for distributing electric power materials based on material requirements and distance requirements.
[0048] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0049] The present application calculates the current monthly remaining inventory of each power supply station based on the collected initial inventory, monthly consumption and location information of each power supply station, selects the target power supply station that meets the set threshold range from the current monthly remaining inventory of each power supply station, and then determines whether the current monthly remaining inventory of the selected target power supply station meets the preset conditions, and judges in turn whether the target power supply station belongs to a third-level demand site, a second-level demand site or a first-level demand site, and then determines the corresponding distribution plan according to the level of the demand site, and through comprehensive consideration of the material demand and distribution distance of each power supply station, reasonably allocates the power supply station inventory and scientifically arranges the material distribution priority, thereby improving the overall efficiency and emergency response capability of power material management, and realizing efficient and economical power material distribution. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a schematic diagram of an embodiment of a method for distributing electric power materials based on material demand and distance demand in the present invention;
[0051] Figure 2 It is a structural block diagram of an embodiment of a power material distribution system based on material demand and distance demand in the present invention;
[0052] Figure 3 The figure is a structural block diagram of a computer device in the present invention. DETAILED DESCRIPTION
[0053] The embodiments of the present application provide a method, system, device and medium for distributing electric power materials based on material demand and distance demand, which solves the problem of low efficiency and certain limitations in the management of electric power materials.
[0054] The terms "first", "second", "third", "fourth", etc. (if any) 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 sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0055] Embodiment 1
[0056] The implementation method in this embodiment can be implemented in the system, can be implemented in the server, and can also be implemented in the terminal, and there is no specific limitation. The following will introduce the power material distribution method based on material demand and distance demand in this application from the perspective of the system. Figure 1 , the method provided in this application comprises the following steps:
[0057] S11. Obtain the initial inventory of each power supply station, the monthly consumption of each power supply station, and the location information of each power supply station;
[0058] S12. Calculate the current monthly remaining inventory of each power supply station based on the initial inventory of each power supply station and the monthly consumption of each power supply station;
[0059] First, the system initializes the data, collects the initial inventory of each power supply station, the monthly consumption of each power supply station, and the location information of each power supply station, and dynamically calculates the current monthly remaining inventory of each power supply station based on the initial inventory of each power supply station and the monthly consumption of each power supply station. The calculation formula is as follows:
[0060]
[0061] Taking into account the inventory replenishment situation, the current monthly remaining inventory in the above formula is Can be rewritten as:
[0062]
[0063] Where: I j is the initial inventory of power station j, is the inventory replenishment amount in the mth month, is the power consumption of the power station in the mth month.
[0064] S13. Based on the current monthly remaining inventory of each power supply station, select the target power supply station whose remaining inventory at the end of the month meets the preset threshold range;
[0065] In this embodiment, based on the determination of the current monthly remaining inventory of each power supply station, a threshold range is set, for example, set to k3, the current monthly remaining inventory of each power supply station calculated is traversed, and the power supply station with an inventory lower than k3 is selected as the target power supply station, that is, The target power supply station is the power supply station that meets the distribution demand.
[0066] S14. Determine whether the current monthly remaining inventory of the target power supply station meets the first preset condition;
[0067] The first preset condition is that the current monthly remaining inventory is greater than k2 and less than k3, that is, on the premise that the target power supply station is less than k3, it is determined whether the inventory of the target power supply station is greater than k2.
[0068] S15. When the current monthly remaining inventory of the target power supply station meets the first preset condition, the target power supply station is determined to be a third-level demand site, and a distribution plan for the target power supply station is generated based on the distance between the target power supply station and the adjacent first-level demand site or second-level demand site;
[0069] In this embodiment, generating a distribution plan for a target power supply station according to the distance between the target power supply station and an adjacent primary demand station or secondary demand station includes the following steps:
[0070] 1. Calculate whether the distance between the target power supply station and the adjacent primary demand site or secondary demand site meets the preset conditions based on the location information of the target power supply station;
[0071] 2. When the distance between the target power supply station and the adjacent primary demand site or secondary demand site meets the preset conditions, the target power supply station is included in the distribution range of the adjacent primary demand site or secondary demand site, and the distribution plan of the target power supply station is generated according to the distribution rules of the adjacent primary demand site or secondary demand site;
[0072] 3. When the distance between the target power supply station and the adjacent first-level demand site or second-level demand site does not meet the preset conditions, the distribution plan of the target power supply station is generated according to the distribution rules of the third-level demand site.
[0073] Specifically, according to the above steps, when the current monthly remaining inventory of the target power supply station meets the first preset condition, the inventory is greater than k2 and less than k3, that is, The target power supply station that meets the conditions is determined to be a third-level demand site. When it is in the third-level distribution demand state, distribution is generally not carried out unless there are special circumstances. Therefore, it is necessary to calculate whether the distance between the target power supply station and the adjacent first-level demand site or second-level demand site meets the preset conditions. The preset conditions here refer to the distance between the target power supply station and the adjacent first-level demand site or second-level demand site being within a certain distance threshold range, as follows:
[0074] Let N(j) represent the set of neighboring sites of site j, ε is the neighboring distance threshold, and for each neighboring site w∈N(j), determine:
[0075] D jw ≤ε and
[0076] Where: D jw is the distance between site j and its neighboring site w.
[0077] When the calculated distance meets the above conditions, the target power supply station is included in the distribution range of the adjacent first-level demand site or second-level demand site, and the distribution plan of the target power supply station is generated according to the distribution rules of the adjacent first-level demand site or second-level demand site. The distribution rules of the first-level demand site or second-level demand site can be specifically described in detail below and will not be repeated here. When the calculated distance does not meet the above conditions, the distribution plan of the target power supply station is generated according to the distribution rules of the third-level demand site. The distribution rules of the third-level demand site are similar to those of the first and second levels described below, but the distribution rules of the third-level demand site do not set constraints on the delivery time, and other conditions are the same.
[0078] S16. When the current monthly remaining inventory of the target power supply station does not meet the first preset condition, the target power supply station whose current monthly remaining inventory meets the second preset condition is determined as a secondary demand station, and a distribution plan for the target power supply station is generated according to the distribution rules of the secondary demand station;
[0079] When the current monthly remaining inventory of the target power supply station does not meet the first preset condition, the inventory is less than k2. Here, the second preset condition is that the current monthly remaining inventory is greater than k1 and less than k2, that is, on the premise that the target power supply station meets the condition of less than k2, it is determined whether the inventory of the target power supply station is greater than k1.
[0080] When the current monthly remaining inventory of the target power supply station meets the second preset condition, the inventory is greater than k1 and less than k2, that is, The target power supply station is determined to be a secondary demand site, and a distribution plan for the target power supply station is generated according to the distribution rules of the secondary demand site.
[0081] Generating a distribution plan for a target power supply station according to the distribution rules of the secondary demand site includes the following steps:
[0082] 1. Construct the objective function of the mathematical model of the distribution plan of the target power supply station based on the distribution rules of the secondary demand site;
[0083] 2. Determine the constraints of the objective function, which include the delivery time constraints of the secondary demand sites, the total material demand constraints of each power supply station, and the maximum delivery capacity constraints of the delivery vehicles;
[0084] 3. Determine the distribution plan for the target power supply station based on the optimal solution of the objective function.
[0085] Specifically, the expression of the objective function is as follows:
[0086]
[0087] Where: C is the total delivery cost, x jp is the number of deliveries from power station j to power station p, T jp is the travel time between power station j and power station p, α and β are the cost coefficients of distance and time respectively.
[0088] Specifically, the secondary demand site is in a state of urgent distribution demand and the distribution volume is medium. The distribution time rule of the secondary demand site here is that the distribution needs to be completed within one month. Therefore, the distribution time constraint, the total material demand constraint of each power supply station, and the maximum distribution capacity constraint of the distribution vehicle are set. The expressions are as follows:
[0089]
[0090]
[0091] Where: is the estimated coefficient of the day variable, the dummy variable of the number of days in a month is 30, day j is the day of the month, q jp is the amount of materials delivered from power station j to power station p each time, d j is the total material demand for each power supply station j, e v It is the maximum delivery capacity of the delivery vehicle.
[0092] S17. Determine the target power supply station whose current monthly remaining inventory does not meet the second preset condition as a first-level demand station, and generate a distribution plan for the target power supply station according to the distribution rules of the first-level demand site.
[0093] When the current monthly remaining inventory of the target power supply station does not meet the second preset condition, the inventory is less than k1, that is, The target power supply station is determined to be a first-level demand station. The first-level demand station is set to an emergency distribution demand state and has the largest distribution volume. The distribution plan of the target power supply station is generated according to the distribution rules of the first-level demand station. Specifically, the objective function of the distribution plan of the first-level demand station is similar to that of the second-level demand station, but the time rule of the first-level demand station is that the distribution must be completed within one day. Therefore, the difference from the second-level demand station is that the distribution time constraints are different. The expression is as follows:
[0094]
[0095] Where: is the estimated coefficient of the hour variable. The dummy variable of the number of hours in a day is 24. Here, the delivery time is limited to 8:30 am to 5:00 pm. The actual variable of the number of hours in a day is 8.5 hours. j The hour of the day.
[0096] The above embodiment divides the material demand into three distribution levels according to the current monthly remaining inventory of each power supply station and the predefined inventory threshold, wherein the power supply stations that meet the distribution conditions are first screened, and then a judgment is made as to whether the third distribution level is reached, whether the second distribution level is reached, and whether the first distribution level is reached, wherein emergency situations have a priority of level one greater than level two and greater than level one, thereby improving the overall efficiency of power material management and emergency response capabilities.
[0097] Embodiment 2
[0098] See also Figure 2 , an embodiment of the power material distribution system based on material demand and distance demand in the present invention comprises the following steps:
[0099] A data information acquisition unit, used to acquire the initial inventory of each power supply station, the monthly consumption of each power supply station, and the location information of each power supply station;
[0100] The current monthly remaining inventory calculation unit is used to calculate the current monthly remaining inventory of each power supply station according to the initial inventory of each power supply station and the monthly consumption of each power supply station;
[0101] A target power supply station screening unit is used to sequentially screen target power supply stations whose remaining inventory at the end of the month meets a preset threshold range based on the current monthly remaining inventory of each power supply station;
[0102] A first preset condition judgment unit, used to judge whether the current monthly remaining inventory of the target power supply station meets the first preset condition;
[0103] A third-level demand site determination unit, used to determine that the target power supply station is a third-level demand site when the current monthly remaining inventory of the target power supply station meets the first preset condition, and generate a distribution plan for the target power supply station according to the distance between the target power supply station and the adjacent first-level demand site or second-level demand site;
[0104] A secondary demand site determination unit is used to determine a target power supply station whose current monthly remaining inventory meets a second preset condition as a secondary demand station when the current monthly remaining inventory of the target power supply station does not meet a first preset condition, and generate a distribution plan for the target power supply station according to the distribution rules of the secondary demand site;
[0105] The first-level demand site determination unit is used to determine the target power supply station whose current monthly remaining inventory does not meet the second preset condition as a first-level demand station, and generate a distribution plan for the target power supply station according to the distribution rules of the first-level demand site.
[0106] For the specific definition of the system, please refer to the definition of the method above, which will not be repeated here. Each module in the above system can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0107] Embodiment 3
[0108] See also Figure 3 The present invention provides a computer device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the above method are implemented.
[0109] Those of ordinary skill in the art will appreciate that the units of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition of each example has been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0110] In the embodiments provided by the present invention, it should be understood that the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units can be combined into one unit, one unit can be split into multiple units, or some features can be ignored. In addition, each functional unit in each embodiment of the present invention can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0111] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-0nlyMemory), random access memory (RAM, RandomAccessMemory), mobile hard disk, magnetic disk or optical disk, etc., which can store program code.
[0112] It can be understood that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A method for distributing electric power materials based on material demand and distance demand, characterized in that: include: Obtain the initial inventory of each power supply station, the monthly consumption of each power supply station, and the location information of each power supply station; Calculating the current monthly remaining inventory of each power supply station according to the initial inventory of each power supply station and the monthly consumption of each power supply station; Based on the current monthly remaining inventory of each power supply station, target power supply stations whose remaining inventory at the end of the month meets the preset threshold range are selected in sequence; Determine whether the current monthly remaining inventory of the target power supply station meets the first preset condition; If so, the target power supply station is determined to be a third-level demand site, and a distribution plan for the target power supply station is generated according to the distance between the target power supply station and the adjacent first-level demand site or second-level demand site; If not, the target power supply station whose current monthly remaining inventory meets the second preset condition is determined as a secondary demand station, and a distribution plan for the target power supply station is generated according to the distribution rules of the secondary demand station; The target power supply station whose current monthly remaining inventory does not meet the second preset condition is determined as a first-level demand station, and a distribution plan for the target power supply station is generated according to the distribution rules of the first-level demand site.
2. The method for distributing electric power materials based on material demand and distance demand according to claim 1, characterized in that: The expression for calculating the current monthly remaining inventory of each power supply station according to the initial inventory of each power supply station and the monthly consumption of each power supply station includes: Where: is the remaining inventory of power station j after the i-th month, I j is the initial inventory of power station j, is the inventory replenishment amount for the mth month, is the power consumption of the power station in the mth month.
3. The method for distributing electric power materials based on material demand and distance demand according to claim 1, characterized in that: The step of determining that the target power supply station is a third-level demand site and generating a distribution plan for the target power supply station according to the distance between the target power supply station and an adjacent first-level demand site or a second-level demand site includes: Calculate, based on the location information of the target power supply station, whether the distance between the target power supply station and the adjacent primary demand site or secondary demand site meets a preset condition; If yes, the target power supply station is included in the distribution range of the adjacent primary demand station or secondary demand station, and a distribution plan for the target power supply station is generated according to the distribution rules of the adjacent primary demand station or secondary demand station; If not, a distribution plan for the target power supply station is generated according to the distribution rules of the third-level demand sites.
4. The method for distributing electric power materials based on material demand and distance demand according to claim 1, characterized in that: The step of determining the target power supply station whose current monthly remaining inventory meets the second preset condition as a secondary demand station, and generating a distribution plan for the target power supply station according to the distribution rule of the secondary demand station, includes: Constructing an objective function of a mathematical model of a distribution plan for the target power supply station based on the distribution rules of the secondary demand site; Determining the constraint conditions of the objective function, wherein the constraint conditions include the delivery time constraint of the secondary demand site, the total material demand constraint of each power supply station, and the maximum delivery capacity constraint of the delivery vehicle; A distribution plan for the target power supply station is determined according to the optimal solution of the objective function.
5. The method for distributing electric power materials based on material demand and distance demand according to claim 4, characterized in that: The expression of the objective function is as follows: Where: C is the total delivery cost, x jp is the number of deliveries from power station j to power station p, D jp is the driving distance between power station j and power station p, T jp is the travel time between power station j and power station p, α and β are the cost coefficients of distance and time respectively.
6. The method for distributing electric power materials based on material demand and distance demand according to claim 4, characterized in that: The expressions of the constraints are as follows: Where: is the estimated coefficient of the day variable, day j is the day of the month, q jp is the amount of materials delivered from power station j to power station p each time, d j is the total material demand for each power supply station j, e v It is the maximum delivery capacity of the delivery vehicle.
7. The method for distributing electric power materials based on material demand and distance demand according to claim 6, characterized in that: The expressions of the delivery time constraints of the first-level demand sites are as follows: Where: is the estimated coefficient of the hour variable, hour j The hour of the day.
8. A power material distribution system based on material demand and distance demand, characterized in that: include: A data information acquisition unit, used to acquire the initial inventory of each power supply station, the monthly consumption of each power supply station, and the location information of each power supply station; A current monthly remaining inventory calculation unit, used to calculate the current monthly remaining inventory of each power supply station according to the initial inventory of each power supply station and the monthly consumption of each power supply station; A target power supply station screening unit is used to sequentially screen target power supply stations whose remaining inventory at the end of the month meets a preset threshold range based on the current monthly remaining inventory of each power supply station; A first preset condition judgment unit, used to judge whether the current monthly remaining inventory of the target power supply station meets the first preset condition; A third-level demand site determination unit, used to determine that the target power supply station is a third-level demand site when the current monthly remaining inventory of the target power supply station meets the first preset condition, and generate a distribution plan for the target power supply station according to the distance between the target power supply station and the adjacent first-level demand site or second-level demand site; A secondary demand site determination unit is used to determine a target power supply station whose current monthly remaining inventory meets a second preset condition as a secondary demand station when the current monthly remaining inventory of the target power supply station does not meet a first preset condition, and generate a distribution plan for the target power supply station according to the distribution rules of the secondary demand site; The first-level demand site determination unit is used to determine the target power supply station whose current monthly remaining inventory does not meet the second preset condition as a first-level demand station, and generate a distribution plan for the target power supply station according to the distribution rules of the first-level demand site.
9. A computer device, characterized in that: include: memories, transceivers, processors, and bus systems; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, including executing the power material distribution method based on material demand and distance demand according to any one of claims 1 to 7; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
10. A readable storage medium, characterized in that: The method comprises instructions, which, when executed on a computer, enable the computer to execute the method for distributing electric power materials based on material demand and distance demand as claimed in any one of claims 1 to 7.