Next Article in Journal
Optical System for the Transit Spectral Observation of Exoplanet-Atmosphere Characteristics
Previous Article in Journal
Theoretical Study on Specific Loss Power and Heating Temperature in CoFe2O4 Nanoparticles as Possible Candidate for Alternative Cancer Therapy by Superparamagnetic Hyperthemia
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Ship Model Identification with Genetic Algorithm Tuning

Electrical Department, Gdynia Maritime University, ul. Morska 81-87, 81-225 Gdynia, Poland
Appl. Sci. 2021, 11(12), 5504; https://doi.org/10.3390/app11125504
Submission received: 21 May 2021 / Revised: 9 June 2021 / Accepted: 11 June 2021 / Published: 14 June 2021
(This article belongs to the Section Robotics and Automation)

Abstract

:

Featured Application

Good mathematical modeling, which is used for prediction, is one of the most important elements of the predictive controller. Even the best simulation model only approximates the behavior of the object. In real applications, usage of the model generated based on simulation data may cause unstable controller behavior due to model mismatch. One method to avoid this inconvenience is to linearize the plant model based on data gained during real-time experiments, not based on simulation results. However, one should then take into account external disturbances, whose appearance causes deterioration of the obtained model quality and extends the time of reliable data collection. The proposed algorithm is a method for linearized plant model tuning based on real measurements. It allows for model identification on the basis of the simulation data and its tuning in order to fit experimental data. This method quickens the model identification procedure and allows for its usage in real MPC (Model Predictive Control) applications. It was proved that the tuned model usage leads to elimination of high-frequency oscillations during its validation based on real-time experimental data.

Abstract

Modeling is the most important component in predictive controller design. It should predict outputs precisely and fast. Thus, it must be adequate for the ship dynamics while having as simple a structure as possible. In a good ship model the standard deviation of a particular coefficient should not exceed 10 % of its value. Fitting the validation data to 80 % for short-term prediction and 65 % for long-term prediction is treated as a declared benchmark for model usage in ship course predictive controller. Regularization was proposed to ensure better state-space models to fit the real ship dynamics and more accurate standard deviation value control. Usage of the simulation results and real-time trials, as model estimation and validation data, respectively, during the identification procedure is proposed. In the first step a predictive linear model is identified conventionally, and then coefficients are regularized, based on the validation data, using a genetic algorithm. Particular linearized model coefficient standard deviations were decreased from more than 100 % of their values to approximately 5 % of them using genetic algorithm tuning. Moreover, the proposed method eliminated model output signal oscillations, which were observed during the validation process based on experimental data, gained during ship trials. Improved mapping of ship dynamics was achieved. Fit to validation data increased from 71 % and 54 % to 89 % and 76 % , respectively, for short-term and long-term prediction. The proposed method, which may be applied to real applications, is easily applicable and reliable. The tuned model is sufficiently suited to plant dynamics and may be used for future predictive control purposes.

1. Introduction

