A Variable Multi-Rate Plug-in Repetitive Controller for single-phase inverters operating in the islanding mode