A rural power distribution network double-layer Stackelberg collaborative scheduling method, system, equipment and medium considering seasonal load of agricultural facilities

By constructing a two-layer Stackelberg game model between rural power distribution networks and agricultural parks, the scheduling of fixed energy storage and mobile energy storage is optimized, solving the problems of feeder overload and voltage fluctuation in rural power distribution networks under the access of high-penetration renewable energy, and improving the renewable energy absorption capacity and operational reliability.

CN123162913APending Publication Date: 2026-11-24SHANGHAI UNIVERSITY OF ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611131154.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-29
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Rural power distribution networks, with high penetration rates of renewable energy access, face problems such as feeder overload, voltage fluctuations, excessive harmonics, and insufficient absorption of new energy. Furthermore, agricultural load is significantly affected by seasonality, and existing dispatching methods have failed to effectively address the time mismatch between renewable energy output and agricultural electricity consumption.

Method used

A two-layer Stackelberg collaborative scheduling method for rural distribution networks that considers the seasonal load of agricultural facilities is adopted. By constructing a quantitative discrimination index for agricultural production status, a two-layer Stackelberg game model of distribution network-agricultural park is built. Combined with an iterative solution method, a two-layer collaborative optimization of dynamic compensation electricity price and agricultural load response is achieved, and the scheduling of fixed energy storage and mobile energy storage is optimized.

Benefits of technology

It effectively alleviates the problems of feeder overload and voltage exceeding limits, improves the capacity for new energy absorption and operational reliability, takes into account farmers' satisfaction and battery life, and enhances the flexible adjustment capability of rural power distribution networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123162913A_ABST
    Figure CN123162913A_ABST
Patent Text Reader

Abstract

This invention relates to the field of power system optimization and dispatching technology. It discloses a two-layer Stackelberg collaborative dispatching method, system, equipment, and medium for rural distribution networks considering the seasonal load of agricultural facilities. The method includes: collecting operating parameters and meteorological data from the distribution network and agricultural parks; calculating three indicators: agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency; automatically determining whether the current dispatching cycle is a busy or slack farming season based on preset thresholds; constructing a two-layer Stackelberg game model between the distribution network and the agricultural park to optimize agricultural load electricity consumption plans and energy storage operation schemes; and obtaining a balanced dispatching scheme through a hybrid iterative solution using a combination of artificial hummingbird algorithm and mixed-integer second-order cone programming. This invention effectively alleviates the problems of voltage exceeding limits and insufficient new energy consumption caused by the integration of high-penetration renewable energy, and improves the safety and economy of rural distribution network operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power system optimization dispatching technology, and in particular to a two-layer Stackelberg collaborative dispatching method, system, equipment and medium for rural distribution networks that takes into account the seasonal load of agricultural facilities. Background Technology

[0002] With the deepening implementation of the rural revitalization strategy, distributed renewable energy has become the core engine driving the green transformation of rural energy systems. The large-scale integration of distributed energy sources, represented by wind power, photovoltaic power, and biogas power generation, into rural areas has not only effectively alleviated power shortages in remote areas but also significantly optimized the regional energy structure and increased the penetration rate of clean energy. However, rural power distribution networks generally suffer from weak infrastructure, such as long power supply radii, small conductor cross-sections, radial chain structures, and insufficient transformer capacity, resulting in limited regulation capabilities. The large-scale integration of distributed energy has triggered a series of safety operation problems, including feeder overload, voltage fluctuations, harmonic exceedances, and insufficient absorption of new energy sources.

[0003] Meanwhile, agricultural load is significantly affected by seasonal, climatic, and regional factors, exhibiting strong spatiotemporal variability and diversity. During the busy farming season, irrigation load and agricultural production load highly overlap, forming a distinct bimodal characteristic, which is severely mismatched with the peak solar power generation period at midday, leading to a prominent contradiction of "midday solar curtailment and evening power shortages." During the off-season, agricultural electricity demand drops sharply, the space for renewable energy consumption shrinks, and the phenomenon of wind and solar curtailment intensifies. A large number of mobile energy storage devices, such as electric tractors, in agricultural parks remain idle for extended periods during the off-season, and their two-way regulation potential remains untapped. However, existing studies often aggregate and equate agricultural loads or only focus on the real-time control of irrigation systems, failing to fully consider the seasonal differences in agricultural activities, the rigid constraints of agricultural time, and the dispatchable potential of agricultural machinery.

[0004] Therefore, there is an urgent need for a rural power distribution network collaborative scheduling method that can adaptively switch scheduling modes according to the agricultural season, deeply explore the potential for coordinated regulation of fixed energy storage and mobile energy storage, and incentivize agricultural loads to actively participate in the response through market-based price signals. This method is intended to solve the problem of timing mismatch between new energy output and agricultural electricity consumption, and improve the operational safety and economy of rural power distribution networks under conditions of high penetration of renewable energy access. Summary of the Invention

[0005] In view of the aforementioned existing problems, the present invention provides a two-layer Stackelberg collaborative scheduling method, system, equipment and medium for rural power distribution networks that takes into account the seasonal load of agricultural facilities.

[0006] Therefore, the technical problem solved by this invention is to achieve collaborative optimization between the power distribution network and agricultural parks through a seasonally adaptive two-layer game architecture, thereby alleviating the time mismatch problem between new energy output and agricultural electricity consumption.

[0007] To solve the above-mentioned technical problems, the present invention provides the following technical solution: a two-layer Stackelberg collaborative scheduling method for rural power distribution networks that considers the seasonal load of agricultural facilities, including: acquiring the operating parameters and meteorological data of the power distribution network and agricultural parks; Construct a quantitative indicator for judging the state of agricultural production, calculate three characteristic indicators: agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency, combine them with preset high and low thresholds to complete the state judgment, and output the current scheduling cycle operation mode. A two-layer Stackelberg game model of power distribution network and agricultural park is constructed. The upper layer constructs an optimization model based on the optimal balance between power distribution network security and comprehensive operating cost and outputs a dynamic compensation price. The lower layer establishes an agricultural park scheduling model based on the compensation price and corresponding agricultural mode constraints, and provides feedback on the optimal load and energy storage operation scheme. An equilibrium scheduling scheme is obtained by iteratively solving the game model and then issued for execution.

[0008] As a preferred embodiment of the two-layer Stackelberg collaborative scheduling method for rural power distribution networks considering the seasonal load of agricultural facilities as described in this invention, the agricultural load intensity index is the ratio of the total agricultural electricity consumption to the area of ​​the studied region within the statistical period; the agricultural machinery utilization rate index is the ratio of the number of periods with agricultural production load greater than zero within the statistical period to the total number of periods in the scheduling period; and the irrigation frequency index is the ratio of the number of periods with irrigation load greater than zero within the statistical period to the total number of periods. High and low thresholds are set for each indicator, with the high threshold being the 70th percentile of historical samples and the low threshold being the 30th percentile of historical samples. When determining the current scheduling cycle operation mode, if at least two of the three indicators exceed their respective high thresholds, it is determined to be the busy farming mode; if at least two are below their respective low thresholds, it is determined to be the slack farming mode; otherwise, it is determined to be a transitional state and the operation mode of the previous scheduling cycle remains unchanged.