Modeling is the most important element in the model-based control techniques (e.g., Model Predictive Control). Its structure and way of identification depend on future applications (simulation or prediction), identification of data form (time- or frequency-domain), required model form (linear or nonlinear), and control type (discrete or continuous). The identification procedure is a demanding and time-consuming issue, and it should be done as precisely as possible. Therefore, it is still a growing branch in the field of control.
A ship is a highly nonlinear MIMO (Multiple Input Multiple Output) control object, which is characterized by large inertia and susceptibility to external disturbances such as wind and waves. There is a variety of developed ship models for the future control process. In the identification theory they are divided into two main groups: linear, which are accurate only near the set point, and nonlinear, which are proper for a wider ship speed range. Nonlinear ones are based on Kalman Filters [1], identified during model tests as the nonlinear mathematical model parameters [2], based on the backstepping procedure and the tuning design method using the complex model of Wagner–Smith [3]. These nonlinear models may be also based on neural networks, e.g., conventional [4] or probabilistic [5] ones. Linear ship models, for the future application in the ship automatic control system, are identified as a second-order linear Nomoto model based on zig-zag tests [6], input–output time domain data obtained from nonlinear ship dynamics, mathematical models [7], or as linear incremental models [8]. Synthesis of a predictive ship control system forces the use of a predictive plant model [9], which in practical applications is linearized to minimize the controller computational effort.
Deterministic artificial intelligence model reparametrization was presented in [10]. In this publication methodology, which automates control and eliminates tuning completely, the method is used to search for optimal parameter values and then to update the constants and constituent constants in rudder commands. Thus, this method may be an alternative for model predictive control because it easily uses artificial intelligence based reaparametrization instead of model parameters estimation.
System identification, applied to get a reliable ship maneuvering model, may be done in various configurations and based on a variety of algorithms. There are three types of models that are widely applied to the autonomous ship control: white-box (WBM), grey-box (GBM), and black-box (BBM) models. WBM is based on the deterministic equations and knowledge about the ship dynamics and kinematics. Due to nonlinearities, it is hard to identify a reliable ship’s WBM. BBMs are built only based on the input–output data sets. No knowledge about the system structure and parameters is required. This group of models includes neural models [11] and models established by using support vector machines [12]. Black-box modeling is useful when identifying nonlinear ship models. GBM’s structure is known, and parameters are estimated on the basis of gained input–output data. GBM combines advantages of the WBM and BBM. The Nomoto model is often used to model linearized ship dynamics for control purposes. Its coefficients are obtained via optimization procedures, e.g., genetic algorithms [13], particle swarm optimization [14], or frequency–domain identification procedure [15]. Nomoto models are valid for small rudder angles and low frequencies of rudder action [16]. They are also applicable for pod-driven USV [17], but they have a lower performance in output prediction compared to state-space models, whose identification procedure is based on prediction error minimization [8]. Therefore, state-space canonical GBMs are used in model-based control.
Researchers take notable effort to linearize ship dynamics. Proper linear vessel model identification requires a definition of the acceptable set-point deviations. They should be small enough to fulfill linear characteristic conditions and wide enough to allow for model identification. Thus, there is a need to acquire a large number of trials, where different amplitudes and sampling periods of pseudo-random input data are generated and output signal values are recorded. Moreover, all plant modes should be stimulated to get a reliable linear model. The majority of vessels are modeled using time-domain input–output data sets. There are two main methods to obtain a system response for the pseudo-random inputs. Data are obtained from real-time trials or on the basis of nonlinear ship dynamic simulators. The first method seems to be better because we identify real objects, not its mathematical model. However, it is really time-consuming and is a demanding task to obtain the necessary number of samples for the whole identification process. There is also a risk of external disturbances (wind, waves, and currents), which affect outputs. Even when tests are carried out in windless conditions, it is hard to stimulate all plant modes without passing ships into circulation. By having an available non-linear mathematical model, it is possible to simulate these trails, verify them during rapid prototyping, and obtain undisturbed input–output data sets. Although, identification is exposed to numerical errors, such as including some parts of the mathematical dependencies, instead of the actual ship dynamics. The family of the obtained models has significant parametric uncertainties, and individual coefficient values are identified with large standard deviations. In this paper, a regularization technique and model verification based on real-time ship trials is proposed to minimize drawbacks of model identification based on simulation results.
Regularization is a technique presented above and used during the identification procedure. It defines and takes into consideration model flexibility constants. Furthermore, regularization reduces model parametric uncertainties [18]. The higher the model order, the higher its flexibility. However, this leads to the increase in all parameter estimates of variance errors. Regularization leads to better control over parameters’ standard deviations and model matching. The main difficulty is to determine values of the bias error and variance coefficients. Their values define the Mean Square Error (MSE) of the estimated model parameters. Ljung in [18] proposes to use cross-validation, where bias error and variance are determined empirically. It is a time-consuming process where initial guesses may be not optimal ones. The second method to determine these coefficients is Marginalized Maximum Likelihood [18], where the regularization matrix should be parameterized empirically, and the likelihood function for their particular values should be written by hand. This method’s accuracy also depends on the personal experience and particular likelihood functions. The obtained parameter values, also in this case, may not be optimal.
There is a large group of heuristic algorithms that may be successfully used for optimization. Beyond them are, e.g., particle swarm optimization (PSO) and gravitational search algorithm (GSA). PSO may be used for multidimensional problems, and it ensures good convergence [19]. PSO and GSA algorithms, in their conventional form, are dedicated to finding the local minimum. Multilayered GSA proposed in [20] is dedicated to solving real-world problems. It has a better search performance, but its hierarchical structure is quite complicated, and the optimization procedure needs more computational power than when the genetic algorithm is used. Thus, it was proposed to use the conventional genetic algorithm.
The genetic algorithm (GA) is a part of the evolutionary algorithms group, which was developed to find approximate optimization of problem solutions. It simulates the heritage mechanism occurring in nature to find the global minimum in a short time period [21]. It is commonly applied in plant identification for the future control system. GAs are used for Linear Time Invariant (LTI) state-space helicopter model identification [22] and linear quadratic Gaussian (LQR) controller design. They also find applications in medical equipment control. Zermani and others [23] used GA to estimate NARMA input–output model humidification inside a newborn incubator. Modification of GA, called genetic programming (GP), is used in modeling and optimization of the direct methanol fuel cell [24]. Additionally, neural network structure, which is used for non-linear MIMO system modeling, may be determined with the use of GA. This approach is convenient when there is little or no knowledge about the object structure [25].
Genetic algorithms are also used in ship model identification procedures. Hidalgo et al. in [26] used a parallel genetic algorithm for finding high-speed ships’ transmittance parameters. They state the problem of reasonably searching and determining space combined with parallelization, which allows to achieve time constraints. They propose a nonlinear model, taking into account heaves caused by sea waves. A maneuvering non-linear mathematical model for ships was presented in [27]. Model coefficients were estimated on the basis of a classic genetic algorithm, optimizing the distance between the reference and recorded time histories. The devised model was created on the basis of a simulated zig-zag trial and was verified according to turning maneuver and Dieudonne spiral. The genetic algorithm is also used in ship rolling prediction models to automatically adjust least-squares support-vector machine (LSSVM) model parameters [28]. In the LSSVM algorithm the cost function is regularized by the least-squares function with equality constraints. Based on this method, a non-linear ship rolling prediction model was devised. Parameter identification of linear vessel models using gradient and genetic algorithms was presented in [29]. They proposed a way to solve the problem of varying ship parameter values identification in linearized models. Such a possibility is important for the synthesis and realization of control algorithms. The optimized Nomoto model, based on the Kempf trial simulated data, was created and presented.
Grey-box model (GBM) parameters are most often optimized with the use of evolutionary algorithms. The main advantage of this method is that all model parameters are estimated in one run. This is how the ship fuel consumption model [30] and hydraulic process of ship lock [31] were created. GA models are also used in maritime autonomous ship automatic control systems, where they are used for off-line path estimation based on stationary obstacles and on-line path modification to avoid collision [32]. Fitness function is then defined as an economic cost resulting from the shape of the ship’s own route. Ship mathematical models, with parameters optimized by GA, are also used in the automatic non-linear sliding mode control. Ship collision avoidance, taking into account ship maneuverability, was presented in [33], where steering course control parameters were optimized on-line by GA. Additionally, in [34] a nonlinear ship maneuvering model is combined with GA to obtain the optimum rudder angle command and length of target trajectory.
Results of the presented research show that it is justified to use the genetic algorithm in ship model identification and in autonomous ship control. In this paper, GA has been applied to optimize bias and variance error coefficients in the regularization procedure. The best trade-off between them is taken into account, which leads to the best model complexity. Combination of GA and regularization was developed, and it is presented in the paper in application to the training ship’s linear model identification. Results prove that it increases the quality of the model obtained from the simulation data fit to the actual ship input–output data. Thus, this method obtains a reliable linearized model, which will be less complicated and will need lower computing power than the non-linear model does, when applied in the model-based controller. In order to use the model in future MPC autonomous ship controllers, it was decided to identify discrete predictive GBM. This procedure introduces a lower probability of numerical errors related to the discretization of the continuous predictive model.
The rest of this paper is organized as follows. Section 2 describes the training ship, model identification procedure, and linear state-space model form. Section 2.3 presents the regularization procedure, and Section 2.4 shows how GA for regularization was used. Section 3 is devoted to the presentation of the results.

2. Materials and Methods

2.1. Training Ship—LNG Carrier

