With the increasing proportion of renewable energy in the new power system, the grid-connected capacity of photovoltaic (PV) units shows an obvious upward trend, but its dynamic behavior under different penetration rates significantly affects the transient stability of the power system, so it is crucial to establish a dynamic model that meets the actual working conditions and select a suitable parameter identification method. Therefore, in this paper, based on the electromechanical transient characteristics of the grid-connected PV power generation system, the corresponding dynamic discrete equivalent model is established, and the simulation platform of the grid-connected PV power generation system is built in MATLAB/Simulink to study the adaptability of the dynamic discrete equivalent model of the grid-connected PV power generation system from the single and multiple scenarios using the ordinary least squares (OLS) and bat algorithm (BA) while comparing the generalization ability of the parameters identified by the two methods to the model. The simulation results show that the generalization ability of the parameters identified by the OLS and BA for the model in the single scenario is better, indicating that the model has good adaptability; the generalization ability of a set of general parameters identified by the BA for the model in the multiple scenarios is better than that of the OLS, indicating that the parameters identified by the BA have better adaptability. In conclusion, the dynamic discrete equivalent model of the grid-connected PV power generation system proposed in this paper can accurately reflect the dynamic characteristics of the grid-connected PV power generation system, and the parameters identified by the BA are more generalized than the OLS.