Design and validation of a single-phase buck–boost inverter with Grey Wolf optimization algorithm under partial shaded conditions