Accurate design of controllers in a parallel single-phase inverter system of distributed generators sharing linear and non-linear loads