Introduction

Motivation and background

Energy consumption is a significant factor in the climate change brought on by greenhouse gas emissions, which has drawn attention from all around the world. As a result, numerous nations have committed to meeting carbon neutrality targets before 2050. Moreover, reaching carbon neutrality and total energy consumption goals can be greatly impacted by increased penetration of renewable energy sources for power generation and consumers awareness in the demand response programs. Due to intensive research and development efforts, the exploitation of renewable energy technologies, including solar photovoltaic (PV) generation, wind power generation, hydropower, and biomass energy generation, has seen significant improvement. Solar energy has evolved significantly with the introduction of high-efficiency photovoltaic cells and sophisticated solar concentrators. PV panels are a promising technology, contributing 12% of the world energy production in 2023. However, some flexible technology such as energy storage devices are required due to the intermittent nature of PV power and the mismatch between load profiles, which adds to the overall expenses of the renewable energy system. The demand response are flexible operating strategies that have the capacity to absorb the uncertainty of solar power with minimal cost as comparison to battery energy storage system 3. Renewable energy technologies, energy storage, and flexible scheduling of node wise consumer demand can greatly improve the objectives of distribution system operators.

Literature review

The last decade, has seen a significant increase in renewable energy-based distributed generators (DGs) within power distribution grids 1. Shifting from conventional generation to DGs brings notable benefits, including enhanced voltage profiles, reduced losses, and lower capital costs. While some of this new generation capacity is provided by utility-scale PV and wind turbines, the majority is expected to come from residential rooftop PVs, which are much closer to the load centres 2. However, traditional distribution systems were not designed to handle widespread PV installations. This transition poses considerable operational challenges, as high levels of DG penetration can cause issues such as undesirable voltage flicker and accelerated equipment aging due to excessive voltage regulation activities, to name a few. Utilities urgently need an efficient strategy for widespread PV deployment that avoids planning violations. To tackle these issues, it is vital for utilities to accurately assess the system hosting capacity (HC) to understand the impact of increased DG penetration, plan for their efficient deployment, and carry out all the necessary upgrades to ensure reliable system operation 3,4,5. HC refers to the maximum amount of power generation that a system can support without exceeding any operational standards 6. In line with this definition, the Electric Power Research Institute (EPRI) recommends simulation-based methods that model each feeder and utilize screening tools to assess power quality and reliability issues, thereby determining HC at different locations 7. The simulation incrementally raises the PV penetration level during power flow analysis until one of the constraints is breached. The maximum level of PV generation before this breach is identified as the hosting capacity 8,9,10. This concept has already been implemented in some commercial software for utilities such as CYME, that conducts the per-node HC analysis by; (1) selecting a numerical iteration method for power flow, (2) choosing the relevant operational constraints, and (3) performing extensive simulations with increasing local PVs to determine HC. However, focusing solely on one bus neglects the interdependencies within the system, which are crucial for an accurate HC assessment and determination. Additionally, it is numerically impractical to exhaust all possible scenarios through simulations alone. From the foregoing, mathematical model-based methods are more and being employed for the evaluation of HC. In 11, the authors formulate the HC problem as an AC optimal power flow (ACOPF) problem, which was extended as a multi-period ACOPF by the works in 12,13. Given the complexity of solving ACOPF with numerous constraints, Ref. 14,15 propose using sensitivity analysis as an approximation to identify critical factors such as voltage magnitudes, voltage angle differences, network topology, load size, voltage variations, and generation locations 16,17. In 18, the authors suggested the use of a probabilistic model to account for these crucial factors 18. In light with these considerations, various additional strategies are proposed for HC enhancement, including on-load tap-changers (OLTC) 19, various reactive power control strategies 20,21, adoption of static and dynamic network re-configurations, integration of soft open points through power-electronic devices and most critical is the incorporation of real-time information 22. Since HC analysis occurs during the planning phase, effective control measures are typically assumed 23,24,25. Moreover, economic factors can be modelled to perform a cost–benefit analysis aimed at maximizing the HC for specifically solar PV 26. In 27, an efficient modified bald eagle search optimization algorithm is developed for the distribution system to minimize the power loss while maintaining the node voltage and line current limits. The jellyfish behaviour-based metaheuristic optimization algorithm is developed in 28 to minimize the power loss and improve the voltage stability index considering multiple DGs for distribution systems. The particle swarm optimization and genetic algorithm is proposed in 29 to minimize the active and reactive power loss with the consideration of seasonal load profile. In 30, authors proposed the multi-objective african vultures optimization algorithm considering hybrid distributed generation to optimize the system cost and reliability. The technique for order preference by similarity to the ideal solution technique is used to determine the one optimal solution from pareto optimal solutions. In 31, authors developed the multi objective problem considering wind, and photovoltaic generation to optimize the emission, cost of energy and penetration of renewable energy. The authors of 32 employed the improved binary African vultures optimization for the unit commitment problem. The uncertainty modelling of wind power using auto-regressive moving average model is addressed in 33 by developing the unit commitment problem. However, this uncertainty of renewable energy sources causes many issues for the operation of distribution system. Therefore, to minimize the impact of these uncertainty mostly previous research available in literature uses the battery energy storage system. But it increases the system investment cost. Moreover, the effective utilization of demand response (DR) strategies with these uncertain renewable energy sources reduces the sizes of battery energy storage system to some extent.