The training ship is an autonomous vessel used by the Foundation for Safety of Navigation and Environment Protection at Silm Lake, near Ilawa in Poland, during practical training and research activities. The LNG carrier, built at 1:24 scale, has 11.33 m length overall and is equipped with a modern electric drive. It consists of DC batteries, 2 pods located at stern, and a rotatable thruster combined with a tunnel thruster at bow. A picture of the ship is presented in Figure 1.
Training vessel dynamics are highly non-linear and reflect the dynamics of a seagoing ship due to fulfillment of the laws of geometrical, kinematic, and dynamic similarity. Only the Reynolds number does not remain constant when comparing training ship to the real LNG carrier. Forces generated by the pods and interaction between them is described in detail in [35]. The whole training vessel model is presented in [36]. It is composed of three main subsystems describing hydrodynamic forces, forces from the propulsion system, and wind forces. It is a 3 DOF (degrees of freedom) nonlinear model, which is considered sufficient to describe surface ship motion. Roll, pitch, and heave are then omitted. In a general form, it is described by the following set of Equations (1)–(3):
m ( u ˙ r v ) = X T O T [ N ]
m ( v ˙ r u ) = Y T O T [ N ]
I z r ˙ = N T O T [ N m ]
where:
  • m—ship mass,
  • I z —the mass moment of inertia relative to the axis z,
  • u , v , r —surge, sway, roll
  • X T O T —total longitudinal force,
  • Y T O T —total transversal force,
  • N T O T —total torque.
Based on the above-mentioned mathematical model, the simulation test bed has been prepared. Individual subsystems have been implemented in MATLAB/Simulink software, and non-linear MIMO ship dynamics models have been created. It has been used as part of the hardware-in-the-loop system for quickly prototyping control algorithms. This system was also a data source for the linear model identification procedure with GA regularization.

2.2. Ship Linearized Model Identification

In model-based control strategies, such as Model Predictive Control (MPC), modeling is necessary to predict future plant outputs on the basis of past and current input signals. Thus, it determines the quality of designed control system. Fast, reliable, and being as accurate as possible are required. Ship dynamics are highly non-linear, full of cross-couplings between separate channels, and are difficult to model due to inertia and susceptibility to external disturbances. Most commonly known are non-linear ship models [1,5]. However, complications cause increases in computation time and demand for computational power, when determining optimal control values. Thus, there is a need to find simple and reliable linear model identification methodology.
A reliable linear model identification procedure requires:
  • input–output data acquisition: identification trials should be recorded without external disturbances (e.g., wind, wave); all plant modes should be properly excited; ship should not enter into circulation; time-domain inputs should have different frequency and amplitude pseudo-random signals;
  • model type selection: ship dynamics for the future control system are defined as a discrete state-space, polynomial, or transfer function model, which may be black-box (only the model order is specified) or grey-box (where initial guesses for coefficient values are provided);
  • model order selection: the higher the model order is, the higher its flexibility, but there are also more parametric uncertainties in the obtained model; so there is a need to find a compromise between model flexibility and reliability;
  • future model purpose definition: a good simulation model, in most cases of ship model identification, may have poor prediction, and vice versa, so one should specify the purpose of using the linear model.
  • parameters estimation method selection: three methods are commonly used—subspace, prediction error minimization, and regularized reduction; the choice of parameter estimation method is strictly related to the future purpose of a model.
According to the described recommended model estimation sequence and experience governed during incremental model identification [8], a linear model was chosen. The gray-box state-space model, designed for prediction, identified with prediction error minimization estimation method, was chosen for future consideration.

State-Space Model Identification

A ship’s automatic course or trajectory tracking at constant speed, in the case of an azipod-powered vessel, can be reduced to a one-dimensional problem. In this type of control, course changes are realized by the pods’ angles of rotation change, while the propeller revolutions remain constant. The presented model will be used for a line-of-sight (LOS) trajectory tracking algorithm. The designed automatic control system has one controlled input (rotational speed r[deg/s]) and one output (pod angle of rotation δ [deg]). Due to this assumption, 3DOF single-input single-output (SISO) described by Equations (4) and (5) was identified. The mathematical model of the LNG Carrier ‘Dorchester Lady’ can be represented in state-space in form, which is schematically shown in Figure 2.
x k + 1 = A · x k + B · u k + K · e k
y k = C · x k + e k
where:
  • A , B , C —dynamic, input, output or sensor matrix,
  • K —noise component matrix,
  • x, u, y—state, input and output vector,
  • e—disturbance,
  • k , k + 1 —current time, next time moment.
The LNG carrier does not have direct feedthrough, which needs to be taken into account during the identification process. State-space model of canonical form, which guarantees observability, with white noise as the disturbance was identified. Viallon et al. [37] proved that the third-order polynomial model is sufficient to represent forces acting on a ship during normal maneuvers. They also include trajectory tracking, which is a future application for the MPC controller and will be built on the basis of the above-described model. In maritime autonomous surface ship (MASS) predictive control there is a need to predict future output instead of the force acting on the ship’s hull during simulation. Thus, it was decided to find empirically the state-space model order. As a first guess, the third order, based on [37], was analyzed. In the next step, the prediction based on the higher-order models was checked. A significant improvement in prediction was noticed after the model order increased to four, but no significant prediction improvement was noticed after further model order increase. Thus, it was decided to use the fourth-order state-space predictive model for further regularization. Individual matrices are described by Equations (6)–(9).
A = 0 1 0 0 0 0 1 0 0 0 0 1 a 1 a 2 a 3 a 4
B = b 1 b 2 b 3 b 4
C = 1 0 0 0
K = k 1 k 2 k 3 k 4
Matrices A , B , C , and K describe model M ( θ ) with particular estimated parameters creating vector θ ^ given by (10).
θ ^ = a 1 ^ , a 2 ^ , a 3 ^ , a 4 ^ , b 1 ^ , b 2 ^ , b 3 ^ , b 4 ^ , k 1 ^ , k 2 ^ , k 3 ^ , k 4 ^
where: . ^ —estimated value of the particular parameter.
ϵ ( k , θ ) = y ( k ) y ^ ( k | θ ^ )
where: y ^ —parameterized model output prediction.
V N ( θ ) = 1 N n = 1 N ϵ 2 ( n , θ )
where:
  • N—number of samples,
  • θ —estimated model parameters vector.
According to Ljung [38], when taking into account prediction as the goal of a model, prediction error is determined by (11). In PEM, the quadratic norm of (11) acts as a cost function during the optimization procedure. In this approach, the variances of the parameter estimates may be very large because they are not included the cost function and optimization problem constraints. Cost function (12) is defined as the normalized sum of squared prediction errors. Vectors of the estimated parameter values are calculated during the optimization procedure that consist of minimizing the cost function.
A linear state-space predictive model was identified using the PEM method, based on computer simulation results. Pseudorandom pod angle of rotation sequences ( δ z ( t ) ) were used as the source of input signals and were delivered to the inputs of the simulation model. They were used then as input data for identification. The ship’s rotational speed ( r ( t ) ), computed based on the nonlinear mathematical model, was registered and used as output data during the identification process.

