1 Introduction

The increase in distributed generation (DG), electric vehicles (EVs), flexible demand, and advanced control technologies makes the distribution systems undergo profound changes regarding composition, flexibility and controllability. Meanwhile, these resources have advanced capabilities that can potentially regulate distribution systems. These advances challenge the conventional planning methodologies and bring the opportunity to enrich the evaluation ideas of planning solutions [1, 2].

There are rich controllable resources in the future distribution systems, such as the distributed photovoltaic (PV), on load tap changing (OLTC) transformer, shunt capacitor and so on. Particularly, new technologies such as DC interlinks between distinct distribution feeders have been introduced to aid the management of distribution systems [3, 4]. Therefore, checking the feasibility of a candidate planning solution should rely on analyzing the manipulation control details rather than hardware redundancy alone [5]. It is a crucial step and is of fundamental interest.

However, the characteristics of modern distribution systems can be very complex due to the integration of a plethora of devices which are intermittent, distributed and interactive. Goals such as reliable power supply versus intermittent renewable sources, violated voltages caused by mismatching DG integration and load, and demand flexibility versus quality of service can be in conflict. Distribution system operators (DSOs) typically need to obtain the manipulation control process of these controllable resources to determine if a possible middle ground exists during the planning phase. The existing research typically focuses only on a single objective considering the collaborative planning with a few components. Reference [6] uses the site and size selection of DGs to enhance the system stability by minimizing the line losses and voltage violation. A reasonable configuration of DGs is also confirmed to delay or eliminate the expansion need triggered by load growth [7]. The DG capabilities of voltage regulation are analyzed in [8, 9]. The coordinated control of OLTC transformer and DGs is also widely studied to control the voltage problem [10, 11]. Further, the effect of utilizing demand response is considered to mitigate system intermittency caused by renewable energy resources in [12]. Reference [13] analyzes the impact of EVs and PVs on a low-voltage distribution network and its future planning. Reference [14] proposes a comprehensive configuration of DGs and EV charging stations to suppress renewable fluctuations based on the existing literature. In addition, the system loadability has been analyzed in the presence of DC interlinks [3, 15]. But in the future, the increasing integration of many distributed energy resources should be fully considered in the planning solution. Different from the investigation of planning work involving individual devices, an integrated evaluation method that fully considers various devices can aid in the planning work, which cannot be found in the existing literature.

On the other hand, since distribution system planning work is usually carried out by repeatedly modifying and involving the gradual enrichment of devices, the evaluation method should balance the efficiency and the optimal solution with detailed manipulation. In fact, planning problems that take the control of multiple devices into account are often difficult to solve [5]. In terms of optimization algorithm, the related research can be divided into two categories. One is heuristic calculations that favor independent models, such as particle swarm optimization [16], genetic algorithm [17], tabu search algorithm [18] and greedy algorithm [19]. The advantages of these algorithms are that they are simple and easy to operate, and can effectively obtain the approximate optimal solution, but the results are highly contingent, and the monotonicity of the results on the parameters is unstable [20]. Some other scholars are committed to framing them as an optimization model, improving the model mathematical properties, and transforming the objective function and constraint conditions into convex functions and constraints of the first and second orders. Some well-known models for the optimal power flow problems include mixed integer nonlinear programming (MINLP) [21], second-order cone programming (SOCP) [22, 23] and semi-definite programming (SDP) [24, 25]. Among them, SDP relaxation is a promising convexity method. Reference [26] utilizes this method to solve an optimal operation model of voltage regulating devices including DG and shunt capacitors. A major challenge, however, is that the optimization problems are generally large-scale, mixed-integer, non-convex even if the integral constraints are fixed, and include a large number of snapshots in time and scenarios. The low computational efficiency will bring great inconvenience to the planning work.

Motivated by this background, an algorithm is proposed for the manipulation control process of distribution system planning solution. This method decouples a complex distribution system into simple parts for evaluation according to the ports of the DC interlink. The manipulation details of controllable resources are simulated following a specific control sequence in each part to improve the efficiency. Five types of controllable resources are considered, including load tap changing (LTC) transformer, shunt capacitor, distributed PV generation, EVs, and DC interlink. Two main contributions of this paper are as follows:

  1. 1)

    The manipulation control of five types of devices is considered in this method. The solution results allow planners to obtain the detailed manipulations of feeders with multiple types of equipment and determine if a system configuration has acceptable voltage, load, or EV demand response profiles.

  2. 2)

    The proposed framework is based on testing the feasibility of candidate solutions. In particular, a sequence of simple algebraic calculations is developed to avoid solving a complex, large-scale mixed-integer optimization problem. So the computational efficiency is increased significantly. It is more applicable to the scenarios with integration of various controlled resources to distribution network, the planning of which has the features of screening a large number of planning schemes.

The proposed algorithm is demonstrated by considering an actual distribution system that consists of two sub-systems tied with a DC interlink, each of which contains high penetration of distributed PVs and EVs. The detailed manipulation and impact of these devices can be captured by the proposed method, and the benefit of the DC interlink is shown. In addition, the computation complexity of the proposed algorithm and optimization based planning methods is compared. The results show that the proposed algorithm reduces the computational time significantly.

The rest of the paper is organized as follows. The planning problem is discussed and the structure of the proposed algorithm, as well as some utilized tools, is briefly explained in Section 2. Then the specific procedure is introduced in Section 3. The proposed algorithm is tested using a case system based on an actual distribution system in Section 4. Finally, this paper is concluded in Section 5.

