<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" article-type="research-article" dtd-version="2.3" xml:lang="EN">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Mar. Sci.</journal-id>
<journal-title>Frontiers in Marine Science</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Mar. Sci.</abbrev-journal-title>
<issn pub-type="epub">2296-7745</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fmars.2025.1497956</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Marine Science</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Enhancing motion forecasting of ship sailing in irregular waves based on optimized LSTM model and principal component of wave-height</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Gong</surname>
<given-names>Jiaye</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xu</surname>
<given-names>Jinya</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2832352"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/visualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Xu</surname>
<given-names>Lixin</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Hong</surname>
<given-names>Zhichao</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<xref ref-type="author-notes" rid="fn001">
<sup>*</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/resources/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-review-editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>College of Ocean Science and Engineering, Shanghai Maritime University</institution>, <addr-line>Shanghai</addr-line>, <country>China</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>School of Naval Architecture and Ocean Engineering, Jiangsu University of Science and Technology</institution>, <addr-line>Zhenjiang, Jiangsu</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Jiangsu Marine Technology Innovation Center</institution>, <addr-line>Nantong, Jiangsu</addr-line>, <country>China</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>Edited by: Zhibin Yu, Ocean University of China, China</p>
</fn>
<fn fn-type="edited-by">
<p>Reviewed by: Pooyan Mobtahej, University of California, Irvine, United States</p>
<p>Zaharaddeen Karami Lawal, Universiti Brunei Darussalam, Brunei</p>
</fn>
<fn fn-type="corresp" id="fn001">
<p>*Correspondence: Zhichao Hong, <email xlink:href="mailto:harmony1104759976@gmail.com">harmony1104759976@gmail.com</email> </p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>18</day>
<month>02</month>
<year>2025</year>
</pub-date>
<pub-date pub-type="collection">
<year>2025</year>
</pub-date>
<volume>12</volume>
<elocation-id>1497956</elocation-id>
<history>
<date date-type="received">
<day>18</day>
<month>09</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>27</day>
<month>01</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2025 Gong, Xu, Xu and Hong</copyright-statement>
<copyright-year>2025</copyright-year>
<copyright-holder>Gong, Xu, Xu and Hong</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>Irregular waves exhibit complex and erratic behavior, posing significant challenges for accurate short-term ship motion forecasting. Reliable ship navigation depends on precise motion predictions, necessitating effective feature extraction from wave data to enhance predictive models. This study proposes a hybrid model integrating a wavelet principal component analysis (WPCA) for dimensionality reduction with an optimized double circulation-long short-term memory (DC-LSTM) network. The WPCA method retains key variance components, reducing redundant data while preserving critical wave characteristics. The DC-LSTM model is optimized using both internal and external circulation mechanisms to enhance learning efficiency and stability. Numerical simulation data are used to train and validate the model. Compared with conventional LSTM and PCA-LSTM models, the proposed WPCA-DC-LSTM model improves R<sup>2</sup> by 14% and reduces RMSE by 12% in validation datasets. The model demonstrates robust generalization, effectively capturing nonlinear and high-dimensional wave features. The results indicate that the hybrid model effectively mitigates the influence of redundant data, reduces prediction randomness, and improves stability in handling wave-induced ship movements. The study highlights the broad applicability of the WPCA-DC-LSTM model for complex maritime data analysis and ship motion forecasting.</p>
</abstract>
<kwd-group>
<kwd>weighted principal component analysis</kwd>
<kwd>LSTM</kwd>
<kwd>irregular waves</kwd>
<kwd>ship motion</kwd>
<kwd>prediction model</kwd>
</kwd-group>
<contract-num rid="cn001">2022YFC2806600, 2022YFC2806604</contract-num>
<contract-num rid="cn002">22YF1415900</contract-num>
<contract-num rid="cn003">52401385</contract-num>
<contract-sponsor id="cn001">National Key Research and Development Program of China<named-content content-type="fundref-id">10.13039/501100012166</named-content>
</contract-sponsor>
<contract-sponsor id="cn002">Science and Technology Commission of Shanghai Municipality<named-content content-type="fundref-id">10.13039/501100003399</named-content>
</contract-sponsor>
<contract-sponsor id="cn003">National Natural Science Foundation of China<named-content content-type="fundref-id">10.13039/501100001809</named-content>
</contract-sponsor>
<counts>
<fig-count count="15"/>
<table-count count="9"/>
<equation-count count="25"/>
<ref-count count="40"/>
<page-count count="17"/>
<word-count count="8034"/>
</counts>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-in-acceptance</meta-name>
<meta-value>Ocean Observation</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1" sec-type="intro">
<label>1</label>
<title>Introduction</title>
<p>With the global advancement of the shipping industry, the safety of ships sailing in the waves has become more critical. In particular, irregular waves will cause unstable motions of ships sailing in the sea, leading to difficulty maneuvering ships. Therefore, accurately predicting ship movements in irregular waves is vital for improving the stability of ships. However, the nonlinear and unpredictable nature of sea waves presents significant challenges to accurately forecasting the motion of ships at sea.</p>
<p>The prediction of ship motion in waves has been a research emphasis in ocean engineering for a long time. Early research emphasized using statistical models that considered external environmental factors and hydrodynamic parameters (<xref ref-type="bibr" rid="B36">Yoshimura, 1986</xref>; <xref ref-type="bibr" rid="B16">Khan et&#xa0;al., 2005</xref>). The Kalman filter, known for being a recursive, linear, and minimum variance filter, has found extensive application in dynamic ship positioning and short-term maneuver predictions (<xref ref-type="bibr" rid="B23">Rigatos, 2013</xref>; <xref ref-type="bibr" rid="B22">Perera, 2017</xref>). However, predicting motion using the ship's motion state equation and physical models is significantly affected by external environmental hydrodynamic parameters and computational fluid dynamics, making it less effective for short-term predictions. In contrast, autoregressive (AR) models have a simpler structure than Kalman filters, requiring consideration only of the autoregressive properties of time history data. <xref ref-type="bibr" rid="B14">Jiang et&#xa0;al. (2020)</xref> investigated the impact of scale on Autoregressive (AR) models for ship motion prediction in time. A common issue with these models is their assumption of a linear data distribution. However, ship motion exhibits strong nonlinearity, and this nonlinearity will impact the performance of the prediction models (<xref ref-type="bibr" rid="B37">Zhang et&#xa0;al., 2024</xref>).</p>
<p>With advancements in neural networks and computing power, recent years have seen an increasing number of studies using machine learning models to predict the ship&#x2019;s attitude motion. <xref ref-type="bibr" rid="B18">Li et&#xa0;al. (2016)</xref> proposed a scheme to analyse and model ship sensor data for motion prediction. Additionally, various machine learning models have been utilized for this purpose, such as artificial neural networks (ANN) (<xref ref-type="bibr" rid="B4">De Masi et&#xa0;al., 2011</xref>), support vector machines (SVM) (<xref ref-type="bibr" rid="B15">Kawan et&#xa0;al., 2017</xref>), diagonal recurrent neural networks (DRNN) (<xref ref-type="bibr" rid="B26">Shen and Xie, 2005</xref>), and extreme learning machines (ELM) (<xref ref-type="bibr" rid="B35">Yin et&#xa0;al., 2014</xref>). Deep learning models have also demonstrated strong performance in improving the control of ships and predicting the attitude motion of ships. For example, the BP model has been applied to address the chaotic essence of ship motion time history data and enhance prediction accuracy (<xref ref-type="bibr" rid="B21">Peng et&#xa0;al., 2014</xref>). Recurrent Neural Networks (RNN) have been employed for nonparametric modelling to forecast ship manoeuvring motion (<xref ref-type="bibr" rid="B3">D'Agostino et&#xa0;al., 2021</xref>). Furthermore, the Long-Short-Term Memory (LSTM) neural network is one of RNN variants, has become widely used for capturing long-term dependencies and modelling complex temporal dynamics in predicting ship attitude motions or trajectory (<xref ref-type="bibr" rid="B39">Zhang et&#xa0;al., 2021</xref>; <xref ref-type="bibr" rid="B32">Xu et&#xa0;al., 2023</xref>, <xref ref-type="bibr" rid="B31">Xu et&#xa0;al., 2024</xref>).</p>
<p>Traditional models, such as Kalman filters and autoregressive (AR) models, have limitations in addressing the nonlinearity of ship motion. While Kalman filters offer recursive and linear filtering capabilities, they struggle with high randomness in wave-induced ship motion. AR models, despite their simplicity, fail to capture nonlinear dependencies inherent in wave-ship interactions. Recent advancements in deep learning models, like LSTM, have demonstrated significant improvements; however, these models face challenges in handling high-dimensional inputs and feature redundancy, especially in maritime environments. To avoid the limitations of the single model, many researchers have proposed hybrid methods that combine different models and algorithms. For example, the GPR-LSTM hybrid model effectively combines the high-accuracy point prediction capability of LSTM with the reliable interval prediction ability of GPR, demonstrating superior performance in accurately predicting ship motion attitudes for operational decision-making (<xref ref-type="bibr" rid="B27">Sun et&#xa0;al., 2022</xref>). The SHM-CNN-GRU-AM hybrid model, optimized using the GCWOA algorithm, demonstrates superior forecasting accuracy for ship motion, effectively addressing the complex nonlinear dynamics and variable periodicity inherent in ship motion time history data (<xref ref-type="bibr" rid="B17">Li et&#xa0;al., 2022</xref>). The EMD-PSO-LSTM hybrid model, utilizing intelligent algorithms with a sliding window approach, effectively predicts nonlinear and nonstationary ship motion attitudes (<xref ref-type="bibr" rid="B5">Geng et&#xa0;al., 2023</xref>). The R-LSTM hybrid method, which combines an LSTM model with a residual network and an attention mechanism, enhances prediction accuracy and generalization for ship maneuvers in challenging navigation conditions. This method ensures efficient and safe navigation by offering real-time trajectory forecasts (<xref ref-type="bibr" rid="B40">Zhou et&#xa0;al., 2023</xref>). These studies have improved the accuracy of ships&#x2019; motion attitude to a certain extent.</p>
<p>Although the work of ship motion prediction has been developed for a long time, the problem of high-dimension feature data still cannot be avoided, leading to the model failure to converge during training. The prediction of ships&#x2019; motion uses complex data that combines ship motion features and wave features as input. Determining the hyperparameters of the LSTM model effectively and achieving convergence of results have become challenging problems when dealing with the high dimension of input features. Principal component analysis (PCA) is a commonly used technique for dimension reduction that transforms high-dimensional datasets into low-dimensional subspaces while retaining most of the variation in the data (<xref ref-type="bibr" rid="B10">Greenacre et&#xa0;al., 2022</xref>). However, PCA may not always capture the most relevant or informative aspects of the data, especially if the features have complex interdependencies or nonlinear relationships.</p>
<p>The study ensured the effectiveness of data by utilizing simulation data generated through a hybrid method that combines the fully nonlinear potential flow method and the viscous flow method. First, motion data of the ship and wave height data at varying distances from the ship are selected. The correlation coefficients between wave height data at different distances from the ship&#x2019;s bow are calculated using Pearson correlation, which are subsequently processed as weights for dimension reduction. To optimize the performance of the WPCA (Weighted Principal Component Analysis), an initial retained variance value is set prior to dimension reduction and is dynamically updated during the process. This approach enables the model to effectively capture the wave excitation acting on the ship while reducing dimensionality and eliminating redundant information. The motion data and the processed wave data are combined to form the input dataset for training the neural network model. The hyperparameters of the model are optimized through a double circulation process, consisting of internal and external circulation, to enhance predictive accuracy and generalization capability. The prediction results of the proposed hybrid model are compared with conventional models and models employing traditional data preprocessing methods, demonstrating the advantages and effectiveness of the proposed approach. This structured methodology highlights the innovative aspects of the work, including advanced data processing and robust model optimization, ensuring reliable and accurate ship motion prediction.</p>
</sec>
<sec id="s2">
<label>2</label>
<title>Principles and methods</title>
<sec id="s2_1">
<label>2.1</label>
<title>Numerical methods</title>
<p>In previous work, the hybrid method has been applied and validated for the numerical simulation of motion in waves and manoeuvre of trimaran (<xref ref-type="bibr" rid="B9">Gong et&#xa0;al., 2020</xref>, <xref ref-type="bibr" rid="B7">Gong et&#xa0;al., 2021</xref>, <xref ref-type="bibr" rid="B8">Gong et&#xa0;al., 2022b</xref>), and here, a brief summary to ensure the paper&#x2019;s completeness has been presented.</p>
<sec id="s2_1_1">
<label>2.1.1</label>
<title>Numerical method</title>
<p>To accurately simulate surf-riding and broaching of a trimaran, nonlinear effects such as side hull emergence, bow diving, and transient draft variation are considered. The internal domain is solved using a viscous flow method, assuming incompressible flow with constant density and neglecting heat exchange. The incompressible URANS equations are:</p>
<disp-formula id="eq1">
<label>(1)</label>
<mml:math display="block" id="M1">
<mml:mrow>
<mml:mstyle mathvariant="bold">
<mml:mfrac>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:mo>&#x3c1;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:mtext>t</mml:mtext>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo>+</mml:mo>
<mml:mstyle mathvariant="bold">
<mml:mfrac>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mtext>&#x3c1;U</mml:mtext>
</mml:mrow>
<mml:mtext>i</mml:mtext>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:msub>
<mml:mtext>x</mml:mtext>
<mml:mtext>i</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq2">
<label>(2)</label>
<mml:math display="block" id="M2">
<mml:mrow>
<mml:mstyle mathvariant="bold">
<mml:mfrac>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:msub>
<mml:mtext>U</mml:mtext>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:mtext>t</mml:mtext>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo>+</mml:mo>
<mml:mstyle mathvariant="bold">
<mml:mfrac>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:msub>
<mml:mtext>x</mml:mtext>
<mml:mtext>j</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mtext>U</mml:mtext>
<mml:mtext>i</mml:mtext>
</mml:msub>
<mml:msub>
<mml:mtext>U</mml:mtext>
<mml:mtext>j</mml:mtext>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold">
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mtext>&#x3c1;</mml:mtext>
</mml:mfrac>
<mml:mfrac>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:mtext>P</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:msub>
<mml:mtext>x</mml:mtext>
<mml:mtext>i</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo>+</mml:mo>
<mml:mstyle mathvariant="bold">
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mtext>&#x3c1;</mml:mtext>
</mml:mfrac>
<mml:mfrac>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:msub>
<mml:mtext>x</mml:mtext>
<mml:mtext>j</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo mathvariant="bold">(</mml:mo>
<mml:mstyle mathvariant="bold">
<mml:mtext>&#x3bc;</mml:mtext>
<mml:mfrac>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:msub>
<mml:mtext>U</mml:mtext>
<mml:mtext>i</mml:mtext>
</mml:msub>
</mml:mrow>
<mml:mrow>
<mml:mo mathvariant="bold">&#x2202;</mml:mo>
<mml:msub>
<mml:mtext>x</mml:mtext>
<mml:mtext>j</mml:mtext>
</mml:msub>
</mml:mrow>
</mml:mfrac>
</mml:mstyle>
<mml:mo>+</mml:mo>
<mml:mstyle mathvariant="bold">
<mml:msub>
<mml:mrow>
<mml:mtext>&#x3c1;&#x3c4;</mml:mtext>
</mml:mrow>
<mml:mrow>
<mml:mtext>ij</mml:mtext>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo mathvariant="bold">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>Where <inline-formula>
<mml:math display="inline" id="im1">
<mml:mi>&#x3c1;</mml:mi>
</mml:math>
</inline-formula> represents density, <italic>t</italic> denotes time, <inline-formula>
<mml:math display="inline" id="im2">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c4;</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:msub>
<mml:mo>'</mml:mo>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mi>u</mml:mi>
<mml:msub>
<mml:mo>'</mml:mo>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> denotes the Reynolds Stress Tensor, <italic>P</italic> represents pressure, <inline-formula>
<mml:math display="inline" id="im3">
<mml:mrow>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im4">
<mml:mrow>
<mml:mi>u</mml:mi>
<mml:msub>
<mml:mo>'</mml:mo>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> represent the time-averaged and fluctuation components of velocities, respectively, <inline-formula>
<mml:math display="inline" id="im5">
<mml:mi>&#x3bc;</mml:mi>
</mml:math>
</inline-formula> denotes the dynamic viscosity. The flow around the trimaran is accurately modelled using the Volume of Fluid (VOF) method combined with compression techniques. This approach effectively manages the Eulerian two-phase flow, ensuring precise simulation of the fluid dynamics near the trimaran. An artificial compression technique ensures a sharp interface between air and water (<xref ref-type="bibr" rid="B25">Rusche, 2002</xref>; <xref ref-type="bibr" rid="B29">Weller, 2002</xref>).</p>
<p>The external domain assumes ideal flow, governed by the Laplace equation. A wavemaker and adaptive wave absorption are implemented at opposite boundaries. Internal and external domains are coupled via interfaces, with more details on hybrid methods available in references (<xref ref-type="bibr" rid="B19">Ma and Yan, 2009</xref>; <xref ref-type="bibr" rid="B33">Yan and Ma, 2010</xref>; <xref ref-type="bibr" rid="B12">Hu et&#xa0;al., 2020</xref>; <xref ref-type="bibr" rid="B7">Gong et&#xa0;al., 2021</xref>).</p>
</sec>
<sec id="s2_1_2">
<label>2.1.2</label>
<title>Trimaran motion</title>
<p>The global coordinate system (<italic>x</italic>, <italic>y</italic>, <italic>z</italic>) is used for flow field solutions, while a local coordinate system (<italic>x</italic>', <italic>y</italic>', <italic>z</italic>'), centered at the trimaran&#x2019;s center of gravity, is applied for motion calculations. The ship&#x2019;s 6DOF motion includes linear velocities (<inline-formula>
<mml:math display="inline" id="im6">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im7">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im8">
<mml:mrow>
<mml:msub>
<mml:mi>u</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and angular velocities (<inline-formula>
<mml:math display="inline" id="im9">
<mml:mrow>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im10">
<mml:mrow>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im11">
<mml:mrow>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>), governed by:</p>
<disp-formula id="eq3">
<label>(3)</label>
<mml:math display="block" id="M3">
<mml:mrow>
<mml:mo>{</mml:mo>
<mml:mtable columnalign="left" equalrows="true" equalcolumns="true">
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">J</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">J</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">u</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">F</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">J</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">J</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">J</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr columnalign="left">
<mml:mtd columnalign="left">
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">I</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">H</mml:mi>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">M</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">W</mml:mi>
<mml:mi mathvariant="bold-italic">J</mml:mi>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <italic>m</italic> is the trimaran&#x2019;s mass, (<inline-formula>
<mml:math display="inline" id="im12">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im13">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>y</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im14">
<mml:mrow>
<mml:msub>
<mml:mi>I</mml:mi>
<mml:mrow>
<mml:mi>z</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) are moments of inertia, and (<inline-formula>
<mml:math display="inline" id="im15">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>x</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im16">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>y</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im17">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>z</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and (<inline-formula>
<mml:math display="inline" id="im18">
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>x</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im19">
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>y</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im20">
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi>H</mml:mi>
<mml:mi>z</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) are forces and moments from the hull. Water-jet propulsion forces and moments (<inline-formula>
<mml:math display="inline" id="im21">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>J</mml:mi>
<mml:mi>x</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im22">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>J</mml:mi>
<mml:mi>y</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im23">
<mml:mrow>
<mml:msub>
<mml:mi>F</mml:mi>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>J</mml:mi>
<mml:mi>z</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) and (<inline-formula>
<mml:math display="inline" id="im24">
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>J</mml:mi>
<mml:mi>x</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im25">
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>J</mml:mi>
<mml:mi>y</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im26">
<mml:mrow>
<mml:msub>
<mml:mi>M</mml:mi>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mi>J</mml:mi>
<mml:mi>z</mml:mi>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>) are modeled semi-empirically. After solving <xref ref-type="disp-formula" rid="eq3">Equation 3</xref>, the changing rate of the Euler angle can be determined by</p>
<disp-formula id="eq4">
<label>(4)</label>
<mml:math display="block" id="M4">
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mtable equalrows="true" equalcolumns="true">
<mml:mtr>
<mml:mtd>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:msub>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">5</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:msub>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">5</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mn mathvariant="bold">0</mml:mn>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>s</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:msub>
<mml:mo stretchy="false">/</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">5</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">4</mml:mn>
</mml:msub>
<mml:mo stretchy="false">/</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>s</mml:mi>
</mml:mstyle>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3be;</mml:mi>
<mml:mn mathvariant="bold">5</mml:mn>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>]</mml:mo>
<mml:mo>[</mml:mo>
<mml:mtable equalrows="true" equalcolumns="true">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msub>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">3</mml:mn>
<mml:mo>'</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>The target course of the autopilot is set to 0&#xb0;, and PD (proportional derivative) control scheme is adopted. Autopilot control uses a PD controller, where the target nozzle deflection angle <italic>&#x3b4;</italic> is:</p>
<disp-formula id="eq5">
<label>(5)</label>
<mml:math display="block" id="M5">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b4;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>p</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mn mathvariant="bold">6</mml:mn>
</mml:msub>
</mml:mstyle>
<mml:mo>+</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>K</mml:mi>
<mml:mi>d</mml:mi>
</mml:msub>
<mml:msub>
<mml:mover accent="true">
<mml:mi>&#x3be;</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
<mml:mn mathvariant="bold">6</mml:mn>
</mml:msub>
</mml:mstyle>
</mml:mrow>
</mml:math>
</disp-formula>
<p>Here, <italic>K<sub>p</sub>
</italic>=9.5, <italic>K<sub>d</sub>
</italic>=3.0, with <italic>&#x3b4;</italic>
<sub>max</sub>=35&#xb0; and <inline-formula>
<mml:math display="inline" id="im27">
<mml:mover accent="true">
<mml:mi>&#x3b4;</mml:mi>
<mml:mo>&#x2d9;</mml:mo>
</mml:mover>
</mml:math>
</inline-formula>=10&#xb0;/s.</p>
</sec>
<sec id="s2_1_3">
<label>2.1.3</label>
<title>Domain and grid generation</title>
<p>The external domain grid is based on the QALE-FEM method (<xref ref-type="bibr" rid="B34">Yan et&#xa0;al., 2019</xref>), adjusted to the trimaran's navigation range. The internal domain dimensions are 4.5L&#xd7;3.0L&#xd7;2.0L, with water above and below set to 0.5L and 1.0L, respectively (<xref ref-type="bibr" rid="B13">ITTC, 2014</xref>). Grids are generated using OpenFOAM&#x2019;s blockMesh and snappyHexMesh tools, following procedures in zigzag maneuver simulations (<xref ref-type="bibr" rid="B6">Gong et&#xa0;al., 2022a</xref>). The boundary definition of the hybrid method and the grid sketch are shown in <xref ref-type="fig" rid="f1">
<bold>Figure&#xa0;1</bold>
</xref>.</p>
<fig id="f1" position="float">
<label>Figure&#xa0;1</label>
<caption>
<p>The sketch of the hybrid method's boundary.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g001.tif"/>
</fig>
<p>The internal domain uses a <italic>k&#x2212;&#x3c9;</italic> SST turbulence model and the PISO method to solve pressure-velocity coupling. Boundary conditions are coupled with the external domain, transferring velocity and volume fraction at each time step. Diagrams of the grid and boundary conditions illustrate the setup.</p>
<p>The specific characteristic dimension of the trimaran form in this paper is shown in <xref ref-type="table" rid="T1">
<bold>Table&#xa0;1</bold>
</xref>. The specific meanings of symbols in trimaran have been shown in <xref ref-type="fig" rid="f2">
<bold>Figure&#xa0;2</bold>
</xref>.</p>
<table-wrap id="T1" position="float">
<label>Table&#xa0;1</label>
<caption>
<p>The specific parameters of incident waves and ship.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Particulars</th>
<th valign="top" align="center">
<italic>B</italic>/<italic>L</italic>
</th>
<th valign="top" align="center">
<italic>D</italic>/<italic>L</italic>
</th>
<th valign="top" align="center">
<italic>C<sub>b</sub>
</italic>
</th>
<th valign="top" align="center">
<inline-formula>
<mml:math display="inline" id="im28">
<mml:mrow>
<mml:msub>
<mml:mi>B</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo stretchy="false">/</mml:mo>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
<th valign="top" align="center">
<inline-formula>
<mml:math display="inline" id="im29">
<mml:mrow>
<mml:msub>
<mml:mi>D</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo stretchy="false">/</mml:mo>
<mml:msub>
<mml:mi>L</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</th>
<th valign="top" align="center">
<italic>C<sub>b</sub>
</italic>
<sub>1</sub>
</th>
<th valign="top" align="center">
<italic>p</italic>/<italic>L</italic>
</th>
<th valign="top" align="center">
<italic>t</italic>/<italic>L</italic>
</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Value</td>
<td valign="top" align="left">0.08</td>
<td valign="top" align="left">0.04</td>
<td valign="top" align="left">0.52</td>
<td valign="top" align="left">0.05</td>
<td valign="top" align="left">0.04</td>
<td valign="top" align="left">0.46</td>
<td valign="top" align="left">0.0</td>
<td valign="top" align="left">0.1</td>
</tr>
</tbody>
</table>
</table-wrap>
<fig id="f2" position="float">
<label>Figure&#xa0;2</label>
<caption>
<p>The sketch and dimensions of a trimaran.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g002.tif"/>
</fig>
</sec>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Pearson correlation</title>
<p>Principal Component Analysis (PCA) is a highly effective statistical method used for dimension reduction, data visualization, and feature extraction. The Pearson correlation coefficient has been employed in calculating the linear correlations between ship motion dynamics and environmental conditions when analyzing ship motion (<xref ref-type="bibr" rid="B38">Zhang et&#xa0;al., 2023</xref>). In this paper, visualizing the relation between different distances of wave height will reinforce the understanding of the influence between waves and ship motion.</p>
<p>For two different features, <inline-formula>
<mml:math display="inline" id="im30">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im31">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, their correlation coefficient can be computed:</p>
<disp-formula id="eq6">
<label>(6)</label>
<mml:math display="block" id="M6">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3c1;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b1;</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b1;</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>v</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b1;</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:msqrt>
<mml:msqrt>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>v</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">&#x3b1;</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</disp-formula>
<p>where <inline-formula>
<mml:math display="inline" id="im32">
<mml:mrow>
<mml:mi>c</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>v</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the covariance of the two features, <inline-formula>
<mml:math display="inline" id="im33">
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula>
<mml:math display="inline" id="im34">
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>r</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> is the variance of feature <inline-formula>
<mml:math display="inline" id="im35">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and feature <inline-formula>
<mml:math display="inline" id="im36">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3b1;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, respectively. The value of <italic>&#x3c1;</italic> ranges from -1 to 1. The closer the value is to 1, the more positive linear correlation between the two features, and the closer the value is to -1, the more negative linear correlation between the two features. When <italic>&#x3c1;</italic> is 1, it signifies a complete positive linear correlation; when <italic>&#x3c1;</italic> is -1, it signifies a complete negative linear correlation. A <italic>&#x3c1;</italic> value of 0 means there is no linear correlation between the variables.</p>
<p>In this paper, assuming that the time history of one feature is denoted as <inline-formula>
<mml:math display="inline" id="im37">
<mml:mrow>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mi>X</mml:mi>
<mml:mo>=</mml:mo>
<mml:mo>{</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, and another feature represent as <inline-formula>
<mml:math display="inline" id="im38">
<mml:mrow>
<mml:mi>Y</mml:mi>
<mml:mo>=</mml:mo>
<mml:mo>{</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. <italic>X</italic> and <italic>Y</italic> represent a whole time history of the feature with <italic>n</italic> nodes, then the correlation coefficient of the two features is (<xref ref-type="bibr" rid="B2">Cohen et&#xa0;al., 2009</xref>):</p>
<disp-formula id="eq7">
<label>(7)</label>
<mml:math display="block" id="M7">
<mml:mrow>
<mml:mi mathvariant="bold-italic">r</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</disp-formula>
</sec>
<sec id="s2_3">
<label>2.3</label>
<title>Reduction of wave feature dimension</title>
<p>Suppose that each wave height feature is represented as <inline-formula>
<mml:math display="inline" id="im39">
<mml:mrow>
<mml:msup>
<mml:mi>X</mml:mi>
<mml:mi>i</mml:mi>
</mml:msup>
<mml:mo>=</mml:mo>
<mml:mo>{</mml:mo>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mn>1</mml:mn>
<mml:mi>i</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mn>2</mml:mn>
<mml:mi>i</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
<mml:mo>}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula>
<mml:math display="inline" id="im40">
<mml:mrow>
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> represents the <italic>n</italic>-th node in a time history of the <italic>i</italic>-th feature. The complete dataset of wave features can be represented as a matrix:</p>
<disp-formula id="eq8">
<label>(8)</label>
<mml:math display="block" id="M8">
<mml:mrow>
<mml:mi mathvariant="bold-italic">X</mml:mi>
<mml:mo>=</mml:mo>
<mml:mo>[</mml:mo>
<mml:mtable equalrows="true" equalcolumns="true">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ef;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mi mathvariant="bold-italic">i</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mo>&#x22ee;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22f1;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ee;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">x</mml:mi>
<mml:mi mathvariant="bold-italic">n</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ef;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mi>x</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>i</mml:mi>
</mml:msubsup>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>]</mml:mo>
<mml:mo>=</mml:mo>
<mml:mo stretchy="false" mathvariant="bold">(</mml:mo>
<mml:msup>
<mml:mi mathvariant="bold-italic">X</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mi mathvariant="bold-italic">X</mml:mi>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msup>
<mml:mi>X</mml:mi>
<mml:mi>n</mml:mi>
</mml:msup>
</mml:mstyle>
<mml:mo stretchy="false" mathvariant="bold">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>Combined with the <xref ref-type="disp-formula" rid="eq8">Equation 8</xref>, the overall covariance <italic>S</italic> and each element in overall covariance were denoted as follows (<xref ref-type="bibr" rid="B20">Martinez and Kak, 2001</xref>):</p>
<disp-formula>
<mml:math display="block" id="M9">
<mml:mrow>
<mml:mi mathvariant="bold-italic">S</mml:mi>
<mml:mo>=</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mrow>
<mml:mo stretchy="false" mathvariant="bold">(</mml:mo>
<mml:msub>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo stretchy="false" mathvariant="bold">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#xd7;</mml:mo>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>s</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msubsup>
<mml:mo stretchy="false" mathvariant="bold">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo stretchy="false" mathvariant="bold">)</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false" mathvariant="bold">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>j</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo stretchy="false" mathvariant="bold">)</mml:mo>
</mml:mrow>
<mml:mi mathvariant="bold-italic">T</mml:mi>
</mml:msup>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:mfrac>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msubsup>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
</mml:mrow>
</mml:math>
</disp-formula>
<p>The standard PCA treats all data points and features equally, and cannot capture the most relevant aspects of the data with complex interdependencies or nonlinear relationships. However, the influences between wave and ship change with the increasing distance (<xref ref-type="bibr" rid="B28">Torsvik, 2009</xref>). This paper will employ the WPCA with the Pearson correlation as the weight based on the reference (<xref ref-type="bibr" rid="B30">Xiao et&#xa0;al., 2023</xref>). Setting an initial value <inline-formula>
<mml:math display="inline" id="im41">
<mml:mi>&#x3b3;</mml:mi>
</mml:math>
</inline-formula> of retained variance can be optimized in the model training process. Assign a weight <inline-formula>
<mml:math display="inline" id="im42">
<mml:mrow>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> to each feature <italic>i</italic>, reflecting its importance. Modify the computation of the covariance between features <italic>i</italic> and <italic>j</italic> to include weights:</p>
<disp-formula id="eq10">
<label>(10)</label>
<mml:math display="block" id="M10">
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mi>s</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msubsup>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
</mml:mfrac>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msubsup>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo stretchy="false" mathvariant="bold">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
</mml:mstyle>
<mml:mo stretchy="false" mathvariant="bold">)</mml:mo>
<mml:mo stretchy="false" mathvariant="bold">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>j</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
</mml:mstyle>
<mml:mo stretchy="false" mathvariant="bold">)</mml:mo>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msubsup>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">k</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msubsup>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mstyle>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq11">
<label>(11)</label>
<mml:math display="block" id="M11">
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
</mml:msubsup>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>j</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:msqrt>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
<mml:msqrt>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">j</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">m</mml:mi>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mstyle>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>j</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:mfrac>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn mathvariant="bold">2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:math>
</disp-formula>
<p>The weighted covariance matrix <inline-formula>
<mml:math display="inline" id="im43">
<mml:msup>
<mml:mi>S</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:math>
</inline-formula> is then used in place of the standard covariance matrix for PCA:</p>
<disp-formula id="eq12">
<label>(12)</label>
<mml:math display="block" id="M12">
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:msup>
<mml:mi>S</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mo>[</mml:mo>
<mml:mtable equalrows="true" equalcolumns="true">
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">S</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">11</mml:mn>
</mml:mrow>
<mml:mo>'</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ef;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">S</mml:mi>
<mml:mrow>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:mrow>
<mml:mo>'</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mo>&#x22ee;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22f1;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ee;</mml:mo>
</mml:mtd>
</mml:mtr>
<mml:mtr>
<mml:mtd>
<mml:mrow>
<mml:msubsup>
<mml:mi mathvariant="bold-italic">S</mml:mi>
<mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mo>'</mml:mo>
</mml:msubsup>
</mml:mrow>
</mml:mtd>
<mml:mtd>
<mml:mo>&#x22ef;</mml:mo>
</mml:mtd>
<mml:mtd>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:msubsup>
<mml:mi>S</mml:mi>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mo>'</mml:mo>
</mml:msubsup>
</mml:mstyle>
</mml:mrow>
</mml:mtd>
</mml:mtr>
</mml:mtable>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>The eigenvalues and the eigenmatrix of <inline-formula>
<mml:math display="inline" id="im44">
<mml:msup>
<mml:mi>S</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:math>
</inline-formula> are <inline-formula>
<mml:math display="inline" id="im45">
<mml:mi>&#x3bb;</mml:mi>
</mml:math>
</inline-formula> and <inline-formula>
<mml:math display="inline" id="im46">
<mml:mi>a</mml:mi>
</mml:math>
</inline-formula>, they satisfied the following formula:</p>
<disp-formula id="eq13">
<label>(13)</label>
<mml:math display="block" id="M13">
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:msup>
<mml:mi>S</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mi>i</mml:mi>
</mml:mstyle>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mn mathvariant="bold">2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:mrow>
</mml:math>
</disp-formula>
<p>To adjust the eigenvalues and eigenvectors of <inline-formula>
<mml:math display="inline" id="im47">
<mml:msup>
<mml:mi>S</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
</mml:math>
</inline-formula> and obtain the edge transformation matrix <italic>A</italic>, follow these steps:</p>
<disp-formula id="eq14">
<label>(14)</label>
<mml:math display="block" id="M14">
<mml:mrow>
<mml:mi mathvariant="bold-italic">A</mml:mi>
<mml:mo>=</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi mathvariant="bold-italic">a</mml:mi>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<p>Then, the principal component matrix can be expressed as:</p>
<disp-formula id="eq15">
<label>(15)</label>
<mml:math display="block" id="M15">
<mml:mrow>
<mml:mi mathvariant="bold-italic">P</mml:mi>
<mml:mo>=</mml:mo>
<mml:mo stretchy="false">(</mml:mo>
<mml:mi mathvariant="bold-italic">X</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mover accent="true">
<mml:mi>x</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mstyle>
<mml:mo stretchy="false">)</mml:mo>
<mml:mo>&#xb7;</mml:mo>
<mml:mi mathvariant="bold-italic">A</mml:mi>
</mml:mrow>
</mml:math>
</disp-formula>
<p>The retention variance is the ratio of the retained variance to the total variance:</p>
<disp-formula id="eq16">
<label>(16)</label>
<mml:math display="block" id="M16">
<mml:mrow>
<mml:mi mathvariant="bold-italic">&#x3b3;</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold-italic">i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn mathvariant="bold">1</mml:mn>
</mml:mrow>
<mml:mi mathvariant="bold-italic">n</mml:mi>
</mml:msubsup>
<mml:mstyle mathvariant="bold-italic">
<mml:msub>
<mml:mi>&#x3bb;</mml:mi>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mstyle>
</mml:mrow>
<mml:mrow>
<mml:mstyle mathvariant="bold-italic">
<mml:mi>t</mml:mi>
<mml:mi>r</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>c</mml:mi>
<mml:mi>e</mml:mi>
</mml:mstyle>
<mml:mo stretchy="false">(</mml:mo>
<mml:msup>
<mml:mi mathvariant="bold-italic">S</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msup>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
</disp-formula>
</sec>
<sec id="s2_4">
<label>2.4</label>
<title>LSTM model</title>
<p>LSTM models, also called Long Short-Term Memory models, are a specialized form of recurrent neural networks (RNNs) specifically designed to handle and learn from time sequential data. Their architecture allows them to effectively capture long-term dependencies, making them particularly suitable for tasks involving the understanding and forecasting of time-based patterns. With gated mechanisms, including input, forget, and output gates, LSTMs effectively manage information flow. In time series prediction, LSTMs excel in capturing complex patterns and long-term dependencies (<xref ref-type="bibr" rid="B24">Rithani et&#xa0;al., 2023</xref>), making them suitable for tasks like stock prices and weather forecasting. In maritime applications, LSTMs can predict vessel trajectories, detect anomalies, and monitor vessel operational status, thereby enhancing navigation safety and efficiency. The LSTM unit includes the LSTM cells, each of which includes an input gate, an output gate, and a forget gate, as shown in <xref ref-type="fig" rid="f3">
<bold>Figure&#xa0;3</bold>
</xref>.</p>
<fig id="f3" position="float">
<label>Figure&#xa0;3</label>
<caption>
<p>Structure of LSTM cell.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g003.tif"/>
</fig>
<p>The key principles of each gate in LSTM can be concluded as the following equations (the connotation of each symbol in LSTM cell is shown in <xref ref-type="table" rid="T2"><bold>Table 2</bold></xref>):</p>
<disp-formula>
<mml:math display="block" id="M17">
<mml:mrow>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>g</mml:mi>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>f</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M18">
<mml:mrow>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>g</mml:mi>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq17">
<label>(17)</label>
<mml:math display="block" id="M19">
<mml:mrow>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>g</mml:mi>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>o</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>o</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>o</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M20">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
<mml:mi>c</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>h</mml:mi>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>W</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>U</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>b</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M21">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>+</mml:mo>
<mml:msub>
<mml:mi>i</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mover accent="true">
<mml:mi>c</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula>
<mml:math display="block" id="M22">
<mml:mrow>
<mml:msub>
<mml:mi>h</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>=</mml:mo>
<mml:msub>
<mml:mi>o</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo>&#x2299;</mml:mo>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
<mml:mo stretchy="false">(</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mi>t</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
<table-wrap id="T2" position="float">
<label>Table&#xa0;2</label>
<caption>
<p>The connotation of each symbol in LSTM cell.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Symbol</th>
<th valign="middle" align="center">Connotation</th>
<th valign="middle" align="center">Symbol</th>
<th valign="middle" align="center">Connotation</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center">&#x2003;<italic>i<sub>t</sub>
</italic>
</td>
<td valign="middle" align="center">The activation value of the input gate</td>
<td valign="middle" rowspan="2" align="center">
<inline-formula>
<mml:math display="inline" id="im48">
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>U</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td valign="middle" rowspan="2" align="center">Matrix in training, the network learns to compute the meta value</td>
</tr>
<tr>
<td valign="middle" align="center">&#x2003;<italic>f<sub>t</sub>
</italic>
</td>
<td valign="middle" align="center">The activation value of the forget gate</td>
</tr>
<tr>
<td valign="middle" align="center">&#x2003;<italic>o<sub>t</sub>
</italic>
</td>
<td valign="middle" align="center">The activation values of the output gate</td>
<td valign="middle" align="center">
<inline-formula>
<mml:math display="inline" id="im49">
<mml:mo>&#x2299;</mml:mo>
</mml:math>
</inline-formula>
</td>
<td valign="middle" align="center">The sigmoid activation function</td>
</tr>
<tr>
<td valign="middle" align="center">
<inline-formula>
<mml:math display="inline" id="im50">
<mml:mrow>
<mml:msub>
<mml:mover accent="true">
  <mml:mi>c</mml:mi>
  <mml:mo>&#x2dc;</mml:mo>
</mml:mover>
<mml:mi>t</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td valign="middle" align="center">The candidate memory cell</td>
<td valign="middle" align="center">
<inline-formula>
<mml:math display="inline" id="im51">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>g</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>h</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</td>
<td valign="middle" align="center">Sigmoid and hyperbolic tangent function</td>
</tr>
<tr>
<td valign="middle" align="center">&#x2003;<italic>c<sub>t</sub>
</italic>
</td>
<td valign="middle" align="center">The memory cell</td>
<td valign="middle" align="center">
<italic>h<sub>t</sub>
</italic>
</td>
<td valign="middle" align="center">The hidden state</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s2_5">
<label>2.5</label>
<title>The proposed model</title>
<p>Extracting valuable features from the waves and ship motions and reducing risks from the high dimension of features are the main problems in training the neural network. In this section, the specific model structure and algorithmic steps which are used to predict ship motion in this paper will be discussed. </p>
<p>The proposed model will divide the features into two groups. Then, the WPCA algorithm will be employed to extract the main information of waves and the reduce the dimension of the wave feature based on the feature weighting coefficients. This method reduces dimensionality while retaining critical information handles noisy data effectively, and adapts to varying conditions. The optimization process of the hybrid model hyperparameters is divided into external and internal circulation. And the internal and external circulations also form the Double-Circulation (DC) module. The internal circulation repeatedly improves the hyperparameters of the hybrid model based on the metrics of prediction results, while the external circulation optimizes the hyperparameters of the hybrid model based on the retained variance value of WPCA. </p>
<p>The workflow and steps of the proposed ship motion prediction model are shown in <xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4</bold>
</xref>. In the first step, the data on motion and wave features will be extracted from the results of the numerical simulation. In the second step, the Pearson coefficient between different distance waves is calculated as the weight of WPCA, and then the dimension of the wave feature is reduced based on the weight. In the third step, the proposed wave features and motion features are combined as the input dataset to train the model. In the fourth step, the hyperparameters will be improved through the internal and external circulation based on the prediction results. The detailed schematic diagram of the proposed model is shown in <xref ref-type="fig" rid="f5">
<bold>Figure&#xa0;5</bold>
</xref>. <xref ref-type="table" rid="T3"><bold>Table 3</bold></xref> shows specific hyperparameters of the neural network and the training setting of model architecture. Where   is the number of final selected features which will be input to the proposed model, the number of the input features will change with the changes of dimension reduction schemes in this paper. The model is composed of seven layers which contains three LSTM layers, three dropout layers, and a dense output layer. All the layers are connected in the order shown in the <xref ref-type="table" rid="T3"><bold>Table 3</bold></xref>. The inclusion of dropout layers aims to mitigate overfitting by forcing the network to learn more robust features that generalize well to new data. The prediction strategy employed involves using 1000 time steps of selected feature data as input to forecast the same feature data for the next fiftieth or more time step.</p>
<fig id="f4" position="float">
<label>Figure&#xa0;4</label>
<caption>
<p>Schematic diagram of the proposed ship motion prediction in irregular waves based on the WPCA-DC-LSTM model.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g004.tif"/>
</fig>
<fig id="f5" position="float">
<label>Figure&#xa0;5</label>
<caption>
<p>Detailed information of the WPCA-DC-LSTM model.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g005.tif"/>
</fig>
<table-wrap id="T3" position="float">
<label>Table&#xa0;3</label>
<caption>
<p>The specific structure and parameters of the neural network.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="bottom" align="center">Layers</th>
<th valign="bottom" align="center">Specific Parameters</th>
<th valign="bottom" align="center">Initial settings</th>
<th valign="bottom" align="center">Specific Parameters</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center">LSTM#1</td>
<td valign="bottom" align="center">units: 128</td>
<td valign="bottom" align="center">Activation</td>
<td valign="bottom" align="center">LeakyReLU</td>
</tr>
<tr>
<td valign="bottom" align="center">Dropout#1</td>
<td valign="bottom" align="center">rate: 0.4</td>
<td valign="bottom" align="center">MinMaxScaler</td>
<td valign="bottom" align="center">feature range: (0, 1)</td>
</tr>
<tr>
<td valign="bottom" align="center">LSTM#2</td>
<td valign="bottom" align="center">units: 128</td>
<td valign="bottom" align="center">Train-Test Split</td>
<td valign="bottom" align="center">train ratio: 80%,<break/>test ratio: 20%</td>
</tr>
<tr>
<td valign="top" align="center">Dropout#2</td>
<td valign="top" align="center">rate: 0.3</td>
<td valign="bottom" align="center">Time Step</td>
<td valign="bottom" align="center">time step: 20</td>
</tr>
<tr>
<td valign="bottom" align="center">LSTM#3</td>
<td valign="bottom" align="center">units: 64</td>
<td valign="bottom" align="center">Epoch</td>
<td valign="bottom" align="center">30</td>
</tr>
<tr>
<td valign="bottom" align="center">Dropout#3</td>
<td valign="bottom" align="center">rate: 0.3</td>
<td valign="bottom" align="center">Batch_size</td>
<td valign="bottom" align="center">50</td>
</tr>
<tr>
<td valign="bottom" align="center">Dense</td>
<td valign="bottom" align="center">units: <italic>n</italic>(determined after WPCA-processing)</td>
<td valign="top" align="center">&#x2013;</td>
<td valign="top" align="center">&#x2013;</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s2_6">
<label>2.6</label>
<title>Performance evaluation of model</title>
<p>Three metrics help evaluate the model&#x2019;s performance in predicting ship movement in this paper, where R&#xb2; indicates the proportion of the explained variance, RMSE indicates the typical size of the forecast error, and MAE provides a more interpretable measure of forecast accuracy.</p>
<disp-formula id="eq18">
<label>(18)</label>
<mml:math display="block" id="M23">
<mml:mrow>
<mml:msup>
<mml:mi>R</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>=</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mn>1</mml:mn>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
<mml:mrow>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#xaf;</mml:mo>
</mml:mover>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq19">
<label>(19)</label>
<mml:math display="block" id="M24">
<mml:mrow>
<mml:mi>R</mml:mi>
<mml:mi>M</mml:mi>
<mml:mi>S</mml:mi>
<mml:mi>E</mml:mi>
<mml:mo>=</mml:mo>
<mml:msqrt>
<mml:mrow>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:mfrac>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:msup>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:msubsup>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:msqrt>
</mml:mrow>
</mml:math>
</disp-formula>
<disp-formula id="eq20">
<label>(20)</label>
<mml:math display="block" id="M25">
<mml:mrow>
<mml:mi>M</mml:mi>
<mml:mi>A</mml:mi>
<mml:mi>E</mml:mi>
<mml:mo>=</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:mfrac>
<mml:msubsup>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>=</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:msubsup>
<mml:mo>|</mml:mo>
<mml:msubsup>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
<mml:mo>&#x2032;</mml:mo>
</mml:msubsup>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>|</mml:mo>
</mml:mrow>
</mml:math>
</disp-formula>
</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>Case study</title>
<sec id="s3_1">
<label>3.1</label>
<title>The effect of each distance wave feature on the ship&#x2019;s motion prediction</title>
<p>In this section, the data of wave height is selected every five meters from the bow of the trimaran to 20m ahead, as shown in <xref ref-type="fig" rid="f4">
<bold>Figure&#xa0;4</bold>
</xref>. Five datasets have been generated, each of which contains the data of wave and motion features. The specific conditions of each dataset have been shown in <xref ref-type="table" rid="T4">
<bold>Table&#xa0;4</bold>
</xref>.</p>
<table-wrap id="T4" position="float">
<label>Table&#xa0;4</label>
<caption>
<p>The specific conditions of the different cases.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Dataset</th>
<th valign="middle" align="center">
<italic>Fn</italic>
</th>
<th valign="middle" align="center">Motion</th>
<th valign="middle" align="center">Wave gauge position</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center">
<italic>Case</italic>1</td>
<td valign="middle" rowspan="5" align="center">0.35</td>
<td valign="middle" rowspan="5" align="center">6DOF</td>
<td valign="middle" align="center">0m</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case</italic>2</td>
<td valign="middle" align="center">5m</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case</italic>3</td>
<td valign="middle" align="center">10m</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case</italic>4</td>
<td valign="middle" align="center">15m</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case</italic>5</td>
<td valign="middle" align="center">20m</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The total time of the navigation under the condition of 0.35 <italic>Fn</italic> is 55s, and the data from 0s to 45s has been employed to train the proposed hybrid model, the rest of the data is used for verification. Notably, each time step of the dataset is 0.004s. <xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6</bold>
</xref> shows the prediction results of the model trained by the different cases. <xref ref-type="table" rid="T5">
<bold>Table&#xa0;5</bold>
</xref> shows R&#xb2;, RMSE, and MAE for predicting the model trained by the different cases.</p>
<fig id="f6" position="float">
<label>Figure&#xa0;6</label>
<caption>
<p>Comparison between the prediction and the original data.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g006.tif"/>
</fig>
<table-wrap id="T5" position="float">
<label>Table&#xa0;5</label>
<caption>
<p>R&#xb2;, RMSE, and MAE for prediction results.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Dataset</th>
<th valign="top" align="center">R<sup>2</sup>
</th>
<th valign="top" align="center">RMSE</th>
<th valign="top" align="center">MAE</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="bottom" align="center">Case1</td>
<td valign="bottom" align="center">0.39</td>
<td valign="bottom" align="center">1.99</td>
<td valign="bottom" align="center">1.24</td>
</tr>
<tr>
<td valign="bottom" align="center">Case2</td>
<td valign="bottom" align="center">0.41</td>
<td valign="bottom" align="center">1.89</td>
<td valign="bottom" align="center">1.2</td>
</tr>
<tr>
<td valign="bottom" align="center">Case3</td>
<td valign="bottom" align="center">0.36</td>
<td valign="bottom" align="center">2.11</td>
<td valign="bottom" align="center">1.34</td>
</tr>
<tr>
<td valign="bottom" align="center">Case4</td>
<td valign="bottom" align="center">0.38</td>
<td valign="bottom" align="center">2.04</td>
<td valign="bottom" align="center">1.25</td>
</tr>
<tr>
<td valign="bottom" align="center">Case5</td>
<td valign="bottom" align="center">0.37</td>
<td valign="bottom" align="center">2.17</td>
<td valign="bottom" align="center">1.26</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In <xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6</bold>
</xref>, the datasets combining motion and wave features perform well in model training. Comparing the prediction results of the ship&#x2019;s heave in <xref ref-type="fig" rid="f6">
<bold>Figure&#xa0;6A</bold>
</xref>, the results of Case1 and Case2 are more accurate than those from Case3 to Case5. In <xref ref-type="fig" rid="f6">
<bold>Figures&#xa0;6B, D</bold>
</xref>, there is an apparent bias between the original data and prediction results, suggesting that the introduced feature augmentation fails to uphold robust generalization across various features during model training. It can be seen that the dataset obtained by adding features cannot maintain good generalization for most features when training the model. In addition, the effect of waves at short distances on the ship's motion is greater than that of far waves.</p>
<p>In <xref ref-type="table" rid="T5">
<bold>Table&#xa0;5</bold>
</xref>, the bias of R&#xb2;, RMSE, and MAE between these cases shows that waves in distances of 0m and 5m are more valuable in training the model. However, the slight variation in error indicates that these features of different distances cannot be ignored during training.</p>
<p>In general, different distances wave height features have different influences on the model's predictive capability. It can be found that the data set combining waves at short distances (0-5m in this case) performs better than the wave features at long distances. However, it also increases the burden of model learning, and if more wave features are added at one time, the problem of dimensional explosion will be generated.</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Reduction of feature dimension based on WPCA</title>
<p>Due to the redundancy of wave height data at different distances, the feature dimension is too high, which increases the complexity of model training. To alleviate the dimensional disaster of the features and improve the efficiency of model training and performance of the model prediction, the wave feature data will be processed with the WPCA proposed in previous section. <xref ref-type="fig" rid="f7">
<bold>Figure&#xa0;7</bold>
</xref> shows the Pearson coefficient between different features.</p>
<fig id="f7" position="float">
<label>Figure&#xa0;7</label>
<caption>
<p>Visualization of correlation for the features.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g007.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="f7">
<bold>Figure&#xa0;7A</bold>
</xref> shows the coefficients between wave features, and <xref ref-type="fig" rid="f7">
<bold>Figure&#xa0;7B</bold>
</xref> shows the coefficients between wave and ship motions. The Pearson coefficients between wave features and the ship&#x2019;s trajectory are close to zero, so those effects can be ignored while calculating the weights before reducing the dimension. Pearson coefficients between other motion features and wave features were calculated respectively, and the expected value of the corresponding feature was taken as the weight of dimension reduction. In WPCA, the feature weights reflect their importance and correlation with the target variable. When a high retained variance (95%) is needed, the model must consider more details and complexity, thus requiring more principal components (WPCA_1, WPCA_2, and WPCA_3). When a lower retained variance (e.g., 85%) is acceptable, the model becomes simpler, requiring only two principal components (WPCA_1 and WPCA_2). The model is highly simplified at very low retained variance levels (below 75%), requiring only one principal component (WPCA_1), indicating that this single component is sufficient to explain the major variance and information.</p>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Comparison of the hybrid model and conventional model</title>
<p>In this section, the performance of three models will be compared based on the prediction results. The models are the WPCA-DC-LSTM model, PCA-LSTM, and conventional LSTM model. The method of WPCA will generate three groups based on different retained variances. The specific features are shown in <xref ref-type="table" rid="T6">
<bold>Table&#xa0;6</bold>
</xref>. A mark &#x201c;&#x221a;" indicates the feature data included at input, and the mark &#x201c;x" indicates that this feature was not included at input.</p>
<table-wrap id="T6" position="float">
<label>Table&#xa0;6</label>
<caption>
<p>The specific features of each selected dataset.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Dataset</th>
<th valign="middle" align="center">
<italic>Fn</italic>
</th>
<th valign="middle" align="center">Motion<break/>features</th>
<th valign="middle" align="center">WPCA_1</th>
<th valign="middle" align="center">WPCA_2</th>
<th valign="middle" align="center">WPCA_3</th>
<th valign="middle" align="center">PCA-features</th>
<th valign="middle" align="center">Wave-features</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center">
<italic>Case#</italic>2.1</td>
<td valign="middle" rowspan="6" align="center">0.35</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case#</italic>2.2</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case#</italic>2.3</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case#</italic>2.4</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case#</italic>2.5</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
</tr>
<tr>
<td valign="middle" align="center">
<italic>Case#</italic>2.6</td>
<td valign="middle" align="center">
<bold>&#x221a;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
<td valign="middle" align="center">
<bold>&#xd7;</bold>
</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In Case#2.1, the PCA-LSTM model was employed. Cases from 2.2 to 2.4 utilized the WPCA-DC-LSTM model, while Case#2.5 and Case#2.6 utilized the conventional LSTM model.</p>
<p>
<xref ref-type="fig" rid="f8">
<bold>Figure&#xa0;8</bold>
</xref> shows the results of ship&#x2019;s motion prediction in irregular waves. The first 45 seconds represent the training data used by the models, followed by the input data from 45 to 49 seconds. The last 6 seconds show the output predictions generated by the models compared against the true values of the prediction target. <xref ref-type="table" rid="T7">
<bold>Table&#xa0;7</bold>
</xref> shows the performance metrics of the models on both the training dataset and the validation dataset.</p>
<fig id="f8" position="float">
<label>Figure&#xa0;8</label>
<caption>
<p>Comparison between the predicted results of different models and the original data.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g008.tif"/>
</fig>
<table-wrap id="T7" position="float">
<label>Table&#xa0;7</label>
<caption>
<p>R&#xb2;, RMSE, and MAE for prediction results.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Dataset</th>
<th valign="top" align="center">R<sup>2</sup>
</th>
<th valign="top" align="center">RMSE</th>
<th valign="top" align="center">MAE</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="bottom" align="center">Case2.1</td>
<td valign="bottom" align="center">0.27361</td>
<td valign="bottom" align="center">2.10801</td>
<td valign="bottom" align="center">1.29458</td>
</tr>
<tr>
<td valign="bottom" align="center">Case2.2</td>
<td valign="bottom" align="center">0.43612</td>
<td valign="bottom" align="center">1.98113</td>
<td valign="bottom" align="center">1.19284</td>
</tr>
<tr>
<td valign="bottom" align="center">Case2.3</td>
<td valign="bottom" align="center">0.41673</td>
<td valign="bottom" align="center">1.97689</td>
<td valign="bottom" align="center">1.15138</td>
</tr>
<tr>
<td valign="bottom" align="center">Case2.4</td>
<td valign="bottom" align="center">0.21502</td>
<td valign="bottom" align="center">2.07722</td>
<td valign="bottom" align="center">1.20868</td>
</tr>
<tr>
<td valign="bottom" align="center">Case2.5</td>
<td valign="bottom" align="center">0.33715</td>
<td valign="bottom" align="center">1.98357</td>
<td valign="bottom" align="center">1.20694</td>
</tr>
<tr>
<td valign="bottom" align="center">Case2.6</td>
<td valign="bottom" align="center">0.23079</td>
<td valign="bottom" align="center">2.12252</td>
<td valign="bottom" align="center">1.29668</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>In <xref ref-type="fig" rid="f8">
<bold>Figure&#xa0;8</bold>
</xref>, the three models have good performance of prediction on the selected dataset. Case#2.2 achieved high precision fit in predictions of heave, roll, pitch, and heading. With the decrease of retained variance, the performance of WPCA-DC-LSTM also decreases slightly. The PCA-LSTM model, which also reduces the wave features to three dimensions, has an apparent bias in motion prediction. The prediction results of the conventional LSTM model without adding wave features also shows poor performance.</p>
<p>In <xref ref-type="table" rid="T7">
<bold>Table&#xa0;7</bold>
</xref>, the minimum values of RMSE and MAE appear in the results of dataset Case#2.3. The results indicate that while the prediction accuracy of the WPCA-DC-LSTM model shows certain limitations, particularly in comparison to more advanced or fine-tuned prediction frameworks, it allows for a clearer observation of the impact of different methodological variations. For instance, the performance of Case#2.2, with an R&#xb2; value of 0.43612, significantly outperforms Case#2.3 (R&#xb2; = 0.41673), despite their RMSE and MAE values being relatively close. This highlights that the retained variance of 95% in Case#2.2 is more effective in capturing meaningful information than the 85% retained variance in Case#2.3, especially in terms of model fit. Furthermore, the comparison between Case#2.5 and Case#2.6 emphasizes the positive effect of incorporating wave features, as the former shows better performance in all metrics, including a higher R&#xb2; (0.33715 vs. 0.23079), demonstrating the importance of such features in enhancing prediction accuracy.</p>
<p>Overall, the WPCA-DC-LSTM model demonstrates that higher retained variances (above 85%) are critical for achieving reliable predictions, with performance converging at these levels. While the absolute predictive accuracy is moderate, the model effectively avoids overfitting and dimensionality issues observed in conventional methods. This allows a more controlled and interpretable evaluation of the influence of feature selection, dimensionality reduction, and wave feature inclusion on prediction outcomes. Future work should focus on further optimizing feature weighting before dimensionality reduction and incorporating more wave-related features to enhance the predictive capability for ship motion.</p>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Prediction results and discussion</title>
<p>In this section, the trained model will be employed to predict the motion of the ship based on the new complete dataset, the <italic>F<sub>n</sub>
</italic> of which is 0.65. The retained variance of the WPCA-DC-LSTM is 95%. The other parameters of the model have been shown in section 2.6. The generalization ability of the model will be further discussed. In this section, the whole 55s prediction work will be implemented, excluding the first 1000-time steps.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Comparison of different advanced time steps based on 20m wave</title>
<p>Based on wave height data collected at distances of <italic>N</italic> (less than 20) m from the ship bow, these data are processed using Weighted Principal Component Analysis (WPCA). The processed wave height data, along with motion data, are then combined to input the hybrid model for predicting the ship&#x2019;s motion. The specific features of the dataset are shown in <xref ref-type="table" rid="T8">
<bold>Table&#xa0;8</bold>
</xref>. The features of wave height and 6DOF will be inputted the model.</p>
<table-wrap id="T8" position="float">
<label>Table&#xa0;8</label>
<caption>
<p>Specific features of datasets.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="middle" align="center">Classification</th>
<th valign="middle" colspan="5" align="center">Selected Features</th>
</tr>
<tr>
<th valign="middle" align="center">Wave height</th>
<th valign="middle" align="center">0m</th>
<th valign="middle" align="center">5m</th>
<th valign="middle" align="center">10m</th>
<th valign="middle" align="center">15m</th>
<th valign="middle" align="center">20m</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="middle" align="center">Motion</td>
<td valign="middle" align="center">
<inline-formula>
<mml:math display="inline" id="im52">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>3</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>(heave)</td>
<td valign="middle" align="center">
<inline-formula>
<mml:math display="inline" id="im53">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>4</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>(roll)</td>
<td valign="middle" align="center">
<inline-formula>
<mml:math display="inline" id="im54">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3be;</mml:mi>
<mml:mn>5</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>(pitch)</td>
<td valign="middle" align="center">
<inline-formula>
<mml:math display="inline" id="im55">
<mml:mi>&#x3c8;</mml:mi>
</mml:math>
</inline-formula>(heading)</td>
<td valign="middle" align="center">Trajectory</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The advanced time steps of prediction are 50, 75, 100, 125, and 150. <xref ref-type="fig" rid="f9">
<bold>Figure&#xa0;9</bold>
</xref> illustrates the comparison between the time histories of predicted ship motion based on various input schemes and the original data. <xref ref-type="fig" rid="f10">
<bold>Figure&#xa0;10</bold>
</xref> presents three metrics of the models on the selected validation datasets.</p>
<fig id="f9" position="float">
<label>Figure&#xa0;9</label>
<caption>
<p>Comparison between the predicted results based on different input schemes and the original data.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g009.tif"/>
</fig>
<fig id="f10" position="float">
<label>Figure&#xa0;10</label>
<caption>
<p>RMSE, and MAE for prediction results.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g010.tif"/>
</fig>
<p>In <xref ref-type="fig" rid="f9">
<bold>Figure&#xa0;9</bold>
</xref>, the model has good prediction effects on the selected dataset when the advanced time step is 50. With the increase in the advanced time step, the discrepancy between the predicted values and the original data is more apparent. In <xref ref-type="fig" rid="f9">
<bold>Figure&#xa0;9A</bold>
</xref>, the performance of the heave prediction is worse than that of other motion features. Especially the discrepancy between the prediction results and original values at the marked troughs and peaks is most affected by the increase of advanced time steps. In <xref ref-type="fig" rid="f9">
<bold>Figure&#xa0;9B</bold>
</xref>, there is a phenomenon of poor fitting to the periodic change data when the advanced time steps are more than 100. The prediction of pitch and heading met the expectation to some extent. The high accuracy of the short-term prediction reflects the ability of the WPCA-DC-LSTM hybrid model to extract the features of the ship&#x2019;s motions and waves height.</p>
<p>In <xref ref-type="fig" rid="f10">
<bold>Figure&#xa0;10</bold>
</xref>, the RMSE and MAE achieved the minimum value when the advanced time steps were 50, it means the model is effectively minimizing large prediction errors when the advanced time is 50. Although the loss does not increase with the increase of the advanced time step, the overall trend is higher loss at the high advanced time step.</p>
<p>In general, the predictive capability of the model on the new data set is not too bad when the advanced time below 75, indicating that the proposed model has good ability of generalization. And the advanced time of single heading feature have room for testing. The accuracy of the heading prediction results is higher than the other features, showing that the features extracted from the waves have a more positive influence on the heading in the trained model.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Comparison of different advanced time steps based on 15m wave</title>
<p>The distance from the ship is reduced from 20 to 15 meters, and the wave height data at 0m,5m,10m, and 15m are taken. Then the wave height data processed by WPCA and motion data will be input into the model together to predict the ship&#x2019;s motion. The advanced time steps of prediction are 50, 75, 100, 125, and 150. The different comparisons between the time history of the ship motion predicted based on different input database processing schemes and the original data is shown in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11</bold>
</xref>. <xref ref-type="fig" rid="f12">
<bold>Figure&#xa0;12</bold>
</xref> shows the three final metrics of the models on the selected validation dataset.</p>
<fig id="f11" position="float">
<label>Figure&#xa0;11</label>
<caption>
<p>Comparison between the prediction results based on different input database processing schemes and the original data.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g011.tif"/>
</fig>
<fig id="f12" position="float">
<label>Figure&#xa0;12</label>
<caption>
<p>R<sup>2</sup>, RMSE, and MAE for prediction results.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g012.tif"/>
</fig>
<p>In <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11</bold>
</xref>, the model has good prediction effects on the roll, pitch, and heading when the advanced time step is 50. The accuracy of the 50t-s in <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11</bold>
</xref> is similar to that of the 75t-s in <xref ref-type="fig" rid="f9">
<bold>Figure&#xa0;9</bold>
</xref>. With the increase in the advanced time step, the discrepancy between predicted values and original data is more apparent. In <xref ref-type="fig" rid="f11">
<bold>Figure&#xa0;11A</bold>
</xref>, the performance of the heave prediction is worse than that of other motion features. Apparent biases can be observed at some low advanced time steps. This means that the model&#x2019;s ability to process long-term dependencies is declining compared to the results in section 4.1. However, the prediction of the heading also met the expectation.</p>
<p>In <xref ref-type="fig" rid="f12">
<bold>Figure&#xa0;12</bold>
</xref>, the values of RMSE and MAE at higher advanced time steps are larger than that at low higher times steps. The overall loss of <xref ref-type="fig" rid="f12">
<bold>Figure&#xa0;12</bold>
</xref> is larger than that of the corresponding advanced time step in <xref ref-type="fig" rid="f10">
<bold>Figure&#xa0;10</bold>
</xref>. It shows that the contribution of the far wave height features to the prediction cannot be ignored during the process of reducing features dimension. When the wave height data at 20m is reduced, the prediction performance of the model worse overall, indicating that the model obtained the less information with the decrease of wave features.</p>
<p>In light of these observations, it is evident that the WPCA-DC-LSTM model's performance is highly dependent on the inclusion of comprehensive wave height data. The decline in prediction accuracy, particularly for heave at lower advanced time steps, underscores the model&#x2019;s sensitivity to long-term dependencies. The increased biases and overall loss at higher advanced time steps, as shown in <xref ref-type="fig" rid="f11">
<bold>Figures&#xa0;11</bold>
</xref> and <xref ref-type="fig" rid="f12">
<bold>12</bold>
</xref>, suggest that reducing the dimensionality of wave height features, especially those at greater distances like 20m, results in significant information loss. This highlights the critical role that distant wave features play in accurate motion prediction. Therefore, ensuring the retention of key wave height data during feature reduction is crucial for maintaining model performance. Furthermore, enhancing the model's capacity to capture long-term dependencies and incorporating advanced feature extraction methods could further improve its robustness and accuracy in predicting ship motion. Additionally, refining noise reduction techniques will help in preserving essential wave information, thereby enhancing the model's predictive capabilities even with fewer features.</p>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Comparison of different advanced time steps based on 10m wave</title>
<p>Using wave height data from three points&#x2014;0 m, 5 m, and 10 m from the ship bow&#x2014;processed by WPCA, and combining these with motion data, input features were created to predict the ship&#x2019;s motion. <xref ref-type="fig" rid="f13">
<bold>Figure&#xa0;13</bold>
</xref> shows the comparison between the original data and the time history of ship motion predicted using different input schemes. <xref ref-type="fig" rid="f14">
<bold>Figure&#xa0;14</bold>
</xref> shows three metrics of the models on the training dataset and validation dataset.</p>
<fig id="f13" position="float">
<label>Figure&#xa0;13</label>
<caption>
<p>Comparison between the prediction results with different input schemes and the original data.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g013.tif"/>
</fig>
<fig id="f14" position="float">
<label>Figure&#xa0;14</label>
<caption>
<p>R<sup>2</sup>, RMSE, and MAE for prediction results.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g014.tif"/>
</fig>
<p>The trend of the prediction values in <xref ref-type="fig" rid="f13">
<bold>Figure&#xa0;13</bold>
</xref> closely resembles that in <xref ref-type="fig" rid="f9">
<bold>Figures&#xa0;9</bold>
</xref> and <xref ref-type="fig" rid="f11">
<bold>11</bold>
</xref>. However, the main distinction lies in the increasing bias between the predicted values and the original data at advanced time steps, particularly at marked points. In <xref ref-type="fig" rid="f13">
<bold>Figure&#xa0;13D</bold>
</xref>, the prediction of the heading shows significant fluctuations after 40 seconds, with a more pronounced bias compared to <xref ref-type="fig" rid="f9">
<bold>Figure&#xa0;9D</bold>
</xref>
</p>
<p>In <xref ref-type="fig" rid="f14">
<bold>Figure&#xa0;14</bold>
</xref>, both RMSE and MAE values increase at higher advanced time steps, with overall losses exceeding those in <xref ref-type="fig" rid="f10">
<bold>Figures&#xa0;10</bold>
</xref> and <xref ref-type="fig" rid="f12">
<bold>12</bold>
</xref> at corresponding time steps. While MAE consistently rises with the time step, RMSE fluctuates around an intermediate value, highlighting its sensitivity to large errors and anomalies. Despite the fluctuations, the model's overall performance stabilizes as wave characteristics diminish. However, this stabilization does not imply improved prediction accuracy. The differing sensitivities of RMSE and MAE to factors such as error distribution, outliers, and skewness further explain these variations. Overall, the results indicate a decline in the model's generalization ability as fewer wave features are extracted.</p>
<p>Comparing predictions across the three datasets, the model's performance at advanced time steps deteriorates as wave features are reduced. Wave data may contain noise, but assigning higher weights to significant features during dimensionality reduction reduces the influence of noisy features. This process enhances data quality and model robustness. However, when key features critical to prediction are removed, the model loses essential information. Furthermore, the complementary relationships among wave features are disrupted, limiting the model's ability to capture complex wave patterns.</p>
<p>Overall, the WPCA-DC-LSTM model demonstrates strong generalization capabilities across new datasets. Although its predictive accuracy declines over time steps for certain motion features, such as heading and pitch, it excels in accurately predicting heave and roll motions. The reduction in wave features highlights the model's ability to capture essential information, but it also underscores the importance of comprehensive feature extraction for maintaining prediction accuracy. By assigning higher weights to significant features during dimensionality reduction, the model effectively mitigates the impact of noise and preserves critical wave patterns, even with fewer features. This capability ensures the model remains robust and adaptable, reinforcing its effectiveness in capturing and generalizing complex wave dynamics.</p>
</sec>
<sec id="s4_4">
<label>4.4</label>
<title>Comparison with other methods</title>
<p>To further validate the effectiveness of the proposed method, a comparative analysis was conducted against several widely used prediction models, including LSTM, BiLSTM, PSO-BiLSTM (BiLSTM optimized with traditional Particle Swarm Optimization), and ADPSO-BiLSTM (BiLSTM optimized with Adaptive Particle Swarm Optimization) (<xref ref-type="bibr" rid="B1">Cheliotis et&#xa0;al., 2020</xref>; <xref ref-type="bibr" rid="B11">Han et&#xa0;al., 2024</xref>). The goal of this comparison was to highlight the performance differences in terms of prediction accuracy and the ability to handle complex, high-dimensional wave-ship interaction data.</p>
<p>The LSTM and BiLSTM models were chosen as baseline methods due to their popularity in time-series prediction tasks. PSO-BiLSTM and ADPSO-BiLSTM represent more advanced techniques, incorporating optimization algorithms to enhance BiLSTM's predictive capabilities. These methods are frequently employed in the field to address nonlinear and complex dynamic systems. The training dataset consisted of sequential data combining wave features and motion features. The wave features included wave heights at distances of 0 m, 5 m, 10 m, 15 m, and 20 m from the vessel, while the motion features represented the six degrees of freedom (6DOF) of the ship&#x2019;s movement (surge, sway, heave, roll, pitch, and yaw). These features were chosen to fully characterize the dynamic interactions between the vessel and the irregular wave conditions.</p>
<p>The comparison was performed on the same dataset, ensuring consistency in input features, training parameters, and evaluation metrics. Results were analyzed based on key performance indicators, including RMSE, MAE, and R&#xb2;.</p>
<p>From the <xref ref-type="fig" rid="f15">
<bold>Figure&#xa0;15</bold>
</xref>, the comparative evaluation of Model.4.1 to Model.4.5 (LSTM, BiLSTM, PSO-BiLSTM, ADPSO-BiLSTM, and WPCA-LSTM) reveals that WPCA-LSTM (Model.4.5) achieves the highest accuracy in predicting ship motion dynamics across all degrees of freedom. While all models capture the general trends of the original data, WPCA-LSTM consistently exhibits the closest alignment, particularly during steady-state oscillations (t&gt;50 s). This performance highlights the effectiveness of combining WPCA for feature extraction with LSTM-based temporal modeling.</p>
<fig id="f15" position="float">
<label>Figure&#xa0;15</label>
<caption>
<p>Comparison between the prediction results of different models and the original data.</p>
</caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fmars-12-1497956-g015.tif"/>
</fig>
<p>In the transient phase (t=36&#x2013;50s), WPCA-LSTM outperforms other models by minimizing deviations, handling rapid dynamic changes more effectively than earlier architectures. During the steady-state phase, its predictions demonstrate exceptional stability and precision, as evidenced by reduced deviations and accurate periodic oscillation capture. Across specific degrees of freedom, WPCA-LSTM shows superior performance in yaw, roll, heave, and pitch, particularly in capturing high-frequency and peak oscillations where other models falter.</p>
<p>The progressive improvement from Model.4.1 to Model.4.5 underscores the impact of advanced optimization techniques and architectural refinements. WPCA-LSTM leverages these advancements to provide the most accurate and robust predictions, though minor residuals in the transient phase suggest room for further enhancement through adaptive modeling techniques. Overall, WPCA-LSTM sets a new benchmark for predictive performance in complex ship motion dynamics, offering a promising approach for future applications.</p>
<p>In <xref ref-type="table" rid="T9">
<bold>Table&#xa0;9</bold>
</xref>, LSTM and BiLSTM demonstrated reasonable performance but were less capable of capturing the full complexity of the dataset, particularly when dealing with irregular wave conditions. PSO-BiLSTM and ADPSO-BiLSTM achieved improved predictive accuracy compared to the baseline methods. However, their performance gains were limited when the dataset's dimensionality increased due to irregular wave data. The proposed method outperformed the baseline and optimization-based models in certain tasks, particularly in capturing the underlying dynamics of wave-ship interactions. Its performance was also more consistent across different prediction tasks.</p>
<table-wrap id="T9" position="float">
<label>Table&#xa0;9</label>
<caption>
<p>R&#xb2;, RMSE, and MAE for prediction results.</p>
</caption>
<table frame="hsides">
<thead>
<tr>
<th valign="top" align="center">Model</th>
<th valign="top" align="center">RMSE</th>
<th valign="top" align="center">MAE</th>
<th valign="top" align="center">R<sup>2</sup>
</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="center">LSTM</td>
<td valign="top" align="center">0.187</td>
<td valign="top" align="center">0.145</td>
<td valign="top" align="center">0.792</td>
</tr>
<tr>
<td valign="top" align="center">BiLSTM</td>
<td valign="top" align="center">0.172</td>
<td valign="top" align="center">0.132</td>
<td valign="top" align="center">0.810</td>
</tr>
<tr>
<td valign="top" align="center">PSO-BiLSTM</td>
<td valign="top" align="center">0.158</td>
<td valign="top" align="center">0.114</td>
<td valign="top" align="center">0.827</td>
</tr>
<tr>
<td valign="top" align="center">ADPSO-BiLSTM</td>
<td valign="top" align="center">0.150</td>
<td valign="top" align="center">0.108</td>
<td valign="top" align="center">0.896</td>
</tr>
<tr>
<td valign="top" align="center">WPCA-LSTM</td>
<td valign="top" align="center">0.142</td>
<td valign="top" align="center">0.109</td>
<td valign="top" align="center">0.904</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>This comparative analysis highlights the robustness and adaptability of the proposed approach in addressing the challenges posed by high-dimensional and irregular wave data. While optimization-based methods like PSO-BiLSTM and ADPSO-BiLSTM show promise, the proposed method provides a balanced solution, achieving competitive accuracy while maintaining interpretability and computational efficiency.</p>
</sec>
</sec>
<sec id="s5" sec-type="conclusion">
<label>5</label>
<title>Conclusion</title>
<p>To improve the safety and stable navigation of ships in irregular waves, optimize the accuracy of ships&#x2019; motion prediction, and reduce the high dimension of feature, this paper proposed a WPCA-DC-LSTM prediction model based on wave height features. The dimension of wave height features was reduced with the WPCA. Then, the model employed internal and external circulation to optimize the hyperparameters of the LSTM structure based on the retained variance value of WPCA to improve the generalization capability of the model. The predictive capability of the proposed hybrid model has been discussed by comparing different models and methods. The advanced time step of prediction and the retained number of wave features have been compared. The proposed WPCA-DC-LSTM model is employed to process the motion and wave data from the autopilot trimaran. The key points of this paper can be concluded as follows.</p>
<list list-type="order">
<list-item>
<p>Compared with the conventional LSTM model and PCA-LSTM hybrid model, the WPCA-DC-LSTM model achieves superior performance in predicting ship attitude motion, especially in generalizing to new datasets. The WPCA method enhances the ability to process nonlinear features like wave heights, while double circulation optimization improves model stability by dynamically adjusting the retained variance.</p>
</list-item>
<list-item>
<p>Incorporating wave height features at varying distances improves the model&#x2019;s understanding of ship motion patterns, enabling more accurate and comprehensive motion predictions.</p>
</list-item>
<list-item>
<p>The WPCA-DC-LSTM model demonstrates strong generalization in new datasets. While prediction accuracy for some features declines with longer time steps, the model effectively captures overall motion trends.</p>
</list-item>
<list-item>
<p>The bias in prediction performance across different motion features highlights WPCA's limitations in fully capturing the relationship between wave and motion features.</p>
</list-item>
<list-item>
<p>Maritime Applications: The WPCA-DC-LSTM model offers practical value for maritime applications, including real-time autopilot systems for safer navigation, route optimization under varying wave conditions, and vessel design and performance analysis. Its accurate motion predictions enhance operational safety and efficiency in maritime environments.</p>
</list-item>
</list>
<p>Limitations and improvement:</p>
<list list-type="order">
<list-item>
<p>The model&#x2019;s performance shows a bias across different motion features, indicating limitations in addressing the complex interactions between ship motion and wave features.</p>
</list-item>
<list-item>
<p>The prediction accuracy declines as the advanced time step increases, particularly for features with higher nonlinearity, which might affect long-term predictions.</p>
</list-item>
<list-item>
<p>The computational cost of the double circulation optimization process is relatively high, which may limit the practical application of the model in real-time scenarios.</p>
</list-item>
<list-item>
<p>Incorporate temporal feature extraction methods, such as attention mechanisms, to better capture dynamic relationships and improve long-term prediction accuracy.</p>
</list-item>
</list>
</sec>
</body>
<back>
<sec id="s6" sec-type="data-availability">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/supplementary material. Further inquiries can be directed to the corresponding author.</p>
</sec>
<sec id="s7" sec-type="author-contributions">
<title>Author contributions</title>
<p>JX: Data curation, Investigation, Methodology, Software, Validation, Visualization, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. JG: Conceptualization, Funding acquisition, Methodology, Resources, Supervision, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing. LX: Funding acquisition, Resources, Validation, Writing &#x2013; review &amp; editing. ZH: Data curation, Funding acquisition, Methodology, Resources, Validation, Writing &#x2013; original draft, Writing &#x2013; review &amp; editing.</p>
</sec>
<sec id="s8" sec-type="funding-information">
<title>Funding</title>
<p>The author(s) declare financial support was received for the research, authorship, and/or publication of this article. This project was supported by the National Key R&amp;D Program of China (2022YFC2806600, 2022YFC2806604), the Science and Technology Commission of Shanghai Municipality, China (Grant number 22YF1415900), National Natural Science Foundation of China (Grant number 52401385).</p>
</sec>
<sec id="s9" sec-type="COI-statement">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec id="s10" sec-type="disclaimer">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Cheliotis</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Lazakis</surname> <given-names>I.</given-names>
</name>
<name>
<surname>Theotokatos</surname> <given-names>G.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Machine learning and data-driven fault detection for ship systems operations</article-title>. <source>Ocean Eng.</source> <volume>216</volume>, <fpage>107968</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2020.107968</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cohen</surname> <given-names>I.</given-names>
</name>
<name>
<surname>Huang</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Chen</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Benesty</surname> <given-names>J.</given-names>
</name>
</person-group> (<year>2009</year>). &#x201c;<article-title>Pearson correlation coefficien</article-title>,&#x201d; in <source>Noise reduction in speech processing</source> (<publisher-loc>Berlin Heidelberg</publisher-loc>: <publisher-name>Springer-Verlag</publisher-name>), <fpage>1</fpage>&#x2013;<lpage>4</lpage>.</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>D'Agostino</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Serani</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Stern</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Diez</surname> <given-names>M.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Recurrent-type neural networks for real-time short-term prediction of ship motions in high sea state</article-title>. <source>arXiv</source> <volume>2105</volume>, <fpage>13102</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.48550/arXiv.2105.13102</pub-id>
</citation>
</ref>
<ref id="B4">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>De Masi</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Gaggiotti</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Bruschi</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Venturi</surname> <given-names>M.</given-names>
</name>
</person-group> (<year>2011</year>). <source>Ship motion prediction by radial basis neural networks//2011 IEEE workshop on hybrid intelligent models and applications</source> (<publisher-loc>Paris, France</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>28</fpage>&#x2013;<lpage>32</lpage>.</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Geng</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Sun</surname> <given-names>Q.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>A novel short-term ship motion prediction algorithm based on EMD and adaptive PSO&#x2013;LSTM with the sliding window approach</article-title>. <source>J. Mar. Sci. Eng.</source> <volume>11</volume>, <fpage>466</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/jmse11030466</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gong</surname> <given-names>J. Y.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y. B.</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Yan</surname> <given-names>S.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>Q.</given-names>
</name>
</person-group> (<year>2022</year>a). <article-title>Study on the surf-riding and broaching of trimaran in oblique stern waves</article-title>. <source>Ocean Eng.</source> <volume>266</volume>, <fpage>112995</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2022.112995</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gong</surname> <given-names>J. Y.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y. B.</given-names>
</name>
<name>
<surname>Cui</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Fu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>D. P.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>The effect of side-hull position on the seakeeping performance of a trimaran at various headings</article-title>. <source>Ocean Eng.</source> <volume>239</volume>, <fpage>109897</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2021.109897</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gong</surname> <given-names>J. Y.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y. B.</given-names>
</name>
<name>
<surname>Yan</surname> <given-names>S. Q.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>Q. W.</given-names>
</name>
</person-group> (<year>2022</year>b). <article-title>Numerical simulation of turn and zigzag maneuvres of trimaran in calm water and waves by a hybrid method</article-title>. <source>Ocean Eng.</source> <volume>253</volume>, <fpage>111239</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2022.111239</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gong</surname> <given-names>J. Y.</given-names>
</name>
<name>
<surname>Yan</surname> <given-names>S. Q.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>Q. W.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y. B.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Added resistance and seakeeping performance of trimarans in oblique waves</article-title>. <source>Ocean Eng.</source> <volume>216</volume>, <fpage>107721</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2020.107721</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Greenacre</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Groenen</surname> <given-names>P. J.</given-names>
</name>
<name>
<surname>Hastie</surname> <given-names>T.</given-names>
</name>
<name>
<surname>d&#x2019;Enza</surname> <given-names>A. I.</given-names>
</name>
<name>
<surname>Markos</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Tuzhilina</surname> <given-names>E.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Principal component analysis</article-title>. <source>Nat. Rev. Methods Primers</source> <volume>2</volume>, <fpage>100</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1038/s43586-022-00184-w</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Han</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Skulstad</surname> <given-names>R.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2024</year>). <source>Deep autoregressive roll motion prediction of marine vessels</source> (<publisher-loc>New York City</publisher-loc>: <publisher-name>IEEE Transactions on Industrial Electronics</publisher-name>).</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Yan</surname> <given-names>S. Q.</given-names>
</name>
<name>
<surname>Greaves</surname> <given-names>D.</given-names>
</name>
<name>
<surname>Mai</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Raby</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>Q. W.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Investigation of interaction between extreme waves and a moored FPSO using FNPT and CFD solvers</article-title>. <source>Ocean Eng.</source> <volume>206</volume>, <fpage>107353</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2020.107353</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>ITTC</surname> <given-names>M. C.</given-names>
</name>
</person-group> (<year>2014</year>). &#x201c;<article-title>Recommended procedures and guidelines</article-title>,&#x201d; in <source>27th international towing tank conference</source> (<publisher-loc>Copenhagen, Denmark</publisher-loc>: <publisher-name>The International Towing Tank Conference</publisher-name>).</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jiang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Duan</surname> <given-names>S. L.</given-names>
</name>
<name>
<surname>Huang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Han</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Yang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>Q.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Scale effects in AR model real-time ship motion prediction</article-title>. <source>Ocean Eng.</source> <volume>203</volume>, <fpage>107202</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2020.107202</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kawan</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Chhantyal</surname> <given-names>K.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Data-driven modeling of ship motion prediction based on support vector regression</article-title>. <source>Link&#xf6;ping Electronic Conference Proceedings</source>. <volume>2017</volume> (<issue>138</issue>), <fpage>350</fpage>&#x2013;<lpage>354</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3384/ecp17138</pub-id>
</citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Khan</surname> <given-names>A.</given-names>
</name>
<name>
<surname>Bil</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Marion</surname> <given-names>K. E.</given-names>
</name>
</person-group> (<year>2005</year>). <source>Ship motion prediction for launch and recovery of air vehicles//Proceedings of OCEANS 2005 MTS/IEEE</source> (<publisher-loc>Washington, DC, USA</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>2795</fpage>&#x2013;<lpage>2801</lpage>.</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>M. W.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>D. Y.</given-names>
</name>
<name>
<surname>Geng</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Hong</surname> <given-names>W. C.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>A hybrid approach for forecasting ship motion using CNN&#x2013;GRU&#x2013;AM and GCWOA</article-title>. <source>Appl. Soft Computing</source> <volume>114</volume>, <fpage>108084</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.asoc.2021.108084</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Li</surname> <given-names>G.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Kawan</surname> <given-names>B.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Osen</surname> <given-names>O. L.</given-names>
</name>
<name>
<surname>Styve</surname> <given-names>A.</given-names>
</name>
</person-group> (<year>2016</year>). <source>Analysis and modeling of sensor data for ship motion prediction//OCEANS 2016-Shanghai</source> (<publisher-loc>Shanghai, China</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>1</fpage>&#x2013;<lpage>7</lpage>.</citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ma</surname> <given-names>Q. W.</given-names>
</name>
<name>
<surname>Yan</surname> <given-names>S. Q.</given-names>
</name>
</person-group> (<year>2009</year>). <article-title>QALE-FEM for numerical modelling of non-linear interaction between 3D moored floating bodies and steep waves</article-title>. <source>Int. J. Numerical Methods Eng.</source> <volume>78</volume>, <fpage>713</fpage>&#x2013;<lpage>756</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1002/nme.v78:6</pub-id>
</citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Martinez</surname> <given-names>A. M.</given-names>
</name>
<name>
<surname>Kak</surname> <given-names>A. C.</given-names>
</name>
</person-group> (<year>2001</year>). <article-title>Pca versus lda</article-title>. <source>IEEE Trans. Pattern Anal. Mach. Intell.</source> <volume>23</volume>, <fpage>228</fpage>&#x2013;<lpage>233</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1109/34.908974</pub-id>
</citation>
</ref>
<ref id="B21">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Peng</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Men</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Jia</surname> <given-names>S.</given-names>
</name>
</person-group> (<year>2014</year>). <source>The ship motion prediction approach based on BP neural network to identify Volterra series kernels//The 26th Chinese Control and Decision Conferenc CCDC)</source> (<publisher-loc>Changsha, China</publisher-loc>: <publisher-name>IEEE</publisher-name>), <fpage>2324</fpage>&#x2013;<lpage>2328</lpage>.</citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Perera</surname> <given-names>L. P.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Navigation vector based ship maneuvering prediction</article-title>. <source>Ocean Eng.</source> <volume>138</volume>, <fpage>151</fpage>&#x2013;<lpage>160</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2017.04.017</pub-id>
</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rigatos</surname> <given-names>G. G.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Sensor fusion-based dynamic positioning of ships using Extended Kalman and Particle Filtering</article-title>. <source>Robotica</source> <volume>31</volume>, <fpage>389</fpage>&#x2013;<lpage>403</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1017/S0263574712000409</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Rithani</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Kumar</surname> <given-names>R. P.</given-names>
</name>
<name>
<surname>Doss</surname> <given-names>S.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>A review on big data based on deep neural network approaches</article-title>. <source>Artif. Intell. Rev.</source> <volume>56</volume>, <fpage>14765</fpage>&#x2013;<lpage>14801</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s10462-023-10512-5</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Rusche</surname> <given-names>H.</given-names>
</name>
</person-group> (<year>2002</year>). <source>Computational fluid dynamics of dispersed two-phase flows at high phase fractions</source> (<publisher-loc>London, UK</publisher-loc>: <publisher-name>Imperial College</publisher-name>).</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Shen</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Xie</surname> <given-names>M.</given-names>
</name>
</person-group> (<year>2005</year>). <article-title>Ship motion extreme short time prediction of ship pitch based on diagonal recurrent neural network</article-title>. <source>J. Mar. Sci. Appl.</source> <volume>4</volume>, <fpage>56</fpage>&#x2013;<lpage>60</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1007/s11804-005-0034-z</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sun</surname> <given-names>Q.</given-names>
</name>
<name>
<surname>Tang</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Gao</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>G.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Short-term ship motion attitude prediction based on LSTM and GPR</article-title>. <source>Appl. Ocean Res.</source> <volume>118</volume>, <fpage>102927</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.apor.2021.102927</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Torsvik</surname> <given-names>T.</given-names>
</name>
</person-group> (<year>2009</year>). <source>Modelling of ship waves from high-speed vessels//Applied wave mathematics: Selected topics in solids, fluids, and mathematical methods</source> (<publisher-loc>Berlin, Heidelberg</publisher-loc>: <publisher-name>Springer Berlin Heidelberg</publisher-name>), <fpage>: 229</fpage>&#x2013;<lpage>: 263</lpage>.</citation>
</ref>
<ref id="B29">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Weller</surname> <given-names>H. G.</given-names>
</name>
</person-group> (<year>2002</year>). &#x201c;<article-title>Derivation, modelling and solution of the conditionally averaged two-phase flow equations</article-title>,&#x201d; in <source>Technical report TR/HGW/02</source> (<publisher-loc>Paris France</publisher-loc>: <publisher-name>Nabla Ltd</publisher-name>).</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xiao</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Zou</surname> <given-names>C.</given-names>
</name>
<name>
<surname>Chi</surname> <given-names>H.</given-names>
</name>
<name>
<surname>Fang</surname> <given-names>R.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Boosted GRU model for short-term forecasting of wind power with feature-weighted principal component analysis</article-title>. <source>Energy</source> <volume>267</volume>, <fpage>126503</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.energy.2022.126503</pub-id>
</citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Gong</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y.</given-names>
</name>
<name>
<surname>Fu</surname> <given-names>Z.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>L.</given-names>
</name>
</person-group> (<year>2024</year>). <article-title>Surf-riding and broaching prediction of ship sailing in regular waves by LSTM based on the data of ship motion and encounter wave</article-title>. <source>Ocean Eng.</source> <volume>297</volume>, <fpage>117010</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2024.117010</pub-id>
</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xu</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Gong</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Li</surname> <given-names>Y.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Integrating k-means clustering and LSTM for enhanced ship heading prediction in oblique stern wave</article-title>. <source>J. Mar. Sci. Eng.</source> <volume>11</volume>, <fpage>2185</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.3390/jmse11112185</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yan</surname> <given-names>S. Q.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>Q. W.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>QALE-FEM for modelling 3D overturning waves</article-title>. <source>Int. J. Numer. Meth. Fl.</source> <volume>63</volume>, <fpage>743</fpage>&#x2013;<lpage>768</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1002/fld.v63:6</pub-id>
</citation>
</ref>
<ref id="B34">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Yan</surname> <given-names>S. Q.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>J. H.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>J. X.</given-names>
</name>
<name>
<surname>Ma</surname> <given-names>Q. W.</given-names>
</name>
<name>
<surname>Xie</surname> <given-names>Z. H.</given-names>
</name>
</person-group> (<year>2019</year>). &#x201c;<article-title>Numerical simulation of wave structure interaction using QaleFOAM</article-title>,&#x201d; in <source>29th international offshore and polar engineering conference</source>(<publisher-loc>Honolulu, Hawaii, USA</publisher-loc>: <publisher-name>International Ocean and Polar Engineering Conference</publisher-name>).</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yin</surname> <given-names>J. C.</given-names>
</name>
<name>
<surname>Zou</surname> <given-names>Z. J.</given-names>
</name>
<name>
<surname>Xu</surname> <given-names>F.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>N. N.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Online ship roll motion prediction based on grey sequential extreme learning machine</article-title>. <source>Neurocomputing</source> <volume>129</volume>, <fpage>168</fpage>&#x2013;<lpage>174</lpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.neucom.2013.09.043</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yoshimura</surname> <given-names>Y.</given-names>
</name>
</person-group> (<year>1986</year>). <article-title>Mathematical model for the manoeuvring ship motion in shallow water</article-title>. <source>J. Kansai Soc. naval architects</source> <volume>200</volume>, <fpage>41</fpage>&#x2013;<lpage>51</lpage>.</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Feng</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Wang</surname> <given-names>L.</given-names>
</name>
<etal/>
</person-group>. (<year>2024</year>). <article-title>A hybrid ship-motion prediction model based on CNN&#x2013;MRNN and IADPSO</article-title>. <source>Ocean Eng.</source> <volume>299</volume>, <fpage>117428</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2024.117428</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Kujala</surname> <given-names>P.</given-names>
</name>
<name>
<surname>Musharraf</surname> <given-names>M.</given-names>
</name>
<name>
<surname>Zhang</surname> <given-names>J.</given-names>
</name>
<name>
<surname>Hirdaris</surname> <given-names>S.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>A machine learning method for the prediction of ship motion trajectories in real operational conditions</article-title>. <source>Ocean Eng.</source> <volume>283</volume>, <fpage>114905</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2023.114905</pub-id>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname> <given-names>T.</given-names>
</name>
<name>
<surname>Zheng</surname> <given-names>X. Q.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>M. X.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Multiscale attention-based LSTM for ship motion prediction</article-title>. <source>Ocean Eng.</source> <volume>230</volume>, <fpage>109066</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2021.109066</pub-id>
</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhou</surname> <given-names>X.</given-names>
</name>
<name>
<surname>Zou</surname> <given-names>L.</given-names>
</name>
<name>
<surname>Ouyang</surname> <given-names>Z. L.</given-names>
</name>
<name>
<surname>Liu</surname> <given-names>S. Y.</given-names>
</name>
<name>
<surname>Zou</surname> <given-names>Z. J.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Nonparametric modeling of ship maneuvering motions in calm water and regular waves based on R-LSTM hybrid method</article-title>. <source>Ocean Eng.</source> <volume>285</volume>, <fpage>115259</fpage>. doi:&#xa0;<pub-id pub-id-type="doi">10.1016/j.oceaneng.2023.115259</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>