Complex sentence: The demolition work was complicated by the existence of six power substations on the site, three of which were networked, which needed to be kept operational until they could be bypassed.
Split into simpler sentences: The demolition work was complicated by the existence of six power substations on the site, three of which were networked. These needed to be kept operational until they could be bypassed.