2.2. Mathematical Modeling
The mathematical model describing a drilling platform’s dynamics is separated into low frequency (LF) and wave frequency (WF) models. The LF motions are caused by second-order wave loads (drift forces, including viscous effects and slowly varying forces), current loads, wind loads, and the thrusters’ forces. The first-order wave loads cause the WF motions. In the modeling of marine dynamic control systems, it is considered sufficient to consider the horizontal-plane dynamics [
24], which has been assumed in this paper. Typically, linear damping and wave drift loads make up a significant part of the LF forces, which again is considered in this model. The viscous forces appear as a huge effect at the wave splash zone on the semisubmersible platform columns, especially in storm conditions [
25]. The model is designed to compensate for WF motions and LF motions with a maneuvering model to describe the relation between the control activity, the motion-induced and seakeeping models to describe the motion due to the wave loads. In general, the first-order wave loads are more significant than the second-order wave loads. Both can be determined by employing quadratic transfer functions [
26,
27].
The study of the dynamic equations of marine system’s motion can be split into two aspects: The kinematic equations of motion, which relate to the geometrical aspects, and the kinetic equations of motion, which correspond to the motion analysis caused by the forces [
18]. The operational drilling mode requires a specific mathematical model and parameters as the primary physical properties will depend on how the platform is operated. The vessel motions in the horizontal plane are in the surge, sway, and yaw directions; these are considered in the DP control used in this study. The reference frames used in the paper, platform kinematics, and thrusters’ locations [
1,
2,
3,
4,
5,
6,
7,
8] are illustrated in
Figure 2. The North-East-Down (NED) coordinate system is defined with respect to an earth-fixed
reference frame. In addition, the reference-parallel
frame is earth-fixed rotated to the required heading angle
, and the origin is translated to the desired
position coordinates. The body-fixed
frame is fixed to the body of the platform rotated to the platform heading
ψ and the origin platform
position coordinate. By using the generalized position
, the velocity
is given with respect to a body-fixed frame, and
is the transformation matrix in a vectorial representation [
18]. These six differential equations are lumped together into a three Degree of Freedom (DOF) reference frame,
, [
28] as:
The rigid-body and hydrodynamic equations of motion are in general described by three differential equations, one for each degree of freedom. These three differential equations are lumped together into a vectorial equation of motion for the nonlinear unified seakeeping and maneuvering model [
18]:
where
is the platform inertia matrix, including the added mass, and
is the skew-symmetric Coriolis and centripetal matrix. The effects of sea current on the platform are divided into two parts: the potential part is formulated as
which includes the Munk moments, and the viscous part [
18]. The damping vector
is divided into linear and nonlinear components
.
defines the restoring vector,
is the wind load vector,
is the first-order wave loads,
defines the second-order wave loads, and
represents the thruster forces. The platform inertia mass matrix
, including the added mass, the linear damping
, and nonlinear damping
, are defined as:
where m is the platform mass,
is the moment of inertia about the
z-axis, and
,
,
, and
are the zero-frequency added mass in the surge, sway and yaw directions; hence,
is symmetrical and positive definite.
defines the strictly positive damping caused by linear wave drift and laminar skin friction damping, where
,,, and
are the hydrodynamic potential damping which can be calculated by the DNV Sesam (HydroD) and WAMIT software tools. The nonlinear damping
needs
and
, which are non-dimensional current coefficients in the horizontal plane, as illustrated in
Figure 3, and can be found by model tests using the DNV Sesam Simulation of Marine Operations (SIMO) software for the platform with some defined location of the origin. In Equation [
6],
is the water density,
is the platform length between perpendicular, and
D is the platform drilling draft.
Furthermore, the sea current loads typically included in the LF model define the relative velocity vector
and drag angle
according to:
The horizontal sea current formulation in surge and sway are defined as
and
, noting that, in yaw,
r is small, almost equal to zero, where
and
are the sea current speed and direction, respectively, as follows:
Generally, the motions are nonlinear, but linear approximations about specific points can be calculated. To linearize the motion equations, there is a time-domain model for the linear zero speed state-space model, which has been proposed by the Cummins equation in seakeeping [
29]:
where
is the retardation function,
V(τ) is a unit impulse, and
µ (t) is an impulse response function. A state-space formulation has been developed for the potential damping in the equation [
30]. Consequently,
µ (t) is represented by a linear state-space model with
as the state vector:
where
, and
are constant matrices, and
is calculated using the state-space model equations by solving the linear seakeeping motion equations in the time-domain, which includes fluid memory effects. Then, assuming linear force superposition, wave loads can be added for different speeds and sea states. The formulation of the wind velocities
and
are defined according to the following equations, where the total wind speed
, and relative wind angle
may be simplified:
The wind loads
in the surge, sway, and yaw directions are defined as follows:
where
is the air density,
is the platform length overall, and
,
are the lateral and longitudinal areas of the platform freeboard projected on the xz-plane and yz-plane.
, and
are the non-dimensional wind coefficients in the horizontal plane, which can be calculated by using DNV Sesam (SIMO), as shown in
Figure 4, or found by employing semi-empirical formulae as presented in Reference [
31].
By assuming linear force superposition,
and
are obtained by using the Quadratic transfer function to get the Response Amplitude Operator (RAO) forces [
32], as illustrated in
Figure 5 and
Figure 6. The Joint North Sea Wave Project (JONSWAP) spectra were applied for the platform wave parameters.
where
defines the generalized forces generated by the thruster system, and the thrust configuration
with the azimuth angles
, the control forces obtained by the thruster system,
=
with the magnitudes of the force produced by each thruster vector
, and
is a diagonal force coefficient matrix.
can be expressed as,
where the angle
is the angle of the
-th actuator
, determining the force direction produced in the platform body-fixed coordinate system,
are the locations of the thrusters on the platform by using the extended thrust vector
[
18] defined according to
where
is the extended control input vector, and
is the extended thrust configuration, which is constant while
depends on
.
can be solved directly from Equation (23) using a least-squares optimization method, then the azimuth control can be derived from
by mapping the pairs using [
33]:
The azimuth angles must be calculated with the control inputs subject to amplitude and rate saturation. The solution to this problem by using Lagrange multipliers is defined as the generalized inverse:
In the case where
, an equal weighting is given to each control force where
is a positive definite matrix. Thus, Equation (27) reduces to the Moore-Penrose pseudo-inverse. Since
, the control input can be computed as:
The locations of the thrusters, as shown in
Figure 2, are presented in
Table 1.
The semisubmersible platform in the simulation was commanded to maintain the position and heading in the horizontal-plane. The nonlinear PID controller is modeled, with an error signal
computed by using the reference system inputs for the semisubmersible platform. The nonlinear PID motion control receives the error signals and provides the force required to the platform. The position and speed of actual values are obtained from the platform dynamic equations. The PID control has been designed modeled using marine systems simulator (MSS) Simulink toolbox [
34].
where
,
, and
are the non-negative controller gains for the proportional, time integral, and time derivative of the error signal, respectively. The controller’s gains used for drilling operations were obtained through tuning using the Simulink optimization toolbox as presented in
Table 2.