{'fraction_non_alphanumeric': 0.021724818959842, 'fraction_numerical': 0.0013166556945358788, 'mean_word_length': 5.129032258064516, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
3D Visual Simulation of Swaying Motion of Surface Vessel Based on Given Power Spectral Density

When the surface vessel is parked on the sea, it can be affected by various external interference, e.g. the six-degree-of-freedom swaying motion can be produced by sea waves. In order to better study the swaying motion of the surface vessel under the irregular waves, based on the given swaying power spectral density, a method of converting power spectral density into time-domain signals is proposed, and then the spectrum analysis method can be adopted to carry out the research of the surface vessel motion. The virtual simulation technology is used so as to visually observe the motion of the surface vessel under random interference. The model required for simulation is established in the Multigen Creator software, and the environment required for simulation is configured in Vega Prime. Moreover, VC++ is used to develop the software framework, human-computer interaction, and other functions, where the Matlab engine should be called for the design of algorithm modules. Finally, serial communication technology is used to realize real-time physical communication, completing the design of the 3D visual simulation system. The simulation results show that the power spectral density can be effectively converted into a time-domain signal through the given algorithm, and the swaying motion of surface vessel can be reproduced under the converted time-domain signal using the three-dimensional simulation software.