The rigid pile composite foundation is simulated by an analytical expression of pile-soil system, which is based on shear displacement method. Then, the settlement of the raft by considering the interaction of the rigid pile composite foundation, the cushion and the raft are caculated. The results calculated by the program agree with the results obtained by ANSYS and on-the-spot survey, which shows this method is practical and applicable.