2.3. Regularization Procedure

Regularization is a well-known technique used for presenting some initial knowledge in statistical and estimation problems. Ljung in [18] proved that this method may be applied to the identification problems, where an optimal regularization matrix, defined as the quadratic norm, is found. Mismatch of the estimated model may be described by two types of errors:
variance error: random error, representing uncertainty in the models’ parameter estimates;
bias error: systematic error, which represents model mismatch.
The model is then parameterized also with bias and variance errors. Perfectly matched parameters minimize the mean square error, described by: M S E = | B i a s | 2 + V a r i a n c e . The use of regularization allows for better control of the bias-to-variance ratio during model estimation. The cost function changes its form from (12) to (13) [38].
V N ( θ ) = 1 N n = 1 N ϵ 2 ( n , θ ) + 1 N λ θ T R θ
The standard cost function form is extended by two positively defined λ and R matrices. Matrix λ defines the effect of variance error traded for bias error. These two errors are connected together as follows: increase in the λ causes bias to increase and variance error to decrease. Thus, it improves the estimated model fit, while affecting deterioration of its parametric uncertainties.
λ b i a s , v a r i a n c e
R matrix is defined by weights and/or rotation of particular estimated model parameters ( θ vector values). It has an impact on penalty coefficients shaping and allows for constraint (e.g., model stability) to meet. It also allows for adding information about estimated parameters, such as the reliability of particular θ vector parameters.
Determination of regularization matrices is an empirical process [18]. It requires a priori knowledge ( θ * ) about estimated parameter values. Then λ · R represents the confidence of these parameters. However, the process of finding their values still requires carrying out cross-validation tests and having some guesses about parameter values, which is not trivial. The Marginalized Maximum Likelihood method [18] enforces λ matrix empirical estimation and allows for R matrix parameterization, defined by (15). One may create R ( β ) matrix and write the likelihood functions for each parameter β . There are some common ways to parameterize the impulse response of the FIR filter or the ARX model. However, none of them works properly with the state-space linearized ship dynamics model. Therefore, the regularization matrices have been defined using a genetic algorithm.

2.4. Genetic Algorithm for Regularization Matrix in Identification Representation

To determine regularization parameters, the R matrix (15) and λ of the previously identified fourth-order state-space predictive model standard GA were used. It is an evolutionary method that allows for sub-optimal solutions to find and bypass the local minimum. Creating a new generation requires parent selection according to fitness function, selection, crossover, and mutation. The GA flowchart is presented in Figure 3. The initial population of individuals (P) is formulated in each time step according to Formula (16).
R = d i a g ( R a 1 , R a 2 , R a 3 , R a 4 , R b 1 , R b 2 , R b 3 , R b 4 , R k 1 , R k 2 , R k 3 , R k 4 )
P ( t ) = x 1 t , x 2 t , , x n t
f i t = 100 1 y y ^ y m e a n ( y ) %
where:
  • y—validation data output;
  • y ^ —output of the real system.
Each individual ( x i ) represents a possible solution to the stated problem, which is a set of parameters defined by R matrix and λ . The fit function evaluates each obtained solution, and a new population is generated in five steps:
  • Create an initial population—Real parameters ( R 1 and λ values) are coded as 13-bit chromosomes. R i and λ minimal values amount to 10 8 , which is 100 times smaller than the estimated parameter magnitude and is treated as multiplication by zero. Their maximal values are, respectively, 200 for R i and 100 for λ , which is more than 1000 % of the biggest estimated model coefficient value. The fit function is given by (17). The population reaches eight chromosomes. This parameter was obtained empirically. Bigger values caused only longer computation, without improving the results at the same time.
  • Rate each individual using the fitness function—Fit value indicator describes how well the predicted model response ( y ^ ) matches the measured data (y). Nonlinear ship model simulation data sets were used for input definition during the model identification process. Data measured during real-time lake trials was used in the model verification process when counting the fitness function value. The above-mentioned procedure was used in order to match the model as accurately as possible to the training ship dynamics. Moreover, during each individual rating process, the standard deviation (STD) of each model parameter was determined, and models whose STDs were bigger than 10 % of the identified parameter value were rejected. This elimiated unreliable models.
  • Select parents—Chromosomes are selected with the use of stochastic methods. First of all, the algorithm rates individuals according to their survival curve. Next, it draws positions where the individuals will be placed in compliance with the pre-determined order. The total number of the individuals does not change.
  • Crossover—Features of two parent chromosomes are passed on to descendants. Parental chromosomes exchange randomly chosen genes between each other and give two sets of genes for the descendants. Crossover probability ( P c ) is equal to 0.25. A decrease in P c value leads to an unsuitable population with large STDs in it.
  • Mutation—Mutation brings genes that do not come from any parent. It randomly changes one or more genes in the chromosome. Each gene of each individual in the population mutates independently of other genes with the probability ( P m ) equal to 0.05. Too small a value of P m leads to a very small fitness function value. Its excessive increase causes a lack of algorithm convergence.
Genetic operators applied to the initial population create a new one. The fitness function rates it, and the next iteration of the algorithm begins. There are two termination conditions: fitness function value is bigger than 99.5 % , or its value does not change more than 0.001 % during the iteration. Compliance with the first condition means that a very good model has been identified. When the second condition is met there is no change due to regularization in the model identification procedure.

3. Results

