E ﬀ ective Management System for Solar PV Using Real-Time Data with Hybrid Energy Storage System

: This paper proposes an e ﬀ ective management system for stand-alone solar photovoltaic (PV) using real-time data with Hybrid Energy Storage System (HESS). The abrupt movement of ﬂeeting clouds often gives rise to PV power output ﬂuctuations which in turn a ﬀ ect the power quality and system stability due to scattered solar radiation reception. These variations can limit through a ramp-limit controller and employing a DC link controller to maintain the stable DC link voltage. The battery is used in the system for continuous power application and the sudden variations in charging and discharging of battery power can create stress on the battery. These sudden changes in a battery will be removed by the super-capacitor (SC) unit and achieves a fast DC link voltage regulation. Hence, the high energy and power density devices such as battery and SC units will deliver more stable power into the system. The control scheme is tested in Matlab / Simulink and validated by Real-Time Hardware-in-Loop (HIL) simulator using periodic one-minute data for one year from the solar PV power plant from real-time.


Introduction
Installations of solar photovoltaic (PV) and wind are steadily increasing due to exhaustion of fossil fuels, its price variation, instability in trading of coal/crude oil, and issues of greenhouse gases [1]. Utilizing more renewable energy sources (RES) minimizes the dependency on imported fossil fuels and creates sustainable energy production. However, RES is highly intermittent and fluctuating in nature. Particularly, the PV system is highly reliant on climatic or geometrical conditions and output power severely oscillates during bad climatic situations. The higher fluctuations in the injected power will seriously affect the power system stability. Hence, the energy storage system (ESS) is an essential element to mitigate these variations and improves the system power quality [2,3].
Generally, the ESSs are a battery, super-capacitor (SC), flywheel, and superconducting magnetic energy storage (SMES), etc. The battery is a continuous power application device and usage is popularly increasing worldwide. The need for high power and energy demand can be achieved by combining battery and SC devices called as HESS and it is interfaced with a DC link employing bidirectional converters, which allows power into and from the ESS devices [4,5]. The importance of these ESSs can perform a significant role in the context of microgrid (µG) systems.
Generally, the group of sources associated together to form a µG such as distributed energy sources, storage systems, and loads. µGs are categorized as DC, AC, and hybrid µGs. The hybrid µG is the combination of AC and DC µG. The DC µG is more preferred over the AC µG. It has various benefits such as better efficacy, less control complexity, and low power loss due to fewer conversion stages [6]. The benefit of a DC power system is the lack of reactive power over an AC power system. Reactive power leads to a loss of power in the lines, over-size of the inverters and the DC bus capacitors, and decrease in the line power transmissions' ability that affects AC power systems' efficiency and their reliability. Nevertheless, only active power in the lines is transmitted in DC µGs that reduce the sizing of wire and DC bus capacitors. The DC µGs are thus more efficient and reliable than AC µGs. In the meantime, it will reduce costs further by eliminating the power conversion stages for complete converter sources and variable-speed drives. Harmonic nonlinear load currents increase energy loss in lines, transformers, and converters, thus reducing transformers and converters efficiency in AC µGs. In addition, nonlinear loads affect the control system and, in some cases, also cause instability. Due to the high permeability of nonlinear loads in power distribution systems, DC µGs are again preferred to AC µG from the point of view of performance, reliability, and stability. The regulation of DC µGs is very simple compared to AC µGs as the power is regulated by the DC bus voltage and the angular and frequency stability control complexity does not show up in DC µGs. Thus, DC µG appears to be efficient, reliable, and economical [7]. The µGs are performed in two modes such as grid-connected and stand-alone mode. In stand-alone mode, the power balance is achieved by the ESS. During grid-connected operation, the grid can provide the balance power as the number of sources is correlated to sufficient demand of the load [8].
A typical DC µG is shown in Figure 1. In this, the RESs and ESSs are linked to the DC bus through interfacing converters. The ESSs in this system can be used to limit the PV power variations as well as maintain power stability. These converters work in parallel and there is a necessity to sustain the power balance at the DC link [9]. The instantaneous power balance is obtained from the following equation, where, pin(t) = pres(t) + pess(t) and pout(t) = pdcl(t), pres(t) is the power from RES, pdcl(t) power absorbed by the DC link capacitor, and pess(t) is the power from ESS. The role of these converters is to balance the voltage level and power levels of different RESs and ESSs scattered at different locations [10]. The major problems associated with parallel operation The role of these converters is to balance the voltage level and power levels of different RESs and ESSs scattered at different locations [10]. The major problems associated with parallel operation of DC-DC converters are proper power-sharing, maximum power tracking for RESs, power loss in the converters, managing energy storage devices, voltage regulation, etc. [11]. µGs have a common advantage to collaborate and exchange control locally inside the given system. Therefore, it is important to devise a strategy that empowers such local energy transfer between µGs that need energy and µGs that have an excess of energy to move [12,13]. However, such collaboration raises numerous new challenges. Various power-sharing strategies in the literature, addressing the above-mentioned issues are discussed below [14][15][16][17][18][19][20][21].
In [14], a DC power source hybrid battery-SC based low-complexity control was proposed. The advantage of this scheme is less control complexity and being easier to implement. In [15], ramp-limit control is applied to limit the changes in power with the electric double-layer capacitor, but it does not allow continuous power application in the system. A control scheme is proposed in [16] for maintaining the power balance at DC µG in renewable and load variations as well. However, this strategy creates stress on the battery due to sudden changes in battery currents. The high-power density devices such as SCs are employed in [17] to protect the batteries from sudden changes in load or sources. In [18] the µG with the seamless transition between various µG operating modes has been proposed based on the adaptive battery control strategy. In the µG, the battery is modeled as a circuit equivalent instead of a constant voltage source for effective charging and discharging of the battery. In the control strategy that causes a DC link voltage to deviate from the reference value for sudden load variations, however, the batteries' slow response is not taken into consideration. In [19], an energy management system with storage describes the stored energy created by DG units or during the time where power from the network is most economical. A central EMS for DC µG was proposed in [20]. The advantage of this control is to decrease the effect of the high penetration of sustainable power source on the utility lattice and smoothen the impact of µG control change on power quality dependent on central EMS for DC µG scale framework. In [21,22], a normal boost converter is employed in renewable integrated systems. However, it has the drawback of switching losses, high current ripples, and minimizes the efficacy of the system. In [23,24], the high efficacy interleaved boost converter (IBC) approach for DC µG was proposed. The IBC increases the performance of the system, and will effectively minimize the input and output ripples and increases the efficacy of the system.
Taking the above-mentioned advantages and disadvantages of various power-sharing strategies into consideration, the aimed control scheme purpose is to (i) minimize the PV power fluctuations with ramp-limit control, (ii) the IBC will remove the current ripples and increases the efficacy of the overall system, (iii) reduces the battery unit current stress and improves the battery life span, (iv) maintains the power balance and steady DC link voltage at the DC µG. Hence, the improved control scheme achieves fast-acting DC link voltage to ensure better performance in the renewable integrated system.
In this paper, the objective function of the proposed method is discussed in Section 2. In Section 3, the proposed system structure and control configuration is explained. The Hardware-in-Loop (HIL) implementation is discussed in Section 4. Section 5 presents the results and discussion, and Section 6 is the conclusion. Figure 2 represents the normal solar variability. The variation is not severe during the normal solar variability. During the worst fluctuation case, the fluctuation is severe due to the fast movement of passing clouds. In the worst fluctuation case, 70% to 90% of power changes were observed based on Figure 3. In Figures 2 and 3, periodic 1-min data during a day from 6 a.m. to 6 p.m. were presented to observe the fluctuations in output PV power.

