In the structural design of domestic gravity wharfs,due to the limitations of traditional structural analysis software,it is impossible to better measure the horizontal displacement of the wharf under the normal service limit state,so it is impossible to evaluate the impact of uneven horizontal displacement on the operation of front loading and unloading equipment,resulting in ‘rail gnawing’ and other phenomena. In this paper,general finite element software PLAXIS 3D is used to conduct overall three-dimensional spatial modeling analysis of the gravity wharf,the analysis method for measuring its uneven horizontal displacement is given. In combination with the limit value requirements for horizontal displacement in the production and operation of wharf apron handling equipment in the European code,the rail installation method and guarantee measures in the construction of automatic wharfs are discussed,which solves the common quality problems such as ‘rail gnawing’,and provides a reliable guarantee for cost reduction and efficiency increase during the production and operation of the port area.