Minimum loss operation of distribution networks with photovoltaic generation | Synapse