Text this: Simulation of power quality events using simulink model