One approach to develop time-domain model of marine structure is using Cummins equations:
where is the generalized mass matrix, is the constant infinite-frequency added mass, is restoring coefficient, is the impulse response function usually referred to the retardation or memory functions, is the wave exciting force and is the position and orientation of the marine structure.
Usually, frequency-dependent added mass and potential damping can be calculated by potential theory software, such as, by WAMIT. Then, in frequency-domain and time-domain can be obtained from
To implement the simulation model, non-parametric fluid-memory model and linear time-invariant parametric model can be applied. The non-parametric fluid-memory model requires a discrete-time approximation of the convolution integral and enough past data. The convolution term becomes
where is sampling time. This approach may be time-consuming and require a significant amount of computer memory.
Besides, the linear time-invariant model can be expressed by
The parameters can be obtained by frequency-domain identification or time-domain identification. In frequency-domain, the identification problem is to find that
where is matrix of transfer functions with entries
Note that should be rational that . Least-squares fitting method can be applied to solve the identification problem as follows:
where . Details can be referred to the research paper . Note that the method may not always obtain a stable estimation of (6). In this case, authors in  suggest to reflect the unstable poles about the imaginary axis and recompute the denominator polynomial.
On the other hand, time-domain identification methods are mostly based on the impulse response of the retardation function . In the following, a method based on realization theory is introduced.
The Hankel matrix of the impulse response is
The state-space model can be obtained based on Singular Value Decomposition of that
where and are calculated from Singular Value Decomposition
and and .
The identification codes are given as follows:
function [sys]=imp2ss_zhz(t,K,Ord) % effective only for SISO system dt = t(2)-t(1); %Hankel matrix and Singular Value Decomposition y = dt*K; h = hankel(y(2:end)); [u,svh,v] = svd(h); svh=diag(svh); u1 = u(1:length(K)-2,1:Ord); v1 = v(1:length(K)-2,1:Ord); u2 = u(2:length(K)-1,1:Ord); sqs = sqrt(svh(1:Ord)); ubar = u1.'*u2; % discrete-time realization a = ubar.*((1./sqs)*sqs.'); b = v1(1,:).'.*sqs; c = u1(1,:).*sqs.'; d = y(1); % continuous-time realization according to Tustin transform iidd = inv(dt/2*(eye(Ord)+a)); ac = (a-eye(Ord))*iidd; bc = dt*(iidd*b); cc = c*iidd; dc = d-dt/2*((c*iidd)*b); sys=ss(ac,bc,cc,dc); end
From the results, it is observed that the model by time-domain identification method obtained a better result. The source data and MATLAB codes can be found here.
 Perez, T. and T. I. Fossen (2009). A Matlab Tool for Parametric Identification of Radiation-Force Models of Ships and Offshore Structures. Modelling, Identification and Control, MIC-30(1):1-15. doi:10.4173/mic.2009.1.1
 J. Jonkman (2010). Definition of the Floating System for Phase IV of OC3, Technical Report NREL/TP-500-47535.