[0009] As a preferred embodiment of the rural distribution network two-layer Stackelberg collaborative scheduling method considering the seasonal load of agricultural facilities as described in this invention, the two-layer Stackelberg game model of distribution network-agricultural park includes: the comprehensive operating cost of the upper distribution network is formed by weighted summation of voltage deviation cost, wind and solar curtailment cost, network loss cost and load compensation cost; Voltage deviation cost is calculated by summing the absolute values ​​of the differences between the squared voltage values ​​of each node and the squared rated voltage values, and then multiplying by a weighting factor; wind and solar curtailment cost is calculated by summing the curtailed electricity amount of each distributed photovoltaic and wind power node and the corresponding unit curtailment cost; network loss cost is based on the product of the squared current of each branch and the branch resistance, plus the unit network loss cost factor, and summed over time; load compensation cost is determined based on the electricity amount participating in load shifting and the unit electricity compensation price. The constraints of the upper-level model include DistFlow branch power flow constraints, node voltage upper and lower limits constraints, distributed wind power / photovoltaic / biogas unit output constraints, and stationary energy storage charging and discharging power and state of charge constraints.

[0010] As a preferred embodiment of the two-layer Stackelberg collaborative scheduling method for rural distribution networks that considers the seasonal load of agricultural facilities as described in this invention, the establishment of the agricultural park scheduling model includes: the optimization objective is expressed as a weighted combination of farmer satisfaction index, load shifting compensation revenue, electricity purchase cost, electricity sales revenue, energy storage regulation cost, and electric tractor battery degradation cost under the off-season mode. Among them, the farmer satisfaction index is determined based on a piecewise function of perceived temperature: perceived temperature is calculated by linear weighting of dry-bulb temperature, relative humidity, solar irradiance, and wind speed. When the perceived temperature is within a preset comfort range, the satisfaction value is taken as the base value. When it exceeds the range, the satisfaction decreases according to a quadratic function of the deviation. The load shifting compensation revenue is calculated based on the original agricultural electricity price, the change in electricity price, and the actual electricity consumption. The electricity purchase cost and electricity sales revenue are obtained by multiplying the purchased power and sold power by the corresponding purchase and sale prices and summing them up. The energy storage regulation cost is the fixed energy storage charging and discharging power multiplied by the unit charging and discharging cost.

[0011] As a preferred embodiment of the rural power distribution network two-layer Stackelberg collaborative scheduling method considering the seasonal load of agricultural facilities as described in this invention, the battery degradation cost of the electric tractor includes: based on the charging power and discharging power of the aggregated electric tractor within the scheduling cycle, dividing by the charging efficiency and discharging efficiency respectively to obtain the effective energy throughput, and multiplying by the unit capacity battery replacement cost. Meanwhile, the equivalent cycle life is determined based on the battery's reference depth of discharge, rated cycle life, and the upper and lower limits of the state of charge in actual operation. The equivalent cycle life is corrected by introducing an empirical index to characterize the sensitivity of cycle life to the depth of discharge. The battery degradation cost is obtained by dividing the effective energy throughput by the total energy corresponding to the equivalent cycle life.

[0012] As a preferred embodiment of the two-layer Stackelberg collaborative scheduling method for rural power distribution networks considering the seasonal load of agricultural facilities as described in this invention, the step of obtaining an equilibrium scheduling scheme by iteratively solving the game model includes: using a hybrid iterative method combining artificial hummingbird algorithm and mixed integer second-order cone programming, initializing the artificial hummingbird population, and generating multiple sets of dynamic compensation price candidate solutions; in each iteration, the upper layer passes the current electricity price to the lower layer, and the lower layer calls the CPLEX solver to solve the corresponding mixed integer second-order cone programming subproblem, obtains the agricultural load and energy storage operation scheme, and feeds it back; The upper layer calculates the upper-level target value based on the feedback scheme and calls CPLEX again to solve the upper-level sub-problem to update the electricity price; the artificial hummingbird algorithm updates the candidate solutions for the electricity price through axial, diagonal and omnidirectional flight strategies, and judges whether the upper-level target value and the electricity price fluctuation in two adjacent iterations are less than the preset convergence accuracy. If they are satisfied, the Stackelberg equilibrium scheduling scheme is output; otherwise, the iteration continues.

[0013] As a preferred embodiment of the two-layer Stackelberg collaborative scheduling method for rural power distribution networks that considers the seasonal load of agricultural facilities as described in this invention, the balanced scheduling scheme includes an agricultural load shifting scheme, which includes shifting the irrigation load of electromechanical wells and shifting the charging load of electric tractors. For the irrigation load of electromechanical wells, the irrigation demand of each planned time period is redistributed within the allowable irrigation time window by using binary translation decision variables. The preparation time before each irrigation is taken into account during the translation process, and the total irrigation power is kept constant before and after the translation. For the charging load of electric tractors, by adjusting the charging power of each electric tractor at different times, the charging load is transferred to the time when the output of new energy is abundant or the electricity price is low, while meeting the total charging demand, battery energy storage status constraints and allowable charging time windows. At the same time, it is subject to the maximum number of public charging piles that can charge at the same time.

[0014] This invention provides a two-layer Stackelberg collaborative dispatch system for rural power distribution networks that takes into account the seasonal load of agricultural facilities.

[0015] As a preferred embodiment of the rural power distribution network two-layer Stackelberg collaborative scheduling system considering the seasonal load of agricultural facilities as described in this invention, it includes a data acquisition and preprocessing module to acquire power distribution network topology, line impedance, distributed wind power / photovoltaic / biogas units, fixed energy storage, agricultural park equipment parameters, and agricultural meteorological data, and to normalize and fill in missing values ​​in the data. The seasonal mode adaptive discrimination module calculates three indicators—agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency—based on the data. It automatically determines whether the current scheduling cycle is a busy or slack farming mode by using preset high / low thresholds and majority discrimination principles, and processes the transition state to suppress frequent switching. The model building module constructs a two-layer optimization model for the power distribution network and agricultural park: the upper layer sets a dynamic compensation electricity price with the goal of minimizing the weighted average of voltage deviation, wind and solar curtailment, network loss and load compensation cost; the lower layer optimizes the load and energy storage operation scheme based on the electricity price and the corresponding agricultural mode constraints, with the goal of optimizing the weighted average of farmer satisfaction index, electricity cost, energy storage regulation cost and electric tractor battery degradation cost under the off-season mode. The collaborative optimization solution module uses the artificial hummingbird algorithm to generate candidate solutions for dynamic compensation electricity prices, and calls the CPLEX solver to iteratively solve the mixed integer second-order cone programming subproblem of the upper-level distribution network and the lower-level agricultural park until the objective and electricity price converge, and outputs the Stackelberg equilibrium scheduling scheme. The scheduling scheme output and execution module transforms the balanced scheduling scheme into an irrigation plan for electromechanical wells, a charging and discharging strategy for electric tractors, a charging and discharging command for fixed energy storage, and a reduction in the output of distributed energy, and then distributes them to each execution unit.

[0016] The present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of a two-layer Stackelberg cooperative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities.

[0017] The present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a two-layer Stackelberg cooperative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities.

[0018] The beneficial effects of this invention are as follows: This invention fully considers the interest game relationship and seasonal operational differences between rural power distribution networks and agricultural parks, and constructs a busy / slack farming mode discrimination mechanism composed of three quantitative indicators: agricultural load intensity, agricultural machinery utilization rate and irrigation frequency. Based on the improved artificial hummingbird algorithm and Stackelberg game framework, it realizes the two-level collaborative optimization of power distribution network dynamic compensation price and agricultural load response, effectively improving the flexible adjustment capability of rural power distribution networks under seasonal load fluctuations.