The predictive model was identified on the basis of nonlinear LNG Carrier dynamics simulation data with the use of Matlab System Identification Toolbox. A large number of simulated time series was used to identify linear state-space models. However, these models were not reliable due to high standard deviations for some parameters. In Table 1, examples of model parameters and their STD values are presented. The STDs for parameters b 1 and b 2 are bigger than their values. Models like this occurred frequently during the classical identification process and were rejected.
In order to use the model in the MPC algorithm it should be averaged, especially if a particular identified parameter varies more than 5 % . Example results of two models’ parameters whose STDs were smaller than 10 % of the coefficient value are presented in Table 2. In the fourth column averaged coefficients are presented. Figure 4 shows 5- (a) and 10-steps ahead (b) prediction of model 1, model 2, and the averaged model. The pseudo-random angle of pod rotation ( δ z ) with 5 s sampling time is an input signal (c). Quantitative analysis of the particular coefficients suggests the results are too widely spread. But when one has a look at the prediction results of the model compared against simulation validation data there are hardly any differences in the trials. Model 2 has more than 10 percentage points less fit. In the 10-step predicted response for model 2, high-frequency oscillation occurs, which should be eliminated before the model is applied to the MPC algorithm.
In the second stage of model verification, real-time trials on Silm Lake were done. Pseudo-random pod angles of rotation are input signals that, combined with outputs, create validation data sets. Conventionally identified models generated oscillations during validation. This is presented in Figure 5. Model 1 and the averaged model produced high-frequency oscillations with magnitude within 10 % of the output signal value. However, oscillations that occurred during model 2 validation process were bigger than the output signal amplitude multiplied by 15. This means this model is useless for all prediction horizons. Moreover, the fit of the model outputs to the validation data was less than 17 % for model 1 and reached 40 % for the averaged model. Using them in the prediction process will lead to significant errors. Therefore, GA regularization was applied during the model identification process. Figure 6 presents an enlarged section (50 seconds of the trial) cut of the graph presented in Figure 5. It shows that model 1 and the averaged model were not good enough, but also were not completely useless as model 2.
Fifteen real-time lake experiments were conducted, in which pseudorandom pod angles of rotation sequences were pod command signals. The ship’s rotational speed was recorded during the whole research experiment. Sequences of pod angles of rotation combined with the ship’s rotational speed were then used as validation data. Models were identified on the basis of the simulation results and regularized, using GA, on the basis of the real-time ship trial results. Exemplary model parameters, their STD values, and regularization parameters for each coefficient ( R i ) are compiled in the Table 3. The model was identified with λ = 10.377 . It gave reliable results with STDs less than 10 % of the coefficient values. Figure 7 presents GA model fit to the validation data obtained during the real-time lake trial (c). There were no high-frequency oscillations in the time trials. For 5-step ahead prediction (a) results fit the validation data and reached 86 % , which gives very good prediction. For 10-step ahead (b) the fit decreased and gave a reliable model with fit equal to 68 % , which can be used in the MPC controller. Prediction of horizon elongation led to decreased fit. The model that reflects ship dynamics and whose fit function is greater than 55 % is good enough to be a component of the MPC. Figure 8 and Figure 9 illustrate, respectively, the regularized GA model and conventional model 5- and 10-step ahead predictions based on real-time lake validation data. These data, combined with the averaged non-regularized model fit, are presented in Table 4. In both cases prediction of horizon elongation caused the fit to decrease. In the conventionally identified model, two high-frequency oscillations make its application to MPC impossible. In the GA model the fit was greater and the output signal was smooth. Moreover, the GA model fitness function had about 20 % bigger value, which proves the legitimacy of using the GA algorithm during the identification process. In Table 5 the percent improvement of the prediction ability of the tuned model is presented, compared to the reference values, guaranteeing the performance of the MPC controller and the non-regularized model prediction ability.
Table 6 presents the percentage STD values in relation to the model parameter values. They should not exceed 10 % in order to get a good model, and exceeding the value of 50 % makes the model unreliable. The GA tuning method decreased their percentage values, and only one of them was bigger than 10 % but still remained less than 50 % . These percentage values guaranteeing model reliability were not obtained during the conventional identification procedure. A significant improvement in the quality of the model was achieved during GA tuning for b 1 b 4 coefficients. Percentage STD values for the rest of the coefficients were comparable in both the conventional identification and GA tuning method.
Model division for future MASS predictive control requires averaging the estimated parameters values. During the identification procedure we obtained one model for each data set, and the controller needs one model for each working point. Figure 10 presents results of averaging the parameters. The model output was compared with validation lake trial data. The model fit decreased as the prediction horizon elongated. The model fit for short-term prediction (a) reached almost 90 % and fell to almost 70 % for mid-term prediction (b). Long-term prediction (c) is rarely used in MASS control systems. From the obtained result, the mapping rotational speed changing tendency was sufficient. Results presented in Figure 10 prove that it is justified to regularize the identified model using real validation data. This avoids the occurrence of high-frequency disturbances related to the identification of the mathematical relationships that constitute the mathematical model, instead of the dynamics of the ship.

4. Discussion

A great variety is observed in ship dynamics modeling. The situation is much easier when we deal only with simulations. However, it is complicated when the controller is applied to a real plant/floating ship. It turns out that there were unmodeled elements of the object dynamics. Failure to take them into account in the predictive model causes the oscillations that were observed during experimental data validation. The obtained results proved this theory and showed that there was a perfect fit to the simulation validation data and a poor fit to the experimental validation data. In the case of simulating validation data, no deterioration in the prediction quality was observed along with the length of the prediction horizon. Nevertheless, such a deterioration was recorded during model validation based on real-time experimental data gained during lake trials. It can be concluded that the input data used for linearization are much more important than the structure of the model itself. The presented method allows for maintaining a simple structure of the model while tuning its parameters to the real plant/ship.
During identification based on simulation data, a linear model is created by mapping mathematical, not physical, relationships. Not all cross-couplings between several channels are taken into account. Thus, the proposed method gives the opportunity to take into account the most important, from the prediction point of view, cross-couplings and allows for the model to be tuned to the real dynamics of the object, not only its mathematical description.
Widely used in ship control theory and applications, the Nomoto model is insufficient for prediction purposes. Hence, there is a need to develop a different methodology for building a simple predictive ship model. The proposed algorithm for linear model identification in state-space combined with GA tuning is the answer to this need in real applications.
Neural-network and LSSVM models are vert extended ones. Their identification is time consuming, and usage in MPC is limited, due to the computation power of the on-board ship controller. The proposed model is a very simple, linear state-space one, which is easy to implement in real-world applications and may be used in MASS predictive control systems.

5. Conclusions

