The document discusses photovoltaic (PV) based distributed generators (DGs) that are controlled as current sources to deliver active power to the grid from a PV source. The proposed algorithm considers the environmental conditions' effect on active power generation and assigns reactive power references to the inverters after computing available inverter capacity. This ensures equal utilization of inverters irrespective of DG active power variations and avoids overloading inverters. Simulation results using MATLAB/Simulink confirm the algorithm's effectiveness over other methods.