The sun lighting and its temperature are strong sources which humans have employed to their advantage since ancient times. A photovoltaic (PV) cell is one technique that depends on the sun and temperature in its work. Due to the developed technology, photovoltaic constantly evolving. In this paper, a grid-connected photovoltaic model was designed by PSCAD software and the effect of grid-connected PV systems on electrical networks was investigated. Network component, PV component models include a photoelectric array, a DC-DC boost converter, a voltage source converter (VSC), and an LCL filter. The components of the LCL filter, VSC DC coupling capacitor, and DC-DC booster inductor are used in the grid-connected photoelectric model. The design and simulate a Grid-Connected Photovoltaic system have been detailed. Results indicated that the temperature has a huge effect on the photovoltaic performance.