https://www.mathworks.com/matlabcentral/fileexchange/77218-pv-emulator
Design Parameters
Control Strategy: Direct Referencing Method (Current Control)
PV Model: Look-Up Table (LUT) Method extracted from a Single Diode Model with Series Resistance (1D1R Model)
Power Converter: Buck Converter with PI Controller