A compensation-based power flow method for weakly meshed distribution and transmission networks | Synapse