Ramp-Limit Control
The ramp-limit controller smoothens the PV output variations [25] and the output PV power is limited by a constant limiter value (Plimit). The rate of rise or fall should not be more than the maximum allowable ramp-limit, called the ramp-limit of RES. The maximum allowable ramp-limit or calculated time-step (tcal) is 10%/min. The charge/discharge characteristics of a battery using ramp-limit control are shown in Figure 4. The battery-1 power (Pb1) is the difference between PV power (Ppv) and smoothed power (Ps). Then, the charge/discharge of the battery is regulated by the difference measured with the existing value of PV output. If the battery power is negative, it will charge. Conversely, if the battery power is positive, it discharges.

Ramp-Limit Control
The ramp-limit controller smoothens the PV output variations [25] and the output PV power is limited by a constant limiter value (Plimit). The rate of rise or fall should not be more than the maximum allowable ramp-limit, called the ramp-limit of RES. The maximum allowable ramp-limit or calculated time-step (tcal) is 10%/min. The charge/discharge characteristics of a battery using ramp-limit control are shown in Figure 4. The battery-1 power (Pb1) is the difference between PV power (Ppv) and smoothed power (Ps). Then, the charge/discharge of the battery is regulated by the difference measured with the existing value of PV output. If the battery power is negative, it will charge. Conversely, if the battery power is positive, it discharges.

