AC Stability Analysis and dq Frame Impedance Specifications in Power-Electronics-Based Distributed Power Systems