

The unknown internal parameters of the PV panel circuit are extracted by using the PV array tool in Simulink, which is a simple method to obtain the PV parameters at certain weather conditions. The corresponding equations are built in Matlab by using the proposed method. The mathematical analysis of single and double diodes is conducted on the basis of their equivalent circuits with simple modification. In this work, a new modeling method based on the “Multiplexer and Functions blocks” in the "Matlab/Simulink Library" is presented. “Matlab/Simulink” is used to model and simulate the PV models because it is considered a major software for modeling, analyzing, and solving dynamic system real problems. The well-known single-diode and double-diode models are utilized to demonstrate the electrical behavior of the PV module. A mathematical model should be presented to show the behavior of this device. A photovoltaic (PV) module is an equipment that converts solar energy to electrical energy.