Ramp-Limit Control
The ramp-limit controller smoothens the PV output variations [25] and the output PV power is limited by a constant limiter value (P limit ). The rate of rise or fall should not be more than the maximum allowable ramp-limit, called the ramp-limit of RES. The maximum allowable ramp-limit or calculated time-step (t cal ) is 10%/min. The charge/discharge characteristics of a battery using ramp-limit control are shown in Figure 4. The battery-1 power (P b1 ) is the difference between PV power (P pv ) and smoothed power (P s ). Then, the charge/discharge of the battery is regulated by the difference measured with the existing value of PV output. If the battery power is negative, it will charge. Conversely, if the battery power is positive, it discharges.

Interleaved Boost Converter
The IBC is shown in Figure 5. The IBC is interleaved by two structures and it performs two operations in tandem at a time. Hence, it is named as an interleaved converter. The IBC reduces the conduction losses and increases the conversion ratio. Thus, the efficacy of the system can be increased by saving energy [24]. The relation among output to input voltage is given by, where Vo and Vin are the output and input voltages and D is the duty ratio. The inductor current is taken by the following relation, where Io is the output current and IL is the inductor current. The peak-peak inductor ripple is given by, where FSW is the switching frequency and, L is the inductor.
The minimum ripple current occurs at 50% of the duty ratio [9].

Interleaved Boost Converter
The IBC is shown in Figure 5. The IBC is interleaved by two structures and it performs two operations in tandem at a time. Hence, it is named as an interleaved converter. The IBC reduces the conduction losses and increases the conversion ratio. Thus, the efficacy of the system can be increased by saving energy [24].

Interleaved Boost Converter
The IBC is shown in Figure 5. The IBC is interleaved by two structures and it performs two operations in tandem at a time. Hence, it is named as an interleaved converter. The IBC reduces the conduction losses and increases the conversion ratio. Thus, the efficacy of the system can be increased by saving energy [24]. The relation among output to input voltage is given by, where Vo and Vin are the output and input voltages and D is the duty ratio. The inductor current is taken by the following relation, where Io is the output current and IL is the inductor current. The peak-peak inductor ripple is given by, where FSW is the switching frequency and, L is the inductor.
The minimum ripple current occurs at 50% of the duty ratio [9].
If D is > 0.5, The relation among output to input voltage is given by, where V o and V in are the output and input voltages and D is the duty ratio. The inductor current is taken by the following relation, where I o is the output current and I L is the inductor current. The peak-peak inductor ripple is given by, where F SW is the switching frequency and, L is the inductor. The minimum ripple current occurs at 50% of the duty ratio [9]. If D is ≤ 0.5, The value of inductor and capacitor is taken by the following equations, where C is the capacitance, R is the load resistance, and ∆V o is the change in output voltage. A traditional boost converter has several merits, such as simple design, continual input current, and provides one polarity output voltage. However, the high efficacy and voltage gain are difficult to achieve by the boost converter. Thus, the IBC control helps to enhance the voltage gain, reduces the current ripples in the system, and switch voltage stress. However, the current sharing amongst the parallel paths can be taken into account by the IBC. Therefore, high voltage and high efficacy of the system can be achieved by the IBC strategy [26]. Thus, the IBC can serve as conquering input and output current ripples with smaller duty ratio and conduction loss.

