Lab-Scale Thyristor Rectifier and Static VAR Compensator Circuits