## 6 Results
### Performance of Converter in Stand-Alone
#### 6.1.4 DC-AC Bidirectional Single Phase Full Bridge Converter  
This converter features bidirectional capability, then, two simulations are performed in order to vaulate DC-AC single phase full bridge converter. The first one, in rectifier mode, 1.5 kW are transferred from AC to DC side, Figure 22 shows behavior in steady state, negative sign in active power indicates power flows from the grid to DC side. Regulated DC bus with small voltage ripple can be seen in Figure 22a, mains current and voltage appear in Figure 22b, a 180 deg angle phase exists between grid voltage and grid current, this condition define the sign for active power; active and reactive power appears in Figure 22c reactive power is near to zero and converter operates with unitary power factor.  
Next simulaton corresponds to inverter operation, 1.5 kW are transfered from PV array to mains, Figure 23 shows behavior in steady state, positive sign in active power  
Figure 21: Cuk converter performing in closed loop. (**a**) inductor two current, (**b**) capacitor two voltage.  
Figure 22: 1.5 kW DC-AC single phase full bridge converter, closed loop performing in rectifier mode. (**a**) DC bus voltage, (**b**) grid current (_real_) and grid voltage (_blue_), (**c**) active (_green_) and reactive (_purple_) power.  
indicates power flows from DC side to the grid. Regulated DC bus with small voltage ripple can be seen in Figure 23a, mains current and voltage appear in Figure 23b, there is a zero phase angle between gird current and voltge, then, the positive sign is defined for active power, active and reactive power appears in Figure 23c; and there is no reactive power to compensate.  
The second version in rectifier mode, 3.3 kW are transferred to DC side, Figure 24 shows behavior in steady state, negative sign in active power indicates power flows from the grid to DC side. Regulated DC bus with small voltage ripple can be seen in Figure 24a, mains current and voltage appear in Figure 24b, again a 180\({}^{\circ}\) angle phase exists between grid voltage and grid current, this condition define the sign for active power; active and reactive power appears in Figure 24c reactive power is near to cero and converter operates with unitary power factor.  
This simulation corresponds to inverter operation, 3.3 KW are transfered from PV array to mains, Figure 25 shows behavior in study state, positive sign in active power indicates power flows from DC side to the grid. Regulated DC bus with small voltage ripple can be seen in Figure 25a, mains current and voltage appear in Figure 25b, there is a zero phase angle between grid current and voltage, then, the positive sign is defined  
Figure 23: 1.5 kW DC-AC single phase full bridge converter, closed loop performing in inverter mode. (**a**) DC bus voltage, (**b**) grid current _(ral)_ and grid voltage _(blue)_, (**c**) active _(green)_ and reactive _(purple)_ power.  
Figure 24: 3.3 kW DC-AC single phase full bridge converter, closed loop performing in rectifier mode. (**a**) DC bus voltage, (**b**) grid current _(ral)_ and grid voltage _(blue)_, (**c**) active _(green)_ and reactive _(purple)_ power.  
for active power, active and reactive power appears in Figure 25c; and there is no reactive power compensation.  
DC-AC bidirectional converter results confirm that is possible to have an DCMG able to interact with mains, it feature gives several possibilities for energy administration in the system.