Text this: Modelling voltage sag mitigation using dynamic voltage restorer