Memuat
Memuat
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Class Fuzzy-Neural Solar Panel MPPT #2: Partial Shading Simulation: Emergence of Many Local Peaks”.
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.
This is the final result, when part of the modules are shaded, the power curve no longer has one peak, but two or three. The highest peak can be in the middle, and this is the trap for ordinary MPPT algorithms. Let's start. Hello, welcome to episode two of the Fuzzy-Neural Solar Panel MPPT series. In the real world, shadows from trees, buildings, clouds, or dirt often cover part of the panels. This is what is called partial shading. Today we will set up three series-connected modules with bypass diodes and see how shadows change the power curve.
We add three functions to pv_underscore_model_dot_py. Modules connected in series have the same current, so we need the inverse current function, the voltage function calculates the voltage of the module for a specific current, also using Newton-Raphson. If the current exceeds the capability of the module under shadow, the bypass diode turns on and holds the module voltage at minus 0.7 volts, so the module is bypassed, not hindering the entire series. The IV curve function sweeps the current from 0 to the maximum current, sums the voltages of the three modules, then produces the voltage, current, and power curves.
The power function reads the output power at a specific operating voltage with interpolation. This function will later be used by MPPT, as if reading voltage and current sensors. Create file partial_underscore_shading.py
We prepare three irradiance patterns, uniform at 1000 watts per square meter, light shading with one module at 400, and heavy shading with 1000, 600, and 300. The peak function finds all points higher than its neighbors, which are local peaks on the PV curve.
Run. The uniform pattern has one peak, 600 watts at 79 volts. Light shading has two peaks, and heavy shading has three peaks, around 190, 256, and 201 watts. The global peak is in the middle, around 54 volts. The IV curve has a staircase shape due to the bypass diode, and the PV curve shows local peaks as black dots and the global peak as a red star. An MPPT starting from high voltage will find the right peak and stop there, losing about 20% of power. Done. We have modeled an area of three series-connected modules with bypass diodes, simulated partial shading, and found many local peaks on the PV curve. In the next episode, we will write the classic MPPT, perturb and observe, and incremental conductance, then see them stuck at local peaks. Currently working on a thesis, dissertation, or research in the field of solar energy and renewable energy? Cerdas Inovasi Digital helps with the implementation of solar panel simulations, from single diode models, partial shading, MPPT methods such as perturb and observe and incremental conductance, fuzzy logic, up to ANVIS, and also offers programming Python courses for electrical engineering. Want to master the entire series, from solar panel models to comparisons of all MPPT methods? All six episodes, complete with PDF step-by-step guides and source code, are available to 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. Want just one class? Buy individual classes with lifetime access. Subscribe now at the premium page cerdasinovasidigital.com Contact us via WhatsApp, or visit cerdasinovasidigital.com Thank you for watching, see you in the next episode.
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 →