Optimizing Adaptive Disturbance Rejection Control Models Using the Chimp Optimization Algorithm for Ships' Hybrid Renewable Energy Systems

Hybrid renewable energy systems are becoming widely prevalent in warships due to their reliability and acceptability. However, the uncertainty caused by using renewable energy resources is one of the primary challenges. Therefore, this paper investigates the implementation of a dynamic voltage restorer (DVR) with a new control strategy in a hybrid solar power generation system, including photovoltaic (PV) panels, diesel generators, battery storage, and conventional and sensitive loads. Furthermore, a new metaheuristic-based active disturbance rejection control (ADRC) strategy for fast and accurate DVR control is proposed. In this regard, a novel chimp optimization algorithm (ChOA)-based (i.e., ChOA-ADRC) strategy is suggested to increase the stability and robustness of the aforementioned hybrid system. The ADRC controller's parameters are updated in real-time using the ChOA approach as an automatic tuning mechanism. In order to evaluate the performance of the proposed control strategy, the model is evaluated under two and three-phase fault case scenarios. Also, a comparison with the conventional PI controller has been performed to further evaluate the proposed method. Simulation findings reveal the suggested control strategy's remarkable effectiveness in correcting fault-caused voltage drop and maintaining sensitive load voltage. Additionally, the results show that ChOA-ADRC presents a better dynamic response compared to conventional control strategies and increases the reliability of the hybrid power generation system.


Introduction
In recent years, the reliability and availability of various power generation systems in ships have been widely investigated [1][2][3]. Te greenhouse gases produced by ships increased [4]. Terefore, the international convention covering the prevention of pollution of the marine environment [5] has, in recent years taken measures aimed at reducing ships' greenhouse gas emissions [6,7]. Integrating renewable energy sources is a solution to reduce environmental pollution and increase energy efciency in conventional ship systems using only diesel generationbased systems [8,9]. In this regard, a photovoltaic (PV)based energy system has been used in several cases in recent years [10,11].
Nevertheless, using a high amount of solar energy increases investment and reduces power system stability due to the uncertain nature of solar power [12][13][14]. Furthermore, numerous studies [15][16][17][18][19][20][21] showed that implementing an energy storage system (ESS) can be a very efective solution for increasing power system reliability and power quality, and it paves the way for increasing the penetration of renewable energy sources. Furthermore, the performance of electronic power switches has increased in capacitive storage, which has high reliability in heavy currents and high voltages [22,23]. A ship power system equipped with PV alongside an ESS system can be considered a moving standalone microgrid.
In literature, several studies represented the power studies of hybrid power systems in ships [24,25]. In [26], a battery system operation is investigated alongside a diesel generator for a ship crane. In [27], a battery system is studied to maximize fuel savings in electric power system-based ships. Several control strategies have been evaluated in [26] to increase battery life and reduce fuel consumption. A dynamic voltage restorer (DVR) eliminates a considerable portion of voltage sags and lowers the risk of load tripping and power loss during sags. Terefore, load stability can be guaranteed and reliability issues can be eliminated [28]. Tis paper uses a DVR for voltage compensation of sensitive loads in a hybrid solar energy generation system implemented on a ship and a control strategy to improve its dynamic performance.
Since the controller has always had trouble dealing with uncertainties and outside disturbances, sophisticated control techniques that can provide quick adaptivity and high robustness should be used. Numerous studies and applications of the disturbance/uncertainty estimation and attenuation (DUEA) methodologies have been conducted [29].
Te ADRC, one of the DUEA approaches frst introduced by Han [30] in 1995, has emerged as a reliable competitor to the traditional PID control approach. ADRC is a model-free error-based control technique. Te twodegrees-freedom control architecture is extremely reliable and adaptable, but it can be challenging to fne-tune the controller's parameters, particularly in challenging environments like ships. It is necessary to tune and adjust the parameters of the ADRC controller in real-time in order to address the external disturbance and volatility concerns. Generally speaking, it has been a research area to fgure out how to get a set of model parameters that can satisfy a particular performance index. A set of adjusted parameters can lead to improved control performance, which has signifcant implications for industrial manufacturing in terms of both economic consequences and environmental advantages. Te performance and robustness of the control system can be improved with a properly designed and adjusted ADRC.
However, several parameters in the conceptual framework of the original ADRC need to be modifed, and the computational complexity will rise as the proportional order of the control system rises. While there are many parameters, their interactions with one another add another level of complexity. Gao [31] suggested a bandwidth parameterization approach and LADRC with scaling. Although LADRC's parameter count is efectively down to two, the interaction efect between the parameters is still present and even gets more pronounced. Finding the ideal settings analytically in order to obtain optimum control performance is, therefore, fairly challenging. Additionally, when LADRC is used in industrial applications with time delays, the representative function of the system is a pseudopolynomial, making it much more difcult to fnd an analytical solution. Although it is simple to identify a collection of parameters that makes the control method stable, determining the best parameters for system performance has always been a challenge that necessitates quick research. Alternatively, the process of determining optimal control system settings can be viewed as an optimization model with the system performance metric as the ftness function [32]. Te nonconvex nature of the optimization issue created by this method makes it challenging to solve using traditional optimization techniques, which motivates researchers to develop novel approaches to such problems.
Researchers have been focusing more and more on metaheuristic algorithms to tackle engineering and practical challenges in recent years due to the advancement of digital computers. However, a few research studies apply metaheuristic algorithms for tuning the ADRC's parameters. For example, reference [33] used the particle swarm optimizer (PSO) to tune the ADRC's parameters. Although this approach was fast, it sufered from a low level of accuracy. Reference [34] utilized an adaptive diferential ant-lion optimizer to optimize the parameter of ADRC. Tis approach presented high performance, but its main defciency was high complexity. Te multiobjective chimp optimization algorithm (ChOA) method is a promising way of fne-tuning the parameters since it uses less computation time to produce a stable and accurate solution. Our motivations for choosing ChOA [35] as an optimizer are as follows: (i) No Free Lunch Teorem (NFL) [36]: Tis theorem states that no metaheuristic algorithm can solve all optimization problems. Testing is also the only way to fnd out the merits of a particular algorithm (in this case: ChOA) in solving a particular problem.
Since the ChOA has not yet been applied to the ADRC's parameter tuning, we utilize this algorithm to solve the ADRC's parameter tuning problem for the frst time. (ii) Te merit of ChOA: ChOA has successfully improved and applied several optimization problems in various felds of study, including sonar dataset classifcation [37,38], Covid19 diagnosis [39,40], PV cell parameters identifcation [41], structure optimization [42], chemical engineering [43], industrial process optimization [44], binary and discrete optimization [45], node clustering and multihop routing protocol optimization [46], diagnosing Parkinson's disease [47], constraint multimodal engineering optimization [48], etc. Te remainder of the paper is organized as follows: Section 2 presents the hybrid ship power system. Section 3 represents the dynamic voltage restorer's concept. Afterward, Section 4 introduces the ADRC Control of DVR and the proposed ChOA-ADRC. Section 5 represents the simulation results and discussions. Finally, the conclusion will be presented in Section 6.

Hybrid Ship Power System
In huge tanker ships, the propellers are powered by steam engines. Te power system that supplies the electric loads of the ship is independent of these steam engines. Te main diference between the land-isolated power system and the power system on the ship is the necessity of ensuring zero loss of load probability (LOLP) in the landisolated power system. In contrast, the LOLP shall equal zero 2 Computational Intelligence and Neuroscience in a ship's power system. Terefore, implementing equipment to ensure a continuous power supply with high power quality is necessary for the ship's critical and sensitive loads. Te ship's hybrid system consists of PV panels and their inverter, a diesel generator, and an ESS to store extra energy. As the power system in a ship operates as a stand-alone system all the time, the diesel generator rating must be at least equal to the sum of all loads together. In addition, DVR equipment with the proposed control strategy is implemented in the system to ensure a continuous supply of sensitive load under fault conditions. Figure 1 illustrates the ship's hybrid solar energy generation system diagram.

Dynamic Voltage Restorer
Te DVR uses a voltage source inverter (VSI) which inverts the DC voltage of the capacitor dc-link into an AC voltage. Ten, the voltage is injected into the system using three single-phase series transformers. Figure 2 illustrates the dynamic voltage restorer structure with an adaptive ADRC controller.
Te voltages and currents in the d-q synchronous reference frame can be expressed as where v dq is the output voltage of the inverter on d-q axis, v cdq is the flter capacitor on d-q axis, i dq is the output current of the inverter on d-q axis, I ldq is the load current on d-q axis, and w is the angular frequency of the source. Te state-space model can be expressed as where x in the above equation is the state variables matrix, the matrix u is the input variable matrix, and d is the disturbance variable, and they all can be expressed as In DVR, the A, B, C, and H can be expressed as .

ADRC Control of DVR
Te ADRC estimates and compensates for various external and internal disturbances in real-time. Te control strategy is based on using an extended state observer (ESO). Tis paper develops the ChOA-ADRC to reduce the model complexity.

Adaptive Active Disturbance Rejection.
Considering u (t) and y (t) as the input and output signals of a nonlinear process time variable with m dimensions, we can write the following equation: Computational Intelligence and Neuroscience 3 represents the nonlinear unknown dynamic of the system. Te d ext (t) and b 0 represent the external disturbances, respectively. Tese external disturbances are known system parameters.
Considering all afecting disturbances of the system can be controlled together as d (t) � d int (t) + d ext (t), the system can be presented by Te adaptive ADRC control strategy suggests that rather than fnding a model of d (t), f (t) can be estimated and then canceled using a suitable control signal in real-time to reduce the control strategy's dependence on an accurate system modeling.
Tus, the canonical form of linear ADRC can be expressed as   Computational Intelligence and Neuroscience

ESO Design.
Te utilized Luenberger observer (ESO) estimates f (t) and then compensates for the efect of disturbances that afect the system. Tus, a vector that includes states can be considered with an extended state that represents the system disturbances as a whole as Te system can be represented as Te ESO can be designed by where the L is the gain of the observer model, and x is the predicted state-space variables, and for DVR, they can be expressed as x � x 1 x 2 x 3 x 4 x 5 Te diference between x and x can be expressed as Tus, the error can be estimated as where To make sure of error estimation convergence, the gains vector L in the ESO should be chosen in a way that (A − LC) forms a Hurwitz matrix. It means that the poles of (A − LC) matrix polynomial characteristic (PESO(s) of (A − LC)) must have negative real parts.
Te necessary observer gains can be calculated for the location of the common pole through the polynomial characteristics. Figure 3 illustrates the adaptive ADRC-based control strategy. Computational Intelligence and Neuroscience Figure 3 illustrates the adaptive ADRC-based control strategy.

Implementation of ChOA-ADRC.
Te ChOA approach is used to optimize the parameters so that the transient response meets the desired standards of least overshoot and minimum settling time. Each chimp in this method keeps track of the positions in the problem area that correspond to the optimum solution, which it has so far found.
When ChOA frst begins, chimpanzees are generated at random. Te chimpanzees are divided into four groups, each given a diferent mathematical model. It has been suggested that equation (16) can be used to describe a predator's urge to pursue and follow its prey [35]: Where k stands for the number of iterations, POS prey is the best solution so far, POS chimp is the best position for the chimpanzee, and b, d, and ch are the coefcients' vectors. Additionally, r 1 and r 2 are randomly chosen values in the range (0, 1], and N is a vector that is nonlinearly decreased from 2.5 to 0 during the iterations; ch is a vector created from a number of chaotic mappings. In the reference [35], these maps are described in detail. Because it is unknown where the frst prey was positioned in the environment, the best chimpanzees are utilized as prey to quantitatively reproduce chimp behavior. As a result, other agents will be forced to relocate in a manner proportional to the new locations of the four top chimpanzees, which ChOA will maintain, as defned by equations (17) and (18) [35]. where Equation (19) shows that chaotic values can be used to imitate typical ChOA social incentive behavior.
where λ m stands for a random number between (0, 1]. Te result of utilizing such a condensed model for learning could be an early or slow convergence rate.

Fitness Function and Searching Agents.
Te operational integration of controller error e (t) is used as the ftness function in the majority of existing standards, including the Integral of Time multiplied by absolute error (ITAE) and integral of time multiplied by square error (ISTE), which have good technical application value. However, the controller parameters might be set rather high. Moreover, it takes a lot of work and efort to derive the mathematical equation. Te system's overshoot and settling time amount are included as optimum objectives in the ftness function in order to enhance the system's dynamic behavior.
where the system's overshoot quantity and settling time, respectively, are λ and φ. Te diference between the actual and desired values is expressed as e (t). Tis research describes the ChOA-ADRC controller, which uses the ChOA technique to fnd the ADRC controller's ideal controller parameters. Te goal is to build a real-time confguration that uses ChOA to enhance ADRC. According to equation (11), each chimp has 12 individuals.

