AUTHOR=Ma Xiping , Dong Xiaoyang , Xiao Haitao , Li Yaxin , Xu Rui , Wei Kai , Cai Juanjuan , Wei Juan TITLE=Two-layer optimization model of distribution network line loss considering the uncertainty of new energy access JOURNAL=Frontiers in Energy Research VOLUME=Volume 12 - 2024 YEAR=2025 URL=https://www.frontiersin.org/journals/energy-research/articles/10.3389/fenrg.2024.1526693 DOI=10.3389/fenrg.2024.1526693 ISSN=2296-598X ABSTRACT=The integration of a distributed generator (DG) into the distribution network alters the topology structure and power flow distribution, subsequently causing changes in network loss. Moreover, existing distribution network optimization methods face high computational complexity, low efficiency, and susceptibility to local optima. This article proposes a scenario generation method using a generative adversarial network (GAN) to handle the uncertainty associated with DGs and constructs a two-layer optimization model for the distribution network. The upper layer model determines the installation location and capacity of distributed power and energy storage systems with the lowest economic cost. The lower layer model establishes an optimization model, including wind, solar, and storage, with active power network loss and voltage deviation as objective functions. Both layers are solved using the Improved Whale Optimization algorithm (IWOA). Then, the IEEE-33 node distribution system was taken as a simulation example to verify the effectiveness and superiority of the proposed model and algorithm.