2 Planning problem and solution methodology

This section shows the common configuration of future distribution systems and sets up the planning problem. The structure of the solution methodology is briefly explained accordingly. And some mathematical preliminaries in the simulation are introduced.

2.1 Planning problem formulation

Future distribution systems experience rapid growth of load, distributed PV and EV, and may install some DC interlinks for load sharing or voltage support. A possible configuration of such a system is shown in Fig. 1.

Fig. 1
figure 1

A possible configuration of the future distribution system including LTC transformers, capacitors, EVs, DGs, PVs and a DC interlink

In these systems, because of the growing high-density load and the transferred load with the N-1 contingency, the voltage of urban district might be too low, and some transformers suffer overload risk. But at the end of some feeders with high PV penetration, the voltage of the suburban district might be abnormally high. The conventional planning approach to correct these problems is to expand and upgrade the substation, which may be prohibitively costly. But the costs can be minimized by strategically utilizing the controllable devices like LTC transformers, capacitors, PV inverters, EVs and DC interlinks.

In distribution system planning work, the goal is to determine whether these controllable devices can be used to satisfy various operation constraints or whether new equipment is required. The planners might make several candidate solutions, then run a series of evaluations to estimate whether these problems such as overload, overvoltages, renewable spillage, and load curtailment can be solved.

2.2 Solution methodology

The proposed algorithm focuses on checking the feasibility from the aspects of load and voltage profiles. For this purpose, the method evaluates if a candidate solution would have acceptable voltage, load, and load curtailment profiles by simulating the manipulation control process.

In order to carry out the evaluation efficiently, the overall problem is divided into a series of small ones and solved in sequence. The procedure is outlined in Fig. 2. In a complex system with a DC interlink, we first decouple it into separate parts, check the feasibility of the solution for each part, and then use the DC interlinks to balance the smaller systems.

Fig. 2
figure 2

Main algorithm to evaluate a candidate solution

The manipulation simulation follows the general guiding principle in which discretely adjustable equipment is prioritized over continuously regulating equipment. The reactive equipment is prioritized over active equipment, and power regulation is prioritized over load regulation [27]. Therefore, this method allows planners to determine if a system configuration has acceptable voltage, load, or EV demand response profiles in a computationally tractable fashion and provides detailed manipulation simulation of feeders with multiple types of equipment.

2.3 Power flow calculation tools

In the evaluation procedure of Fig. 2, some mathematical preliminaries are applied such as the flow sensitivity, the optimal partitioning method, the second-order power loss sensitivity, and the EV charging strategy. Among them, power flow calculation and flow sensitivity are widely used. This subsection is a brief introduction to the second-order power loss sensitivity, the optimal partitioning method, and the EV charging strategy.

2.3.1 Second-order power loss sensitivity

The loss should be considered when the capacity problem is studied. An important metric we use to determine the adjustment of the devices is based on the losses in the system. Because of the nonlinear nature of power flow in distribution system, we adopt the second-order power loss sensitivity method proposed in [28] for both active power and reactive power:

$$\begin{aligned} \varvec{G}_{PL} (\Delta \varvec{P} ,\Delta \varvec{Q} )& = \varvec{P}_{Loss , 0} +\varvec{\alpha}_{PP}^{\text{T}} \Delta \varvec{P} +\varvec{\alpha}_{PQ}^{\text{T}} \Delta \varvec{Q} \\ & \quad + \frac{ 1}{ 2}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}^{\text{T}} \quad \Delta \varvec{Q}^{\text{T}} } \\ \end{array} } \right]\varvec{\beta}_{P} \left[ {\begin{array}{*{20}c} {\Delta \varvec{P}} \\ {\Delta \varvec{Q}} \\ \end{array} } \right] \\ \end{aligned}$$
(1)
$$\begin{aligned} \varvec{G}_{QL} (\Delta \varvec{P} ,\Delta \varvec{Q} )& = \varvec{Q}_{Loss , 0} +\varvec{\alpha}_{QP}^{\text{T}} \Delta \varvec{P} +\varvec{\alpha}_{QQ}^{\text{T}} \Delta \varvec{Q} \\ & \quad + \frac{ 1}{ 2}\left[ {\begin{array}{*{20}c} {\Delta \varvec{P}^{\text{T}}\quad \Delta \varvec{Q}^{\text{T}} } \\ \end{array} } \right]\varvec{\beta}_{Q} \left[ {\begin{array}{*{20}c} {\Delta \varvec{P}} \\ {\Delta \varvec{Q}} \\ \end{array} } \right] \\ \end{aligned}$$
(2)

where \(\varvec{G}_{PL} ( \cdot )\) and \(\varvec{G}_{QL} ( \cdot )\) are the incremental active power and reactive power (P/Q) loss functions of nodal P/Q injection increments, respectively; \(\varvec{\alpha}_{PP}\), \(\varvec{\alpha}_{PQ}\), \(\varvec{\alpha}_{QP}\), \(\varvec{\alpha}_{QQ}\), \(\varvec{\beta}_{P}\), \(\varvec{\beta}_{Q}\) are the coefficients calculated from the power flow equations which can be seen in [28]; \(\Delta \varvec{P}\) and \(\Delta \varvec{Q}\) are the node active and reactive power injection increments, respectively; and \(\varvec{P}_{Loss , 0}\) and \(\varvec{Q}_{Loss , 0}\) are the active and reactive loss scalars of the system in the reference state, respectively.

