Memuat
Memuat
Watch every step above performed live, with English narration.
0 plays
Class book
Page 1 / 5
Cover: Class Wavelet-Based Power Quality Disturbance Classification #2: Generating Synthetic Disturbance Signals According to IEEE 1159 Standard
Click a page or use ◀ ▶ to turn · swipe on mobile · to enlarge
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Class Wavelet-Based Power Quality Disturbance Classification #2: Generating Synthetic Disturbance Signals According to IEEE 1159 Standard”.
Other ways we can help with Python.
Learn with a mentor
Scheduled Simulation & Engineering courses with live guidance and a certificate.

Course/Training Ansys ~ Heat Transfer and Heat Flux Analysis
★ 5.0 (10)

Course/Training MATLAB — MATLAB App Design: The Ultimate Guide to MATLAB Apps
★ 5.0 (10)

Course/Training Ansys — Airflow Simulation of a Car Radiator with ANSYS
★ 5.0 (9)
Have it built for you
No time to learn Python? Our team can do the project for you.

Matlab Development Service — Complete Neural Signal Processing and Analysis Zero to Hero
★ 5.0 (59)

Ansys Maxwell Development Service
★ 5.0 (50)

Petrel Development Service
★ 5.0 (14)
Get notified about new Python classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
Here is the final result, 2700 power quality disturbance signals, 300 for each class, each with different depth, duration, and occurrence time. We check the value range to ensure it meets the IEEE 1159 standard. Let's start. Hello, welcome to episode two of the power quality disturbance classification series with Wayflat. Recording thousands of real disturbances in the power grid takes years. Therefore, many studies use synthetic signals with parameters randomized within the IEEE 1159 standard, the standard for power quality monitoring practices. Today, we are generating our own dataset and checking it.
Create file underscore dataset.py The random generator is given SID 0 so the dataset can be recreated exactly the same. For each class, we call its generator function 300 times, and each call selects a different random parameter, depth in seconds, swell rise, harmonic amplitude, transient frequency, and so on. The result is saved to dataset underscore peki.npz.
Now we check with RMS for each cycle. Run The dataset is 2700 x 640, 9 classes, 300 signals per class. Sek has the lowest RMS between 0.1 and 0.9 per unit, exactly as defined by IEEE 1159. Swell has the highest RMS between 1.1 and 1.8 per unit. Interuption can go up to 0, but sometimes it reads higher because the disturbance does not cover a full cycle. Flicker fluctuates around 1, whereas harmonics, transients, and knock remain close to 1 per unit.
Let's see the variations. Six random examples from each class show different depths and occurrence times. Transients appear at different times with different frequencies and decay rates. Knock varies in position and depth of the notch. This variation is what allows the model to learn general patterns, not memorize a single shape.
Done. We have generated a dataset of 2700 power quality disturbance signals with random parameters, Checking RMS range according to IEEE 1159, and observing its variations. In the next episode, we will distinguish signals using the Straight Away Flat Transform. Currently working on a thesis, dissertation, or research in the field of power quality and signal processing? Cerdas Inovasi Digital helps with machine learning implementation. From generating disturbance signals according to IEEE 1159, wavelet transformation, feature extraction, up to classification with SVM, Random Forest, and XGBoost, as well as opening Python programming courses for electrical engineering. Want to master the entire series, from synthetic signals to NICE durability testing? All 6 episodes, complete with PDF step-by-step guides and source code, are available for premium tutorial subscribers. Subscribe starting at Rp69.000 per month, save 28% with the 12-month package, or pay once Rp999.000 for lifetime access. Thank you for watching, see you in the next episode. Thank you for watching!
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →