Text this: Use of photovoltaics in microgrid as energy source and control method using MATLAB/SIMULINK