[0019] A simulation model was established, incorporating distributed wind power, photovoltaic power, biogas power generation, and various agricultural loads including irrigation, production, and greenhouses. This model verified the impact of high-penetration renewable energy integration on voltage deviation, feeder power flow, and renewable energy absorption rate in rural power distribution networks. A systematic comparison of the economic and safety effects of various dispatching strategies revealed that the strategy proposed in this invention, through the coordinated regulation of fixed energy storage and flexible agricultural loads, effectively alleviates feeder overload and voltage exceedance issues during busy farming seasons. During off-seasons, it fully leverages the V2G bidirectional regulation potential of electric tractors as mobile energy storage. While considering farmer satisfaction and battery life, this significantly improves the renewable energy absorption capacity and operational reliability of rural power distribution networks. Attached Figure Description

[0020] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of a two-layer Stackelberg collaborative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities, provided as an embodiment of the present invention.

[0022] Figure 2 The topology diagram of the IEEE 33-node example of the two-layer Stackelberg collaborative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities, as provided in an embodiment of the present invention.

[0023] Figure 3 This is a schematic diagram of the source-load-storage power scheduling results of a rural distribution network during the busy farming season, based on a two-layer Stackelberg collaborative scheduling method for rural distribution networks that considers the seasonal load of agricultural facilities, as provided in an embodiment of the present invention.

[0024] Figure 4 is a schematic diagram of the optimized scheduling results of agricultural load during the busy farming season and the operation status of energy storage in a rural power distribution network with a two-layer Stackelberg collaborative scheduling method considering the seasonal load of agricultural facilities provided in an embodiment of the present invention; wherein, (4a) is a comparison diagram of agricultural production load and irrigation load scheduling before and after, and (4b) is a diagram of changes in energy storage charging and discharging power and state of charge.

[0025] Figure 5 This is a schematic diagram of the source-load-storage power balance results of a rural distribution network during the off-season, taking into account the demand response of mobile energy storage, based on a two-layer Stackelberg collaborative scheduling method for rural distribution networks that considers the seasonal load of agricultural facilities, as provided in an embodiment of the present invention.

[0026] Figure 6 is a schematic diagram of the agricultural production load response and energy storage operation results under the degradation sensing scheduling during the off-season, based on the two-layer Stackelberg collaborative scheduling method for rural power distribution networks considering the seasonal load of agricultural facilities provided in an embodiment of the present invention; wherein, (6a) is a power distribution diagram of agricultural production load regulation and agricultural electric facility demand response during the off-season, and (6b) is a charging and discharging curve and state of charge diagram of two energy storage units.

[0027] Figure 7 The flowchart illustrates the solution of a two-layer Stackelberg game-based collaborative scheduling model for a rural power distribution network that considers the seasonal load of agricultural facilities, as provided in an embodiment of the present invention.

[0028] Figure 8 This diagram illustrates the time-of-use electricity prices and retail prices during the busy and slack farming seasons, based on a two-layer Stackelberg collaborative dispatch method for rural distribution networks that considers the seasonal load of agricultural facilities, as provided in an embodiment of the present invention. Detailed Implementation

[0029] To make the above-mentioned objects, features, and advantages of the present invention more readily understood, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.

[0030] Example 1, referring to Figure 1 This is the first embodiment of the present invention, which provides a two-layer Stackelberg cooperative scheduling method for rural distribution networks that considers the seasonal load of agricultural facilities, including: S1: Obtain operating parameters and meteorological data for power distribution networks and agricultural parks.

[0031] S2: Construct a quantitative indicator for agricultural production status, calculate three characteristic indicators: agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency, combine preset high and low thresholds to complete the status determination, and output the current scheduling cycle operation mode.

[0032] S3: Build a two-layer Stackelberg game model for distribution network and agricultural park. The upper layer constructs an optimization model based on the optimal distribution network security and comprehensive operating cost and outputs a dynamic compensation price. The lower layer establishes an agricultural park scheduling model based on the compensation price and corresponding agricultural mode constraints, and provides feedback on the optimal load and energy storage operation plan.

[0033] S4: Obtain an equilibrium scheduling scheme by iteratively solving the game model, and then issue it for execution.

[0034] It should be noted that this method proposes a seasonally adaptive two-layer Stackelberg game scheduling strategy to coordinate the regulation of distributed power sources, fixed energy storage and agricultural flexible loads in rural power distribution networks. This strategy mainly addresses the problems of feeder overload, voltage exceeding limits and insufficient new energy absorption caused by the access of high-penetration renewable energy to rural power distribution networks, and achieves a coordinated balance between the safety and economy of power distribution network operation and the capacity for new energy absorption.

[0035] First, three quantitative indicators—agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency—are constructed to automatically identify and switch between busy and off-season farming modes, based on preset high and low thresholds. Then, a two-layer Stackelberg game-theoretic scheduling architecture is built between the power distribution network and the agricultural park. The upper layer aims to optimize the overall operating cost of the power distribution network by setting a dynamic compensation price, while the lower layer aims to optimize both farmer satisfaction and economic benefits, considering the rigid constraints of farming seasons to optimize agricultural load electricity consumption plans. During the off-season, idle electric tractors are further utilized as mobile energy storage to participate in V2G bidirectional regulation, taking into account battery degradation costs to balance short-term gains and long-term lifespan. Finally, simulations are performed based on the IEEE 33-node system. With minimizing voltage deviation, wind and solar curtailment costs, network loss costs, and load compensation costs as the upper-layer objectives, and maximizing farmer satisfaction and economic benefits as the lower-layer objectives, a mixed-integer second-order cone programming model is constructed. A hybrid hummingbird algorithm and CPLEX iterative solution are used to verify the effectiveness of the proposed collaborative scheduling method.

[0036] Example 2, refer to Figure 7 and Figure 8 As an embodiment of the present invention, based on the above embodiment, a two-layer Stackelberg collaborative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities is provided.

[0037] Furthermore, in this embodiment of the application, step S1, acquiring the operating parameters and meteorological data of the power distribution network and agricultural park, specifically includes the following steps: S101: Collects rural power distribution network topology, line impedance parameters, distributed wind / photovoltaic / biogas unit parameters, stationary energy storage parameters, agricultural park equipment parameters, and agricultural time-series meteorological data. The agricultural park equipment parameters include irrigation load parameters for electromechanical wells (rated power, flow rate, head, efficiency), electric tractor parameters (battery capacity, charging / discharging power, charging / discharging efficiency, cycle life, replacement cost), the number of public charging piles and the limit on the number of simultaneous charging stations, and greenhouse load parameters. The agricultural time-series meteorological data includes hourly temperature, relative humidity, solar irradiance, and wind speed.

[0038] S102: The collected distributed equipment parameters include: wind turbine cut-in wind speed, rated wind speed, and cut-out wind speed; photovoltaic inverter capacity and reactive power regulation upper and lower limits; biogas fermentation gas production rate and maximum / minimum storage capacity of gas storage tanks; rated capacity, charging and discharging power, charging and discharging efficiency, and SOC upper and lower limits of stationary energy storage; rated charging and discharging power, battery capacity, battery replacement cost, and cycle life parameters of electric tractors; rated power of electromechanical wells and allowable irrigation time window; and the maximum number of public charging piles that can charge simultaneously.