Simulation Results
In this part, the simulation results of implementing DVR with an adaptive ChOA-ADRC control strategy are presented and evaluated for application in the ship's hybrid solar energy generation system using MATLAB/Simulink 2021a software.
A two-phase and a three-phase fault are simulated for a duration of 0.3 s to evaluate the dynamic performance of DVR with the suggested control strategy. Figure 4 illustrates To ensure the DVR's proper performance in case of a faulty occurrence, the minimum rating of the DVR should be equal to the load rating.
Te DVR with the proposed control strategy detects the voltage sag at the sensitive load's terminals by comparing the feedback voltage with the reference p.u.
voltage. Te controller produces a suitable reference voltage to be used by the inverter to compensate for the voltage sag. In Figure 5, the injected voltage by the DVR to compensate for the voltage sag of two faulty phases is illustrated at sensitive load terminals. Te injected voltage of the DVR rises as the voltage drops to compensate for the voltage sag at 0.4 s and continues until the fault clears out. Figure 6 illustrates the sensitive load voltage as the hybrid generation system is under a two-phase fault from 0.4 s to 0.7 s. According to Figure 6, the voltage sag is clearly Similar to the two-phase fault scenario, the injected voltage by DVR for a three-phase fault is illustrated in Figure 8 to compensate for the voltage sag of three faulty phases at sensitive load terminals. Te injected voltage of DVR rises as the voltage drops to compensate for the voltage sag at 0.4 s and continues till the fault clears out.  Figure 9 illustrates the sensitive load voltage as the hybrid generation system is under a three-phase fault from 0.4 s to 0.7 s. According to Figure 6, the voltage sag is clearly compensated completely, and the sensitive load voltage almost remains one p.u. during the fault.
For a better illustration of DVR performance under system fault, the sensitive load voltage, the injected voltage by DVR, and the PCC voltage of the hybrid system under fault are illustrated for the 3 phase amplitude and r.m.s of the voltages in Figures 10 and 11, respectively. As the PCC voltage drops at 0.4 s, the DVR activates rapidly, and the adaptive ChOA-ADRC controller produces the proper reference voltage to be made by the DRV's inverter in order to compensate for the voltage sag. Tus, the voltage at sensitive load terminals remains almost intact, and no voltage drop is sensed. As the fault clears out, the injected voltage by DVR decreases to make a smooth transient for the sensitive load. Tis illustrates the efectiveness of the proposed control strategy of DVR for maintaining the sensitive load voltage under fault.
For more investigation of the proposed control strategy based on the novel ChOA-ADRC, a comparison is conducted with the conventional PI controller-based strategy. Figure 12 shows the dynamic performance comparison of the proposed ChOA-ADRC control strategy and PI-based controller. Te response time for the proposed ChOA-ADRC control strategy to reach steady-state after a fault is less than 0.05 s, and for the PI-based controller, it is 0.15 s. Clearly, the proposed control strategy presents a better dynamic response in terms of maintaining the sensitive load' r.m.s voltage at one p.u. Compared to conventional PI controllers.

Conclusion
Tis paper presented a novel control strategy based on ChOA-ADRC for fast and accurate control of DVR equipment in a war ship hybrid solar energy generation system, including PV panels, diesel generators, and normal and emergency loads. In order to evaluate the performance of the proposed control strategy, a simulation was carried out in MATLAB/Simulink 2021a software, and the system model was evaluated under fault conditions. Te simulation results indicated the efectiveness of the proposed control strategy in compensating the voltage sag due to the fault in the system and maintaining the voltage of a sensitive load at one p.u. In addition, a comparison was performed for a more thorough evaluation of the proposed method with the conventional PI controller, and the results demonstrated a better dynamic response to the proposed control strategy. In terms of cost, the proposed controller is almost as expensive as the PI controller for inverters with programmable microcontrollers.
Furthermore, the results showed a better dynamic response to the proposed control strategy of the combined energy production system in the warship, which increased the reliability and availability of more equipment and sensitive loads in the warship and the defense factor.
Utilizing other novel metaheuristic algorithms, including the arithmetic optimization algorithm, marine predator algorithm, and salp swarm optimizer, can be considered one of the future research directions. Incorporating novel techniques such as the chaotic map, levy fight, and Nelder-Mead simplex approach into ChOA can be considered another research direction.

Data Availability
Access to data is restricted.

Additional Points
Simulation fle is available. Models can be made available upon request.

Conflicts of Interest
Te authors declare that there are no conficts of interest.