Structure and Control Configuration of the Proposed System
The proposed µG structure is shown in Figure 6. The structure consists of a PV source, two batteries, and a SC associated with an IBC and bidirectional converters to the DC link, and also a DC load linked at the DC link terminals. These converters are operated in current-controlled mode. A voltage controller is used to sustain the reference voltage across the load at the DC link. The generation of reference currents for battery and SC converters is described below.
Appl. Sci. 2019, 9, x FOR PEER REVIEW 6 of 15 The value of inductor and capacitor is taken by the following equations, where C is the capacitance, R is the load resistance, and ΔVo is the change in output voltage. A traditional boost converter has several merits, such as simple design, continual input current, and provides one polarity output voltage. However, the high efficacy and voltage gain are difficult to achieve by the boost converter. Thus, the IBC control helps to enhance the voltage gain, reduces the current ripples in the system, and switch voltage stress. However, the current sharing amongst the parallel paths can be taken into account by the IBC. Therefore, high voltage and high efficacy of the system can be achieved by the IBC strategy [26]. Thus, the IBC can serve as conquering input and output current ripples with smaller duty ratio and conduction loss.

Structure and Control Configuration of the Proposed System
The proposed µG structure is shown in Figure 6. The structure consists of a PV source, two batteries, and a SC associated with an IBC and bidirectional converters to the DC link, and also a DC load linked at the DC link terminals. These converters are operated in current-controlled mode. A voltage controller is used to sustain the reference voltage across the load at the DC link. The generation of reference currents for battery and SC converters is described below.

Reference Current Generation
Case (i): the generation of P b1 is based on the power management algorithm (PMA) shown in Figure 7. The variables P s(t−1) , P b,r , SOC t , SOC max , SOC min in PMA are the P s at previous t cal , battery rated power, battery state of charge (SOC), maximum and minimum SOC, respectively.