[0039] Furthermore, in this embodiment, step S2 constructs a quantitative discrimination index for agricultural production status, calculates three characteristic indicators—agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency—and combines them with preset high and low thresholds to complete the status determination, outputting the current scheduling cycle operation mode. Specific steps include: S201: The agricultural load intensity index is the ratio of total agricultural electricity consumption to the area of ​​the studied region within the statistical period; the agricultural machinery utilization rate index is the ratio of the number of periods with agricultural production load greater than zero within the statistical period to the total number of periods in the scheduling period; the irrigation frequency index is the ratio of the number of periods with irrigation load greater than zero within the statistical period to the total number of periods. Specifically, to characterize the overall electricity consumption level of agricultural activities within a statistical period, an agricultural load intensity index is defined. : In the formula, This is an indicator of agricultural load intensity. The total electricity consumption for agriculture during the statistical period includes electricity consumption related to irrigation and electricity consumption related to agricultural production. The area represents the study region. The larger this index is, the higher the electricity consumption per unit area for agricultural activities, the more concentrated the agricultural production, and the more likely the system is in a busy farming season.

[0040] To reflect the operational activity of agricultural machinery during the scheduling cycle, an agricultural machinery utilization rate index is defined. : In the formula, This is an indicator of agricultural machinery utilization rate; This represents the number of periods within the statistical period during which the agricultural production load is greater than zero. This represents the total number of time periods within the scheduling cycle. This indicator is used to characterize the continuity of agricultural machinery's participation in production operations at the system level. The larger the value, the longer the agricultural machinery is in operation and the more concentrated the agricultural production tasks are.

[0041] To describe the density of irrigation activities within a statistical period, an irrigation frequency index is defined. : In the formula, This is an indicator of irrigation frequency. This represents the number of periods within a statistical period where the irrigation load is greater than zero. This indicator reflects the distribution density of irrigation behavior over time; the higher the value, the more frequent the irrigation activity and the more active the corresponding agricultural activities.

[0042] S202: After obtaining the above three indicators, a threshold-based rule-based discrimination method is used to identify the busy / slack farming status.

[0043] For each metric, set a high threshold separately. With low threshold , .

[0044] The high threshold can be referenced from the 70th percentile of historical samples, and the low threshold can be referenced from the 30th percentile of historical samples to distinguish between periods of significantly active agricultural activity and periods of sustained weakness. The interval between the high and low thresholds serves as a transition buffer to characterize state changes such as the end of the busy farming season or the beginning of the off-season, thereby suppressing frequent pattern switching caused by short-term fluctuations of a single indicator.

[0045] S203: Based on the above indicators and thresholds, the majority decision-making principle is used to determine the operating mode of the current scheduling cycle. When The system is considered to enter busy farming mode when at least two of the three indicators exceed their respective high thresholds; it is considered to enter slack farming mode when at least two of the indicators fall below their respective low thresholds; otherwise, it is considered a transitional state between busy and slack farming, and the operating mode of the previous scheduling cycle remains unchanged. Furthermore, in the implementation of this application, step S3 establishes a two-layer Stackelberg game model for the distribution network and agricultural park. The upper layer constructs an optimization model based on the optimal distribution network security and overall operating cost and outputs a dynamic compensation price. The lower layer establishes an agricultural park scheduling model based on the compensation price and corresponding agricultural operation mode constraints, and provides feedback on the optimal load and energy storage operation scheme. The specific steps include: S301: Construct a two-layer Stackelberg game model for the power distribution network and agricultural park. The comprehensive operating cost of the upper-layer power distribution network is formed by weighted summation of voltage deviation cost, wind and solar curtailment cost, network loss cost, and load compensation cost. Voltage deviation cost is calculated by summing the absolute values ​​of the differences between the squared voltage values ​​of each node and the squared rated voltage values, and then multiplying by a weighting factor; wind and solar curtailment cost is calculated by summing the curtailed electricity amount of each distributed photovoltaic and wind power node and the corresponding unit curtailment cost; network loss cost is based on the product of the squared current of each branch and the branch resistance, plus the unit network loss cost factor, and summed over time; load compensation cost is determined based on the electricity amount participating in load shifting and the unit electricity compensation price. Specifically, the control objective of the distribution network is to achieve a comprehensive optimization of multiple objectives, taking into account both operational safety and economy. Operational safety is measured by minimizing voltage deviation, while economy is measured by minimizing the costs of wind and solar power curtailment, network loss, and load shifting compensation.

[0046] In the formula, Represents the voltage deviation function; This represents the cost of curtailing wind and solar power. It refers to the cost incurred by network losses during power transmission. This represents the cost of load compensation. These are the weight coefficients for each item, and they satisfy... .

[0047] In the formula, For nodes exist The square of the voltage over a given period; For nodes The square value of the rated voltage; It is the set of all nodes.

[0048] In the formula, These are the unit curtailment costs for distributed photovoltaic and wind turbine generators, respectively. They are nodes During the period The amount of electricity wasted from solar and wind turbines; The set of all nodes containing distributed energy resources; For time intervals.

[0049] In the formula, This is the unit network loss cost coefficient; for Time flows through nodes With nodes The branch current between branches; For nodes With nodes The branch resistance between branches; It is the set of all branches in the network.

[0050] In the formula, The unit electricity compensation price for load transfer represents the compensation farmers receive for adjusting their electricity usage time. For time period The total amount of electricity transferred internally through load transfer; This represents the set of nodes participating in load transfer.

[0051] The constraints of the upper-level model include DistFlow branch power flow constraints, node voltage upper and lower limits constraints, distributed wind power / photovoltaic / biogas unit output constraints, and stationary energy storage charging and discharging power and state of charge constraints.

[0052] S302: Establishing an agricultural park scheduling model includes: the optimization objective is expressed as a weighted sum of farmer satisfaction index, load shifting compensation revenue, electricity purchase cost, electricity sales revenue, energy storage regulation cost, and electric tractor battery degradation cost under the off-season mode; Among them, the farmer satisfaction index is determined based on a piecewise function of perceived temperature: perceived temperature is calculated by linear weighting of dry-bulb temperature, relative humidity, solar irradiance, and wind speed. When the perceived temperature is within a preset comfort range, the satisfaction value is taken as the base value. When it exceeds the range, the satisfaction decreases according to a quadratic function of the deviation. The load shifting compensation revenue is calculated based on the original agricultural electricity price, the change in electricity price, and the actual electricity consumption. The electricity purchase cost and electricity sales revenue are obtained by multiplying the purchased power and sold power by the corresponding purchase and sale prices and summing them up. The energy storage regulation cost is the fixed energy storage charging and discharging power multiplied by the unit charging and discharging cost.

[0053] Specifically, the optimization model for lower-level agricultural parks aims to achieve a comprehensive balance between farmer satisfaction and economic benefits, maximizing the farmer satisfaction index and load shifting compensation benefits while minimizing electricity costs and energy storage regulation costs. In the formula, The objective function representing the compensation revenue of the agricultural park; Represents the farmer satisfaction index; This is the net electricity expenditure of the agricultural park; This refers to the cost of power battery degradation incurred when idle electric tractors participate in V2G charging and discharging processes; These are the weighting coefficients for each objective; This is the normalization coefficient.

[0054] In the formula, for Initial agricultural electricity price for the period; They are respectively Agricultural irrigation nodes during specific periods and agricultural production load nodes The original agricultural load; For the first The amount of electricity price changes implemented during a given period to encourage adjustments in electricity consumption behavior; for The actual satisfaction coefficient of farmers during the time period; This represents the total cost of electricity purchase; This represents the total cost of electricity sales; This represents the total regulation cost of the energy storage system; They represent Electricity purchase price and electricity sales price for different time periods; Representing nodes respectively exist The amount of electricity purchased from and sold to the power grid during each time period; These are the unit charging and discharging costs of the energy storage system, respectively. They are respectively The charging and discharging power of the battery during a given period.