On the other side an improper use of DR can result in increased network losses and voltage imbalance, as mentioned in 34. While DR depends on consumer preferences, integrating it with advanced power control strategies can reduce energy loss due to curtailment. A coordinated approach that combines DR with an OLTC featuring independent phase tap control has proven to be effective for voltage management in a real-world three-phase four-wire suburban low-voltage network in Australia 35. This method increased a 40 kW PV HC to 65 kW, while concomitantly, achieved a voltage magnitude improvement, reduced unbalance, lowered compensation costs, and minimized comfort level violations during DR implementation. In 36, the authors examine the potential of DR in increasing the HC of solar PV system to find that even rudimentary DR control methods, although requiring detailed information on PV and load distribution, as well as PV penetration along the feeder length, can enhance the HC of PV. In the work scenario referred to above, DR implementation achieved to increase HC from 28.57 to 52.78% of the annual energy consumption, but only in particular when applied beyond 50% PV penetration. Hence, DR has the capability to unlock HC increase of solar PV but necessitate further research and investigations particularly with regards to the model and capacity of the distribution network. Furthermore, advance multi-objective optimization techniques will play a crucial role in considering various distribution parameters and constraints while increasing the HC of solar PV with active participation of DR program. The purpose of this article is to create a robust optimization model that present the best operational planning schedule and tracking operational status against consumers flexible demand while simultaneously determining the capacity of uncertain PV scenarios to achieve DS multi-objectives planning and operation of the DS.

Contribution

The main contributions of this manuscript are as follows:

  1. 1.

    A novel multi-objective operational planning problem for the distribution system operator is developed that integrates uncertain solar PV generation together with the effect of flexible node wise consumers demand.

  2. 2.

    The performance of the distribution system is conducted to simultaneously optimize hosting capacity, voltage deviation index and network losses respectively.

  3. 3.

    To analyse the efficacy of the developed optimization model, seven different cases are framed on the basis of different combinations of the objectives. In case 1, the focus of the operation planning problem is to maximize PV HC. In case 2, the considered objective is to minimize the network loss and in case 3, to minimize the VDev. Cases 4 to 7 are relevant to multi-objective considerations. Indeed, in case 4, the multi-objective problem is formulated to optimize the solar PV HC and the network losses for the distribution system. Case 5 optimizes PV HC and VDev, while case 6 is dealing with the multi-objective formulation to determine an optimal solution focusing on network losses and VDev. In case 7, the multi-objective framework in which solar PV HC, VDev and, network losses are simultaneously considered is suggested and investigated.

  4. 4.

    The MCSO is developed in this work to obtain the optimal scheduling of proposed energy system while considering imperative technical constraints such as DR, power balancing constraints, node voltage limit and HC of PV. The MCSO algorithm proficiency and robustness are assessed by comparing it to other widely used algorithms in literature.

The remaining section of the paper is organized as follows. “Problem formulation” provides the problem formulation. “Validation of MCSO” cover the MCSO for multi-objective operation problem. "Results discussion” includes a validation of MCSO. “Conclusion” presents the result section and Sect. 6 summarizes the conclusions.

Problem formulation

Optimal hosting capacity of solar photovoltaic in an active DS is challenging for distribution system operator due to their unpredictable nature. The distribution system engineers aim to fulfil several goals with a single practical solution that benefits all the stakeholders both technically and financially. The proposed work creates a multi-objective function that includes daily vital objectives for an active distribution system. The objective function involves maximize the hosting capacity of solar photovoltaic (HC), minimize the network loss (PL) and node voltage deviation (VDev).

Maximize the hosting capacity of solar photovoltaic (HCSP)

As the globe moves toward sustainable energy options, incorporating solar PV reduces greenhouse gas emissions and reliance on fossil fuels. Furthermore, the decreasing cost of solar technology and the potential for localized energy generation empower customers while improving energy security. Power systems that promote increased optimal solar integration can improve the operation of distribution system. Therefore, maximizing the hosting capacity of solar is considered as one of the objectives and is framed as follows:

