摘要:Portal frame structures are widely used in industrial building design but unfortunately are often damaged during an earthquake. As a result, a study on the seismic response of this type of structure is important to both human safety and future building designs. Traditionally, finite element methods such as the ANSYS and MIDAS have been used as the primary methods of computing the response of such a structure during an earthquake; however, these methods yield low calculation efficiencies. In this paper, the mechanical model of a single-story portal frame structure with two spans is constructed based on the transfer matrix method of multibody system (MS-TMM); both the transfer matrix of the components in the model and the total transfer matrix equation of the structure are derived, and the corresponding MATLAB program is compiled to determine the natural period and seismic response of the structure. The results show that the results based on the MS-TMM are similar to those obtained by ANSYS, but the calculation time of the MS-TMM method is only 1/20 of that of the ANSYS method. Additionally, it is shown that the MS-TMM method greatly increases the calculation efficiency while maintaining accuracy.