1 Optimal Network Reconfiguration in Active 2 Distribution Networks with Soft Open Points and 3 Distributed Generation 4