Reference Current Generation
Case (i): the generation of Pb1 is based on the power management algorithm (PMA) shown in Figure 7. The variables Ps(t−1), Pb,r, SOCt, SOCmax, SOCmin in PMA are the Ps at previous tcal, battery rated power, battery state of charge (SOC), maximum and minimum SOC, respectively. The ramp-limit control will work only if the solar power fluctuates more than the threshold limits. Thus, the battery does not operate, and the P runs remain same as the preceding value. When the variation rate is severe, the Ps is updated to consider limit rate, and the process continues to the next step. The maximum and minimum of SOC limits vary between 0.9 and 0.1. The battery b1 does not operate when the SOC limitation is violated as a given value. When the rated power of b1 limitation is violated, the battery b1 charge/discharge power is equal to the rated power. Hence, the Pb1 is calculated, and the value is transferred to the PMA. The generation of reference power for The ramp-limit control will work only if the solar power fluctuates more than the threshold limits. Thus, the battery does not operate, and the P runs remain same as the preceding value. When the variation rate is severe, the P s is updated to consider limit rate, and the process continues to the next step. The maximum and minimum of SOC limits vary between 0.9 and 0.1. The battery b1 does not Appl. Sci. 2020, 10, 1108 8 of 15 operate when the SOC limitation is violated as a given value. When the rated power of b1 limitation is violated, the battery b1 charge/discharge power is equal to the rated power. Hence, the P b1 is calculated, and the value is transferred to the PMA. The generation of reference power for battery b1 is the difference between the P s and P pv . The required amount of power per t cal is based on the setting limit rate [27]. Then the P limit is calculated based on the following equation, where P limit , t cal , P pv , rated are the ramp-limit power, calculated time-step, and rated PV power, respectively. Case (ii): the power stability in the µG is stated by utilizing the DC link controller [2]. battery b1 is the difference between the Ps and Ppv. The required amount of power per tcal is based on the setting limit rate [27]. Then the Plimit is calculated based on the following equation, ( ) , 60 cal pv rated limit t P P × = (9) where Plimit, tcal, Ppv,rated are the ramp-limit power, calculated time-step, and rated PV power, respectively.
Case (ii): the power stability in the µG is stated by utilizing the DC link controller [2]. Figure 8 describes the functioning of a DC link controller. The proposed system control configuration is shown in Figure 9. The voltage controller output is reflected by the variations in DC link voltage. Thus, the storage converters can supply the net current (inet) to obtain the power balance at the DC link. Due to the difference in the PV/load power (i.e., Ppv > Pl (or) Ppv < Pl), the voltage controller output will vary, respectively, to regulate the I*b2, which is the inet to be provided with a battery toward sustaining the reference voltage. The battery charge or discharge depends on the PV power variations. The battery converter reference current can be taken by employing the PI-based controller resulting net current equation, where ve = Vdcref − Vdc, is the reference and actual DC link voltage difference, which is owing to inflow and outflow power variation in the DC link. KP and KI are the proportional and integral constants of the voltage control loop. The inet can be divided into average current (iavg) and transient current (itrs) to restrain the batteries from reacting to sudden changes in it. The iavg is achieved by employing a low pass filter (LPF) based on the equation below, In the above equation, τc is the time constant of the LPF. The current itrs is taken by the The proposed system control configuration is shown in Figure 9. The voltage controller output is reflected by the variations in DC link voltage. Thus, the storage converters can supply the net current (i net ) to obtain the power balance at the DC link. battery b1 is the difference between the Ps and Ppv. The required amount of power per tcal is based on the setting limit rate [27]. Then the Plimit is calculated based on the following equation, ( ) , 60 cal pv rated limit t P P × = (9) where Plimit, tcal, Ppv,rated are the ramp-limit power, calculated time-step, and rated PV power, respectively.
Case (ii): the power stability in the µG is stated by utilizing the DC link controller [2]. Figure 8 describes the functioning of a DC link controller. The proposed system control configuration is shown in Figure 9. The voltage controller output is reflected by the variations in DC link voltage. Thus, the storage converters can supply the net current (inet) to obtain the power balance at the DC link. Due to the difference in the PV/load power (i.e., Ppv > Pl (or) Ppv < Pl), the voltage controller output will vary, respectively, to regulate the I*b2, which is the inet to be provided with a battery toward sustaining the reference voltage. The battery charge or discharge depends on the PV power variations. The battery converter reference current can be taken by employing the PI-based controller resulting net current equation, where ve = Vdcref − Vdc, is the reference and actual DC link voltage difference, which is owing to inflow and outflow power variation in the DC link. KP and KI are the proportional and integral constants of the voltage control loop. The inet can be divided into average current (iavg) and transient current (itrs) to restrain the batteries from reacting to sudden changes in it. The iavg is achieved by employing a low pass filter (LPF) based on the equation below, In the above equation, τc is the time constant of the LPF. The current itrs is taken by the difference between the inet and iavg, as given below, Due to the difference in the PV/load power (i.e., P pv > P l (or) P pv < P l ), the voltage controller output will vary, respectively, to regulate the I* b2 , which is the i net to be provided with a battery toward sustaining the reference voltage. The battery charge or discharge depends on the PV power variations. The battery converter reference current can be taken by employing the PI-based controller resulting net current equation, where v e = V dcref − V dc , is the reference and actual DC link voltage difference, which is owing to inflow and outflow power variation in the DC link. K P and K I are the proportional and integral constants of the voltage control loop. The i net can be divided into average current (i avg ) and transient current (i trs ) to Appl. Sci. 2020, 10, 1108 9 of 15 restrain the batteries from reacting to sudden changes in it. The i avg is achieved by employing a low pass filter (LPF) based on the equation below, i avg (t) = 1 1 + sτ c i net (t) (11) In the above equation, τ c is the time constant of the LPF. The current i trs is taken by the difference between the i net and i avg , as given below, The above current i trs equation is used to get the reference current for the SC converter.

SOC of the Battery
The State of Charge (SOC) acts as a significant function in the battery-powered systems and it also improves the performance of the battery. Therefore, precise calculation of the SOC can not only preserve the battery, but also prevents over-discharge, enhances the battery life and accuracy of the system by saving energy. The battery SOC is measured by the count coulomb method [21]. The coulomb counting approach estimates the battery discharging current and integrates the discharging current over time to evaluate the SOC. The initial battery SOC (SOC b ) is fixed at 70%. The SOC b is determined by the resulting equation, where SOC in , C N , and i b are the battery initial SOC, nominal capacitance, and battery current, respectively.

HIL Implementation
The OP5700 HIL Simulator was used to test the results using RT-LAB, MSOX3014T, programmable control board (PCB-E06-0560), probes, and connecting wires. The PCB can be used to interface between the simulation and real controller with the help of analog outputs and digital inputs to exchange the data. The real-time results setup is shown in Figure 10.
The above current itrs equation is used to get the reference current for the SC converter.

SOC of the Battery
The State of Charge (SOC) acts as a significant function in the battery-powered systems and it also improves the performance of the battery. Therefore, precise calculation of the SOC can not only preserve the battery, but also prevents over-discharge, enhances the battery life and accuracy of the system by saving energy. The battery SOC is measured by the count coulomb method [21]. The coulomb counting approach estimates the battery discharging current and integrates the discharging current over time to evaluate the SOC. The initial battery SOC (SOCb) is fixed at 70%. The SOCb is determined by the resulting equation, where SOCin, CN, and ib are the battery initial SOC, nominal capacitance, and battery current, respectively.

HIL Implementation
The OP5700 HIL Simulator was used to test the results using RT-LAB, MSOX3014T, programmable control board (PCB-E06-0560), probes, and connecting wires. The PCB can be used to interface between the simulation and real controller with the help of analog outputs and digital inputs to exchange the data. The real-time results setup is shown in Figure 10. In engineering systems, HIL systems are widely used for real-time simulation pre-prototyping tests. Stacks have the ability to quickly create and synchronize prototypes. The machine and the controller are installed in OPAL-RT to run the system at the actual clock time. The high-speed nano to microsecond OPAL-RT sample speed makes this a dynamic system in real-time. The user PC controls the digital simulator (RTDS) commands for the RT-LAB. The prototype is edited, built, In engineering systems, HIL systems are widely used for real-time simulation pre-prototyping tests. Stacks have the ability to quickly create and synchronize prototypes. The machine and the controller are installed in OPAL-RT to run the system at the actual clock time. The high-speed nano to microsecond OPAL-RT sample speed makes this a dynamic system in real-time. The user PC controls the digital simulator (RTDS) commands for the RT-LAB. The prototype is edited, built, loaded, and executed with the use of RT-LAB. The HIL stack requirements and capacity to run real-time systems are addressed in Table 1.

Results and Discussion
A DC µG configuration was developed to verify the proposed power design in Matlab/Simulink and the results from REAL-TIME HIL Simulator (OP5700) are presented in Figures 11-15. The system parameters of the proposed scheme are presented in Table 2.
Appl. Sci. 2019, 9, x FOR PEER REVIEW 11 of 15 system. The IBC efficiently reduces the current and voltage ripples as shown in Figure 12b, and increases the performance and reliability of the system. Figure 11. Simulation results. Figure 11. Simulation results.

