Calm Water Resistance With ANN (2018)
Calm Water Resistance With ANN (2018)
Ocean Engineering
journal homepage: www.elsevier.com/locate/oceaneng
On the use of Artificial Neural Networks for the calm water resistance T
prediction of MARAD Systematic Series’ hullforms
Vasiliki Margari, Aphrodite Kanellopoulou, George Zaraphonitis∗
NTUA (National Technical University of Athens), Greece
A R T I C LE I N FO A B S T R A C T
Keywords: The present study investigates the use of Artificial Neural Networks (ANNs) for the resistance prediction of
Artificial Neural Networks hullforms designed according to the MARAD Systematic Series. This series comprises 16 full hullforms, speci-
Multi-layer perceptron fically designed for use as bulk carriers and tankers. Experimental data for the residual resistance coefficient of
MARAD Systematic Series these hulls provided by MARAD in a series of diagrams have been used to train and evaluate a series of neural
Resistance prediction
networks aiming to estimate the residual resistance coefficient of ships designed according to the MARAD Series.
Calm water resistance
The adopted procedure along with the obtained results are presented and discussed.
1. Introduction hullforms, based on the resistance data provided by the MARAD Sys-
tematic Series (Margari, 2017; Margari et al., 2018).
The prediction of a hull's resistance is a problem of great importance Artificial neural networks have recently found application across
for the ship designer, closely related to the design and optimisation of many scientific fields, such as pattern recognition, classification or
the hullform and propeller, the selection of the main engine, the ship's function approximation. They consist of processors (neurons), which
environmental impact and the fuel cost. Resistance predictions are communicate to each other with signals through weighted connections,
traditionally based on tank testing, or nowadays, on software tools mimicking the structure of a biological neural system. Trained ANNs
applying Computational Fluid Dynamics (CFD). However, in the pre- are considered able to provide desired output from a set of input
liminary design stage, resistance predictions are quite often carried out parameters without the need for an exact function or model for the
based on relevant data from systematic series, such as the Series 60 problem, even if the data are noisy. They also offer a number of ad-
Methodical Series of Single-Screw Ships (Todd, 1963), the SSPA Cargo vantages, including: sufficient accuracy of results, flexibility in im-
Liner Series (Williams, 1969), the BSRA Methodical Series (Moor et al., plementing, ability to implicitly detect complex non-linear relation-
1961), or the MARAD Systematic Series of full-form ship models ships between independent variables. These features make ANNs rightly
(Roseman and Seibold, 1987, 1985). The data from the systematic suited for application in a wide range of engineering problems.
series are usually presented in graphical or tabular form, enabling the Examples from the use of ANNs for the prediction of resistance,
manual calculation of a ship's resistance following a relatively simple propulsion, manoeuvering and seakeeping characteristics of ship are
and straightforward procedure. Such a procedure might be perfectly presented in several studies (Cepowski, 2007, 2005; Koushan, 2001;
suitable for the estimation of the resistance curve of one particular Martins and Lobo, 2007; Mason et al., 2005; Ortigosa et al., 2014;
hullform, but when it comes to the systematic optimisation of a ship Pedersen and Larsen, 2009; Yao and Han, 2012).
design, manual calculation procedures are not efficient any more. In There are numerous types of neural networks. For the present study
such cases programmable calculation procedures would be required, the so-called multi-layer perceptron (MLP) networks have been selected
enabling the evaluation of a large number of alternative designs with and systematically trained and evaluated in order to assess their po-
minimal computing time. Regression techniques, utilizing polynomial tential to estimate the resistance of MARAD-type hullforms. Selected
interpolation of the data provided by the systematic series have been alternatives of MLPs and their application for prediction of MARAD
developed by several authors (see e.g. Bojovic, 1997; Radojcic et al., hullforms’ resistance are provided.
2014; Shaher Sabit, 1976, 1972a, 1972b, 1971). The present work in-
vestigates a different approach to this problem, i.e. the use of Artificial
Neural Networks (ANNs) as a tool for the prediction of resistance of full
∗
Corresponding author.
E-mail addresses: [email protected] (V. Margari), [email protected] (A. Kanellopoulou), [email protected] (G. Zaraphonitis).
https://doi.org/10.1016/j.oceaneng.2018.07.035
Received 23 May 2018; Accepted 11 July 2018
Available online 23 July 2018
0029-8018/ © 2018 Elsevier Ltd. All rights reserved.
V. Margari et al. Ocean Engineering 165 (2018) 528–537
2. Artificial neural networks every node is connected with every node of its forward layer or not.
A fundamental feature of ANNs is their ability to learn. For this
2.1. Historical background purpose, they adjust the weights of their connections and threshold
values in order to present a satisfactory behaviour according to a pre-
Artificial neural networks (ANNs) are inspired by the human brain scribed criterion. There are three different learning techniques: su-
functionality and loosely model the way it processes sensory informa- pervised, unsupervised and reinforcement learning. In supervised
tion received from the environment. They consist of parallel-dis- learning, the network is provided with a series of input and output pairs
tributed, interconnected, non-linear processing units, the neurons. in order to find a function that connects them. This procedure is eval-
Information is acquired from their environment via a learning process uated by a cost function, usually the mean square error between actual
and stored in the form of weights in the connections (Haykin, 1999). A and desired output, which needs to be minimized. In unsupervised
simplified model of the biological neuron was initially introduced by learning, the network has to classify the input data, finding a patern
McCulloch and Pitts (1943), as a possible component of a computa- without external information. In reinforcement learning the network is
tional system. This neuron had several inputs, both excitatory and in- in continuous communication with its environment, which rewards or
hibitory,1 and an output, which reflected the state2 of the neuron. In not the input – output mapping that has been achieved, in order to
order for the neuron to be activated, the sum of the excitatory signals minimize a performance indicator.
had to exceed a threshold value T, while inhibitory signals were absent.
In variations of this model, positive and negative stimulations were of 2.3. Feed-forward multi-layer perceptron
the same importance due to the use of adequate linear weights (Haykin,
1999; Russell and Norvig, 1995). One of the most widely used neural networks is the feed-forward,
There were numerous milestones in the field of neural networks multi-layer perceptron (MLP). MLPs are considered particularly sui-
since they were originally introduced, regarding the architecture of the table for function approximation, data classification or pattern re-
networks and their learning process. Hebbian learning is one of the cognition problems; therefore they have been selected to be used in the
oldest learning algorithms, based on the dynamics of biological systems present study. An MLP consists of an input layer, one or more hidden
(Hebb, 1949). According to this hypothesis, when the neurons con- layers and an output layer (Fig. 1). The number of the input and output
nected by a synapse are stimulated repeatedly and simultaneously, this nodes is equal to the dimension of the input and output data respec-
synapse becomes stronger, and the neurons are connected more effec- tively. The signal is transferred in the forward direction from the input
tively. In terms of ANNs, this is accomplished with the increase of sy- to the output layer (Haykin, 1999).
naptic weights (Haykin, 1999; Russell and Norvig, 1995). One of the Every node except for the input layers’ is a neuron with a differ-
first ANNs to be developed was the perceptron, presented by Rosenblatt entiable activation function that generates its output (Haykin, 1999).
(1958). This simple neural network was a binary classifier, based on the Sigmoid transfer functions, such as logistic sigmoid or hyperbolic tan-
McCulloch – Pitts neuron, and had the ability of updating its weights gent sigmoid are usually preferred as activation functions for MLPs,
via a supervised learning method. Minsky and Papert (1969) analysed it because consecutive layers of neurons with non-linear activation
and proved mathematically that a single-layer network is not able to functions enable the network to learn non-linear relationships between
solve more complex problems, such as linear classification in more than input and output data. The linear transfer function is often used for the
two classes. Back-propagation learning algorithm revived the interest neurons of the output layer.
for neural networks in the mid-80s, when it was used in numerous The logistic sigmoid function is given by eq. (1) while its graphical
different problems. This algorithm adapts the synaptic weights in a way representation is illustrated in Fig. 2.
that minimizes the mean square error between the actual and desired
1
output (Haykin, 1999; Rojas, 1996). It was at that time when many yk = f (uk ) =
1 + e−uk (1)
research programs regarding neural networks were initiated. As a re-
sult, their application expanded in more complex and practical pro- The hyperbolic tangent sigmoid function is given by eq. (2) and its
blems. Autonomous drivers, weather or stock value predictions, image graphical representation is illustrated in Fig. 3.
recognition and optimal path selection could be solved with ANNs
1 − e−uk
(Zurada, 1992). yk = f (uk ) =
1 + e−uk (2)
1
Excitatory signals increase the probability of the neuron to be activated,
whereas the inhibitory ones, in this model, prevent its activation.
2 Fig. 1. Architecture of a multi-layer perceptron with two hidden layers.
i.e. The sum of the neuron's inputs.
529
V. Margari et al. Ocean Engineering 165 (2018) 528–537
530
V. Margari et al. Ocean Engineering 165 (2018) 528–537
531
V. Margari et al. Ocean Engineering 165 (2018) 528–537
Table 1
Tested MLP architectures –1st stage of trials.
Serial numb. Architecture Training set Validation set
Table 2
Properties of selected networks.
Code Architecture Training Activation function
number algorithms
Hidden Output layer
layers
2.4.2 4-8-1 LM T P
4.4.1 4-16-1 LM T T
10.4.2 4-16-8-1 LM T P
13.4.1 4-12-8-4-1 LM T T
16.4.2 4-16-12-8-4-1 LM T P
16.4.4 4-16-12-8-4-1 LM L P
(used also during the first stage) and the gradient descent with mo-
mentum weight and bias. As a result, a total of 72 networks were tested
(Fig. 6). The available data was divided into training, validation and
test dataset with ratios 80%, 12% and 8% respectively. For each one of
the six networks listed in Table 2, the minimum MSE and maximum R
values obtained by the 12 combinations of learning rates and learning
algorithms for the training, validation and test data set, are presented in
Table 3.
532
V. Margari et al. Ocean Engineering 165 (2018) 528–537
Table 3
Obtained MSE & R values of selected networks.
a/a Training set Validation set Test set
Fig. 10. Actual output vs. desired for MLP1 after training.
5. Discussion of results
533
V. Margari et al. Ocean Engineering 165 (2018) 528–537
Table 4
Geometric properties of the three MARAD hullforms.
Ship B E H
Fig. 13. Actual output vs. desired for MLP2 after training. Fig. 14. Residual resistance coefficient for ship B.
534
V. Margari et al. Ocean Engineering 165 (2018) 528–537
Table 6
Total resistance prediction for ship E.
MARAD MLP1 MLP2
Table 7
Total resistance prediction for ship H.
Table 5
Total resistance prediction for ship B. MARAD MLP1 MLP2
MARAD MLP1 MLP2 Fn υ [kn] RT [kN] RT [kN] diff. [%] RT [kN] diff. [%]
Fn υ [kn] RT [kN] RT [kN] diff. [%] RT [kN] diff. [%] 0.130 15.3 2012.7 2018.6 −0.3 2012.5 0.0
0.140 16.5 2332.1 2345.6 −0.6 2347.1 −0.6
0.130 14.8 2025.4 2038.2 −0.6 2046.7 −1.1 0.145 17.0 2544.9 2531.2 0.5 2535.5 0.4
0.140 15.9 2486.3 2512.0 −1.0 2526.5 −1.6 0.150 17.6 2756.6 2731.0 0.9 2745.2 0.4
0.145 16.5 2810.3 2841.6 −1.1 2831.6 −0.8 0.155 18.2 2936.0 2941.6 −0.2 2955.4 −0.7
0.150 17.1 3173.3 3230.0 −1.8 3220.5 −1.5 0.160 18.8 3136.2 3155.0 −0.6 3145.4 −0.3
0.155 17.6 3565.7 3600.2 −1.0 3589.5 −0.7 0.165 19.4 3343.8 3366.1 −0.7 3344.9 0.0
0.160 18.2 3904.5 3937.1 −0.8 3946.6 −1.1 0.170 20.0 3558.8 3599.3 −1.1 3591.5 −0.9
0.165 18.8 4294.3 4346.8 −1.2 4367.2 −1.7 0.175 20.6 3964.5 3925.2 1.0 3920.2 1.1
0.170 19.4 4804.3 4874.2 −1.5 4854.5 −1.0 0.180 21.2 4398.9 4388.7 0.2 4360.8 0.9
0.175 19.9 5385.4 5466.6 −1.5 5440.6 −1.0 0.185 21.7 4945.0 4941.4 0.1 4871.8 1.5
0.180 20.5 6027.0 6093.7 −1.1 6073.2 −0.8 0.190 22.3 5552.4 5516.4 0.6 5467.3 1.5
535
V. Margari et al. Ocean Engineering 165 (2018) 528–537
References
Fig. 17. Total resistance prediction for ship B.
Beale, M.H., Hagan, M.T., Demuth, H.B., 2015. Neural Network Toolbox-user’s Guide.
The Mathworks Inc.
Bojovic, P., 1997. Resistance of AMECRC systematic series of high speed displacement
hullforms. In: Proceedings of the IV Symposium on High Speed Marine Vehicles,
Naples, Italy.
Cepowski, T., 2005. Application of statistical methods and artificial neural networks for
approximating ship's roll in beam waves. Pol. Marit. Res. 22–28 No2/2005.
Cepowski, T., 2007. Application of artificial neural networks to approximation and
identification of sea-keeping performance of a bulk Carrier in ballast loading con-
dition. Pol. Marit. Res. 4 (54), 31–39 Vol. 14.
Hagan, M.T., Demuth, H.B., Beale, M.H., De Jesús, O., 2014. Neural Network Design,
second ed. Martin Hagan.
Haykin, S., 1999. Neural Networks – a Comprehensive Foundation, Prentice-Hall, second
ed. Prentice Hall PTR, Upper Saddle River, NJ, USA.
Hebb, D., 1949. The Organization of Behavior. John Willy and Sons Inc, New York.
Koushan, K., 2001. Empirical prediction of ship resistance and wetted surface area using
Artificial Neural Network. In: Proceedings of the Eighth International Symposium on
Practical Design of Ships and Other Floating Structures, vol.1. pp. 501–508.
Levenberg, K., 1944. A method for the solution of certain non-linear problems in least
squares. Q. Appl. Math. 2, 164–168.
Margari, V., 2017. Prediction of Resistance of MARAD Systematic Series' Hullforms Using
Artificial Neural Networks. Diploma Thesis. NTUA, School of Naval Architecture and
Marine Engineering.
Margari, V., Kanellopoulou, A., Zaraphonitis, G., 2018. Prediction of resistance of MARAD
systematic series' hullforms using artificial neural networks. In: Proceeding of the 6th
International Symposium on Ship Operations, Management & Economics (SOME),
SNAME, Athens.
Marquardt, D., 1963. An algorithm for least-squares estimation of nonlinear parameters.
Fig. 18. Total resistance prediction for ship E. J. Soc. Ind. Appl. Math. 11 (No. 2), 431–441.
Martins, P.T., Lobo, V., 2007. Estimating maneuvering and sea-keeping characteristics
with neural networks. In: Proceedings of the IEEE OCEANS 2007, Aberdeen.
Mason, A., Couser, P., Mason, G., Smith, C.R., von Konsky, B.R., 2005. Optimization of
vessel resistance using generic algorithms and artificial neural networks. In:
Proceedings of the COMPIT 2005, Hamburg, Germany, pp. 440–454.
McCulloch, W., Pitts, W., 1943. A logical Calculus of the ideas immanent in nervous
activity. Bull. Math. Biol. 5 (4), 115–133.
Minksy, M., Papert, S., 1969. Perceptrons: an Introduction to Computational Geometry.
MIT Press, Cambridge, Mass.
Moor, D., Parker, M.N., Pattulo, R.N.M., 1961. The BSRA methodical series – an overall
presentation. Trans. RINA 103.
Ortigosa, I., López, R., García, J., 2014. Prediction of total resistance coefficients using
neural networks. J. Marit. Res. 6 (3), 15–26 [S.l.].
Pedersen, B.P., Larsen, J., 2009. Prediction of full-scale propulsion power using artificial
neural networks. In: Proceedings of COMPIT 2009: 8th International Conference on
Computer and IT Applications in the Maritime Industries, Budapest, pp. 537–550.
Radojcic, D., Zgradic, A., Kalajdzic, M., Simic, A., 2014. Resistance prediction for hard
chine hulls in the pre-planning regime. Pol. Marit. Res. 2 (82), 9–26 Vol. 21.
Rojas, R., 1996. Neural Networks – a Systematic Introduction. Springer –Verlag, Berlin.
Roseman, D.P., Seibold, F., 1985. An introduction to the U.S. Maritime administration
systematic series. Mar. Technol. 221, 329–338.
Roseman, D.P., Seibold, F., 1987. The MARAD Systematic Series of Full-Form Ship
Models. The society of Naval Architects and Marine Engineers.
Rosenblatt, F., 1958. The perceptron: a probabilistic model for information storage and
organization in the brain. Psychol. Rev. 65 (6), 386–408 Cornell aeronautical la-
boratory.
Russell, S., Norvig, P., 1995. Artificial Intelligence – a Modern Approach. Prentice Hall,
Eglewood Cliffs, New Jersey.
Fig. 19. Total resistance prediction for ship H. Shaher Sabit, A., 1971. A regression analysis of the resistance results of the BSRA standard
series. Int. Shipbuild. Prog. 3–17.
Shaher Sabit, A., 1972a. An analysis of the series 60 results. Part 2, analysis of propulsion
536
V. Margari et al. Ocean Engineering 165 (2018) 528–537
factors. Int. Shipbuild. Prog. 294–301. Todd, F.H., 1963. Series 60 Methodical Experiments with Models of Single-screw Ships.
Shaher Sabit, A., 1972b. An analysis of the series 60 results. In: Part 1, Analysis of Forms Report 1712. U.S. Government Printing Office.
and Resistance Results. International Shipbuilding Progress, pp. 81–97. Williams, A., 1969. The SSPA Cargo Liner Series Resistance. SSPA Report No 66. Statens
Shaher Sabit, A., 1976. The SSPA Cargo liner series regression analysis of the resistance Skeppsprovningsanstalt, Giitenburg.
and propulsive coefficients. Int. Shipbuild. Prog. 23 (263), 213–217. Yao, J., Han, D., 2012. RBF neural network evaluation model for MDO design of ship.
Snyman, J.A., 2005. Practical Mathematical Optimization. Springer. IPCSIT 47, 309–312.
The MathWorks Inc, 2018. Neural Network Toolbox. [Online] Available at: https:// Zurada, J.M., 1992. Introduction to Artificial Neural Systems. West Publishing Company,
www.mathworks.com/products/neural-network.html/, Accessed date: 19 April St. Paul.
2018.
537