This paper adopts the modularity principle to completely model the transmission-connected photovoltaic plant. With more and more power electronics being integrated into the power system, modeling based on the modularity principle will increase the generality of the model of each module, for example, allowing the power electronic module for the PV plant to be used in other elements such as the wind plant. Moreover, we still lack complete PV plant models that express all components of the PV plant, such as changing irradiance, common control modes, and even the signal transmission model. The objective of this paper is to solve these problems. An overall structure using the modularity principle to model the PV plant is provided. Then each module is described, which is followed by the algorithm that how all modules work in conjunction. Finally, applications of the provided models in the power system small signal stability study are presented, where the characteristics of the PV plant can be closely simulated. A 2-area 4-machine system is used to test the applications of the models.