Text this: Optimal distribution of the fundamental non-efficient load current terms between the energy gateways connected in grid-tied microgrids