This paper presents the data of multimodal functions that emulate the performance of an array of five photovoltaic modules under partial shading conditions. These functions were obtained through mathematical modeling and represent the P–V curves of a photovoltaic module with several local maximums and a global maximum. In addition, data from a feedforward neural network are shown, which represent an approximation of the multimodal functions that were obtained with mathematical modeling. The modeling of multimodal functions, the architecture of the neural network and the use of the data were discussed in our previous work entitled “Search for Global Maxima in Multimodal Functions by Applying Numerical Optimization Algorithms: A Comparison Between Golden Section and Simulated Annealing” [1]. Data were obtained through simulations in a C code, which were exported to DAT files and subsequently organized into four Excel tables. Each table shows the voltage and power data for the five modules of the photovoltaic array, for multimodal functions and for the approximation of the multimodal functions implemented by the artificial neural network. In this way, a dataset that can be used to evaluate the performance of optimization algorithms and system identification techniques applied in multimodal functions was obtained.