An analysis of influential parameters in the problem of optimizing the size and placement of dynamic voltage restorer for voltage sag mitigation in distribution system