{'fraction_non_alphanumeric': 0.02094647013188518, 'fraction_numerical': 0.0, 'mean_word_length': 5.172248803827751, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Categorisation of power quality problems using long short‐term memory networks

Recognition of power quality (PQ) troubles is a critical task in the electrical power system. All previous works solve this problem using two-step methodology: Feature extraction and classiﬁcation steps with each step using its own techniques, and this consumes a computation time. The purpose of this study is to utilise a novel artiﬁcial intelligence (AI) technique for recognition of PQ events. The proposed AI technique is the long short-term memory (LSTM) network, which detects and classiﬁes the PQ events in one step. This technique extracts amplitude, disturbance duration and total harmonic distortion from the captured waveform, and the LSTM uses its own rules to classify the PQ events. Many simple PQ events such as interruption, sag, ﬂicker, swell and surge or complex PQ events such as sag plus harmonics and swell plus harmonics are generated using MATLAB programming environment to evaluate the performance of LSTM. Also, real-time measurements are collected from an industrial substation and are used to ensure the effectiveness of the proposed LSTM technique. A comparison with other techniques is conducted and the results verify the good performance of LSTM in classifying the PQ problems.