PV block

In MATLAB Simulink, a PV (Photovoltaic) block models the electrical behavior of a photovoltaic panel or array
140 Downloads
Updated 10 May 2025

View License

Ways to Implement a PV Block in Simulink1. Using Simscape Electrical (Specialized Power Systems)
MATLAB provides a built-in PV Array block:
  • Location: Simscape > Electrical > Specialized Power Systems > Renewable Energy
  • Block: PV Array
  • Features:
  • Includes parameterization for series/parallel modules
  • Inputs for solar irradiance (W/m²) and temperature (°C)
  • Outputs current and voltage
2. Custom PV Model
If you need a custom PV model (e.g., for research):
  • Use equations from the single-diode model of a PV cell:

Cite As

Abdelrahman Farghly (2026). PV block (https://uk.mathworks.com/matlabcentral/fileexchange/181099-pv-block), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0