In this article, a method for short-term forecasting of photovoltaic (PV) generation was proposed. The proposed method belongs to the group of physical methods and is based on numerical weather forecasts. The generation forecast was determined using the PV source model in the OpenDSS software. The results of calculations were compared with the results of measurements from the operating PV micro-installations