Real-Time HIL Results
In the simulated model, the PV system rating of 40 V and the battery of ratings 48 V are considered. The IBC and bidirectional converters are operated to interlink the PV and batteries with the DC grid. The DC link reference voltage is 80 V and a variable source is connected to the DC link. The Real-Time HIL Simulator results are presented in Figures 13-15. The irregular nature of the PV current profile varying between instants t1-t10 by 4 A/div is shown in Figure 13a, and Figure 13b shows the randomly varying load current profile by 4 A/div. During the variable PV and/or load conditions (Ppv > Pl or Ppv < Pl), there is a necessity to sustain power stability and provides fast DC voltage regulation into the system. At time t3, the load current is suddenly decreased by 2 A/div and            ) 19 A

Simulation Results
The simulation results of the proposed are presented in Figure 11. The analysis between the boost converter and IBC system results are shown in Figure 12. In the boost converter, the high ripple voltage and currents are presented in Figure 12a. The voltage drop at the DC link is more at the instant t5 in Figure 12a by 8V/s during sudden variations in the load at time t5 by 4A/s in Figure 11c; thus it affects the fast-acting DC link voltage regulation, and the high width of the current ripples and conduction losses in SC are presented in Figure 12a. It decreases the efficacy of the system. The IBC efficiently reduces the current and voltage ripples as shown in Figure 12b, and increases the performance and reliability of the system.

Real-Time HIL Results
In the simulated model, the PV system rating of 40 V and the battery of ratings 48 V are considered. The IBC and bidirectional converters are operated to interlink the PV and batteries with the DC grid. The DC link reference voltage is 80 V and a variable source is connected to the DC link. The Real-Time HIL Simulator results are presented in Figures 13-15. The irregular nature of the PV current profile varying between instants t 1 -t 10 by 4 A/div is shown in Figure 13a, and Figure 13b shows the randomly varying load current profile by 4 A/div. During the variable PV and/or load conditions (P pv > P l or P pv < P l ), there is a necessity to sustain power stability and provides fast DC voltage regulation into the system. At time t 3 , the load current is suddenly decreased by 2 A/div and at instant t 5 suddenly increased by 4 A/div; in this period the drop of the bus voltage is much less when compared to boost converter.
The battery-1 current is shown in Figure 14b. From Figure 14b, the difference between the P pv (t) and P s (t) can be seen. Figure 14c shows the battery-2 current. The battery-2 current varies according to the P pv (t) and P l (t). The battery-2 can not only preserve charging or discharging conditions, it can also sustain the power stability at the DC link. The SC current is shown in Figure 14d and it decreases the current stress on the batteries by responding to transients in the system. Figure 14a shows the constant DC link voltage. At instant t 1 -t 3 , the load current is constant by 4 A/div, thus during constant load conditions, there is no variation in the bus voltage. From t 5 -t 7 , the load current is increased by 2 A/div and PV current rises at instant t 5 by 4 A/div and reduces after instant t 5 to t 7 by 4 A/div; at these instants, the voltage drop is less than 2 A/div and also maintained the stable DC bus voltage. Hence, it is clear that even sudden a change in load also does not affect the steady DC link voltage. The SOCs of battery-1 and battery-2 is shown in Figure 15a,b. The SOC of batteries will respond according to the charging and discharging conditions of battery-1 and battery-2.

Conclusions
A ramp-limit control-based management system for solar PV using real-time data with HESS was presented. The Real-Time HIL Simulator results were carried out to validate the proposed control system. The controller was employed to regulate the output of the batteries to reduce the variations of output PV power and to sustain the power balance at DC link. The IBC effectively minimizes the input current and output voltage ripples of the system. The SC was applied to remove the quick changes in battery currents, thereby overcomes the stress on the battery unit and improves battery life. The proposed system effectively maintains the steady DC link voltage during variable load conditions, increases the system reliability, and reduces the ripples and conduction losses in the system.