2.3.2 Optimal partitioning method for LTC transformers and capacitors

During the evaluation of a solution, the first equipment to be adjusted should be discrete elements such as LTC transformers and capacitors which are subject to daily manipulation limits stemming from lifespan considerations. Our proposed algorithm solves this question via the optimal partitioning technique. The algorithm can divide a series of data into a designated number of segments based on maximum homogeneity. The similarity of system voltage profiles within a segment of time suggests little need to change the settings of LTC transformer and capacitor. That is, for all time snapshot \(t\) in a time segment \(s\), their settings should be fixed. More details about the optimal partitioning technique can be found in [29].

2.3.3 EV charging strategy

The charging of EVs can be adjusted to relieve system stress. The reliability index of charging service proposed in [30] is used to assess how EVs would be affected as flexible loads. It would be a key performance indicator when distribution system planning is concerned. Charging completion is defined as:

$$\varepsilon = \left\{ {\begin{array}{ll} 1 & {\sum\limits_{{t \in [t_{arr} ,t_{dep} ]}} p_{{{\text{c}},t}} \Delta t - \alpha E_{\text{D}} \ge 0} \\ 0 & {\text{otherwise}} \\ \end{array} } \right.$$
(3)

It means that the total energy charged to a vehicle should exceed a certain percentage \(\alpha\) of the expectation of user \(E_{\text{D}}\) during the arrival time \(t_{arr}\) to the departure time \(t_{dep}\). In order to solve the indicator \(\varepsilon\), it is necessary to calculate the charging process \(p_{{{\text{c}},t}}\). Let \(p_{{{\text{c}},k,t}}\) denote the charging power of vehicle \(k\) at time \(t\), and \(\overline{p}_{rate}\) is the maximum charging power. The system imposes a limit on the overall charging power of the EVs, denoted by \(P_{{{\text{EV}},t}}\), and the charging profiles are optimized against this external limit.

$$\text{max} \;\sum\limits_{t \in [0,T]} \sum\limits_{k \in \varOmega } p_{{{\text{c}},k,t}} \Delta t$$
(4)

s.t.

$${\kern 1pt} {\kern 1pt} \sum\limits_{k \in \varOmega } p_{{{\text{c}},k,t}} \Delta t \le P_{{{\text{EV}},t}} \quad \forall t \in [0,T]$$
(5)
$$\sum\limits_{{t \in [t_{arr ,k} ,t_{dep ,k} ]}} p_{{{\text{c}},k,t}} \Delta t \le E_{{{\text{D}},k}} \quad \forall k \in \varOmega$$
(6)
$$0 \le p_{{{\text{c}},k,t}} \le \overline{p}_{rate} \quad \forall k \in \varOmega ,\forall t \in [0,T]$$
(7)

where T is a time segment; and \(\varOmega\) is the set of EV stations.

Formula (4) maximizes the total energy consumed by the EVs, (5) is the total power constraint, (6) is the constraint that EVs are not charged more than their energy demand \(E_{{{\text{D}},k}}\), and (7) is the individual EV charging power constraints. All the parameters except \(\Delta P_{{{\text{EV}},t}}\) are predefined in the data scenarios, while the parameter \(P_{{{\text{EV}},t}}\) is solved by subtracting power curtailment \(\Delta P_{{{\text{EV}},t}}\) from the maximum charging power \(\underline{P}_{{{\text{EV}},t}}\) after balancing EV load curtailments in Fig. 2.

3 Simulation of manipulation control process

This section introduces the specific implementation procedure in Fig. 2. In the following section, the detailed manipulation control process with five types of equipment can be obtained considering the operation constraints.

3.1 Initialization of baseline system status

Given a scenario with sequential load, PV generation \(\overline{P}_{{{\text{PV}},t}}\) and EV charging profiles \(\underline{P}_{{{\text{EV}},t}}\), the first step is to calculate the baseline system status. By baseline, we mean the power flow with the given load and PV generation as injections, while LTC transformer tap is set to 1.0 p.u., and there are no additional injections from capacitors and DC terminals.

According to the baseline nodal voltage profiles, the given scenario day is then partitioned into several time segments for possible LTC transformer and capacitor adjustments via the optimal partitioning technique. The voltage and loss sensitivities are also calculated according to this baseline.

3.2 Simulation of one subsystem connected by DC interlink

Our proposed algorithm starts from one subsystem that is connected to another subsystem by a DC interlink, as shown in Fig. 1. Each equipment is adjusted in turn, as shown in Fig. 2. The voltage and load profiles need to be updated after each step.

3.2.1 Simulation of LTC transformer tap setting

The LTC transformer has a decisive effect on voltage regulation and its setting is determined first. A tap position (modeled as the incremental of secondary voltage setpoint \(\Delta \rho_{A,T}\)) should be able to keep the voltages on all feeders being within the voltage limits in a time segment, expressed as:

$$V_{ \text{min} } - V_{i,t} \le \Delta \rho_{A,T} \le V_{ \text{max} } - V_{i,t} \quad i \in f,\; \forall f \in A, \;\forall t \in T$$
(8)

where \(V_{ \text{min} }\) and \(V_{ \text{max} }\) are the limits of voltage magnitude; \(i \in f\) denotes node \(i\) belonging to feeder \(f\); and \(\forall f \in A\) denotes feeder \(f\) belonging to system A.

There may not be tap settings that satisfy (8) for all feeders at all times. Considering that the controllable sources can be used to assist voltage regulation, we can still determine a tap setting in advance, and compensate the voltage gaps in the remaining steps in Fig. 2. That is, the tap ranges can be virtually extended and the values are given by (8) using power flow sensitivities.

$$\begin{aligned} & V_{ \text{min} } - [V_{i,t} + \sum\limits_{i,j \in f} (K_{ij} \Delta \underline{Q}_{j,t} + H_{ij} \Delta \underline{P}_{j,t} )] \le \Delta \rho_{A,T} \\ & \quad \le V_{ \text{max} } - [V_{i,t} + \sum\limits_{i,j \in f} (K_{ij} \Delta \overline{Q}_{j,t} + H_{ij} \Delta \overline{P}_{j,t} )] \\ \end{aligned}$$
(9)

where \(\Delta \underline{P}_{j,t}\), \(\Delta \overline{P}_{j,t}\), \(\Delta \underline{Q}_{j,t}\), \(\Delta \overline{Q}_{j,t}\) are the lower and upper bounds of additional injections, respectively, which are generated assuming committing all capacitor groups, curtailing all charging loads etc.; \(H_{ij}\) and \(K_{ij}\) are the power flow sensitivities, respectively; and \(V_{i,t}\) is the voltage of node i at time t.

The left side of (9) means that power injection or load curtailment provide additional adequacy to lower LTC transformer secondary setpoint, and vice versa. For the DC terminal, the best P/Q injection ratio for regulating voltage is \(H_{ij} /K_{ij}\). For PVs, the bound of the adjustable active power injection is \(\Delta \underline{P}_{j,t} = - \overline{P}_{{{\text{PV}},j,t}}\) and \(\Delta \overline{P}_{j,t} = 0\), where \(\overline{P}_{{{\text{PV}},j,t}}\) is the PV active power generation of node j at time t.

By repeating (9) for all snapshots in time, a series of tap ranges can be generated, and the tap setting should be chosen from their intersection. When there are multiple tap setting choices, we prefer the candidate with the least requirement on active power \(\underline{P}_{j,t}\) and \(\overline{P}_{j,t}\). With the LTC transformer tap set to an acceptable value, the following procedures calculate precisely how much power is required from each controllable source for voltage regulation.

3.2.2 Simulation of shunt capacitor

In this step, the shunt capacitors are committed to compensating the under-voltage left over by LTC transformer. For a feeder \(f\), let \(\Delta C_{{{\text{CP}},j}} = C_{{{\text{CP}},j}} /N_{{{\text{CP}},j}}\) represent the reactive power of each capacitor group, where \(C_{{{\text{CP,}}j}}\) is the capacity of shunt capacitor j and \(N_{{{\text{CP,}}j}}\) is the group number of shunt capacitor j, and let \(\Delta V_{i,t} = \text{max} \left\{V_{ \text{min} } - V_{i,t} ,0\right\}\) represent the level of under-voltage. We need to solve a reactive power injection \(\Delta Q_{{{\text{CP}},j,T}}\) which satisfies (10). The equation considers voltage correction \(\Delta V_{i,t}\) and capacity \(C_{{{\text{CP}},j}}\). The discreteness of capacitors is enforced by the ceiling operator.

$$\begin{aligned} \Delta Q_{{{\text{CP}},j,T}} & = \Delta C_{{{\text{C}}P,j}} \left\lceil {\frac{1}{{\Delta C_{{{\text{CP}},j}} }}\text{min} \left\{ {\frac{{\Delta V_{i,t} }}{{K_{ij} }},C_{{{\text{CP}},j}} } \right\}} \right\rceil \\ & \quad\quad i \in f, j \in f \cap S_{\text{CP}} , \forall t \in T \\ \end{aligned}$$
(10)

where \(S_{\text{CP}}\) is the set of nodes with shunt capacitors.

When there are multiple capacitors on a feeder, each capacitor is calculated according to the descending order of \(K_{ij}\).

3.2.3 Simulation of reactive power of PV inverter

In this step, the reactive power from PV inverters are committed to compensate either the under-voltage left over by the LTC transformers and capacitors, or the overvoltage left over by LTC transformer. The inverter has a reactive power capability to operate within a power factor range, e.g. [− 0.95, 0.95]. The potential of PV inverter for adjusting voltage is significant in the system. For a feeder \(f\), the under-voltage problem is solved via:

$$\begin{aligned} \Delta Q_{{{\text{PV}},j,t}} & = \text{min} \left\{ {\frac{{V_{ \text{min} } - V_{i,t} }}{{K_{ij} }},\frac{{\sqrt {1 - 0.95^{2} } C_{{{\text{PV}},j,t}} }}{0.95}} \right\} \\ &\quad\quad i \in f,\;j \in f \cap S_{\text{PV}} \\ \end{aligned}$$
(11)

where \(S_{\text{PV}}\) is the set of nodes with distributed PVs; \(\Delta Q_{{{\text{PV}},j,t}}\) is the PV reactive power of node j at time t; and \(C_{{{\text{PV,}}j ,t}}\) is the rated capacity of PV generator j at time t.

The items in the bracket of (11) are the reactive power required for voltage correction, and the reactive power capacities under power factor constraints. For overvoltage, it is corrected via:

$$\begin{array}{*{20}l} {\Delta Q_{{{\text{PV}},j,t}} = \text{max} \left\{ {\frac{{V_{ \text{max} } - V_{i,t} }}{{K_{ij} }}, - \frac{{\sqrt {1 - 0.95^{2} } C_{{{\text{PV}},j,t}} }}{0.95}} \right\}} \hfill \\ \end{array}$$
(12)

When there are multiple PVs on a feeder, each PV is calculated sequentially according to the descending order of \(K_{ij}\).

3.2.4 Simulation of PV curtailment

Meanwhile, a portion of PV power has to be curtailed when an overvoltage on a feeder \(f\) still exists. Then PV power curtailments \(\Delta P_{{{\text{PV}},j,t}}\) is calculated via:

$$\Delta P_{{{\text{PV}},j,t}} = \text{max} \left\{ {\frac{{V_{ \text{max} } - V_{i,t} }}{{H_{ij} }}, - \overline{P}_{{{\text{PV}},j,t}} } \right\}\quad i \in f,\;j \in f \cap S_{\text{PV}}$$
(13)

3.2.5 Improvement of power factor

The capacitors and PV inverters can improve LTC transformer power factor and relieve load if voltage problem no longer exists on their feeders. For example, capacitors should be re-adjusted if the system has a significant overall reactive load surplus. The adjustment is calculated as:

$$\begin{aligned} \Delta Q_{{{\text{CP}},j,T}} & = \Delta C_{{{\text{CP}},j}} \, \left\lceil {\frac{1}{{\Delta C_{{{\text{CP}},j}} }}\text{min} \left\{ {\frac{{V_{ \text{max} } - V_{i,t} }}{{K_{ij} }},C_{{{\text{CP}},j}} - Q_{{{\text{CP}},j,T}} ,Q_{{{\text{tot}},t}} } \right\}} \right\rceil \, \\ & \quad \quad t \in T,\;i \in f,\;\forall f \in A,\;\forall j \in f \cap S_{\text{CP}} \\ \end{aligned}$$
(14)

The items in the bracket are the voltage adequacy for accommodating more reactive power, the remaining capacity of the capacitor, and the overall system reactive load surplus \(Q_{{{\text{tot}},t}}\), respectively. If there are multiple sources on a feeder, the source is calculated sequentially according to the ascending order of \(K_{ij}\). The PVs share similar calculations.

3.2.6 Simulation of P/Q injections of DC interlink

If voltage and load problems still exist after the procedures mentioned above, we use active and reactive power injections from the DC terminal. We need to solve a combination of \(\Delta P_{{{\text{DC}},t}} ,\Delta Q_{{{\text{DC}},t}}\) with respect to converter capacity, voltage and LTC transformer load corrections via:

$$\left\{ \begin{aligned} & \Delta P_{{{\text{DC}},t}}^{2} + \Delta Q_{{{\text{DC}},t}}^{2} \le C_{\text{DC}}^{2} \hfill \\ & V_{ \text{min} } \le V_{i,t} + (H_{{i{\text{DC}}}} \Delta P_{{{\text{DC}},t}} + K_{{i{\text{DC}}}} \Delta Q_{{{\text{DC}},t}} ) \le V_{ \text{max} } \hfill \\ & (\Delta P_{{{\text{DC}},t}} + P_{{{\text{tot}},t}} + G_{PL} (\Delta P_{{{\text{DC}},t}} ,\Delta Q_{{{\text{DC}},t}} ))^{2} \hfill \\ & \quad + (\Delta Q_{{{\text{DC}},t}} + Q_{{{\text{tot}},t}} + G_{QL} (\Delta P_{{{\text{DC}},t}} ,\Delta Q_{{{\text{DC}},t}} ))^{2} \le C_{\text{LTC}}^{2} \hfill \\ \end{aligned} \right.$$
(15)

where \(P_{{{\text{DC,}}t}}\) and \(Q_{{{\text{DC,}}t}}\) are the P/Q injections of DC terminal; \(C_{\text{DC}}\) is the capacity of a DC terminal; \(P_{{{\text{tot}},t}}\) is the overall active power of an OLTC transformer; \(C_{\text{LTC}}\) is the capacity of an OLTC transformer; \(H_{{i{\text{DC}}}}\) and \(K_{{i{\text{DC}}}}\) are the power flow sensitivities of DC terminal; and \(G_{PL} ( \cdot )\) and \(G_{QL} ( \cdot )\) are the incremental P/Q loss functions of nodal P/Q injection increments.

The (15) represents constraints on the apparent power capacity of the DC interlink, correction of voltage problems, and the constraint that the apparent power should be less than the capacity of the LTC transformer after the effect of DC injections on power losses are added to LTC transformer load.

Though it is difficult to derive an analytical answer directly, it is only a two-dimensional problem which can be solved easily by exhaustive search, representing the first constraint of (15) done by a series of coordinates. Then the solutions are exhaustively searched to see if they can meet the other two constraints. If all the constraints can be satisfied, the coordinate with a minimum absolute value of \(\Delta P_{{{\text{DC}},t}}\) will be selected since it imposes the least impact on the other side of the DC interlink. Otherwise, the coordinate with minimum voltage violation or overload will be selected.

3.2.7 Simulation of EV curtailment

Curtailing EV charging loads are needed in case of persistent under-voltage or overload. Our strategy attempts to ensure that no EV charging site suffers outstanding curtailment in order to avoid unnecessary charging incompletion. The curtailment is solved in two parts. The first part relieves the under-voltage using charging sites on the same feeder.

$$\left\{ \begin{aligned} & \Delta P_{{{\text{EV}},j,t}} = \lambda_{{{\text{I}},j,t}} \underline{P}_{{{\text{EV}},j}} \quad \forall j \in f \cap S_{\text{EV}} \hfill \\ & \lambda_{{{\text{I}},f,t}} = \text{min} \left \{ (V_{ \text{min} } - V_{i,t} )/\sum H_{ij} \underline{P}_{{{\text{EV}},j,t}} ,1 \right \} \quad i \in f \hfill \\ \end{aligned} \right.$$
(16)

where \(\Delta P_{{{\text{EV}},j,t}}\) is the curtailments of EV charging power at a charging site; \(\underline{P}_{{{\text{EV,}}j}}\) is the maximum charging power (minimum injection) of a charging site; and \(S_{\text{EV}}\) is the set of nodes with EV charging sites.

The first equation in (16) enforces that the EV charging sites on the same feeder will have the same curtailment ratio \(\lambda_{{{\text{I}},f,t}}\) (between 0 and 1). Then \(\lambda_{{{\text{I}},f,t}}\) is solved to correct the under-voltage of \(V_{ \text{min} } - V_{i,t}\).

The second equation in (16) relieves the overload using a curtailment ratio \(\lambda_{{{\text{II}},j,t}}\). Since some charging sites have taken responsibilities to relieve under-voltage, further duties should be avoided for these sites. So the curtailment in this stage starts from those who have intact charging loads, and \(\lambda_{{{\text{II}},j,t}}\) is solved based on the following steps.

  • Step 1: The baseline values of \(\lambda_{{{\text{II}},j,t}}\) are \(\lambda_{{{\text{I}},f,t}} ,j \in f\).

  • Step 2: Decide the feeder \(f\) which has the second smallest \(\lambda_{{{\text{I}},f,t}}\).

  • Step 3: For those charging sites whose \(\lambda_{{{\text{II}},j,t}}\) is smaller than \(\lambda_{{{\text{I}},f,t}}\), enumerate a scalar \(\Delta \lambda_{{{\text{II}},j,t}}\) so that \(\lambda_{{{\text{II}},j,t}} + \Delta \lambda_{{{\text{II}},j,t}}\) satisfies (17). The value is obtained by one-dimensional search within \([\lambda_{{{\text{II}},j,t}} ,\lambda_{{{\text{I}},f,t}} ].\)

    $$\left\{ \begin{aligned} & \Delta P_{{{\text{EV}},j,t}} = \lambda_{{{\text{II}},j,t}} \underline{P}_{{{\text{EV}},j,t}} \quad \forall j \in A \cap S_{{{\text{E}}V}} \hfill \\ & (P_{\text{tot}} (\Delta P_{{{\text{EV}},t}} ) + G_{PL} (\Delta P_{{{\text{EV}},t}} ))^{2} \hfill \\ & + (Q_{\text{tot}} + G_{QL} (\Delta P_{{{\text{EV}},t}} ))^{2} \le C_{\text{LTC}}^{2} \hfill \\ \end{aligned} \right.$$
    (17)

    The first equation in (17) suggests that the charging sites involved have the same curtailment ratio, and the second equation models the LTC transformer load constraint.

  • Step 4: Update \(\lambda_{{{\text{II}},j,t}}\) with \(\Delta \lambda_{{{\text{II}},j,t}}\). Go back to Step 2 until the overload is eliminated or each \(\lambda_{{{\text{II}},j,t}}\) equals to 1.

3.3 Modeling of the other side of DC interlink

The other side of the system in Fig. 1, i.e. system B, has the similar simulation procedures. But the active power balance requirement of DC interlink demands \(P_{{{\text{DC}},t}}^{A} + P_{{{\text{DC}},t}}^{B} = 0\). There will be real power loss on the DC interlink, which is not discussed in this paper. Therefore, the way of handling the DC terminal at in system B is different, as given in the following steps.

  1. 1)

    Initialization: instead of setting \(P_{{{\text{DC}},t}}^{B} = 0\), setting \(P_{{{\text{DC}},t}}^{B} = - P_{{{\text{DC}},t}}^{A}\).

  2. 2)

    Simulating LTC transformer tap: as the active power injection is fixed, only reactive power, i.e. \(\Delta \overline{Q}_{{{\text{DC}},t}} ,\Delta \underline{Q}_{{{\text{DC}},t}}\) are considered in (9).

  3. 3)

    Simulating the P/Q injections of DC interlink: only reactive power can be adjusted in (15).

3.4 Balancing of multiple systems

When multiple systems have under-voltage or overload problems, the first system may take advantage of other systems via the DC interlinks simply because it is regulated first. Here we illustrate how to balance the systems using a two-system network where unbalanced EV curtailment occurs. Balancing multiple systems proceeds similarly. Suppose in two systems A and B as shown in Fig. 3, the curtailment ratio \(\text{max} \{\varvec{\lambda}_{{{\text{II}},t}}^{A} \} \ll \text{max} \{\varvec{\lambda}_{{{\text{II}},t}}^{B} \}\), where \(\varvec{\lambda}_{{{\text{II}},t}}^{A}\) and \(\varvec{\lambda}_{{{\text{II}},t}}^{B}\) are the ratios of EV charging curtailment for relieving overload in systems A and B. It is better to balance \(\text{max} \{\varvec{\lambda}_{{{\text{II}},t}}^{A} \} \approx \text{max} \{\varvec{\lambda}_{{{\text{II}},t}}^{B} \}\) in order to avoid possible uncompleted charging.

Fig. 3
figure 3

Single line diagram of case system

3.4.1 Adjustment of EV curtailment and DC injection of system B

The procedure starts with searching for a scalar \(\Delta \lambda^{B}\) to offset the existing curtailment ratios \(\varvec{\lambda}_{\text{II}}^{B}\). For the feeder with the DC terminal in system B, \(\lambda_{{{\text{II}},j,t}}^{B}\) is reduced by \(\Delta \lambda^{B}\). For a feeder \(f\) without the DC terminal in system B, \(\Delta \lambda_{{{\text{II}},j,t}}^{B}\) is calculated based on voltage adequacy.

$$\Delta \lambda_{{{\text{II}},j,t}}^{B} = \text{min} \left\{ {\frac{{V_{i,t} - V_{ \text{min} } }}{{\sum\limits_{{j \in f \cap S_{\text{EV}}^{B} }} \underline{P}_{{{\text{EV}},j,t}} H_{ij} }},\Delta \lambda^{B} ,\lambda_{{{\text{II}},j,t}}^{B} } \right\}$$
(18)

where \(S_{\text{EV}}^{B}\) is the set of nodes with EV charging sites in system B.

The reduced curtailments may lead to low voltage on the feeder with the DC interlink or overload on the LTC transformer. The problems will be then compensated by reducing active power consumption of the DC terminal. We can use (15) to recalculate \(\Delta P_{{{\text{DC}},t}}^{B} ,\Delta Q_{{{\text{DC}},t}}^{B}\) after updating the EV loads.

3.4.2 Adjustment of DC injections and EV curtailment of system A

Go back to feeder \(f\) with the DC terminal in system A. Firstly, let \(\Delta P_{{{\text{DC}},t}}^{A} = - \Delta P_{{{\text{DC}},t}}^{B}\), and voltage or overload problem may appear. Then the reactive power \(\Delta Q_{{{\text{DC}},t}}^{A}\) of DC interlink should be updated using (19).

$$\Delta Q_{{{\text{D}}C,,t}}^{A} = \text{min} \left \{ \Delta Q_{{{\text{D}}C,t}}^{A'} ,\Delta Q_{{{\text{D}}C,t}}^{A''} ,\Delta Q_{{{\text{D}}C,,t}}^{A'''} \right \}$$
(19)
$$\left\{ \begin{aligned} & \Delta Q_{{{\text{DC}},t}}^{A'} = \text{max} \{ 0,(V_{ \text{min} } - V_{i,t} )/K_{{i{\text{DC}}}} \} \quad i \in f \hfill \\ & \Delta Q_{{{\text{DC}},t}}^{A''} = - Q_{{{\text{tot}},t}}^{A} \hfill \\& \Delta Q_{{{\text{DC}},t}}^{A'''} = \sqrt {C_{\text{DC}}^{2} - (P_{{{\text{DC}},t}}^{A} + \Delta P_{{{\text{DC}},t}}^{A} )^{2} } - Q_{{{\text{DC}},t}}^{A} \hfill \\ \end{aligned} \right.$$
(20)

where \(Q_{{{\text{tot}},t}}^{A}\) is the overall system reactive load surplus in system A.

The first equation calculates the reactive power required for restoring voltage, the second improves the power factor, and the third models the capacity limit of the DC. After updating the DC interlink, we can refer to (16) and (17) for a new \(\varvec{\lambda}_{{{\text{II}},t}}^{A}\).

3.4.3 Choosing of the best adjustment

A table of new \(\text{max} \{\varvec{\lambda}_{{{\text{II}},t}}^{A} \}\) and \(\text{max} \{\varvec{\lambda}_{{{\text{II,}}t}}^{B} \}\) can be generated by enumerating a series of values of \(\Delta \lambda^{B}\) and repeating the procedure. The step minimizing the gap between \(\text{max} \{\varvec{\lambda}_{{{\text{II}},t}}^{A} \}\) and \(\text{max} \{\varvec{\lambda}_{{{\text{II,}}t}}^{B} \}\) is then chosen to update DC interlink injections and EV curtailments. Finally, the outputs, setpoints of all controllable sources as well as system voltage and load profiles can be obtained.

4 Case studies

4.1 Case introduction

The case originates from an actual distribution system in Beijing, China. The single line diagram is shown in Fig. 3. A rapid annual load growth of this system is around 10%. Especially, the EV fleet grows at 100% per year. The majority of load gathers around the center, while the outer area has scattered loads powered by long feeders. The abundant land also makes the outer areas be good places for PV panels. The transformers adopt LTC transformer to regulate voltage with ± 8 grades and each grade is adjusted by 0.0125 p.u.. Some capacities of the transformers are occupied by the 35 kV system. The available capacities of the transformers of system A and system B are 40 MVA and 22.5 MVA, respectively.

Assuming that the configuration is for a distribution system planning solution, the sub-systems have overvoltage and overload problems when an adjacent 110 kV transformer (i.e., system C) fails and a portion of its load is transferred. The load profiles of the LTC transformers and voltage profiles of typical feeders are shown in Fig. 4. Without consideration of the manipulation control process, the evaluation results mean that additional expansions are required. However, the controllability and flexibility are supposed to be introduced into the demonstration area, like fully utilizing the adjustable potential of EVs or the reactive power support of PV inverters. Given the complicated voltage and load problems and various controllable sources, it is not trivial for planners to decide whether this solution is sufficient, or more extensive expansions of the network are needed. The proposed solving method for the manipulation control process of a planning solution can be applied to aid this decision.

Fig. 4
figure 4

Profiles of baseline load and voltage of case systems

4.2 Simulation results

First, it will demonstrate how the proposed algorithm in Fig. 2 is applied. For example, systems A and B have overload and voltage violation risks at 12:10 p.m.. And the sequences are shown in Table 1, which demonstrates how the undesired operation status is relieved step by step.

Table 1 Simulated events at 12:10 p.m.

In the beginning, we evaluate the two systems A and B, respectively. While simulating the manipulation control process of the system A, there is no curtailment of EV station because the injection of DC interlink is not limited. While simulating the manipulation control process of the system B, the injection of DC interlink has been fixed because of the manipulation on system A. Therefore, there is about 30% system-wide EV load curtailment. Then we need to balance these two systems for the unbalanced EV curtailment. We set the \(\Delta \lambda^{B}\) as 5% to generate a table of manipulation combinations. Then the step minimizing the gap of EV load curtailment between these two systems is chosen. It can be seen that the EV load curtailment of system A occurs after the balance. The active power delivered by system A to system B has been increased and the EV load curtailment of system B gets relieved.

Repeating the sequences for all time snapshots, we will be able to obtain an estimation on the operation performance of the system. The profiles of all the controllable equipments in system A are shown in Figs. 5, 6, 7, and 8, and the final statuses of both systems are given in Fig. 9.

Fig. 5
figure 5

Outputs of LTC transformer and capacitor in system A

Fig. 6
figure 6

Outputs of PV inverters

Fig. 7
figure 7

Outputs of DC terminal

Fig. 8
figure 8

Charging curtailments of EVs

Fig. 9
figure 9

Simulated final status of case systems

The results are reasonable because of two reasons.

  1. 1)

    Various operational constraints are covered. In Fig. 5, we divided the time into 5 segments by using optimal partitioning so that the mechanical limits of LTC transformer and shunt capacitors are considered. In Fig. 6, the capacity of inverters and power factor constraints are satisfied. The charging load curtailment is approximately evenly distributed, which can be obtained from Fig. 8 as the curves mostly overlap each other. The charging site on A5 is curtailed more because of the voltage problem.

  2. 2)

    The simulation results would be one of the best possible outcomes of the system. Assuming that there is a better outcome that charging curtailment can be avoided on feeder A8, then we will need to tune down the voltage by reducing the secondary voltage of LTC transformer and the reactive power injection of capacitor, and letting PV inverters consume more reactive power. Adjusting the secondary voltage of LTC transformer means the overall voltage will be reduced so that feeder A5 will require more active and reactive power injections from DC interlink (which imposes more burden on system B) or EV (which reduces successive charging percentage). Reducing the reactive power injection of capacitor means that feeder A8 will have under-voltage problems later in the same time segment. Consuming more reactive power is impossible because of the power factor and inverter capacity constraints. Therefore, the simulation is near optimal and there is no significantly better solution to the situation.

