Control, analysis, and design of distributed inverter systems