System voltage quality regulation for continuous disturbances