A New Method of Reference Signals Calculation for Switching Compensator (Universitas Ahmad Dahlan, 2016)