Model Predictive Controller design requires incorporating good ship dynamics in the predictive model. A large amount of data for the identification procedure may be obtained in two ways: during non-linear ship model simulations or during real-time lake trials. We should obtain reliable data where all modes of the plant will be excited. Lake identification trials should be done without any disturbances such as wind, waves, and current. There is also difficulty with all modes of excitation without bringing the training ship into circulation. These trials are time-consuming and susceptible to severe errors. Thus, a method that combines simulation test and real-time trial validation data is presented. This method reduces the number of lake trials by about four times and gives acceptable results, indicating it is a good predictive model for further usage.
Regularization is a straightforward procedure allowing for better control of the identification process. It allows for minimizing the standard deviations of particular coefficients and maximizing fitness function values. The GA procedure quickens R matrix and λ parameters search. It also brings their sub-optimal values, which are hard to find during conventional computations. Use of modern computers, with high computation power, allows for on-line parameter search. The obtained model may be modified during automatic MPC control, when ship parameters are changing, for example during underway replenishment, when the ship’s metacentric height, draught, and load displacement change.
Overall, the GA and conventional model qualities are measured by acceptable STDs and the validation fitness function value. The model whose coefficient STDs are bigger than 10 % of their value is rejected. They are treated as unreliable. In addition, models causing high-frequency oscillations in the output signals are useless. GA regularization prevents the appearance of the above-mentioned unwanted STDs and oscillations. Parameters such as dynamic, output, and noise component matrices, whether or not GA regularization has been used, have STDs less than 10 % . However, input matrix coefficients, when identification was done on the basis of the simulation data, had STDs exceeding even 100 % of the coefficient value. GA regularization usage minimizes them to the values amounting to a small percent. Only the STD for the b 3 coefficient ( b 3 S T D = 27.68 % ) exceeded 10 % , but it did not reach 50 % , which is acceptable for a single parameter for MPC design purposes. Moreover, use of GA regularization prevents oscillations in output signals. Therefore, the method presented in this paper can be used to predict future plant outputs for MPC.
The minimal fit to validation data, in order to get a reliable predictive model for future control purposes, was equal to 80 % for short-time and 65 % for long-time predictions. GA regularization resulted in a model with predictive capabilities exceeding the reference short- and long-time prediction ability by 9 and 11 percentage points, respectively. The non-tuned model did not meet the reference values. Thus, significant prediction performance was achieved, which reached 18.5 and 21.1 percentage points for short- and long-time predictions, respectively.
This algorithm is a good tool for identification of the real plant indirectly based on simulation data associated with real experiments. It may be used not only for ships, but for all nonlinear and nonholomical control objects. It gives a reliable prediction model, which may be applied to the MPC algorithm for future automatic control systems.

Funding

The project was financed within the program of the Polish Ministry of Science and Higher Education called “Regional Initiative of Excellence” for the years 2019–2020, project number 006/RID/2018/19 financing amount 11,870,000 PLN.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data available on request due to privacy.

Conflicts of Interest

The author declares no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
BBMBlack-box model
DCDirect current
DOFDegrees of freedom
GAGenetic algorithm
GBMGray-box model
GPGenetic programming
GSAGravitational Search Algorithm
LNGLiquid Natural Gas
LOSLine-of-sight
LSSVMLest-Squares Support-Vector Machines
LTILinear Time Invariant
MASSMaritime Autonomous Surface Ship
MIMOMultiple Input Multiple Output
MPCModel Predictive Control
MSEMean Square Error
NARMANonlinear Autoregressive Moving-average
PEMPrediction Error Minimization
PSOParticle Swarm Optimization
SISOSingle Input Single Output
STDStandard deviation
USVUnmanned Surface Vessel
WBMWhite-box model