[0055] S303: The battery degradation cost of electric tractors includes: the effective energy throughput, which is obtained by dividing the charging power and discharging power of the aggregated electric tractors within the scheduling cycle by the charging efficiency and discharging efficiency, and then multiplying it by the battery replacement cost per unit capacity. Meanwhile, the equivalent cycle life is determined based on the battery's reference depth of discharge, rated cycle life, and the upper and lower limits of the state of charge in actual operation. The equivalent cycle life is corrected by introducing an empirical index to characterize the sensitivity of cycle life to the depth of discharge. The battery degradation cost is obtained by dividing the effective energy throughput by the total energy corresponding to the equivalent cycle life.

[0056] Specifically, the formula for calculating the battery degradation cost of electric tractors during the off-season is as follows: The above formula is used to convert the cumulative charge and discharge energy throughput within the scheduling cycle into the corresponding lifetime loss cost, thereby characterizing the battery degradation cost brought about by mobile energy storage participating in bidirectional regulation. The corresponding equivalent cycle life or depth of discharge correction relationship can be expressed as: in: This indicates the cost of replacing a battery per unit capacity. This represents the equivalent cycle life after correction for the actual depth of discharge. and These represent the battery's charging efficiency and discharging efficiency, respectively. and They represent The charging and discharging power of the electric tractor during the time period is aggregated. Indicates the rated cycle life at the reference depth of discharge; Indicates the reference depth of discharge; and These represent the upper and lower limits of the battery's state of charge, respectively. An empirical index representing the sensitivity of battery cycle life to depth of discharge.

[0057] S304: The farmer satisfaction index is calculated using a piecewise function of perceived temperature. The formula for calculating perceived temperature is: In the formula, Indicates the dry-bulb temperature of the air; Indicates relative humidity of the air; express Actual solar irradiance during the time period; Indicates wind speed; These are the influence coefficients for humidity, irradiance, and wind speed, respectively.

[0058] Based on perceived temperature, actual satisfaction coefficient Determined by a piecewise function, when the perceived temperature is within the comfortable range At that time, farmers' satisfaction reached the baseline value. When the perceived temperature exceeds the comfort range, the satisfaction level decreases quadratically with the square of the deviation, reflecting the negative impact of high or low temperature environments on farmers' willingness to work outdoors.

[0059] In the formula, For agricultural park users during time periods Basic satisfaction rating; The coefficient representing the impact of changes in solar irradiance on satisfaction. These are the upper and lower limits of the comfortable perceived temperature, respectively.

[0060] Furthermore, in this embodiment of the application, step S4 obtains an equilibrium scheduling scheme by iteratively solving the game model and then issues it for execution. The specific steps include: S401: A hybrid iterative method combining artificial hummingbird algorithm and mixed-integer second-order cone programming is adopted to initialize artificial hummingbird population and generate multiple sets of dynamic compensation electricity price candidate solutions. In each iteration, the upper layer passes the current electricity price to the lower layer, and the lower layer calls the CPLEX solver to solve the corresponding mixed-integer second-order cone programming subproblem to obtain agricultural load and energy storage operation scheme and feedback. The upper layer calculates the upper-level target value based on the feedback scheme and calls CPLEX again to solve the upper-level sub-problem to update the electricity price; the artificial hummingbird algorithm updates the candidate solutions for the electricity price through axial, diagonal and omnidirectional flight strategies, and judges whether the upper-level target value and the electricity price fluctuation in two adjacent iterations are less than the preset convergence accuracy. If they are satisfied, the Stackelberg equilibrium scheduling scheme is output; otherwise, the iteration continues.

[0061] S402: The balanced scheduling scheme includes an agricultural load shifting scheme, which includes the shifting of irrigation load from electromechanical wells and the shifting of charging load from electric tractors; For the irrigation load of electromechanical wells, the irrigation demand of each planned time period is redistributed within the allowable irrigation time window by using binary translation decision variables. The preparation time before each irrigation is taken into account during the translation process, and the total irrigation power is kept constant before and after the translation. Specifically, for a single-well electric motor, its total daily energy demand is determined by crop water requirements and irrigation efficiency, and can be shifted within an allowable time window through an incentive mechanism. The shifted irrigation power can be expressed as: In the formula, Indicates the electromechanical well after load shifting During the period The planned irrigation electricity demand; Indicates the electromechanical well before load transfer During the period The original electricity demand for irrigation; This represents the total number of time periods within a single scheduling cycle; These are binary decision variables used to represent electromechanical wells. Originally a time period Has the demand for irrigation been shifted to different time periods? ,when A value of 0 indicates that the translation will be performed; otherwise, the value is 0. Indicates electromechanical well Rated operating power; Indicates electromechanical well Originally scheduled for the time period The duration of irrigation within the area.

[0062] The total operating time of electromechanical wells related to irrigation within a scheduling cycle. Including preparation time required before irrigation and actual irrigation duration , can be represented as: In the formula, Indicates electromechanical well Total irrigation-related runtime within a single scheduling cycle; It is a binary variable, representing the electromechanical well. During the period Whether to carry out irrigation operations; This indicates the preparation time required before each irrigation. Indicates time period The effective irrigation duration within.

[0063] To ensure that load shifting only changes the temporal distribution of irrigation demand without altering its total energy requirement, within the permissible shift range... Applying an internal charge conservation constraint, it can be expressed as: In the formula, For electromechanical wells The irrigation load allows for a time window for translation.

[0064] For the charging load of electric tractors, by adjusting the charging power of each electric tractor at different times, the charging load is transferred to the time when the output of new energy is abundant or the electricity price is low, while meeting the total charging demand, battery energy storage status constraints and allowable charging time windows. At the same time, it is subject to the maximum number of public charging piles that can charge at the same time.

[0065] Specifically, the total charging capacity of a single electric tractor during the dispatch cycle must meet the power demand for operation. Moving the tractor only changes the charging period, not the total charging capacity. In the formula, Indicates agricultural production nodes During the period Total charging power of all electric tractors in the system; Indicates access to agricultural production nodes The number of electric tractors; Represents a node First Taiwanese electric tractors during the period Internal charging power; Represents a node First Taiwanese electric tractors during the period Internal battery energy storage; Represents a node First Taiwanese electric tractors during the period Internal discharge power; and They represent the first The charging and discharging efficiencies of the electric tractor are within the following ranges: ; It indicates the duration of a scheduling time interval.

