Abstract
Addressing the challenges of topological design and the limitations of global optimization for large-scale photovoltaic (PV) plants in complex terrains, this paper proposes a topology optimization method based on mixed-integer linear programming (MILP). The innovation of the proposed method lies in its use of a MILP framework to integrate complex terrain modeling, quantification of construction difficulty, and coordinated configuration of conductor cross-sections into a single equivalent annual cost optimization model. First, equivalent mathematical models tailored to diverse environmental features—including flat, mountainous, and hilly terrains—are developed to enable accurate spatial identification. Second, aimed at minimizing the total equivalent annual cost (EAC), a MILP model is formulated. This model comprehensively incorporates physical construction difficulties and strict electrical constraints, such as active power flow balance, cable current-carrying capacity, and node voltage deviations. A high-performance solver is then utilized to achieve global optimization for radial topologies. Furthermore, the cross-sectional areas of the conductors are dynamically configured to compensate for power quality losses caused by path detours. Case studies demonstrate that the proposed method significantly reduces the EAC and enhances the overall economic benefits of PV plants while ensuring strict electrical safety across various complex environments.
1. Introduction
Driven by the accelerating global energy transition and the pursuit of carbon neutrality goals, solar photovoltaic (PV) generation has become an integral component of modern power systems due to its widespread resource availability and rapid deployment capabilities [1]. In recent years, as high-quality land resources in plain areas have become increasingly scarce, the focus of large-scale photovoltaic (PV) project development—with capacities in the hundreds of megawatts to gigawatt-scale—has gradually shifted toward areas with complex topography, such as hilly regions and deserts. In the construction of large-scale PV projects, the collector system serves as a critical link connecting the PV modules, which are distributed across various locations, to the main step-up substation; its initial investment accounts for a significant portion of the total project cost [2]. The PV plant can also participate in the energy markets to obtain more benefits [3]. In complex terrain conditions, the design of the collection system’s topology not only directly determines construction costs but also significantly impacts operational line losses and power supply reliability throughout the power plant’s entire lifecycle [4]. Therefore, exploring methods for optimizing the topology of solar power collector systems to achieve global optimization holds significant practical and theoretical importance for reducing the levelized cost of electricity (LCOE) in photovoltaic power plants and enhancing their overall economic efficiency.
The planning and design of the electrical collector system for large-scale photovoltaic (PV) plants is, at its core, a complex nonlinear combinatorial optimization problem that involves optimizing both site selection and topological structure. At the level of physical space modeling, References [5,6,7] describe topological planning for collector networks that are primarily based on flat terrain and typically employ step-by-step solutions or local optimization algorithms. However, Ref. [8] confirms that in real-world hilly and obstacle-laden areas, complex terrain features can significantly alter the actual physical laying distance of cables and increase the difficulty of civil engineering construction. Ref. [9] points out that, in the face of complex terrain features such as plains, mountains, and forests, as well as obstacle-avoidance requirements imposed by construction constraints, there is currently a lack of suitable new analytical models to support underlying optimization algorithms. This makes it difficult to physically implement traditional spatial planning solutions in complex real-world environments. To address this, this paper constructs mathematical equivalence models suitable for flat terrain, mountainous and hilly areas, and regions with complex obstacles, thereby enabling the accurate identification and equivalence modeling of various complex environmental features. In terms of topological network optimization algorithms, Refs. [10,11,12] extensively employ the minimum spanning tree (MST) algorithm or heuristic models such as genetic algorithms (GA) and particle swarm optimization (PSO) in traditional power distribution system planning. Although these algorithms are feasible to some extent in flat terrain scenarios, studies in [13,14] indicate that the cabling of power collector systems in modern large-scale renewable energy plants constitutes a highly constrained complex path planning problem. While seeking the shortest physical cable route, it is essential to strictly incorporate the electrical capacity of the cables as a hard constraint into the mathematical model for coordinated optimization; otherwise, traditional unconstrained routing methods will fail to meet the safety requirements for equipment operation. On the other hand, Refs. [15,16] emphasize that when heuristic algorithms are applied to combinatorial optimization problems involving large-scale discrete nodes in large-scale photovoltaic power plants, the feasible solution space expands exponentially. This makes it highly likely for the algorithms to get stuck at local optima, resulting in a large number of redundant connections with unnecessary detours. Furthermore, the calculations are time-consuming, making it difficult to ensure the global economic efficiency of the planning scheme. Research in Ref. [17] on the coordinated optimization of distribution networks confirms that mixed-integer linear programming (MILP) can effectively overcome the tendency of traditional heuristic algorithms to get stuck in local optima, thereby achieving global optimization while strictly satisfying the network’s physical topology and electrical operational constraints. Motivated by these advantages, a MILP framework is adopted in this study to model topology decisions, cable selection, and electrical operational constraints in a unified formulation. By strictly constraining spatial topological connectivity and the current-carrying capacity limits of single-loop cables, it achieves a globally accurate solution for power collector systems with a large number of discrete nodes.
When a radial photovoltaic collection network takes a circuitous route in complex terrain, it can cause a significant increase in line impedance. If the design is guided solely by the shortest spatial distance, this can easily lead to safety issues such as voltage exceeding limits at the end of the line. Ref. [18] notes that as the share of renewable energy continues to rise, its intermittent and unpredictable nature makes the coordinated scheduling and operational management of grid nodes at the network’s lower levels extremely complex. With regard to the evolution of distribution network topologies and the integration of renewable energy, Refs. [19,20] point out that, in order to overcome the impedance associated with long-distance transmission and feed active power back into the main substation, severe “overvoltage” phenomena are highly likely to occur at the output terminals of photovoltaic inverters. At the same time, as demonstrated in Ref. [21], if there is a lack of coordination between the topological path and the conductor cross-sectional configuration, the system will struggle to achieve an optimal balance between energy losses and investment costs, thereby significantly reducing the overall economic efficiency of the substation. Existing research suffers from insufficient capabilities for co-modeling discrete cable selection and continuous power flow equations, making it difficult for optimization results to simultaneously address both the system’s lifecycle economics and power quality safety. To this end, Ref. [22] demonstrates that using mixed-integer linear programming (MILP) for the coordinated optimization of the network can effectively overcome the challenges posed by the constraints at the physical and electrical levels. In light of this, this paper proposes a MILP-based cooperative optimization model that integrates active power flow balancing with node voltage drop constraints. By dynamically optimizing the configuration of topological paths and conductor cross-sections, the model effectively compensates for degradation in power quality.
In summary, to address the challenges associated with the topological design of power collector systems for large-scale photovoltaic (PV) plants in complex terrain—including design difficulties, insufficient global optimization capabilities, and the difficulty of simultaneously satisfying electrical constraints—this paper proposes a method for optimizing the topological structure of such systems based on mixed-integer linear programming (MILP). First, establish a terrain-equivalent model based on the hierarchical expansion method and a computational model based on the minimum-area bounding box method to enable the creation of models for complex environments; Second, with the goal of minimizing the total equivalent annual cost (EAC) of the system, we construct a mixed-integer linear programming (MILP) model that incorporates multiple electrical constraints, including active power flow balance, maximum current-carrying capacity, and terminal voltage deviation; Finally, the piecewise linear method is employed to eliminate nonlinear network loss terms, and a solver is utilized to perform global, precise optimization for large-scale, complex, loop-free tree-like topologies. Concurrently, dynamic optimization of conductor cross-sections is carried out to effectively compensate for power quality losses caused by circuit detours.
The main innovative contributions of this paper are as follows:
- (1)
- A terrain-dependent construction difficulty factor is introduced to convert construction resistance caused by terrain undulations into incremental cable-laying costs, thereby improving the engineering feasibility and economic performance of the optimized collector-system topology.
- (2)
- A mixed-integer linear programming formulation is developed to jointly incorporate radial topology constraints, branch power flows, cable ampacity limits, and node voltage-deviation constraints, enabling coordinated optimization of spatial routing and electrical operation.
- (3)
- Cable cross-section selection is co-optimized with routing decisions to mitigate feeder-end voltage deviations and improve the power quality and operational reliability of the collector system.
The subsequent sections of this paper are organized as follows: Section 2 provides a detailed discussion of different modeling approaches and parameter preprocessing; Section 3 constructs a comprehensive MILP mathematical model aimed at minimizing equivalent annual cost, along with the relevant constraints, and derives an equivalent linear model for the nonlinear network loss term; Section 4 presents simulation results for multiple scenarios and a comparative analysis of different algorithms; Section 5 summarizes the paper and presents the conclusions.
2. Materials and Methods: Terrain Modeling and Parameter Preprocessing
Optimizing the topology of power collector systems in large-scale photovoltaic (PV) plants first requires transforming the complex and variable three-dimensional physical space into a standardized matrix of discrete nodes and parameters that can be processed by a mixed-integer linear programming (MILP) model. This section proposes adaptive layout strategies and mathematically equivalent models for three typical environmental conditions—flat terrain, mountainous and hilly terrain, and areas with complex obstacles—laying the data foundation for subsequent global optimization.
2.1. Layout Models for Photovoltaic Arrays on Flat Terrain
This study adopts an astronomical geometry-based occlusion analysis model for its calculations. The formula for calculating the center-to-center spacing between north and south arrays on flat terrain is:
In the equation, represents the north–south center-to-center distance between photovoltaic arrays on flat terrain (m); is the sloped length of the photovoltaic array (m); is the installation angle of the photovoltaic array (°); is the solar altitude angle (°) at 9:00 local true solar time on the winter solstice.
The formula for calculating the total land area requirement for each photovoltaic array and the required spacing between them under flat terrain conditions:
In the equation, W represents the east–west physical width of a single photovoltaic array (m);
Taking into account the rated capacity of the prefabricated substation, the system capacity-to-load ratio, and the power of a single photovoltaic module, the number of physical arrays required to be mounted on a single prefabricated substation is calculated as follows:
In the equation, represents the rated AC capacity (MW) of a single prefabricated substation; represents the AC-to-DC capacity ratio of the photovoltaic power plant; is the nominal power of a single photovoltaic module (MW); represents the number of components installed on a single physical array. ⌈ ⌉ Indicates rounding up.
The total equivalent footprint of the photovoltaic array for a single substation is:
The maximum number of installable arrays is estimated by dividing the net available area by the footprint of a single array. The formula for calculating the maximum installable quantity is:
In the equation, represents the total area of flat terrain (m2); is the area of the flat terrain obstacle (m2); is the net installed area on flat terrain (m2); ⌊ ⌋ denotes the floor function.
2.2. Equivalent Model for the Stratification of Hilly Terrain
(1) To quantify the usable area of hilly terrain, A cone-lateral-surface-area-based model is employed to quantify the usable surface area of hilly terrain. This method geometrically abstracts hills that are roughly conical in shape and calculates their lateral surface area to characterize the surface area available for installing photovoltaic arrays. Once a hill is approximated as a cone, the formula for its lateral surface area is:
In the equation, R represents the equivalent base radius of the hill (m); H is the maximum elevation difference between the center of the hill and the reference plane (m); l is the length of the slope of the hill (m). This can be calculated using Formula .
To prevent power generation losses caused by shading between front and rear photovoltaic arrays, a minimum unobstructed space must be reserved between them. This space refers to the projected area on a horizontal plane, which is allocated to each individual array. The formula for calculating the minimum spacing is:
In the equation, L represents the length of the inclined surface of the photovoltaic array; β is the tilt angle of the photovoltaic array; is the azimuth angle of the photovoltaic array (typically due south, 0°); θ is the average slope angle (°) for that grid cell; α is the solar altitude angle (°) at 9:00 true solar time on the winter solstice.
After determining the north–south horizontal spacing D2 of the array, taking into account the effect of slope, it is necessary to further calculate the actual area occupied by a single photovoltaic array on the surface of the hillside. The area occupied by a single array on the slope is calculated as follows:
The number of physical arrays required for a single prefabricated substation remains (see Equation (3)), and the total equivalent footprint of a single prefabricated substation on a hillside slope is:
Substitute the side area , the obstacle area , and the area of a single array’s sloped unit into the general formula to calculate the maximum number of arrays that can be installed on the hill. The formula is as follows:
(2) A rotational paraboloid-based elevation mapping model is introduced to establish the relationship between two-dimensional planar coordinates and terrain elevation. An analytical relationship is established between the two-dimensional plane coordinates (x, y) and the elevation z, thereby constructing the complete three-dimensional spatial coordinates (x, y, z) for each substation node. In this rotating parabolic surface model, for the sake of simplicity, the coordinate origin is set at the center of the equivalent mountain or hill. The analytical expression is as follows:
Based on these geometric surfaces, the surface slope angle at each substation location can be further extracted by calculating the spatial gradient of the function z. The tangent of the slope angle is equal to the Euclidean norm of the gradient vector of the elevation function at the point (x, y), that is:
Therefore, the actual local terrain slope angle θ at the location of the prefabricated substation node can be further determined using the arctangent function:
represents the 3D Euclidean distance between nodes i and j, calculated based on 3D spatial coordinates, which can serve as an approximation of the candidate route length:
For candidate paths affected by obstacles or complex construction conditions, their feasibility and associated costs will be further adjusted in the subsequent obstacle penalty matrix and construction difficulty coefficient.
2.3. Construction of a Parameter Matrix for Topology Optimization of Photovoltaic Power Collector System
This section consolidates and preprocesses the key input parameters required for the mixed-integer linear programming model. These parameters will be fed into the subsequent mathematical model as constant matrices, and they primarily consist of the following four dimensions:
- (1)
- Construction of Node Sets and Distance Matrices
First, the spatial coordinates of all substation nodes across the entire site were determined using a uniform matrix sampling method for flat terrain and a conical expansion model for mountainous terrain.
Next, using the spatial coordinate-to-elevation mapping function established earlier, calculate the local surface slope angle θ at each node’s location. It also performs a physical feasibility screening to automatically exclude cliff nodes with excessive local slopes (e.g., >25°) and nodes on the shaded side of the mountain (where the azimuth angle falls between 220° and 290°) that would be deprived of sunlight. The final set of valid nodes, V, is retained, with the step-up substation defined as node 0 and the PV substation as node .
Finally, a distance matrix is constructed based on the three-dimensional coordinates of all valid nodes. Based on the coordinates (x, y, z) of each substation node, calculate the Euclidean distance or the actual ground path distance between any two substation nodes ().
- (2)
- Topological constraint boundary parameters
Based on the results of the electrical calculations, the boundaries of the solution space for model optimization are determined to reduce computational redundancy and ensure physical feasibility:
Upper Limit of Single-Circuit Nodes (): The maximum number of prefabricated substations that can be connected in series via a single cable is limited by the thermal stability-based maximum current-carrying capacity of the cable with the largest cross-sectional area. The calculation formula is as follows:
Minimum Number of Feeder Circuits (): The minimum number of feeder circuits entering and exiting the main step-up substation can be derived from the total installed photovoltaic capacity of the entire site and the maximum transmission capacity of a single feeder. The calculation formula is as follows:
In the equation, represents the total number of active photovoltaic substation nodes within the site.
- (3)
- Cable Electrical Parameter Library
Create a set of cable selection parameters S for use by the model’s decision variables . In the cable parameter library presented in this document, the unit-length resistance represents the unit-length resistance per phase conductor for cable type s, with the unit being . Its unit-length cost is , and its thermal stability limit current is .
- (4)
- Obstacle Area Path Penalty Matrix
Identify obstacle region using the minimum bounding box method. If the line connecting nodes i and j passes through obstacle region , this paper introduces the Big-M optimization algorithm, setting the distance to an infinite constant M:
In the equation, is the actual spatial distance between node i and node j; be a sufficiently large path penalty constant.
3. MILP Model for Optimizing the Network Topology of Photovoltaic Power Collector System
3.1. Comprehensive Objective Function for Topology Optimization of Photovoltaic Power Plant Collector System
The objective of this model is to minimize the total cost of the collector system. Rather than directly calculating the undiscounted total life-cycle cost, this objective function converts the initial investment cost into an annualized investment cost using a payback factor, and then adds this to the annual cost of reliability-related outages and the annual cost of operational grid losses. Total costs consist of three components: annualized investment costs (), reliability-related outage costs (), and operational line loss costs ().
The specific formulas for calculating each cost item are as follows:
- (1)
- Annualized investment cost ()
This cost represents the total investment cost of the power transmission lines, and the initial investment is allocated equally to each year of the project lifecycle using a capital recovery factor (). The formula for annualized capital expenditure is:
In the equation, r is the project’s discount rate; n represents the system’s total operational lifespan.
represents the total investment in the power transmission lines, and is calculated as follows:
In the equation, represents the set of all possible paths; S represents the set of available cable specifications; represents the unit cost of the s-th type of cable; represents the unit cost of civil engineering construction; is a binary decision variable; represents the actual route length calculated based on 3D terrain data; is a comprehensive construction difficulty coefficient calculated based on the surface slope between two points; it is used to objectively convert terrain resistance into a cost premium for civil engineering and manual installation.
- (2)
- Reliability costs ()
This model converts the losses resulting from power outages caused by transmission line failures into an annualized economic penalty by calculating the expected annual energy shortfall (EENS) and incorporating the value of load shedding (). The formula is as follows:
In the equation, EENS represents the system’s annual expected power shortfall (MWh/year); represents the unit load value (104 CNY/MWh); is the set of feasible branches of the system; is the annual average failure rate (failures per km·year) for the s-th type of cable; represents the time required to repair a cable fault (hours); represents the active power flow variable (MW) for the branch selected by the model, indicating the total downstream transmission power lost in the event of a fault on that branch.
- (3)
- Operating transmission loss costs ()
Calculate the electrical energy losses in the power transmission lines during operation, and convert these into annual economic costs based on the feed-in tariff .
In the equation, represents the system’s total annual energy loss (MWh/year); represents the local comprehensive feed-in tariff for photovoltaic power (104 CNY/MWh); is the system’s rated line voltage (kV); is the resistance per unit length of the s-th type of cable (); represents the annual equivalent utilization hours (h) of the photovoltaic power plant.
3.2. Definition of Decision Variables and Setting of Topological Constraints
3.2.1. Decision Variables
- (1)
- When , it indicates that there is a connection between node i and node j, and that the link uses cable of type s; otherwise, it is 0. Let be a binary decision variable:
- (2)
- Line power flow variables:
In this paper, the direction of a candidate branch is defined as pointing from the PV substation node to the main step-up substation node. For any selected branch (i, j), let be a continuous non-negative variable representing the actual magnitude (in MW) of the active power flowing from node i to node j.
- (3)
- Auxiliary variables for approximating nonlinear network losses:
Since line network losses are related to transmission power by a nonlinear quadratic relationship (), let be a continuous auxiliary variable, representing the square of the active power flowing through the power line between nodes i and j (i.e., ).
3.2.2. Constraints
- (1)
- Network topology connectivity constraints:
For any given photovoltaic substation node i in the system, the electrical energy it collects must flow exclusively along a single downstream branch. Therefore, the sum of the decision variables for cables of all specifications flowing from node i to potential downstream node j must strictly equal 1:
For the step-up substation (designated as node 0), which serves as the collection point for the entire system’s active power, electrical energy flows in only one direction; therefore, the sum of the decision variables connecting outward from this node must strictly equal 0:
is the set of Pad-Mounted Transformers.
- (2)
- Power balance constraints:
The power input and output at each node must be balanced to ensure the conservation of active power. For any node i, the following must hold:
In the equation, represents the active power (MW) flowing into node i from upstream node m; represents the photovoltaic power output of node i (MW);
- (3)
- Node voltage safety constraints:
Definition of voltage deviation:
In the equation, represents the percentage voltage deviation of node i relative to the main step-up substation node; represents the reference voltage of the main step-up substation.
If the direction of power flow is defined as flowing from photovoltaic node i to its downstream node j, the voltage deviation transfer relationship can be written as:
In the reference operating conditions of this paper, the PV inverter is assumed to operate at a power factor of unity, i.e., A. Therefore, the reactance-related term B is not included in the voltage deviation calculation, and Equation (30) can be simplified to:
By introducing the Big M method, we decouple the nonlinear relationship between the binary cable selection variables and the continuous power flow variables, and establish strict voltage transfer equations between nodes and voltage deviation boundary constraints for the entire network:
In the equation, represents the percentage (%) by which the voltage at node j is elevated relative to the voltage at the main step-up substation; is the maximum voltage deviation (%) permitted by power grid safety standards.
- (4)
- Thermal stability current-carrying capacity constraints:
The cross-sectional area of the selected cable must meet the continuous current-carrying capacity limits under normal operating conditions. For Class s cables, the maximum active power that can be transmitted is calculated based on the long-term continuous allowable current-carrying capacity under conditions of direct burial in soil:
The selection of cable cross-sectional area must meet the current-carrying capacity and thermal stability limits specified for the corresponding rating:
In the equation, represents the maximum active power (MW) that the s-th cable specification can carry at the rated voltage and maximum current-carrying capacity.
- (5)
- Capacity constraints on the feeder circuits of the main step-up substation:
To prevent overloading of a single busbar, the total number of collector circuits feeding into the main step-up substation (Node 0) must meet the maximum capacity requirements for the entire system. The constraint is as follows:
In the equation, represents the lower limit of the theoretical minimum number of incoming circuits required to meet the maximum allowable current-carrying capacity of the largest-sized cable.
- (6)
- Constraint on the unidirectional decrease in cable specifications:
For any photovoltaic node j, the cable rating of its sole outgoing branch must be greater than or equal to the cable rating of any of its incoming branches:
In the equation, represents the cross-sectional area class index corresponding to a cable of specification s.
3.3. Linearization of the MILP Model for Topology Optimization of Photovoltaic Power Plant Collector System
3.3.1. Identification and Interval Discretization of Nonlinear Terms in Active Power and Network Losses
The active power loss in a power transmission line is related to the transmitted active power by a quadratic function . To eliminate this nonlinear term, first determine the maximum active power that any branch in the entire network may carry, and then divide the feasible power range of each line into K consecutive linear subintervals corresponding to K + 1 breakpoints:
3.3.2. Introduction of Auxiliary Variables and Piecewise Linear Transformation
To address the nonlinear characteristics of the power-of-the-square term, a piecewise linear approximation using an ordered convex combination method is employed. For a feasible path (i, j), introduce a set of continuous weight auxiliary variables and perform the following linearization transformation:
- (1)
- Linear decomposition of active power:
The actual transmission power of channel (i, j) is equal to the sum of the power components in each segment:
- (2)
- Linear approximation of the power-of-two term:
Replace the power-of-two term with the weighted sum of the square of the breakpoint and the weight; let the auxiliary variable represent this squared approximation term:
- (3)
- Constraints on the boundaries and state coupling of weight variables:
The sum of the weight variables equals 1 if and only if the branch (i, j) exists and a cable has been selected; if the branch is disconnected, all weights are set to 0:
By further applying the Big-M method to separate the actual line resistance from the quadratic terms, the calculation of network losses becomes fully linear:
3.4. Solver Termination Criteria and Explanation of the Optimality Gap
In this paper, the Gurobi solver is employed to solve the established mixed-integer linear programming (MILP) model. To ensure the verifiability of the solution results, the solver status, optimal feasible solution (incumbent solution), optimal lower bound, computation time, and final optimality gap are recorded. The definition of the optimality gap adopted in this paper is given as follows:
In the equation, represents the optimal feasible objective value currently obtained by the solver; represents the optimal bound obtained during the branch-and-bound process.
4. Case Studies
4.1. Case Setup and Scenario Definition
To validate the effectiveness of the topology optimization model for large-scale PV farm collector systems based on mixed-integer linear programming proposed in this paper, preliminary planning parameters from an actual large-scale PV farm in China were selected as a baseline case study; the total planned area of this farm is approximately 2.56 km2. The collector system within this planning area operates at a voltage level of 35 kV, with power gathered via multiple radial feeder lines and fed into the low-voltage side of the central step-up substation. The operational lifespan of the photovoltaic power plant is set at 25 years, with a project discount rate of 8%, a capital recovery factor (CRF) of 0.0936, and a comprehensive grid-connected electricity settlement price (Celec) of 0.434 CNY/kWh. In the base case, the PV inverter operates at a power factor of unity, i.e., . In actual engineering practice, reactive power regulation in PV power plants is typically achieved through a combination of inverter reactive power control, on-site reactive power compensation devices, and voltage control systems at the step-up substation. The topology optimization model presented in this paper primarily focuses on line current-carrying capacity, line losses, and node voltage deviations during the active power aggregation process. The specifications and key electrical and economic parameters of the alternative aluminum-core cross-linked polyethylene-insulated cable (YJLV22-26/35 kV) are shown in Table 1. Resistance is the AC resistance per phase of an aluminum-core, cross-linked polyethylene-insulated cable at a rated operating conductor temperature of 90 °C. Rated current-carrying capacity refers to the long-term continuous current-carrying capacity of the cable when installed in direct burial in soil.
Table 1.
Parameter Table for the Collector System Cable Library.
To verify the optimization performance and topological evolution patterns of the global MILP mathematical model proposed in this paper, three scenarios are designed to evaluate the following three different scenarios under a unified projected footprint (2.56 km2) to illustrate the planning results of photovoltaic arrays across varying terrains:
Scenario 1 (Flat Terrain): This scenario simulates an ideal rectangular area with flat terrain and no physical obstructions. The photovoltaic arrays are arranged strictly in an orthogonal grid pattern, with the main step-up substation located at the center. Under these conditions, there are no additional obstacles to civil engineering or cable laying; the cost of foundation construction is set at 90,000 CNY per kilometer, with a construction difficulty factor of K = 1.0.
Scenario 2 (Hilly Terrain): To simulate realistic undulating terrain, a rotating parabolic elevation mapping model is employed. During the preprocessing stage, the model automatically excludes shaded areas with slopes steeper than 25° and azimuths between 220° and 290°. Different construction difficulty coefficients K (1.0, 1.2, 1.5) are set based on slope gradient (≤5°, ≤15°, ≥15°) to reflect the varying impacts of different terrains on construction.
Scenario 3 (Obstacle Area): Building on the flat terrain of Scenario 1, this scenario features an irregular elliptical obstacle area with an area of 0.12 km2 in the lower-left corner of the planning zone. An axis-aligned bounding box (AABB)-based method is introduced to identify and exclude invalid PV arrays located within the obstacle region. Because the difficulty of construction increases significantly due to the need to navigate around the edges of the restricted area, civil engineering costs will be substantially higher than in conventional areas; under these circumstances, the base cost for cable civil engineering is set at 118,800 CNY per kilometer.
4.2. Analysis of Topological Optimization
In this section, the resulting MILP is solved using PySCIPOpt to perform optimization calculations for the three typical scenarios defined in Section 4.1. By analyzing the resulting wiring layout characteristics and various evaluation metrics, we verify the robustness and effectiveness of the mixed-integer linear programming (MILP) model proposed in this paper under complex conditions.
- (1)
- Topological structures in flat terrain
The results of the global topological joint optimization for Scenario 1 (flat terrain) are shown in Figure 1.
Figure 1.
Topological Optimization Map of the Plains Region.
As shown in Figure 1, a total of 67 pad-mounted transformers are distributed throughout the planning area. Due to the orthogonal grid connectivity constraints, the optimization process yielded a highly symmetrical “orthogonal comb-like” distribution network, with the results exhibiting a distinct “thin at the ends, thick at the trunk” characteristic. At the branch ends, cables with smaller cross-sections (120–185 mm2) are preferred to reduce initial investment; As the current flows toward the central main step-up substation, to meet thermal stability limits and mitigate voltage deviations caused by long-distance power collection, the collection trunk lines—in addition to conventional 300–630 mm2 single-circuit cables—have been dynamically optimized to incorporate high-capacity dual-circuit 500 mm2 and dual-circuit 630 mm2 large-cross-section main trunk cables. Subject to physical and electrical constraints such as node voltage safety margins and network topology connectivity, the MILP mathematical model compared the full-lifecycle economic performance of various feed-in circuit configurations and ultimately determined that a four-circuit feeder configuration is the optimal feed-in solution for the current installed capacity.
- (2)
- Topological Structures in Mountainous Terrain
The results of the global topological joint optimization for Scenario 2 (hilly terrain) are shown in Figure 2.
Figure 2.
Topological Optimization Map of Mountainous and Hilly Areas.
As depicted in Figure 2, there are a total of 64 photovoltaic substation nodes distributed throughout the planning area. The MILP mathematical model accurately avoids construction-restricted areas—specifically shaded surfaces between 220° and 290° and slopes steeper than 25°—ensuring the feasibility of cable routing. Due to the influence of the construction difficulty factor K, the optimized topology tends to avoid direct uphill routes with high construction difficulty. To avoid the extremely high excavation costs associated with steep slopes (K = 1.5), the cable route was prioritized to meander through areas with gentle terrain (K = 1.0–1.2), thereby shifting the route planning focus from “shortest geometric distance” to “lowest total cost.” Routing around terrain features results in increased cable length and total impedance. To strictly meet the voltage safety constraints at nodes, the MILP formulation increases the selected cable cross-section on heavily loaded feeder sections to compensate for the increased impedance caused by detours, selecting high-capacity dual-circuit 500 mm2 and dual-circuit 630 mm2 cables for the main line sections near the main step-up substation. By reducing the resistance per unit length of the line, this effectively offsets the risk of feeder-end voltage rise caused by the increased impedance of the extended route.
- (3)
- Obstacle Avoidance Reconstruction in Complex Environments
The results of the global topological joint optimization for Scenario 3 (obstacle area) are shown in Figure 3.
Figure 3.
Topological Optimization Diagram for Complex Obstacle Areas.
As shown in Figure 3, there are a total of 63 photovoltaic substation nodes distributed within the planning area. The preprocessing module of the MILP mathematical model successfully identified and excluded invalid substation nodes located within this area, ensuring strong connectivity for the remaining network. The model also established a mandatory safety distance of 15 m between photovoltaic equipment and collection cables along the boundaries of the restricted zone and the outermost perimeter of the site, thereby creating a compliant physical isolation zone. Due to the constraints of cross-penalty costs and the high civil engineering costs associated with the edges of the obstacle area, the solver abandons straight convergence paths that pass through obstacles and instead selects paths that follow the perimeter of the obstacles.
- (4)
- Comprehensive Analysis of the Three Scenarios
All other solver parameters were kept at their default values, and the same computational platform and solver settings were used for all scenarios. To quantitatively evaluate the overall performance of the model, Table 2 presents key metrics for the three scenarios.
Table 2.
Table of Optimization Metrics for Collector System Under Three Environmental Conditions.
To further improve the reproducibility of the computational results, this paper additionally reports the model size and termination criteria for the three scenarios. The number of binary variables for the flat terrain, hilly terrain, and obstacle-filled terrain scenarios was 1638, 1538, and 1470, respectively; the number of continuous variables was 4280, 4080, and 3844, respectively; and the number of linear constraints was 7854, 7457, and 7054, respectively. The relative MIP gap termination tolerances for the three scenarios were set to 0.15, 0.19, and 0.25, respectively, and the solution results all terminated within the corresponding tolerance ranges. As shown in Table 2, the fact that the total cable length is shorter in a scenario with obstacle constraints does not mean that the cabling is any less difficult. In this scenario, infeasible PV substation nodes located within the obstacle area are eliminated during the preprocessing stage, resulting in a smaller number of viable substation nodes compared to the flat terrain scenario. Consequently, the reduction in total cable length is primarily due to the decrease in the number of connection nodes. However, civil engineering costs and equivalent annual costs remain higher in the obstacle-constrained scenario, indicating that navigating around obstacles increases both the construction difficulty per unit and the construction costs of feasible routes. It should also be noted that computation time does not increase monotonically with the physical complexity of the terrain. This is because the number of binary topological decision variables is directly related to the number of active nodes and the number of feasible candidate paths; a reduction in the number of active nodes and candidate connections narrows the branch-and-bound search space of the MILP model. Consequently, computation time is shorter in hilly and obstacle-laden scenarios. As topological optimization progresses from flat terrain to hilly and obstacle-laden environments, the resistance posed by complex terrain directly leads to an increase in equivalent annual cost (EAC). Compared to Scenario 1, the EAC per unit installed capacity for Scenario 2 (hilly terrain) and Scenario 3 (obstacle-constrained terrain) rose by 6.13% and 11.61%, respectively. The primary driver of these cost increases stems from the construction difficulty coefficient K and the substantial rise in civil engineering costs resulting from obstacle avoidance maneuvers, rather than cable procurement costs. These results indicate that the proposed MILP formulation can capture the economic impact of terrain-induced construction difficulty and obstacle avoidance.
4.3. Comparative Analysis of Algorithms
To evaluate the performance of the mixed-integer linear programming model, it is compared with traditional genetic algorithms and the classic geometric Steiner tree algorithm. All algorithms were run on the same computing platform. The MILP model was programmed in Python 3.10.12, while the genetic algorithm and Steiner tree algorithm were implemented using custom-written programs. All algorithms utilized the exact same flat-area node data, candidate edge sets, cable parameter libraries, and equivalent annual cost evaluation functions as the MILP method.
For genetic algorithms, this paper employs random-key encoding and Kruskal decoding to generate radial topological structures, using 30 independent runs and standard deviation to assess the stability of the random search. For the Steiner tree algorithm, this paper uses it as a geometric tree benchmark algorithm for comparison. As a deterministic graph algorithm, this method does not involve random initialization, crossover, or mutation processes; therefore, a single run yields a deterministic result, and no random standard deviation needs to be reported, the specific values of the key performance indicators are shown in Table 3.
Table 3.
Comparison Table of Performance Metrics for Different Algorithms.
Analysis of Table 3 shows that the proposed MILP model demonstrates a significant advantage in terms of equivalent annual cost (EAC). Compared to the equivalent annual cost of the genetic algorithm, the MILP mathematical model achieves a reduction of approximately 24.3%. When addressing the discrete combinatorial problem of wire size selection and topological layout, the genetic algorithm, constrained by its population-based random iteration mechanism, is highly prone to getting trapped in local optima, resulting in unreasonable path selections. In contrast, the MILP method derives a globally optimal solution through rigorous mathematical modeling, thereby minimizing total equivalent annual cost. Although the geometric Steiner tree algorithm requires the least computation time, it ignores thermal stability constraints and node voltage-deviation constraints during the operation of the power collection network; as a result, the annual average line loss rate for the Steiner tree algorithm is as high as 0.42%. In contrast, the MILP mathematical model presented in this paper incorporates power balance and node voltage safety as constraints. Through the coordinated optimization of topological paths and cable cross-sections, it reduces the annual average network loss rate to 0.14%, thereby ensuring power quality.
To further analyze the path-planning logic of different algorithms from a spatial perspective, Figure 4 compares the obstacle-avoidance characteristics of the MILP model proposed in this paper with those of the classic Steiner tree algorithm when traversing complex terrain. Figure 4 is merely an illustrative diagram intended to highlight the differences in path selection logic between the “classical Steiner tree method” and the “cost-aware MILP method”; it does not represent direct simulation results.
Figure 4.
Schematic Diagrams of Obstacle-Avoidance Paths for Various Algorithms in Complex Terrain.
Figure 4 clearly illustrates the differences between these two methods in terms of path planning. The Steiner algorithm primarily focuses on the shortest path problem, and therefore tends to favor locations with steep gradients, resulting in increased civil engineering costs. The MILP model described in this paper takes into account the effects of terrain resistance, while allowing for a slight increase in the total route length, it avoids steep gradients to reduce construction costs. This conceptual comparison is intended solely to illustrate the logic of path planning; for a quantitative comparison of performance among different algorithms, see Table 3.
4.4. Verification of Electrical Boundaries and Terminal Voltage Rise in the Current Collection System
To verify the electrical safety margins of the MILP model proposed in this paper under extreme wiring conditions, we selected a feeder line in Scenario 3 that has the longest route and the heaviest load as an example. Figure 5 shows the node voltage distribution when this feeder is in a saturated state, demonstrating that the proposed method is feasible and reliable even for complex power grids.
Figure 5.
Comparison of Voltage Curves at Nodes Along an Extreme Feeder.
As shown in Figure 5, due to the absolute obstruction caused by a 0.12 km2 solid obstacle, the actual physical route of this feeder line is forced to take a significantly longer detour. If the traditional “path-first, then conductor size” approach were adopted (such as uniformly configuring 185 mm2 cables along the entire line), the continuously increasing impedance could cause the terminal voltage to reach as high as 1.048 p.u., approaching the grid’s safe operating limit of 1.05 p.u. In contrast, the mixed-integer linear programming (MILP) model proposed in this paper performs global optimization, achieving dynamic coordinated compensation between path optimization and conductor cross-sectional area. During global optimization, the model automatically identifies sections with high voltage deviations and dynamically increases the cross-sectional area of the front-end feeder to 500 mm2 or more. This method effectively addresses the issue of surging line impedance caused by space constraints, successfully suppressing overvoltage phenomena while ensuring that the voltage at all nodes remains stable at approximately 1.0028 p.u. This approach is of significant importance for improving power quality and overcoming the challenges of cabling in complex environments.
5. Conclusions
This paper investigates the design of collection system topologies for large-scale photovoltaic (PV) power plants in complex terrain conditions, as well as the issue of traditional optimization methods often yielding local optima. It proposes an optimization approach based on mixed-integer linear programming (MILP). By establishing a corresponding MILP mathematical model that accounts for terrain characteristics and environmental constraints, and with the objective of minimizing the total equivalent annual cost of the system, the study integrates electrical operational constraints with civil engineering construction difficulties to derive the absolute optimal solutions under various operating conditions. Based on a comparative analysis of the case studies, the following conclusions were drawn:
- (1)
- By introducing a construction difficulty factor, the model converts three-dimensional terrain variations and environmental resistance into incremental construction costs, thereby guiding the model to spontaneously avoid steep slopes and significantly enhancing the engineering feasibility of the planning proposal.
- (2)
- This paper employs an improved mixed-integer linear programming method to optimize the topological design of the collector system for large-scale photovoltaic power plants. While strictly adhering to all physical and electrical constraints, this approach reduces the system’s equivalent annual cost (EAC) by approximately 24.3% compared to traditional genetic algorithms.
- (3)
- A dynamic optimization scheme for the configuration of busbars and conductor cross-sections was proposed, which maintains the voltage at the grid’s end points within safe limits and significantly improves the system’s power quality and operational reliability.
Future research and development will focus primarily on the following areas: First, regarding the construction of three-dimensional physical spaces, there is a need to improve modeling accuracy, particularly with regard to topological optimization under complex terrain conditions. Second, advanced dimension-reduction methods must be vigorously developed and integrated with the mixed-integer linear programming approach proposed in this paper to address the issue of slow solution speeds in large-scale network optimization.
Author Contributions
Methodology, X.Y., X.C., L.Z., Z.L., S.S., and H.Y.; Investigation, X.Y., X.C., L.Z., Z.L., S.S., and H.Y.; Writing—original draft, X.Y., X.C., L.Z., Z.L., S.S., and H.Y.; Writing—review & editing, X.Y., X.C., L.Z., Z.L., S.S., and H.Y. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the Science and Technology Project of China Energy Engineering Group Anhui Electric Power Design Institute Co., Ltd. (No. KY-A-12-006).
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
Authors Xiao Ye, Xiaofeng Chen, Lijun Zhang and Zhibo Liu were employed by the China Energy Engineering Group Anhui Electric Power Design Institute Co., Ltd. Authors Shijun Song and Hejun Yang were employed by the Hefei University of Technology. All authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Breyer, C.; Bogdanov, D.; Gulagi, A.; Aghahosseini, A.; Barbosa, L.S.N.S.; Koskinen, O.; Barasa, M.; Caldera, U.; Afanasyeva, S.; Child, M.; et al. On the role of solar photovoltaics in global energy transition scenarios. Prog. Photovolt. Res. Appl. 2017, 25, 727–745. [Google Scholar] [CrossRef] [Scilit]
- Zidane, T.E.K.; Aziz, A.S.; Zahraoui, Y.; Kotb, H.; AboRas, K.M.; Kitmo; Jember, Y.B. Grid-Connected Solar PV Power Plants Optimization: A Review. IEEE Access 2023, 11, 79588–79608. [Google Scholar] [CrossRef] [Scilit]
- Yang, H.; Tang, K.; Ma, J.; Zhang, D.; Qi, X. Energy and flexibility markets clearing mechanism for electrical distribution system through a flexibility imbalance modification strategy. Int. J. Electr. Power Energy Syst. 2026, 177, 111862. [Google Scholar] [CrossRef] [Scilit]
- Cortez, J.C.; Silva, J.A.A.; Gallegos, R.A.; Lavorato, M.; Rider, M.J. Three-Stage Optimization-Based Framework for Grid-Connected Sizing of a PV Power Plant System. IEEE J. Photovolt. 2025, 15, 896–907. [Google Scholar]
- Ma, C.; Deng, Z.; Xu, X.; Pang, X.; Li, X.; Wu, R.; Tian, Z. Space optimization of utility-scale photovoltaic power plants considering the impact of inter-row shading. Appl. Energy 2024, 370, 123591. [Google Scholar] [CrossRef] [Scilit]
- Mignoni, N.; Carli, R.; Dotoli, M. Layout optimization for photovoltaic panels in solar power plants via a MINLP approach. IEEE Trans. Autom. Sci. Eng. 2025, 22, 18148. [Google Scholar] [CrossRef] [Scilit]
- Babu, T.S.; Ram, J.P.; Dragičević, T.; Miyatake, M.; Blaabjerg, F.; Rajasekar, N. Particle swarm optimization based solar PV array reconfiguration of the maximum power extraction under partial shading conditions. IEEE Trans. Sustain. Energy 2018, 9, 74–85. [Google Scholar] [CrossRef] [Scilit]
- Hu, M.; Ye, X.; Li, Z.; Shu, L. Research on Array Layout Method of Photovoltaic Panel in Mountain Photovoltaic Power Generation Project Based on BIM. In Proceedings of the 2022 8th Annual International Conference on Network and Information Systems for Computers (ICNISC); IEEE: New York, NY, USA, 2022; pp. 917–922. [Google Scholar]
- Yao, Y.; Wang, Y.; Jia, H.; Mu, Y. A novel differential evolution method with a hierarchical decoder for the photovoltaic layout optimization problem. Int. J. Electr. Power Energy Syst. 2025, 164, 110397. [Google Scholar] [CrossRef] [Scilit]
- Zuo, T.; Meng, K.; Tong, Z.; Tang, Y.; Zhao, H. Offshore wind farm collector system layout optimization based on self-tracking minimum spanning tree. Int. Trans. Electr. Energy Syst. 2018, 29, e2729. [Google Scholar] [CrossRef] [Scilit]
- Hou, P.; Hu, W.; Chen, C.; Chen, Z. Optimisation of offshore wind farm cable connection layout considering levelised production cost using dynamic minimum spanning tree algorithm. IET Renew. Power Gener. 2016, 10, 175–183. [Google Scholar] [CrossRef] [Scilit]
- Hou, P.; Hu, W.; Soltani, M.; Chen, Z. Optimized placement of wind turbines in large-scale offshore wind farm using particle swarm optimization algorithm. IEEE Trans. Sustain. Energy 2015, 6, 1272–1283. [Google Scholar] [CrossRef] [Scilit]
- Gong, X.; Kuenzel, S.; Pal, B.C. Optimal wind farm cabling. IEEE Trans. Sustain. Energy 2018, 9, 1126–1136. [Google Scholar] [CrossRef] [Scilit]
- Qiu, A.; Yang, Z. Variable-depth large neighborhood search algorithm for cable routing in distributed photovoltaic systems. Autom. Constr. 2024, 168, 105839. [Google Scholar] [CrossRef] [Scilit]
- Zuo, T.; Zhang, Y.; Meng, K.; Tong, Z.; Dong, Z.Y.; Fu, Y. A two-layer hybrid optimization approach for large-scale offshore wind farm collector system planning. IEEE Trans. Ind. Inform. 2021, 17, 7433–7444. [Google Scholar] [CrossRef] [Scilit]
- Cabrera-Tobar, A.; Bullich-Massagué, E.; Aragüés-Peñalba, M.; Gomis-Bellmunt, O. Topologies for large scale photovoltaic power plants. Renew. Sustain. Energy Rev. 2016, 59, 309–319. [Google Scholar] [CrossRef] [Scilit]
- Yang, H.; Yue, Y.; Ma, J.; Zhang, D.; Qi, X. Reliability enhancement method for distribution system using a network cooperation recovery optimization technique. Eng. Sci. Technol. Int. J. 2026, 74, 102285. [Google Scholar] [CrossRef] [Scilit]
- Yang, H.; Chen, Q.; Tang, K.; Zhang, D.; Shen, Y. Flexibility aggregation and cooperative scheduling for distributed resources using a virtual battery equivalence technique. Energy 2025, 334, 137770. [Google Scholar] [CrossRef] [Scilit]
- Weckx, S.; Driesen, J. Optimal local reactive power control by PV inverters. IEEE Trans. Sustain. Energy 2016, 7, 1624–1634. [Google Scholar] [CrossRef] [Scilit]
- Jafari, M.R.; Parniani, M.; Ravanji, M.H. Decentralized control of OLTC and PV inverters for voltage regulation in radial distribution networks with high PV penetration. IEEE Trans. Power Deliv. 2022, 37, 4827–4838. [Google Scholar] [CrossRef] [Scilit]
- Aronescu, A.; Appelbaum, J. Design optimization of photovoltaic solar fields-insight and methodology. Renew. Sustain. Energy Rev. 2017, 76, 882–893. [Google Scholar] [CrossRef] [Scilit]
- Shen, X.; Li, S. Large-scale Offshore Wind Farm Electrical Collector System Planning: A Mixed-Integer Linear Programming Approach. In Proceedings of the 5th IEEE Conference on Energy Internet and Energy System Integration; IEEE: New York, NY, USA, 2021. [Google Scholar]
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. |
© 2026 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.




