Study of disturbances in the electrical network