[0066] Example 3 is the third embodiment of the present invention, which differs from the previous two embodiments in that: This embodiment also provides a two-layer Stackelberg coordinated dispatch system for rural distribution networks that takes into account the seasonal load of agricultural facilities, including: The data acquisition and preprocessing module acquires data on distribution network topology, line impedance, distributed wind power / photovoltaic / biogas units, fixed energy storage, agricultural park equipment parameters, and agricultural meteorological data, and performs data normalization and missing value imputation. The seasonal mode adaptive discrimination module calculates three indicators—agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency—based on the data. It automatically determines whether the current scheduling cycle is a busy or slack farming mode by using preset high / low thresholds and majority discrimination principles, and processes the transition state to suppress frequent switching. The model building module constructs a two-layer optimization model for the power distribution network and agricultural park: the upper layer sets a dynamic compensation electricity price with the goal of minimizing the weighted average of voltage deviation, wind and solar curtailment, network loss and load compensation cost; the lower layer optimizes the load and energy storage operation scheme based on the electricity price and the corresponding agricultural mode constraints, with the goal of optimizing the weighted average of farmer satisfaction index, electricity cost, energy storage regulation cost and electric tractor battery degradation cost under the off-season mode. The collaborative optimization solution module uses the artificial hummingbird algorithm to generate candidate solutions for dynamic compensation electricity prices, and calls the CPLEX solver to iteratively solve the mixed integer second-order cone programming subproblem of the upper-level distribution network and the lower-level agricultural park until the objective and electricity price converge, and outputs the Stackelberg equilibrium scheduling scheme. The scheduling scheme output and execution module transforms the balanced scheduling scheme into an irrigation plan for electromechanical wells, a charging and discharging strategy for electric tractors, a charging and discharging command for fixed energy storage, and a reduction in the output of distributed energy, and then distributes them to each execution unit.

[0067] This embodiment also provides an electronic device, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the two-layer Stackelberg collaborative scheduling method for rural power distribution networks that considers the seasonal load of agricultural facilities as proposed in the above embodiment.

[0068] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements the two-layer Stackelberg collaborative scheduling method for rural power distribution networks that considers the seasonal load of agricultural facilities as proposed in the above embodiments.

[0069] The storage medium proposed in this embodiment and the two-layer Stackelberg collaborative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities proposed in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0070] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0071] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

[0072] Example, refer to Figure 2 Figure 6 shows an embodiment of the present invention used to verify a two-layer Stackelberg collaborative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities.

[0073] This embodiment uses MATLAB to build a simulation example of a distribution network with distributed photovoltaic power at IEEE 33 nodes. The system topology is as follows: Figure 2 As shown. The system's base capacity S = 10 MVA, with a voltage reference value of 12.66 kV. PV is connected to nodes 8 and 29, with a rated capacity of 1 MW. WT is connected to nodes 19 and 25, with a rated capacity of 0.75 MW. BG is connected to node 16. Assuming the influence of the ambient temperature of the fermentation tank is not considered, the biogas fermentation production rate is constant at 50%. The maximum capacity of the gas storage device is 300. The ESS is connected to nodes 21 and 32, and its rated capacity is 1000. The charge / discharge efficiency is 0.95, and the maximum and minimum state-of-charge limits are 0.9 and 0.1, respectively.

[0074] The output data and load curves of photovoltaic and wind turbines are derived from 24-hour measured data from a rural area in the Huang-Huai-Hai Plain. This area covers 13.3 square kilometers with a population density of 1500 people per square kilometer, and implements a winter wheat-spring peanut-summer maize rotation system. Based on the seasonal pattern recognition index system constructed earlier, this paper quantifies and distinguishes selected typical days. As shown in Table 1, the two types of typical days selected can effectively characterize the differences in agricultural load composition, operational intensity, and adjustable resource availability under different seasonal stages, providing a foundation for subsequent scenario-based scheduling analysis.

[0075] Table 1. Typical Daily Agricultural Load Characteristics and Pattern Recognition Results

[0076] For the agricultural park, the irrigation load includes 80 electromechanical wells, each with a rated power of 8.9 kW, and permitted irrigation time windows are 05:00-10:00 and 15:00-21:00. The agricultural production load includes 60 electric tractors, each with a battery capacity of 150 kWh, a maximum charge / discharge power of 30 kW, a charging efficiency of 0.92, a discharging efficiency of 0.90, and 20 charging piles, with permitted charging time windows of 21:00-08:00 and 11:00-15:00. The specific connection nodes for the load are shown in Table 2.

[0077] Table 2 Agricultural Power Load Types and Connection Characteristics

[0078] Furthermore, to ensure the availability and consistency of the input to the scheduling model, this embodiment uses historical renewable energy output data and employs a Grey Wolf Optimized Generalized Regression Neural Network (GWO-GRNN) to perform short-term predictions of wind and solar power output during the busy and off-seasons, respectively. The time-series input data for the calculation examples is constructed by combining typical daily load curves. Subsequently, based on the above calculation example settings, the results of the two-layer collaborative scheduling under the conditions of the busy and off-seasons will be analyzed, and the effectiveness of the proposed seasonal adaptive scheduling strategy in improving renewable energy absorption, enhancing voltage quality, and reducing system operating costs will be further verified.

[0079] The method of this invention is used to optimize the scheduling of busy farming days, and the scheduling results are as follows: Figure 3As shown in Figure 4, the peak output of photovoltaic / wind power at midday coincides with the charging period of agricultural machinery, while the irrigation load of electromechanical wells is optimized and shifted to after the evening peak, thus significantly reducing dependence on external power purchases. Before the dispatch, the agricultural load exhibited a dual-peak characteristic, with a morning peak of approximately 1.25 MW and an evening peak of approximately 1.10 MW. After load shifting, the morning peak decreased by 23.2% to 0.96 MW, and the evening peak decreased by 18.1%, with the irrigation load shifted to after 21:00. Fixed energy storage charges during the peak photovoltaic power generation period at midday (11:00-14:00) and discharges during the evening peak load period, effectively alleviating the contradiction of "midday curtailment of solar power and evening power shortage," achieving a dual improvement in economic benefits and renewable energy consumption rate.

[0080] To verify the proposed two-layer collaborative scheduling model's ability to coordinate and optimize multiple types of agricultural loads during the busy farming season, this invention selects agricultural irrigation load and agricultural production load as the main adjustment objects and sets up comparative scenarios under different load participation methods: Case A is the baseline scenario without considering agricultural load shifting; Case B is the scheduling scenario considering only the shiftable electric tractor charging load; Case C is the collaborative scheduling scenario considering both the shiftable electric tractor charging load and the shiftable motor well irrigation load. The main technical and economic indicators for the three scenarios are compared in Table 3.

[0081] Table 3 Comparison of Coordination and Scheduling Performance of Various Agricultural Loads During Busy Seasons

[0082] Compared to the baseline scenario (Case A), Case B, which only introduced the load shifting of electric tractor charging, significantly reduced voltage deviation and wind / solar curtailment costs. This indicates that shifting agricultural production loads to periods of surplus renewable energy can alleviate localized load peaks and improve wind and solar energy absorption to some extent. However, since irrigation loads still operate in a concentrated manner according to the original time sequence, the overall system improvement remains limited. Further incorporating electromechanical well irrigation loads into the coordinated scheduling, Case C saw a continued decrease in voltage deviation and wind / solar curtailment costs, demonstrating that the combined participation of multiple types of agricultural loads resulted in a more balanced load distribution and further improved source-load matching.

[0083] From the perspective of agricultural parks, Case C shows a further reduction in electricity purchase costs and energy storage regulation costs, indicating that some regulation tasks originally relying on energy storage can be shared by load timing optimization, thereby alleviating the pressure on energy storage for independent regulation. Meanwhile, increased compensation costs and a slight decrease in satisfaction suggest that deeper load coordination requires certain incentive costs and may impact users' existing work schedules. Overall, while the participation of a single agricultural production load in dispatch can solve some operational problems, the system performs better in terms of voltage quality, renewable energy absorption capacity, and overall economic efficiency when irrigation load and agricultural production load are jointly included in two-layer collaborative dispatch. This demonstrates that multi-type agricultural load coordination is an important way to improve the regulation capacity of rural power distribution networks during the busy farming season.

