Advanced Planning of PV-Rich Distribution Networks