Transient stability and voltage regulation in power systems with renewable distributed energy resources