[0084] Due to the influence of temperature and crop growth cycle, agricultural production intensity decreases during the summer off-season. To improve the capacity for renewable energy absorption, this embodiment utilizes idle electric tractors as mobile energy storage, and incorporates battery degradation costs into the lower-level target in step S3 to achieve V2G bidirectional regulation.

[0085] The method described in this embodiment is used to optimize the scheduling of off-season farming days. The scheduling results are as follows: Figure 5 As shown in Figure 6, the optimized scheduling panorama reveals that idle electric tractors participate in charging at full power (60kW / unit) during the midday peak hours when wind turbines and photovoltaics are in excess, and discharge to support the grid during the off-peak hours of distributed energy output at night, playing a two-way regulation role in mobile energy storage. This complements the ESS in charging and discharging, with both SOC strictly limited within the constrained safe range. Meanwhile, 62% of the morning peak irrigation load of electromechanical wells is shifted to the afternoon period (16:00-21:00), while 54% of the morning peak agricultural production load is transferred to the midday peak photovoltaic output period (11:00-13:00), jointly contributing to a significant 37.5% reduction in the total morning peak load after optimization.

[0086] Further, from the perspective of multi-type energy storage synergistic optimization, the impact of the joint participation of stationary and mobile energy storage on system operation performance is evaluated, and it is examined whether the synergistic optimization advantage still holds after considering battery degradation costs. To ensure the comparability of the comparison results, the same time-of-use pricing, load shifting mechanism, and network constraints are used in all scenarios. Specifically, three comparison scenarios are set up: Case D is a traditional dispatching framework with only stationary energy storage and flexible load adjustment; Case E1 introduces mobile energy storage to participate in V2G regulation on the basis of stationary energy storage, but does not consider battery degradation costs; Case E2 further incorporates battery degradation costs into the lower-level objective function based on Case E1. By comparing the key indicators of the distribution network side and the agricultural park side under different scenarios, the impact of the synergistic participation of stationary and mobile energy storage on the comprehensive operation performance of rural distribution networks is analyzed. The comparison results of the indicators are shown in Table 4.

[0087] Table 4 Comparison of System Operation Indicators under Different Energy Storage Configuration Modes

[0088] The results in Table 4 show that, after accounting for battery degradation costs, Case E2 reduces voltage deviation by 37.8%, wind and solar curtailment costs by 74.8%, grid loss costs by 23.3%, and electricity purchase costs by 8.4% compared to Case D. This indicates that idle electric tractors during the off-season possess a spatiotemporally adjustable bidirectional response capability, enabling them to absorb surplus electricity during periods of abundant wind and solar power output and provide supplementary support during periods of localized supply-demand mismatch. This enhances the system's time-varying flexibility, improves the timing matching relationship between source and load, and reduces the system's dependence on single load compensation adjustments.

[0089] Compared with Case E1 and E2, after taking into account the degradation cost, the charging and discharging behavior tends to be more conservative, the voltage deviation increases by 26.4%, and the cost of curtailing wind and solar power increases from 0 to 108.25 yuan. The degradation cost explicitly incorporates the previously ignored long-term lifespan cost into the optimization process, making the output decision of mobile energy storage change from "profit priority" to a comprehensive balance of "economic efficiency and lifespan loss", thus achieving a balance between short-term benefits and long-term costs.

[0090] To further verify the effectiveness and superiority of the constructed two-layer Stackelberg game model, different scheduling modes were selected for comparative analysis, including: non-interactive scheduling mode, single-layer centralized optimization mode, and the proposed two-layer game scheduling mode. In the non-interactive scheduling mode, there is no price guidance and response mechanism between the distribution network and agricultural loads; the agricultural loads operate according to the original electricity consumption curve. In the single-layer centralized optimization model, the distribution network and agricultural parks are considered as a unified decision-making entity, and the objectives of the upper and lower layers are integrated into a single weighted objective function. This centralized model is solved directly using CPLEX, and its results serve as a benchmark for optimality comparison. The two-layer game scheduling mode achieves strategic interaction and collaborative optimization between the upper and lower layers through dynamic compensation pricing. Based on this, the three models were solved and compared under the same system parameters, constraints, and seasonal scenarios.

[0091] Table 5. Comparative analysis of different scheduling models during busy and slack farming seasons.

[0092] As shown in Table 5, the non-interactive scheduling model has the shortest computation time but the highest total cost in both seasonal scenarios, exhibiting an optimality gap of 9.00% and 4.42% during the busy and off-seasons, respectively. This indicates that although this simplified non-interactive strategy has certain advantages in computational efficiency, its overall scheduling performance is significantly constrained by the lack of upper and lower layer coordination mechanisms.

[0093] The single-layer centralized optimization model achieves the lowest total cost and is therefore used as the benchmark model for optimality comparison. Compared to this benchmark, the proposed two-layer Stackelberg game model maintains a high degree of similarity in objective function values, with optimality differences of only 0.03% and 0.90% during the busy and off-seasons, respectively. Although the computation time increases slightly due to the introduction of the electricity price-response iterative coordination process, the final objective function fluctuations are only 0.02% and 0.04%, respectively, indicating that the model has good convergence stability.

[0094] Furthermore, in both seasonal scenarios, the satisfaction index of the proposed two-layer game model was higher than that of the single-layer centralized optimization model, with the index increasing from 0.62 to 0.67 during the busy farming season and from 0.62 to 0.69 during the off-season. This indicates that the constructed hierarchical interaction mechanism effectively improves user willingness to respond while ensuring system economy, achieving synergistic optimization between system performance and user participation.

[0095] Overall, the proposed two-level game model achieves near-centralized optimization economy while more realistically reflecting the hierarchical decision-making structure between the distribution network and agricultural parks. It also takes into account the interaction between system-side optimization objectives and user-side response behaviors, thereby improving the practical applicability and feasibility of the scheduling strategy while ensuring economic efficiency.

Claims

1. A two-layer Stackelberg cooperative scheduling method for rural power distribution networks considering the seasonal load of agricultural facilities, characterized in that, include: Obtain operating parameters and meteorological data for power distribution networks and agricultural parks; Construct a quantitative indicator for judging the state of agricultural production, calculate three characteristic indicators: agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency, combine them with preset high and low thresholds to complete the state judgment, and output the current scheduling cycle operation mode. A two-layer Stackelberg game model of power distribution network and agricultural park is constructed. The upper layer constructs an optimization model based on the optimal balance between power distribution network security and comprehensive operating cost and outputs a dynamic compensation price. The lower layer establishes an agricultural park scheduling model based on the compensation price and corresponding agricultural mode constraints, and provides feedback on the optimal load and energy storage operation scheme. An equilibrium scheduling scheme is obtained by iteratively solving the game model and then issued for execution.

2. The two-layer Stackelberg collaborative scheduling method for rural distribution networks considering the seasonal load of agricultural facilities as described in claim 1, characterized in that, The agricultural load intensity index is the ratio of total agricultural electricity consumption to the area of ​​the studied region within the statistical period; the agricultural machinery utilization rate index is the ratio of the number of periods with agricultural production load greater than zero within the statistical period to the total number of periods in the scheduling period; the irrigation frequency index is the ratio of the number of periods with irrigation load greater than zero within the statistical period to the total number of periods. High and low thresholds are set for each indicator, with the high threshold being the 70th percentile of historical samples and the low threshold being the 30th percentile of historical samples. When determining the current scheduling cycle operation mode, if at least two of the three indicators exceed their respective high thresholds, it is determined to be the busy farming mode; if at least two are below their respective low thresholds, it is determined to be the slack farming mode; otherwise, it is determined to be a transitional state and the operation mode of the previous scheduling cycle remains unchanged.

