This lecture discusses the development of an open-source tool for automated quantification of PV hosting capacity in distribution networks using Power Factory. By gradually increasing the amount of PV on the network, the tool calculates the hosting capacity, providing rapid, transparent, and accurate results. It also explores the impact of different control techniques on enhancing the hosting capacity, showcasing a significant increase in PV integration with advanced planning techniques and pattern-pending inverter control.