References

  1. Shi, C.; Zhao, D.; Peng, J.; Shen, C. Identification of ship maneuvering model using extended Kalman Filters. Mar. Navig. Saf. Sea Transp. 2009, 3, 105–110. [Google Scholar]
  2. Skjetne, R.; Smogeli, Ø.N.; Fossen, T.I. Identification of ship maneuvering model using extended Kalman FiltersA nonlinear ship manoeuvering model: Identification and adaptive control with experiments for a model ship. Model. Identif. Control. 2004, 25, 3–27. [Google Scholar] [CrossRef] [Green Version]
  3. Casado, M.H.; Ferreiro, R. Identification of the nonlinear ship model parameters based on the turning test trial and the backstepping procedure. Ocean. Eng. 2005, 32, 1350–1369. [Google Scholar] [CrossRef]
  4. Dai, S.L.; Wang, C.; Fuo, L. Identification and learning control of ocean surface ship using neural networks. IEEE Trans. Ind. Inform. 2012, 8, 801–810. [Google Scholar] [CrossRef]
  5. Araghi, L.F.; Khaloozade, H.; Arvan, M.R. Ship identification using probabilistic neural networks (PNN). In Proceedings of the International Multiconference of Engineers and Computer Scientists, Hong Kong, China, 18–20 March 2009; pp. 18–20. [Google Scholar]
  6. Artyszuk, J. A study on the identification of the second-order linear Nomoto model from the zigzag test. Zesz. Nauk. Akad. Morskiej Szczecinie 2018, 53, 59–67. [Google Scholar]
  7. Gierusz, W. Synteza Wielowymiarowych Ukladow Sterowania Precyzyjnego Ruchem Statku z Wykorzystaniem Wybranych Metod Projektowania Ukladow Odpornych; Akademia Morska w Gdyni: Gdynia, Poland, 2004. [Google Scholar]
  8. Miller, A. Identification of a multivariable incremental model of the vessel. In Proceedings of the 21st International Conference on Methods and Models in Automation and Robotics (MMAR), Miedzyzdroje, Poland, 29 August–1 September 2016; pp. 219–224. [Google Scholar]
  9. Khaled, N.; Pattel, B. Practical Design and Application of Model Predictive Control: MPC for MATLAB® and Simulink® Users; Butterworth-Heinemann: Oxford, UK, 2018. [Google Scholar]
  10. Sands, T. Development of Deterministic Artificial Intelligence for Unmanned Underwater Vehicles (UUV). J. Mar. Sci. Eng. 2020, 8, 578. [Google Scholar] [CrossRef]
  11. Rajesh, G.; Bhattacharyya, S. System identification for nonlinear maneuvering of large tankers using artificial neural network. Appl. Ocean. Res. 2008, 30, 256–263. [Google Scholar] [CrossRef]
  12. Wang, X.; Zou, Z.; Ren, R.; Cai, W. Black-box modeling of ship maneuvering motion in 4 degrees of freedom based on support vector machines. Ship Build. China 2014, 55, 147–155. [Google Scholar] [CrossRef]
  13. Marcjan, K.; Gucma, L. Optimizing the parameters of the simplified hydrodynamic model using genetic algorithms for the prediction marine systems use. Zesz. Nauk. Akademia Morska w Szczecinie 2010, 20, 87–91. [Google Scholar]
  14. Chen, Y.; Song, Y.; Chen, M. Parameters identification for ship motion model based on particle swarm optimization. Kybernetes 2010, 39, 871–880. [Google Scholar] [CrossRef]
  15. Ghorbani, M. Line of sight waypoint guidance for a container ship based on frequency domain identification of Nomoto model of vessel. J. Cent. South Univ. 2016, 23, 1944–1953. [Google Scholar] [CrossRef]
  16. Xing, D.; Zhang, L.; Wang, X.; Ma, R. Nonlinear cloud model control for ship steering based on genetic algorithms. In Proceedings of the 2011 International Conference on Consumer Electronics, Communications and Networks (CECNet), Xianning, China, 11–13 March 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 499–502. [Google Scholar]
  17. Mu, D.; Wang, G.; Fan, Y.; Bai, Y. The Response Model of Modeling and Identification of Podded Propulsion Unmanned Surface Vehicle. J. Comput. 2017, 28, 125–138. [Google Scholar]
  18. Ljung, L.; Singh, R.; Chen, T. Regularization features in the system identification toolbox. IFAC-PapersOnLine 2015, 48, 745–750. [Google Scholar] [CrossRef]
  19. Cao, Y.; Zhang, H.; Li, W.; Zhou, M.; Zhang, Y.; Chaovalitwongse, W.A. Comprehensive learning particle swarm optimization algorithm with local search for multimodal functions. IEEE Trans. Evol. Comput. 2018, 23, 718–731. [Google Scholar] [CrossRef]
  20. Wang, Y.; Gao, S.; Zhou, M.; Yu, Y. A multi-layered gravitational search algorithm for function optimization and real-world problems. IEEE/CAA J. Autom. Sin. 2020, 8, 94–109. [Google Scholar] [CrossRef]
  21. Davis, L. Handbook of Genetic Algorithms; Van Nostrand Reinhold: New York, NY, USA, 1991. [Google Scholar]
  22. Wang, T.; Chen, Y.; Liang, J.; Wu, Y.; Wang, C.; Zhang, Y. Chaos-genetic algorithm for the system identification of a small unmanned helicopter. J. Intell. Robot. Syst. 2012, 67, 323–338. [Google Scholar] [CrossRef]
  23. Zermani, M.A.; Feki, E.; Mami, A. Application of Genetic Algorithms in identification and control of a new system humidification inside a newborn incubator. In Proceedings of the 2011 International Conference on Communications, Computing and Control Applications (CCCA), Hammamet, Tunisia, 3–5 March 2011; IEEE: Piscataway, NJ, USA, 2011; pp. 1–6. [Google Scholar]
  24. Huang, Y.; Gao, L.; Yi, Z.; Tai, K.; Kalita, P.; Prapainainar, P.; Garg, A. An application of evolutionary system identification algorithm in modelling of energy production system. Measurement 2018, 114, 122–131. [Google Scholar] [CrossRef]
  25. Vassiljeva, K.; Belikov, J.; Petlenkov, E. Genetic algorithm based structure identification for feedback control of nonlinear mimo systems. In Proceedings of the International Conference on Adaptive and Intelligent Systems Proceedings, Klagenfurt, Austria, 6–8 September 2011; Springer: Berlin/Heidelberg, Germany, 2011; pp. 215–226. [Google Scholar]
  26. Hidalgo, J.I.; Prieto, M.; Lanchares, J.; Tirado, F.; De Andres, B.; Esteban, S.; Rivera, D. A method for model parameter identification using parallel genetic algorithms. In Proceedings of the European Parallel Virtual Machine/Message Passing Interface Users’ Group Meeting, Barcelona, Spain, 26–29 September 1999; Springer: Berlin/Heidelberg, Germany, 1999; pp. 291–298. [Google Scholar]
  27. Sutulo, S.; Soares, C.G. An algorithm for offline identification of ship manoeuvring mathematical models from free-running tests. Ocean. Eng. 2014, 79, 10–25. [Google Scholar] [CrossRef]
  28. Wang, Y.; Fu, H. Parameters selection of LSSVM based on adaptive genetic algorithm for ship rolling prediction. In Proceedings of the 33rd Chinese Control Conference, Kunming, China, 22–24 May 2014; IEEE: New Jersey, NJ, USA, 2014; pp. 6632–6636. [Google Scholar]
  29. Bańka, S.; Brasel, M.; Dworak, P.; Jaroszewski, K. A comparative and experimental study on gradient and genetic optimization algorithms for parameter identification of linear MIMO models of a drilling vessel. Int. J. Appl. Math. Comput. Sci. 2015, 25, 877–893. [Google Scholar] [CrossRef] [Green Version]
  30. Yang, L.; Chen, G.; Rytter, N.G.M.; Zhao, J.; Yang, D. A genetic algorithm-based grey-box model for ship fuel consumption prediction towards sustainable shipping. Ann. Oper. Res. 2019, 1–27. [Google Scholar] [CrossRef]
  31. Gu, Z.; Dong, Z. Intelligent identification on hydraulic parameters of ship lock based generalized genetic algorithms. In Proceedings of the 2008 International Conference on Intelligent Computation Technology and Automation (ICICTA), Changsha, China, 20–22 October 2008; IEEE: Washington, WA, USA, 2008; Volume 1, pp. 1082–1086. [Google Scholar]
  32. Zeng, X.M.; Ito, M.; Shimizu, E. Building an automatic control system of maneuvering ship in collision situation with genetic algorithms. In Proceedings of the 2001 American Control Conference (Cat. No. 01CH37148), Arlington, VA, USA, 25–27 June 2001; IEEE: Evanston, IL, USA, 2001; Volume 4, pp. 2852–2853. [Google Scholar]
  33. Fang, C.; Deng, H. The ship’s mathematic motion models of altering course to avoid collision based on the optimization of genetic algorithm. In Proceedings of the 33rd Chinese Control Conference, Kunming, China, 22–24 May 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 6364–6367. [Google Scholar]
  34. Gupta, D.; Vasudev, K.; Bhattacharyya, S. Genetic algorithm optimization based nonlinear ship maneuvering control. Appl. Ocean. Res. 2018, 74, 142–153. [Google Scholar] [CrossRef]
  35. Gierusz, W. Simulation model of the LNG carrier with podded propulsion Part 1: Forces generated by pods. Ocean. Eng. 2015, 108, 105–114. [Google Scholar] [CrossRef]
  36. Gierusz, W. Simulation model of the LNG carrier with podded propulsion, Part II: Full model and experimental results. Ocean. Eng. 2016, 123, 28–44. [Google Scholar] [CrossRef]
  37. Viallon, M.; Sutulo, S.; Soares, C.G. On the order of polynomial regression models for manoeuvring forces. IFAC Proc. Vol. 2012, 45, 13–18. [Google Scholar] [CrossRef]
  38. Ljung, L. System Identification—Theory for the User, 2nd ed.; Prentice-Hall: New York, NY, USA, 1999. [Google Scholar]
