Impedance-Phased Dynamic Control Method for Grid-Connected Inverters in a Weak Grid | Synapse