3. The two-layer Stackelberg collaborative scheduling method for rural distribution networks considering the seasonal load of agricultural facilities as described in claim 2, characterized in that, The proposed two-layer Stackelberg game model for the power distribution network and agricultural park includes: the comprehensive operating cost of the upper-layer power distribution network is formed by weighted summation of voltage deviation cost, wind and solar curtailment cost, network loss cost, and load compensation cost; Voltage deviation cost is calculated by summing the absolute values ​​of the differences between the squared voltage values ​​of each node and the squared rated voltage values, and then multiplying by a weighting factor; wind and solar curtailment cost is calculated by summing the curtailed electricity amount of each distributed photovoltaic and wind power node and the corresponding unit curtailment cost; network loss cost is based on the product of the squared current of each branch and the branch resistance, plus the unit network loss cost factor, and summed over time; load compensation cost is determined based on the electricity amount participating in load shifting and the unit electricity compensation price. The constraints of the upper-level model include DistFlow branch power flow constraints, node voltage upper and lower limits constraints, distributed wind power / photovoltaic / biogas unit output constraints, and stationary energy storage charging and discharging power and state of charge constraints.

4. The two-layer Stackelberg collaborative scheduling method for rural distribution networks considering the seasonal load of agricultural facilities as described in claim 3, characterized in that, The establishment of the agricultural park scheduling model includes: the optimization objective is expressed as a weighted combination of farmer satisfaction index, load shifting compensation revenue, electricity purchase cost, electricity sales revenue, energy storage regulation cost, and electric tractor battery degradation cost under the off-season mode; Among them, the farmer satisfaction index is determined based on a piecewise function of perceived temperature: perceived temperature is calculated by linear weighting of dry-bulb temperature, relative humidity, solar irradiance, and wind speed. When the perceived temperature is within a preset comfort range, the satisfaction value is taken as the base value. When it exceeds the range, the satisfaction decreases according to a quadratic function of the deviation. The load shifting compensation revenue is calculated based on the original agricultural electricity price, the change in electricity price, and the actual electricity consumption. The electricity purchase cost and electricity sales revenue are obtained by multiplying the purchased power and sold power by the corresponding purchase and sale prices and summing them up. The energy storage regulation cost is the fixed energy storage charging and discharging power multiplied by the unit charging and discharging cost.

5. The two-layer Stackelberg collaborative scheduling method for rural distribution networks considering the seasonal load of agricultural facilities as described in claim 4, characterized in that, The battery degradation cost of the electric tractor includes: the effective energy throughput obtained by dividing the charging power and discharging power of the aggregated electric tractor within the scheduling cycle by the charging efficiency and discharging efficiency, respectively, and then multiplying by the battery replacement cost per unit capacity. Meanwhile, the equivalent cycle life is determined based on the battery's reference depth of discharge, rated cycle life, and the upper and lower limits of the state of charge in actual operation. The equivalent cycle life is corrected by introducing an empirical index to characterize the sensitivity of cycle life to the depth of discharge. The battery degradation cost is obtained by dividing the effective energy throughput by the total energy corresponding to the equivalent cycle life.

6. The two-layer Stackelberg collaborative scheduling method for rural distribution networks considering the seasonal load of agricultural facilities as described in claim 5, characterized in that, The process of obtaining an equilibrium scheduling scheme by iteratively solving the game model includes: using a hybrid iterative method combining artificial hummingbird algorithm and mixed integer second-order cone programming, initializing an artificial hummingbird population, and generating multiple sets of dynamic compensation electricity price candidate solutions; in each iteration, the upper layer passes the current electricity price to the lower layer, and the lower layer calls the CPLEX solver to solve the corresponding mixed integer second-order cone programming subproblem, obtains the agricultural load and energy storage operation scheme, and feeds it back; The upper layer calculates the upper-level target value based on the feedback scheme and calls CPLEX again to solve the upper-level sub-problem to update the electricity price; the artificial hummingbird algorithm updates the candidate solutions for the electricity price through axial, diagonal and omnidirectional flight strategies, and judges whether the upper-level target value and the electricity price fluctuation in two adjacent iterations are less than the preset convergence accuracy. If they are satisfied, the Stackelberg equilibrium scheduling scheme is output; otherwise, the iteration continues.

7. The two-layer Stackelberg cooperative scheduling method for rural distribution networks considering the seasonal load of agricultural facilities as described in claim 6, characterized in that, The balanced scheduling scheme includes an agricultural load shifting scheme, which comprises shifting the irrigation load of electromechanical wells and shifting the charging load of electric tractors. For the irrigation load of electromechanical wells, the irrigation demand of each planned time period is redistributed within the allowable irrigation time window by using binary translation decision variables. The preparation time before each irrigation is taken into account during the translation process, and the total irrigation power is kept constant before and after the translation. For the charging load of electric tractors, by adjusting the charging power of each electric tractor at different times, the charging load is transferred to the time when the output of new energy is abundant or the electricity price is low, while meeting the total charging demand, battery energy storage status constraints and allowable charging time windows. At the same time, it is subject to the maximum number of public charging piles that can charge at the same time.

8. A two-layer Stackelberg collaborative dispatch system for rural distribution networks considering seasonal loads of agricultural facilities, employing the two-layer Stackelberg collaborative dispatch method for rural distribution networks considering seasonal loads of agricultural facilities as described in any one of claims 1 to 7, characterized in that, include: The data acquisition and preprocessing module acquires data on distribution network topology, line impedance, distributed wind power / photovoltaic / biogas units, fixed energy storage, agricultural park equipment parameters, and agricultural meteorological data, and performs data normalization and missing value imputation. The seasonal mode adaptive discrimination module calculates three indicators—agricultural load intensity, agricultural machinery utilization rate, and irrigation frequency—based on the data. It automatically determines whether the current scheduling cycle is a busy or slack farming mode by using preset high / low thresholds and majority discrimination principles, and processes the transition state to suppress frequent switching. The model building module constructs a two-layer optimization model for the power distribution network and agricultural park: the upper layer sets a dynamic compensation electricity price with the goal of minimizing the weighted average of voltage deviation, wind and solar curtailment, network loss and load compensation cost; the lower layer optimizes the load and energy storage operation scheme based on the electricity price and the corresponding agricultural mode constraints, with the goal of optimizing the weighted average of farmer satisfaction index, electricity cost, energy storage regulation cost and electric tractor battery degradation cost under the off-season mode. The collaborative optimization solution module uses the artificial hummingbird algorithm to generate candidate solutions for dynamic compensation electricity prices, and calls the CPLEX solver to iteratively solve the mixed integer second-order cone programming subproblem of the upper-level distribution network and the lower-level agricultural park until the objective and electricity price converge, and outputs the Stackelberg equilibrium scheduling scheme. The scheduling scheme output and execution module transforms the balanced scheduling scheme into an irrigation plan for electromechanical wells, a charging and discharging strategy for electric tractors, a charging and discharging command for fixed energy storage, and a reduction in the output of distributed energy, and then distributes them to each execution unit.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the two-layer Stackelberg cooperative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities, as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the two-layer Stackelberg cooperative scheduling method for rural power distribution networks that takes into account the seasonal load of agricultural facilities, as described in any one of claims 1 to 7.