Finally, according to Fig. 9, this planning solution is sufficient considering the controllability and flexibility of distributed resources. It is not necessary to upgrade the system further.

4.3 Comparison of computational efficiency

Our fast algorithm can carry out the manipulation control process of a distribution system planning solution to quantify steady-state voltages and load profiles. In this part, the significant computation efficiency advantage of the proposed algorithm is demonstrated in Table 2.

Table 2 Algorithm comparison

The proposed algorithm is tested against some well-known optimal power flow optimization algorithms, including MINLP, genetic algorithm (GA) with a 10000 population size, and a mixed integer second-order cone programming (MISOCP) model. The former two are solved by Build-in MATLAB tools and the last by MOSEK and CVX toolboxes.

The problem is scanning the least capacity of the DC interlink terminals (a integer from 1 to 5 MVA) satisfying the same voltage, capacity and EV charging completion constraints, which are evaluated using either optimization or the proposed algorithm. Due to the page limitation, only the results are presented in Table 1. The MINLP and GA do not yield useful results after 2 hours of computation. The MISOCP presents a good result after 3360 s of compution. On the other hand, the proposed algorithm presents the same planning decision as the MISOCP in only 40 s, which demonstrates the significant advantage in efficiency.

5 Conclusion

Future distribution systems would have complicated characteristics. The planning work of distribution systems is becoming more difficult. This paper proposes a fast algorithm to simulate the manipulation control process of controllable resources, and achieve the feasibility evaluation of a distribution system planning solution. This algorithm effectively handles five types of controllable equipment. The detailed evaluation results such as voltage, load, operations of equipment and charging completion profiles can be applied to evaluate the performance of a planning decision. Meanwhile, the algorithm breaks a large problem into a series of small ones according to the ports of the DC interlink. Each part can be solved in a carefully designed procedure. The impact of each device manipulation on the system is obtained through the flow sensitivity and the second-order power loss sensitivity instead of optimal power flow calculation. As a consequence, this algorithm has a significant efficiency advantage over some existing optimization approaches.