## 1 Introduction
These studies demonstrate that it is possible to develop a HIL platform using generic software, resulting in integration times similar to those obtained with commercial platforms dedicated to HIL. The HIL platform presented in this investigation uses an integration time of 10 \(\upmu\)s that is similar to those reported in [40; 41; 43; 44; 45; 46; 47] and less than the one reported in [42], allowing the system output to resemble a continuous curve calculating up to 99 values for each time constant of the system response. Furthermore, when comparing the proposed platform with [41; 43; 44; 47], there is the advantage of being a more economic option when reproducing similar results. This investigation proposes the design and implementation of a HIL platform based on National Instruments technology (myRIO 1900) in order to obtain a tool for the design and evaluation of control techniques applied in PVSs. The PVS contains a section that reproduces the current-voltage characteristic curve of a PVP with four input parameters (open-circuit voltage, voltage in the maximum power point, short-circuit current, and current in the maximum power point), an input voltage signal that represents the PVP current and an output signal that represents the PVP voltage. The HIL platform of the PVP has an option for modifying the four parameters that define the behavior of the PVP thus allowing to emulate PVPs of different powers in real time, with this it is possible to test controllers for different PVP configurations. In addition, the different IV curves can be used to emulate changes in atmospheric conditions that affect the behavior of the PVP. This characteristic offers a wide range of conditions in the experimental stage and represents an advantage compared to applications where the emulated IV curve is unique [45]. The platform also includes a DC-DC boost converter, with the load resistance as a parameter, an input voltage signal that represents the duty cycle of the power switch and an output signal that represents the voltage at the output of the PEC, both embedded and interconnected on an NI myRIO-1900 development board. The development board is programmed in its own environment with a high-level graphic language, which reduces the time spent on design and allows non-expert users to reproduce and reconfigure the proposed platform. In addition, two controllers are embedded: a controller for the MPPT and a voltage controller; both implemented independently in NI myRIO boards that communicate with the PVS through analog voltage signals, this configuration provides versatility to the photovoltaic system emulator (PVSE), which can be reconfigured without the need to carry out modifications in the systems of classic control and vice versa. The results show that the proposed platform can solve the PVS model with an integration period of 10 \(\upmu\)s, achieving a mean relative error of 2.0478% and a mean absolute error of 1.0930 V at the DC bus voltage. Also, the platform was found to be useful in the process of evaluating controllers designed for PVSs, becoming a useful platform to carry out CHIL simulations. This article is structured as follows: in Section 2, the PVS scheme and the equations that represent the models of the elements that compose it are presented; in Section 3, the implementation of the embedded system using LabVIEW virtual instrumentation software is shown, as well as the considerations for digitizing the system; in Section 4, tests performed on the PVSE and the controller emulator are presented and finally, in Section 5, the most relevant conclusions derived from the design and implementation of the proposed platform are presented.