$$HC = \max \sum\limits_{{m \in \Psi^{PV} }} {C_{m}^{PV} }$$
(1)

Minimize the network losses

The distribution system has a lower energy efficiency than the transmission system. This leads to a loss of annual utility revenue. So, minimizing energy losses in a distribution system is usually a top priority for distribution engineers. As a result, this is an objective function considered in the works that is modelled as 37:

$$P_{L} = \frac{1}{2}\sum\limits_{t = 1}^{24} {\left[ {\sum\limits_{m = 1}^{N} {\sum\limits_{n = 1}^{N} {\frac{1}{{X_{m,n} }}\left( {V_{m,t}^{2} + V_{n,t}^{2} - 2V_{m.t} V_{n,t} \cos (\delta_{n,t} - \delta_{m,t} )} \right)} } } \right]}$$
(2)

Minimize the node voltage deviation

The power utilities are reluctant to allow the network to have a low node voltage profile since it may effect the linked devices. As a result, utility engineers strive to keep voltage profiles within defined boundaries. Thus, this objective function is considered in this study and drafted as 37.

$$\min V_{Dev} = \sum\limits_{{t = \Psi^{T} }} {\sum\limits_{{m \in \Psi^{N} }} {\left| {V_{m.t}^{2} - V_{setpt}^{2} } \right|} }$$
(3)

Multi-objective for the distribution system operator

The overall multi-objective considered for the developed problem is the combination of network loss, node voltage deviation and PV hosting capacity and is framed as follow:

$$\min f = \omega_{1} P_{L} + \omega_{2} V_{Dev} - \omega_{3} H_{C}$$
(4)

Constraints

The constraints considered for the developed problem are presented from Eqs. (5) to (14) and are defined as follows:

Power balance

The Eqs. (5) and (6) are represents the real and reactive node power balance and are defined as follows 37:

$$P_{m,t}^{GRID} + P_{m,t}^{PV} + P_{m,t}^{BESS,dsch} - P_{m,t}^{BESS,ch} - P_{m,t}^{load} = \sum\limits_{{m \in \Psi^{N} }} {\sum\limits_{{n \in \Psi^{N} }} {V_{m,t} Y_{mn,t} V_{n,t} } } \cos (\phi_{mn,t} + \delta_{n,t} - \delta_{m,t} ) \quad \forall m, t$$
(5)
$$Q_{m,t}^{GRID} - Q_{m,t}^{load} = - \sum\limits_{{m \in \Psi^{N} }} {\sum\limits_{{n \in \Psi^{N} }} {V_{m,t} Y_{mn,t} V_{n,t} } } \sin (\phi_{mn,t} + \delta_{m,t} - \delta_{n,t} ) \quad \forall m, t$$
(6)

Voltage limit

The maximum and minimum node voltage deviation constraint is represented in Eq. (7) and is defined as follows 38 :

$$V_{m}^{\min } \le V_{m,t} \le V_{m}^{Max} \quad \forall m, t$$
(7)

Hosting capacity

The Eqs. (8) and (9) are represents the constrains related to the hosting capacity of solar photovoltaic and are framed as follows:

$$0 \le P_{n,t}^{PV} \le C_{n}^{PV} P_{n,t}^{PV,p,u,} , n \in \Psi^{PV}$$
(8)
$$\sum\limits_{{m \in \Psi^{PV} }} {\sum\limits_{{t \in \Psi^{T} }} {P_{m,t}^{PV} \ge \sigma \sum\limits_{{m \in \Psi^{PV} }} {\sum\limits_{{t \in \Psi^{T} }} {C_{m}^{PV} P_{m,t}^{PV,p.u.} } } } }$$
(9)

Demand response

Equations (10)–(14) represent DR constraints. The Eqs. (10) and (11) show how to determine active and reactive demand after the implementation of DR depending on flexibility and demand. Constraints (12) and (13) ensure that the active and reactive energy levels stay constant before and after DR. Constraint (14) indicates boundaries on demand flexibility.

$$P_{n.t}^{load,aDR} = P_{n,t}^{load,bDR} \kappa_{n,t} \quad \forall n, t$$
(10)
$$Q_{n.t}^{load,aDR} = Q_{n.t}^{load,bDR} \kappa_{n,t} \quad \forall n, t$$
(11)
$$\sum\limits_{{t \in \Psi^{T} }} {P_{m,t}^{load,aDR} } = \sum\limits_{{t \in \Psi^{T} }} {P_{m,t}^{load,bDR} } \quad \forall n, t$$
(12)
$$\sum\limits_{{t \in \Psi^{T} }} {Q_{m,t}^{load,aDR} } = \sum\limits_{{t \in \Psi^{T} }} {Q_{m,t}^{load,bDR} } \quad \forall n, t$$
(13)
$$1 - \kappa_{m,t}^{Max} \le \kappa_{m,t} \le 1 + \kappa_{m,t}^{Max} \quad \forall m, t$$
(14)
MCSO for multi objective operational problem