Figure 1. LNG carrier—‘Dorchester Lady’.
Figure 1. LNG carrier—‘Dorchester Lady’.
Applsci 11 05504 g001
Figure 2. Linear model structure schematic.
Figure 2. Linear model structure schematic.
Applsci 11 05504 g002
Figure 3. Regularization genetic algorithm schematic.
Figure 3. Regularization genetic algorithm schematic.
Applsci 11 05504 g003
Figure 4. Examples of identified model predictions based on simulated validation data. (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) validation data sequence.
Figure 4. Examples of identified model predictions based on simulated validation data. (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) validation data sequence.
Applsci 11 05504 g004
Figure 5. Examples of model predictions based on real-time lake validation data; (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) validation data sequence.
Figure 5. Examples of model predictions based on real-time lake validation data; (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) validation data sequence.
Applsci 11 05504 g005
Figure 6. Examples of model predictions based on real-time lake validation data, magnified figure. (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) validation data sequence.
Figure 6. Examples of model predictions based on real-time lake validation data, magnified figure. (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) validation data sequence.
Applsci 11 05504 g006
Figure 7. Examples of regularized GA model prediction based on real-time lake validation data; (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) validation data sequence.
Figure 7. Examples of regularized GA model prediction based on real-time lake validation data; (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) validation data sequence.
Applsci 11 05504 g007
Figure 8. Regularized GA model and conventional model 5-step ahead prediction comparison based on real-time lake validation data.
Figure 8. Regularized GA model and conventional model 5-step ahead prediction comparison based on real-time lake validation data.
Applsci 11 05504 g008
Figure 9. Regularized GA model and conventional model 10-step ahead prediction comparison based on real-time lake validation data.
Figure 9. Regularized GA model and conventional model 10-step ahead prediction comparison based on real-time lake validation data.
Applsci 11 05504 g009
Figure 10. Regularized GA model: 5-, 10-, and 20-step prediction comparisons based on real-time lake validation data; (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) 20-steps ahead prediction.
Figure 10. Regularized GA model: 5-, 10-, and 20-step prediction comparisons based on real-time lake validation data; (a) 5-steps ahead prediction, (b) 10-steps ahead prediction, (c) 20-steps ahead prediction.
Applsci 11 05504 g010
Table 1. Examples of unreliable model parameters and their STD values.
Table 1. Examples of unreliable model parameters and their STD values.
ParameterValueSTD
a 1 0.3145 0.0142
a 2 1.736 0.0441
a 3 3.486 0.0468
a 4 3.062 0.0168
b 1 3.63 × 10 6 1.96 × 10 5
b 2 2.59 × 10 5 3.13 × 10 5
b 3 1.75 × 10 4 4.33 × 10 5
b 4 2.89 × 10 4 5.71 × 10 5
k 1 2.142 0.0577
k 2 3.558 0.1243
k 3 5.034 0.2286
k 4 6.436 0.3561
Table 2. Examples of identified models and the average model comparison.
Table 2. Examples of identified models and the average model comparison.
ParameterModel 1Model 2Average Model
a 1 0.3599 0.5825 0.4714
a 2 1.884 2.598 2.241
a 3 3.649 4.421 4.035
a 4 3.123 3.405 3.264
b 1 1.258 × 10 4 2.074 × 10 4 4.08 × 10 5
b 2 1.721 × 10 4 5.04 × 10 4 1.659 × 10 4
b 3 1.994 × 10 4 9.322 × 10 4 3.664 × 10 4
b 4 3.716 × 10 4 1.738 × 10 3 1.055 × 10 3
k 1 2.368 3.206 2.787
k 2 3.919 6.363 5.141
k 3 5.184 10.29 7.737
k 4 6.288 13.77 10.029
Table 3. Example of GA tuned model parameters and their STD values.
Table 3. Example of GA tuned model parameters and their STD values.
ParameterValueSTD R i
a 1 0.2268 0.0153 100.327
a 2 1.466 0.0489 100.327
a 3 3.202 0.0531 100.327
a 4 2.961 0.0195 100.327
b 1 7.328 × 10 5 2.41 × 10 6 101.264
b 2 6.608 × 10 5 3.08 × 10 6 101.264
b 3 1.019 × 10 4 3.05 × 10 5 101.264
b 4 4.358 × 10 4 3.29 × 10 5 101.264
k 1 1.709 0.0521 89.36
k 2 2.031 0.0719 89.36
k 3 2.374 0.0824 89.36
k 4 2.665 0.1000 89.36
Table 4. Prediction ability of the GA regularized model combined with the averaged non-regularized model.
Table 4. Prediction ability of the GA regularized model combined with the averaged non-regularized model.
Model5-Step Prediction10-Step PredictionOscillations
non-regularized 70.67 % 54.39 % YES
GA-regularized 89.26 % 75.92 % NO
Table 5. Percent improvement of the prediction ability of the tuned model, compared to the reference values guaranteeing MPC controller performance and non-regularized model prediction ability.
Table 5. Percent improvement of the prediction ability of the tuned model, compared to the reference values guaranteeing MPC controller performance and non-regularized model prediction ability.
Model5-Step Prediction10-Step PredictionOscillations
reference 80 % 65 % NO
non-regularized 9.33 percentage points 10.61 percentage pointsdoes not meet
GA-regularized 9.26 percentage points 10.92 percentage pointsfulfills
Table 6. Percentage STD values in relation to the model parameter values.
Table 6. Percentage STD values in relation to the model parameter values.
ParameterPercentage STD Values of GA Model [%]Percentage STD Values of Model [%]
a 1 6.754.52
a 2 3.342.54
a 3 1.661.34
a 4 0.660.54
b 1 3.29539.94
b 2 4.66120.85
b 3 27.6824.74
b 4 7.5519.76
k 1 3.052.69
k 2 3.543.49
k 3 3.474.54
k 4 3.755.53
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Miller, A. Ship Model Identification with Genetic Algorithm Tuning. Appl. Sci. 2021, 11, 5504. https://doi.org/10.3390/app11125504

AMA Style

Miller A. Ship Model Identification with Genetic Algorithm Tuning. Applied Sciences. 2021; 11(12):5504. https://doi.org/10.3390/app11125504

Chicago/Turabian Style

Miller, Anna. 2021. "Ship Model Identification with Genetic Algorithm Tuning" Applied Sciences 11, no. 12: 5504. https://doi.org/10.3390/app11125504

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop