sources to the grid is described in Fig. 16. The total exchangedpower with both storage units is called psto. The exchangedpower with the capacitor of the dc bus is called pdc. In Fig. 16,this power is composed of a positive part (pdc_load to increasethe dc voltage if necessary) and a negative part (pdc_disload todecrease the dc voltage if necessary). The modeling equations
of the power flow are summarized in Table I.
If the resistor of the grid filter (R) is known, losses can beestimated with the sensed grid currents (_is)