Bi-Level Interactive Optimization of Distribution Network–Agricultural Park with Distributed Generation Support
Abstract
:1. Introduction
- (1)
- We propose a wind–photovoltaic scenario generation method which considers both randomness and correlation of renewable energy power generation. This method first employs non-parametric kernel density estimation to generate the probability density functions of wind and photovoltaic power, then constructs a joint probability distribution function using Copula functions. Subsequently, we generate the marginal distribution functions of wind and photovoltaic power through Monte Carlo sampling, calculate the inverse functions, and perform clustering to obtain the final wind–photovoltaic scenario set. This approach effectively reduces the impact of the randomness and correlation of wind and photovoltaic power on subsequent model solutions.
- (2)
- We propose an interactive optimization model between the distribution network and agricultural parks that balances both the operational security of the distribution network and the production economics of agricultural users. The DSO guides agricultural parks to adjust their electricity consumption strategies through distribution network reconfiguration, utilization of distributed resources, and electricity price compensation, thereby ensuring the secure and reliable operation of the distribution network. Agricultural users, in turn, accept price incentives to modify their electricity strategies, enhancing their own economic benefits. Under this model, both the DSO and users achieve mutual gains, fostering active interaction for a win–win solution.
- (3)
- We establish a reliable bi-level optimization model for the distribution network and agricultural parks along with its solution method. The DSO acts as the upper-level leader in the bilevel model, while agricultural users are the lower-level followers. The operational strategies of the DSO decisively influence the electricity consumption strategies of agricultural users and, conversely, the users’ strategies feedback to the DSO, prompting adjustments in its operational decisions. By employing the proposed intelligent algorithm to assist the Gurobi solver, the equilibrium solution of the model can be efficiently computed.
2. Interaction Mode Between Distribution Network and Agricultural Park
3. Scenario Generation of Wind and Solar Power Outputs Considering Randomness and Correlation
4. Bi-Level Optimization Model for Distribution Network and Agricultural Park
4.1. Optimization Model for Distribution Network Operator
4.1.1. Objective Function
4.1.2. Constraints
- (1)
- Distributed Power Output Constraints
- (2)
- Energy Storage Device Charging and Discharging Constraints
- (3)
- Capacitor Switching Constraints
- (4)
- Power Balance Constraints of the Distribution Network
- (5)
- Topology Constraints of the Distribution Network
- (6)
- Compensation Electricity Price Constraints
4.2. Optimization Model for Agricultural Park Users
4.2.1. Objective Function
4.2.2. Constraints
- (1)
- Energy Consumption Model of the Agricultural Park
- (2)
- Energy Consumption Model of Irrigation Equipment
- (3)
- Energy Consumption Model of Temperature Control Equipment
- (4)
- Energy Consumption Model of Lighting Equipment
- (5)
- Power Constraints of Agricultural Park Load
4.3. Solution Method for the Bi-Level Optimization Model
- (1)
- Input the relevant parameters of the bi-level optimization model for the distribution network and agricultural park (including peak–valley difference of distribution network, wind and solar curtailment cost, network loss cost, switching action cost, operation parameters of wind power, photovoltaic and energy storage equipment, income expectation coefficient of users in agricultural parks, upper and lower limits of compensation electricity price, etc.), and set the parameters of the CSAPSO algorithm.
- (2)
- Set the iteration count k = 0.
- (3)
- Use the CSAPSO algorithm to randomly generate m sets of compensation electricity prices for the rural distribution network and pass the parameters to the user level.
- (4)
- For the price compensation menu, the user level calls the Gurobi solver to calculate the electricity consumption plan with the goal of maximizing comprehensive satisfaction, retains the current benefits , and returns the subscription plan to the DSO decision-making level.
- (5)
- Based on the user subscription plan, the DSO calls the Gurobi solver to calculate the optimal distribution network reconfiguration and distributed resource utilization strategy with the goal of minimizing comprehensive operational costs and retaining the current revenue and distribution network operation strategy .
- (6)
- Record the particle positions , the population optimal position , the particle fitness , the population optimal fitness , and calculate the temperature T of the simulated annealing algorithm.
- (7)
- If , use the selection and mutation mechanism of the CSAPSO algorithm to generate new m sets of compensation electricity prices and go back to step (4), setting . If , proceed to step (8).
- (8)
- Output the optimal DSO compensation electricity price plan , distribution network operation strategy , DSO comprehensive operational cost , and user comprehensive satisfaction .
5. Case Study
5.1. Case Description
5.2. Scenario Generation
5.3. Case Analysis
6. Conclusions
- (1)
- The proposed wind–photovoltaic scenario generation method can effectively reduce the impact of randomness and correlation between wind and PV power on model solutions. The proposed method first employs non-parametric kernel density estimation to generate probability density functions for wind and photovoltaic power outputs. It then utilizes Copula functions to establish a joint probability distribution, followed by Monte Carlo sampling to derive marginal distribution functions for wind and photovoltaic power. Finally, inverse function calculations and clustering are applied to generate the ultimate wind–photovoltaic scenario set. This approach effectively reduces the impact of randomness and correlation between wind and photovoltaic power on subsequent model optimization. Compared to models that ignore wind–photovoltaic correlations, the proposed scenario generation method achieves lower operational costs for the DSO-controlled distribution network. Additionally, the production efficiency and quality of life benefits for agricultural park users are enhanced, with user satisfaction increasing by 5% under this framework.
- (2)
- The proposed interactive optimization model between the distribution network and agricultural parks, which balances the operational safety of the distribution network with the production economics of agricultural users, ensures the secure and reliable operation of the distribution network through the DSO’s implementation of network reconfiguration, dispatch of distributed resources, and provision of electricity price compensation to guide agricultural parks in adjusting their electricity consumption strategies. Meanwhile, agricultural park users accept the price compensation to modify their consumption strategies, thereby enhancing their own benefits. Case study analysis demonstrates that the proposed distribution network-agricultural park interactive optimization model achieves highly favorable effects in improving operational indicators such as peak–valley load difference, wind and photovoltaic curtailment, network losses, and voltage quality in the distribution network.
- (3)
- In the proposed bi-level optimization model for the distribution network and agricultural parks, the DSO acts as the upper-level leader, while agricultural park users serve as lower-level followers. The DSO’s operational strategies play a decisive role in shaping the electricity consumption strategies of agricultural users. Simultaneously, the users’ consumption strategies reciprocally influence the DSO’s operational decisions, prompting appropriate adjustments. By leveraging the proposed intelligent algorithm combined with the Gurobi solver, the equilibrium solution of the model can be efficiently computed. Under this framework, both the distribution system operator and users achieve mutually beneficial outcomes. Case study analysis verifies that this model achieves effective coordination between grid operation safety and user economic benefits, demonstrating significant practical value. The proposed bi-level optimization model reduces distribution network operation costs while enhancing user satisfaction in agricultural parks, achieving a balanced trade-off between the benefits of distribution network operators and agricultural park users.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Gheorghiu, C.; Scripcariu, M.; Tanasiev, G.N.; Gheorghe, S.; Duong, M.Q. A Novel Methodology for Developing an Advanced Energy-Management System. Energies 2024, 17, 1605. [Google Scholar] [CrossRef]
- Golmohamadi, H. Demand-Side Flexibility in Power Systems: A Survey of Residential, Industrial, Commercial, and Agricultural Sectors. Sustainability 2022, 14, 7916. [Google Scholar] [CrossRef]
- Zhang, L.; Wu, Y.; Wang, Q. Large-scale Development of Renewable Energy in Consideration of Carbon Neutrality and Cost Optimization. Guangdong Electr. Power 2023, 36, 31–39. [Google Scholar]
- Liao, R.; Liu, Y.; Shen, X.; Gao, H.; Tang, D.; Liu, J. Time series data coupling enhancement method of distributed photovoltaic cluster based on bidirectional recurrent imputation network. Power Syst. Technol. 2024, 48, 2784–2794. [Google Scholar]
- Chen, Y.; Liu, Y.; Yin, H.; Tang, Z.; Qiu, G.; Liu, J. Multiagent Soft Actor–Critic Learning for Distributed ESS Enabled Robust Voltage Regulation of Active Distribution Grids. IEEE Trans. Ind. Inform. 2024, 20, 11069–11080. [Google Scholar] [CrossRef]
- Zhou, D.; Pan, X.; Sun, X.; Hu, F. Resilience Assessment Framework for High-Penetration Renewable Energy Power System. Sustainability 2025, 17, 2058. [Google Scholar] [CrossRef]
- Lu, J.; Fang, S.; Du, C.; Su, J.; Zheng, Y.; Liu, J. Technical challenges and expectation of new rural power grid with high proportion of renewable energy. Power Demand Side Manag. 2022, 24, 38–43. [Google Scholar]
- Kong, X.; Feng, L.; Peng, K.; Song, G.; Xiao, C. Network and Energy Storage Joint Planning and Reconstruction Strategy for Improving Power Supply and Renewable Energy Acceptance Capacities. Sustainability 2025, 17, 1292. [Google Scholar] [CrossRef]
- Yuan, H.; Ye, H.; Chen, Y.; Deng, W. Research on Optimal Configuration of Photovoltaic and Energy Storage in Rural Microgrid. Guangdong Electr. Power 2023, 36, 49–57. [Google Scholar] [CrossRef]
- Yan, Y.; Cheng, Y.; Chen, X. Distribution Network Topology and Coordinated Planning of Storage and Load Resources Adapted to Photovoltaic High Penetration Access. Guangdong Electr. Power 2024, 37, 50–60. [Google Scholar]
- Wang, X.; He, W.; Wu, H.; Zhang, R.; Long, Y.; Wu, J. Aggregation method of flexible resource feasibility domain for promoting distributed photovoltaic consumption in distribution network. Distrib. Util. 2024, 41, 3–11+20. [Google Scholar]
- Zhang, Y.; Chen, C.; Xue, F.; Ma, L.; Zheng, M. Two-stage stochastic optimal voltage control of high-proportional photovoltaic distri-bution networks considering auxiliary power to hydrogen. Electr. Power 2024, 57, 23–35. [Google Scholar]
- Shao, C.; Li, P.; Yang, X.; Liu, Y. Joint planning for energy storage systems and line capacity enhancement of distribution network considering installation area limits of distributed photovoltaic. Sichuan Electr. Power Technol. 2023, 46, 67–74. [Google Scholar]
- Chen, H.; Tang, J.; Wu, H.; Song, J.; Dong, H.; Li, H. Optimal scheduling of distribution network considering electric vehicle demand response and carbon quota revenue. Power Syst. Technol. 2025, 1–12. Available online: https://link.cnki.net/urlid/11.2410.tm.20241030.1000.001. (accessed on 28 May 2025).
- Zhao, S.; Xu, J.; Teng, X.; Li, Y.; Peng, C.; Yan, L. A low-carbon and economically efficient dispatch model for distribution networks based on carbon emission flow theory. Zhejiang Electr. Power 2024, 43, 122–132. [Google Scholar]
- Wang, W.; Gao, H.; Wang, R.; Li, H.; Liu, J. Distributionally robust optimization of distribution network considering distributed generator support and agricultural facility coordination. Autom. Electr. Power Syst. 2023, 47, 89–98. [Google Scholar]
- Lu, Z.; Lin, Y.; Qiao, Y.; Wu, L.; Xia, X. Flexibility supply-demand balance in power system with ultra-high proportion of renewable energy. Autom. Electr. Power Syst. 2022, 46, 3–16. [Google Scholar]
- Monteiro, R.V.A.; Bonaldo, J.P.; da Silva, R.F.; Bretas, A.S. Electric distribution network reconfiguration optimized for PV distributed generation and energy storage. Electr. Power Syst. Res. 2020, 184, 106319. [Google Scholar] [CrossRef]
- Fu, X.; Zhou, Y.; Sun, H.; Guo, Q. Online security analysis of a park-level agricultural energy internet: Review and prospect. Proc. CSEE 2020, 40, 5404–5412. [Google Scholar]
- Bian, H.; Chen, L.; Ma, F.; Zhang, X.; Jiang, J. Optimal operation strategy based on central decoupling and evolutionary game for multiple agricultural integrated energy systems. Electr. Power Constr. 2022, 43, 26–36. [Google Scholar]
- Jiang, F.; Xiao, C.; Yi, Z.; He, G.; Guo, Q.; Peng, X.; Xiao, G. Multi-energy cooperation and low-carbon operation strategy of eco-agricultural inte-grated energy system containing photovoltaic and biomass energy. Proc. CSEE 2024, 44, 1352–1364. [Google Scholar]
- Wei, Z.; Fu, X.; Zhou, Y.; Yang, F. Comprehensive security analysis of park-level agricultural energy internet considering physiological characteristics of crops. Power Syst. Technol. 2022, 46, 3406–3416. [Google Scholar]
- Yu, L.; Sun, Y.; Yang, S.; Li, X. Autonomous optimization model of village multi-energy system considering energy supply characteristics of waste treatment facilities. Power Syst. Technol. 2022, 46, 2287–2297. [Google Scholar]
- Zhang, J.; Ren, H.; Liu, D.; Zhou, L.; Shao, J.; Jia, Y.; Chen, H. Energy management strategies in agricultural parks considering market clearing. Electr. Power Constr. 2024, 45, 58–68. [Google Scholar]
- Zheng, H.; Zeng, F.; Fu, Y.; Han, C.; Zhang, L.; Dong, L. Bi-level distributed power planning based on E-C-K-means clustering and sop optimization. Acta Energiae Solaris Sin. 2022, 43, 127–135. [Google Scholar]
- Zhang, Y.; Cheng, H. Novel Double Auction Mechanisms for Agricultural Supply Chain Trading. IEEE Access 2023, 11, 50382–50397. [Google Scholar] [CrossRef]
- Schor, N.; Bechar, A.; Ignat, T.; Dombrovsky, A.; Elad, Y.; Berman, S. Robotic Disease Detection in Greenhouses: Combined Detection of Powdery Mildew and Tomato Spotted Wilt Virus. IEEE Robot. Autom. Lett. 2016, 1, 354–360. [Google Scholar] [CrossRef]
- Sun, Y. Study on Structure Optimization and Heat Transfer Characteristics of Stereoscopic Cycle Active Heat Storage System in Solar Greenhouse. Ph.D. Thesis, Northwest A&F University, Xi’an, China, 2020. [Google Scholar]
- Chen, H.; Fu, L.; Bai, L.; Jiang, T.; Xue, Y.; Zhang, R.; Chowdhury, B.; Stekli, J.; Li, X. Distribution Market-Clearing and Pricing Considering Coordination of DSOs and ISO: An EPEC Approach. IEEE Trans. Smart Grid 2021, 12, 3150–3162. [Google Scholar] [CrossRef]
- Li, P.; Liu, Y.; Liao, H.; Xu, L.; Xu, X.; Xiang, Y.; Liu, J. Differentiated resilient power supply service and its pricing method of distribution network for extreme events. Power Syst. Technol. 2024, 48, 4074–4086. [Google Scholar]
Parameter | Description | Value | Unit |
---|---|---|---|
Peak–valley difference cost coefficient | 3000 | — | |
Wind and solar curtailment cost coefficient | 5 | CNY/kW | |
Network loss cost coefficient | 3 | CNY/kWh | |
Switching action cost coefficient | 50 | CNY/time | |
Maximum active power of photovoltaic | 400 | kW | |
Maximum active power of wind power | 400 | kW | |
Maximum active power of energy storage | 200 | kW | |
Maximum reactive power of energy storage | 170 | kvar | |
Upper limit of energy storage capacity | 600 | kWh | |
Lower limit of energy storage capacity | 100 | kWh | |
Reactive power compensation of capacitor | 0.2 | Mvar | |
Total number of capacitors | 4 | — | |
Charging and discharging efficiency | 95 | % | |
Benefit expectation coefficient | 50 | % | |
Lower limit of compensation electricity price coefficient | 0.1 | — | |
Upper limit of compensation electricity price coefficient | 1 | — |
Function Type | Spearman Rank Correlation Coefficient | Kendall Rank Correlation Coefficient | Wasserstein Distance |
---|---|---|---|
Sample data | −0.0154 | −0.0133 | 0 |
Gaussian Copula | −0.0261 | −0.0303 | 0.0421 |
t Copula | −0.0513 | −0.0203 | 0.0613 |
Gumbel Copula | 1.0455 × 10−6 | 6.1527 × 10−7 | 0.0515 |
Clayton Copula | 2.0407 × 10−6 | 1.4576 × 10−6 | 0.0621 |
Frank Copula | −0.0163 | −0.0146 | 0.013 |
Case | WT & PV | Energy Storage | Network Reconfiguration | Price Compensation | WT and PV Correlation |
---|---|---|---|---|---|
1 | √ | √ | √ | √ | √ |
2 | √ | × | √ | √ | √ |
3 | √ | √ | × | √ | √ |
4 | √ | √ | √ | × | √ |
5 | √ | √ | √ | √ | × |
Case | Distribution Network Operation Cost/CNY | Comprehensive User Satisfaction | User Benefit/CNY |
---|---|---|---|
1 | 5012.6 | 92.2% | 1760.4 |
2 | 5988.9 | 75.4% | 1440.2 |
3 | 5485.7 | 80.7% | 1540.1 |
4 | 6548.5 | 0 | 0 |
5 | 5216.9 | 86.9% | 1660.3 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Xu, K.; Liu, C.; Chen, S.; Xu, W.; Yuan, C.; Jiang, D.; Li, P.; Liu, Y. Bi-Level Interactive Optimization of Distribution Network–Agricultural Park with Distributed Generation Support. Sustainability 2025, 17, 5228. https://doi.org/10.3390/su17115228
Xu K, Liu C, Chen S, Xu W, Yuan C, Jiang D, Li P, Liu Y. Bi-Level Interactive Optimization of Distribution Network–Agricultural Park with Distributed Generation Support. Sustainability. 2025; 17(11):5228. https://doi.org/10.3390/su17115228
Chicago/Turabian StyleXu, Ke, Chang Liu, Shijun Chen, Weiting Xu, Chuan Yuan, Dengli Jiang, Peilin Li, and Youbo Liu. 2025. "Bi-Level Interactive Optimization of Distribution Network–Agricultural Park with Distributed Generation Support" Sustainability 17, no. 11: 5228. https://doi.org/10.3390/su17115228
APA StyleXu, K., Liu, C., Chen, S., Xu, W., Yuan, C., Jiang, D., Li, P., & Liu, Y. (2025). Bi-Level Interactive Optimization of Distribution Network–Agricultural Park with Distributed Generation Support. Sustainability, 17(11), 5228. https://doi.org/10.3390/su17115228