This paper introduces a modeling method of distributed control system, which is based on data. A subspace which can represent the key feature of the ensemble of data by extracting the eigenfunctions from the data will be founded. The Galerkin method will be applied to compute the coefficient of corresponding to the eigenfunctions and then the corresponding algorithm is also designed. The process of heat conduction in a metal bar is analysed with this kind of method. The results show the method well implementes modeling for distributed control system.