The large-scale, real-world, mixed-integer, non-linear operational issues of increasing the hosting capacity of photovoltaic for distribution system under consideration is challenging. Therefore, it is difficult to solve the same problem effectively by using conventional optimization methods. The MCSO is a novel metaheuristic technique used in this work. The crow search optimization algorithm (CSO) was inspired by the crafty strategies used by crows. The crucial element utilized in this optimization process is the crow tendency to store extra food in specific places and be able to collect it when needed. When a crow follows another crow in quest of hidden food, two phases are developed based on the possibility of awareness. In the first stage, assume that the followed crow is unaware that it is being followed, that will enable the follower to discover the ___location of the food source and consequently, the quest will begin just in the neighbourhood. When however, a crow detects that it is being followed by a different crow or a group of crows, its second phase begins, creating a scenario in which the search area is a public space. The starting number of crows and their ___location in each subsequent iteration are defined as follows for the purpose of initializing the optimization problem:

$$\chi^{ci,It} = \left[ {\chi_{1}^{ci,It} ,\chi_{2}^{ci,It} ,\chi_{3}^{ci,It} ,............\chi_{md}^{ci,It} } \right]$$
(15)

The variables of the of the considered DS operational planning problem are represented in Eq. (15) in which \(ci\) and \(md\) represent respectively, the crow number and the maximal dimension. The crow is saved at its best current position at a time, after exploiting or exploring a number of places and return into the scanning of areas for more food sources to supplement their existing food supply spots which were their previously best position. To enhance the search and improve the exploitation and exploration process the CSO was modified to achieve better optimization outcomes. The modification includes two parameters namely the potential of knowing (PK) and flight duration (LF). The modified crow search optimization (MCSO) starts with a random solutions group and searches memory to find the best solution in the available space, then produces a new scenario making use of PK. Two scenarios of the CSO are developed for the considered distribution system. In scenario one, a particular crow number \((f)\) is not aware that they are being pursued by the crow number \((e)\) and this result in crow \((e)\) attaining an area where the crow food source is stashed. During this scenario, the new crow number \((e)\) position can be represented by Eq. (16) as follows:

$$\chi^{f,It + 1} = \chi^{f,It} + Rand_{0}^{1} \times LF^{f,It} \times (M^{e,It} - \chi^{f,It} )$$
(16)

where, \(It\) is the crow population iteration, \(Rand_{0}^{1}\) is the random number generated between 0 and 1, \(LF^{f,It}\) is the flight duration of the crow population iteration and \(M^{e,It}\) is the best position of the crow population at a given iteration.

In step 2, the crow number \((f)\) senses that the crow number \((e)\) is approaching near them. In reaction, crow number \((f)\) employs cunning techniques to keep crow number \((e)\) from snatching their food by pretending and just patrolling around in the search area. The two scenarios are represented in Eq. (17) as follows:

