*6.1. Scenario 1*

This scenario analyzes the performance of the PI-PBC to control the active and reactive power regardless of the SCES system applied to the DPC model. Here, we select arbitrary values for active and reactive power references to demonstrate the ability of the proposed controller. Figure 5 shows the dynamic behavior at the DC side of the SCES system and their active and reactive power outputs.

**Figure 5.** Dynamic behavior of the SCES system for S1: (**a**) supercapacitor voltage; (**b**) active power provided; and (**c**) reactive power absorbed.

Figure 5 shows that both controllers present a similar dynamic behavior. Nevertheless, PI–PBC presents a better performance compared with the IDA-PBC because it shows lower active and reactive power ripples. The ripples for the proposed controller are approximately 80 W and 85 var for the active and reactive power, respectively. In contrast, the ripples are about 100 W and 115 var when the IDA-PBC is implemented, respectively.