$$\chi^{f,It + 1} = \left\{ {\begin{array}{*{20}l} {\chi^{f,It} + Rand_{0}^{1} \times LF^{f,It} \times \left( {M^{e,It} - \chi^{f,It} } \right)} \hfill & {if} \hfill & {Rand \ge PK^{f,It} } \hfill \\ {RP} \hfill & {} \hfill & {Otherwise} \hfill \\ \end{array} } \right.$$
(17)

where, \(RP\) is the random position generated for the crow.

Additionally, better performance of the CSO can be achieved through the application of the inertia weight reduction on the conventional CSO. This method contributes to the enhancement of the conventional CSO in both local and global exploration. The inertia weight \(\zeta\) undergoes non-linear variations from a maximum value \(\zeta_{mx}\) to minimum value \(\zeta_{mx}\) as shown in Eq. (18). A greater value of \(\zeta\) is acquired for the global optimal search capability of the crow population, while a smaller value of \(\zeta\) is produced for the local optimal search capability.

$$\zeta = \zeta_{mn} + \left( {0.5 + 0.5 \times \cos \left( {\frac{\pi \times It}{{It_{mx} }}} \right)} \right)^{\sigma } \times \left( {\zeta_{mx} - \zeta_{mn} } \right)$$
(18)

where, \(It_{mx}\) is the maximum number iteration and \(\sigma\) is a constant.

The comprehensive MCSO including the inertia weight is expressed by Eq. (19) as follow:

$$\chi^{f,It + 1} = \left\{ \begin{gathered} \zeta \times \chi^{f,It} + Rand_{0}^{1} \times LF^{f,It} \times \left( {M^{e,It} - \chi^{f,It} } \right)\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,if\,\,Rand \ge PK^{f,It} \hfill \\ RP\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,Otherwise \hfill \\ \end{gathered} \right.$$
(19)

To develop the multi-objective operational planning problem with MCSO, Figs. 1 and 2 represents the flow chart and the pseudocode as follows:

  1. a.

    Assign the input data. These data consist of distribution system line data, PV units upper and lower limits, hourly PV power forecasts, hourly load profiles, and optimization algorithm control factors.

  2. b.

    Initialize each individual and decision variable in accordance with Eq. (15) as previously mentioned.

  3. c.

    The forecasted solar PV system profiles are assigned to the particular ___location of the DS to determine the best possible operating schedule for the resources under consideration.

  4. d.

    The optimization variables comprise of the capacity of the photovoltaic system and the regulation of the variable load in response to uncertain real-time pricing.

  5. e.

    Equations (5) to (14) illustrate how to plan the variable load and solar systems as efficiently as possible while keeping the network nodal voltage stable using the data assigned to the distribution system.

  6. f.

    The node voltage and power loss of the distribution system is determined by using the Newton–Raphson load flow method.

  7. g.

    In order to provide a best set of solutions, carry out the two scenarios of the crow search optimization algorithm as previously stated in Eq. (17).

  8. h.

    Determine the framed multi objective of distribution system and execute the selection process for the best fitness and population for upcoming generation.

  9. i.

    Save the best population and fitness of the considered multi-objective operational planning problem of distribution system.

Fig. 1
figure 1

Operation flow chart of the considered multi-objective optimization problem.

Fig. 2
figure 2

Pseudocode for the MCSO.

Validation of MCSO

The proposed MCSO model is validated before being used to the developed operational planning model. This validation uses a single objective function to minimize network power losses and simulates optimal deployment of DGs in a 33-bus network. The mathematical nature for both the optimization problem are same and is mixed integer nonlinear and non-convex. Table 1 shows that the best fitness for MCSO is better and comparable than the basic crow search optimization (BCSO) and other established OA. To account for the randomness of these meta-heuristic procedures, 50 independent trials were conducted. Table 2 compares a few parameters of described approaches throughout 400 iterations and 50 population sizes. This table includes characteristics such as worst, mean, and highest fitness, as well as the standard deviation of fitness obtained after 50 runs and the time required to execute the program in a single run. Table 2 shows that the MCSO outperforms BCSO. Figure 3 shows the convergence characteristics of basic crow search optimization and MCSO for the value of best fitness in a single run. The computation time for MCSOA is less than the basic and standard deviation is also improved to 0.00210.

Table 1 Comparison of MCSO with some existing optimizations.
Table 2 Comparison of MCSO with BCSO.
Fig. 3
figure 3

Convergence Plot of MCSO and BCSO.

Results discussion

Seven distinct case studies are used to assess the effectiveness of the standard 33-bus distribution system planning and operation optimization model, and each case study is examined both with and without demand response. Investigating the effects of demand response on the hosting capacity of photovoltaic on the distribution system planning and operation problem involves taking into consideration different involvement levels of the consumers. The PV generation model used in the case studies has a rated illumination intensity of 1000 Wm–2, with corresponding form and scale indices of 1.8 and 5.5 respectively. A single-objective optimization model with maximizing solar PV HC, minimizing network losses and minimize node voltage deviation for DS is represented by case 1, case 2, and case 3 respectively. Case 4 represents the multi-objective optimization model that optimize the HC and network losses simultaneously, while case 5 considers HC optimization nodal voltage deviation. Furthermore, case 6 represents the multi-objective model that optimize network losses and node voltage deviation. The case 7 is developed to optimize all three conflicting objectives of the DS namely: maximize of HC of photovoltaic, minimize node voltage deviation and, minimize network losses simultaneously. In all the developed case studies, the suggested optimization is expressed as a mixed integer non-linear programming model.

Case 1: Single objective: maximize HC of PV for the distribution system.

Case 2: Single objective: minimize network losses.

Case 3: Single objective: minimize VDev.

Case 4: Multi-objective considering maximize HC and minimize network losses.

Case 5: Multi-objective considering maximize HC and minimize VDev.

Case 6: Multi-objective considering minimize network losses and minimize VDev.

Case 7: Multi-objective considering maximize HC of PV, minimize network losses and minimize VDev.

Table 3 presents the summary of consolidated results focusing on solar photovoltaic capacity (CapPPV1 & CapPPV2), on solar photovoltaic hosting capacity (HC), the amount of network losses (loss) and voltage deviation (VDev), particularly for cases 1, 2 and 3. Table 4 on the other hand presents similarly the consolidated results for analysis of cases 4,5,6 and 7 under the same consideration.

Table 3 Summary of cases 1, 2 and 3 single-objective optimization considering HC, network losses and VDev without and with DR consideration.
Table 4 Summary of cases 4, 5, 6 and 7 for multi-objective optimization considering combination of HC, network losses and VDev without and with DR consideration.

Case 1: Single objective: maximize HC of PV for the distribution system

The suggested model is examined in this case study with the objective of optimizing the hosting capacity of photovoltaic for distribution system. Table 3 presents the case study simulation results. With no DR strategy implemented, the optimal size of the photovoltaic is 2797.07 kW and it can be observed that the size increases by 21.64% to 3321.72, when successfully applying DR. This can be justified by the fact that power utilities can smooth demand peaks and valleys by providing incentives to customers to modify their electricity usage and shift the consumption toward the period of lower demands. The variable solar generation can be more effectively integrated into the grid due to this load control flexibility. When solar generation is high, utilities can indeed incentivize customers to utilize more electricity or store more energy resulting in the rise of the solar array effective hosting capacity. Case 1, alongside, reveals that the network losses rise from 1653.19 to 1913.215 kW representing a 15.73% rise when demand response is incorporated with the aim of expanding photovoltaic hosting capacity clearly showing that the earlier objective and the objective of minimizing network energy losses of a distribution system are indeed two conflicting objectives in nature. The deviation of the node voltage for this case remained however unchanged at 0.705 p.u. for the change that was observed in the HC.

Moreover, from the observation of the results displayed in Table 5, it can be confirmed that when DR is implemented, photovoltaic system 1 (PPV1) supplies more power to the distribution system between 11:00 and 14:00 as compared to the scenario without demand response. This shows that with demand response, photovoltaic resource is optimally utilized. It is important to note that at this period of time, the burden of responding to load demand lies on the photovoltaic capacity as the grid demand appears to be zero both without or with demand response. It shall also be noted that with the demand response implementation, the node voltage deviation had improved. This can be seen through the improvement from 0.9137 to 0.9248 p.u. of the minimum voltage at node 18 which is the weakest node of the scenario as per Table 6.

Table 5 PV capacity and grid demand for single-objective considering HC maximization without and with DR.
Table 6 Node voltage profile for single-objective considering maximizing HC with and without DR.

Case 2: Single-objective minimize network energy losses

The developed optimization model for this case is framed to minimize the network losses with and without the impact of demand response. From Table 3 consolidated results, the network energy losses are reduced by 15.58% with the incorporation of demand response. Moreover, the losses for this case are reduced to 37.42% as compared to case 1. It is also confirmed from this investigation results that when the minimization of network losses is considered as the main objective function, the hosting capacity of photovoltaic is decreased by 37.27% as compared to case 1. This establishes once more the conflicting nature of the hosting capacity and the network losses objective functions. From Table 7 results, it is evident that when the focus is the minimization of network losses for the distribution system, the demand taken from the grid is no longer zero as in case1 at the considered period meaning from 11:00 to 14:00 h. This is consequent to the reduction of the hosting capacity of photovoltaic compare to case 1 as stated earlier. From Table 3, it can be recorded that the voltage deviation in this case is reduced to 0.558 p.u. from 0. 719 p.u. implying that reduced losses result in a more consistent voltage profile throughout the network, with less variance across the nodes. Indeed, the nodes are less likely to encounter notable voltage dips or spikes as a result of local losses, which assist in lowering voltage deviations. Moreover, the analysis of hosting capacity is intended to avert situations in which an overabundance of solar integration could result in voltage violations or instability.

Table 7 PV capacity and grid demand for single-objective of minimizing network losses without and with DR.

It is appropriate to specify that unlike for the objective of loss reduction, hosting capacity does not automatically optimize or minimize voltage deviations. If solar energy is not properly controlled or if there are local restrictions affecting voltage levels, voltage variations may still happen. Table 8 displays the profile of the node voltage deviation under the objective of network losses minimization both with and without demand response implementation.

Table 8 Node voltage profile for single-objective of minimizing network losses without and with DR.

The results tabulated above show that minimum node voltage at node 18 improved from 0.9137 to 0.9323 p.u. due to the impact of demand response.

Case 3: Single objective minimize the VDev

Case 3 is developed with the goal of minimizing the node voltage deviation as the objective function. The result outcomes for this case are shown in Tables 3, 9 and 10. From Table 3, it shall be observed that without DR implementation, the node voltage deviation had decreased from 0.70553 p.u. in case 1 to 0.676222 p.u. in this case 3 since the model was developed to minimize the node voltage deviation. Focusing at case 3, the implementation of demand response leads to a further decrease from 0.6762 to 0.4981 p.u. Although the network losses in this case 3 were not targeted, it can be established that the losses have decreased from 1490.40 kWh without demand response to 1316.40 kWh when demand response is applied. Furthermore, the hosting capacity of photovoltaic has decreased in both scenarios with or without demand response when case 3 is compared to case 1.

Table 9 Capacity of PV and grid demand for single-objective of minimizing VDev without and with DR.
Table 10 Node voltage profile for single-objective of minimizing VDev without and with DR.

Table 9 results show the optimal utilisation of photovoltaic capacity with the minimization of node voltage deviation as the objective function. Both with or without demand response implementation, the solar PV capacity had increased to cater exclusively for the load demand between 11:00 and 14:00 h, period during which grid demand is null.

Finally from Table 10 displayed results, it is argued that the optimization framework under this case has achieved the targeted aim since the voltage at the weakest node, is improved from 0.9141 p.u to 0.9328 p.u when successfully implementing demand response.

Case 4: Multi-objective considering HC of PV and network losses

This case study aims to simultaneously optimize hosting capacity of photovoltaic and network losses in a multi-objective developed framework and results from Tables 3, 4, 11 and 12 are discussed. With reference to this case, the results from Table 4 show that although the hosting capacity had improved to 3321.72 kW after DR implementation from 2754.47 kW, the hosting capacity has slightly reduced globally in case 4 compared to case 1 by respectively 1.52% before DR and by 2.37% after DR implementation. However, this reduction did not affect load shifting as from Table 11 results the grid demand is zero between 11:00 and 14:00 h.

Table 11 PV capacity and grid demand for multi-objective optimization considering HC and network losses with and without DR.
Table 12 Node voltage profile with multi-objective considering HC and network losses without and with DR.

This shows that the solar PV increased capacity is fully catering for the load demand with the help of DR implementation under the considered objectives. Furthermore, Table 4 network losses results confirm that in case 4, losses reduced from 1487.71 kWh without DR down to 1311.43 kWh with DR implementation, situation quasi opposite to case 1 in which losses increased from no-DR to DR implementation.

Additionally, a staggering 31.45% loss reduction is observed from case 4 as compared to case 1 when both cases are implementing DR under their specific optimization frames. This shows the effectiveness of the developed multi-objective approach compared to a single objective approach. As per Table 4, and 12 results respectively, it is noted that the with the implementation of DR node voltage deviation is improved to 0.50136 p.u. in case 4 from 0.701 p.u. and the minimum voltage at node 18 has improved from 0.9248 p.u. in case 1 to 0.9327 p.u in case 4.

Case 5: Multi-objective considering simultaneously HC of PV and VDev

This case is a multi-objective formulation model developed with consideration of solar PV HC and node voltage deviation simultaneously. Results from Tables 3, 4, 13 and 14 are concerned with this case. It is seen from Table 4 results that the voltage deviation for this case is 0.6762 p.u. and 0.4982 p.u. without and with DR implementation.

Table 13 PV Capacity and grid demand for the multi-objective optimization model considering HC and VDev.
Table 14 Node voltage profile in multi-objective framework considering HC and VDev.

These values are similar to those recorded in the single objective case 3 when only voltage deviation was the targeted objective function suggesting that the multi-objective function considering simultaneously HC and node voltage deviation was ineffective for further reducing the value of the later. The capacity of photovoltaic for this case has also remained similar to those of cases 3 and 4 under specific similar considerations, and as per Table 13 results they still take care of the load demand between 11:00 and 14:00 h. as the grid demand is zero at this period of time,

As per results of Table 14, the voltages at node 18 are also similar to the ones in case 3 when the focus was only on minimizing the node voltage deviation.

Case 6: Multi-objective considering network losses and VDev

This case study simultaneously minimizes the network losses and voltage deviation in a multi-objective approach and results from Tables 3, 4, 15 and 16 are discussed. From Table 4 results, the network losses with and without the demand response are 1248.63 kWh and 1471.68 kWh respectively. Compared to those from case 1, the network losses in this case have reduced by respectively 11% and 34.76% under similar scenarios. Node voltage deviation minimization has also been achieved for this case at 0.5084 p.u. compared to 0.705 p.u. in case 1 both during DR implementation scenario.

Table 15 Capacity of PV with multi-objective considering network losses and VDev.
Table 16 Node voltage profile for multi-objective optimization considering network losses and VDev.

However, the sizes of photovoltaic capacity have reduced by 6.11% and 14.6% under both no-DR and DR implementation scenarios respectively. The above results strongly suggest that hosting capacity increase might be barely achieved when the multi-objective optimization problem formulation does not specifically consider hosting capacity as one of the objective function.

From Table 16 results, the voltages at node 18 are respectively 0.9141 p.u. and 0.9327 p.u. , figures that are the best minimum voltage out of all the cases.

Case 7: Multi-objective considering simultaneously maximize HC of solar PV, minimize VDev and minimize network losses

This case study simultaneously considers all the objectives namely the maximization of HC, and the minimization of both network losses and voltage deviation in a multi-objective framework. Discussions will refer to the results from Tables 3, 4, 17 and 18. Solar PV capacities as per Table 4 are 2754.83 kW and 3322.31 kW for no-DR and DR implementation scenarios respectively. It can be noted that this value is the second highest capacity obtained out of all the cases except in case 1 were the case focused on maximizing HC as a single objective.

Table 17 PV capacity and grid demand for multi-objective simultaneous consideration of HC, VDev and network losses.
Table 18 Mean and minimum voltage at nodes for the multi-objective optimization considering HC, VDev and network losses together without and with DR.

Additionally, as compared to case 1, in this current case the sizes of photovoltaic are reduced by a tiny 1.5% and 2.11% respectively during no-DR and DR scenarios. This suggests that HC of photovoltaic is not that much effected when all the objectives are being considered simultaneously.

From Table 17 results it can be observed that the grid demand is zero between 11:00 and 14:00 h proving that PV capacities are catering for the network full demand for that period of time. The network losses without and with demand response implementation are 1489.94 kWh and 1314.866 kWh respectively. It can be exerted from the results in Tables 3 and 4 that for this case, the network losses have reduced by 31.31% compared to case 1 but remain acceptably higher than the 1197.10 kWh network losses of case 2 in which the single objective was to minimize network losses. From Table 4, it can be established that node voltage has been kept at their minimal values which are 0.6762233 p.u and. 0.498274 p.u. respectively under no-DR and DR implementation scenarios. Table 18 show that the minimum node voltage at 18th node of the distribution system remains at minimum 0.9141 p.u and 0.932815066 p.u respectively for no-DR and DR implantation scenario.

Sensitivity analysis

In this case, the sensitivity analysis of all the considered objectives of distribution system is investigated with different participation rates of consumers. The Table 19 represents that the hosing capacity of photovoltaic is increases by 31% as the participation level of consumers for demand response is increasing from zero to 30%. It shows that with the optimal utilization of demand response increases the penetration level of photovoltaic in the distribution system. The network losses are also reduced as the demand response penetration level is increases. The reduction in network losses is 14.50% as the controllable demand for demand response is increase to 30%. The voltage deviation is also improved from 0.67622 to 0.431. Table 19 shows that with the successful implementation of demand response impacts on the improvement of optimization objectives of the distribution system. This is because variability is introduced into the grid by high solar power generation levels. However, the availability of sunlight is determined by weather conditions, which might change throughout the day. Another degree of unpredictability may come from demand response initiatives that motivate customers to modify their electricity usage. The successful modification in the load demand profile, combined with power availability increase the optimal utilization of solar generation.

Table 19 Sensitivity analysis for HC of PV, network losses and VDev with different participation rate of demand response.

Conclusion

The improved crow search optimization approach for distribution system operation and planning with demand response support is presented in this research work. The carefully shifting of controllable demand while maintaining the objectives and constraints of distribution is very crucial. Seven distinct case studies were used to evaluate the effectiveness of the suggested approach while taking technical conflicting in nature objectives into consideration. The suggested model is examined in each case study with and without demand response support to see that demand response plays an important role in increasing the HC of solar PV and hence improving electric distribution system planning and operation optimization models. The comprehensive analysis of the results indicates that, with the aid of demand response, the suggested distribution system planning and operating models optimize the integration of photovoltaic systems by maximizing the hosting capacity while minimizing the network losses and the voltage deviation for the benefits of both utilities and consumers. Modified crow search optimization achieves fast convergence and better robustness with sensitivities leading to superior outcomes.

In the future work, uncertainty of multiple renewable energy sources such as wind and solar generation, node wise electricity demand and electricity tariff will be considered for the multi-objective operational planning problem of distribution system.