Implementation of The Sine - Cosine Algorithm To The Pressure Vessel Design Problem
Implementation of The Sine - Cosine Algorithm To The Pressure Vessel Design Problem
ISSN No:-2456-2165
Abstract:- Engineering design problems usually include survival of the fittest and the mechanism of natural selection
large-scale, nonlinear, or constrained optimization are the foundations of the GA. The three most significant
problems. Under a given circumstance, optimization stages in GA are mutation, crossover, and selection.
methods aim to find the optimum solutions that give the
extremum of a function. There are numerous methods Eberhart and Kennedy (1995) proposed the Particle
for solving optimization problems. Some of these Swarm Optimization (PSO). The PSO algorithm imitates the
problems are solved by heuristic or evolutionary group and individual foraging behaviors of a herd of
approaches. Genetic Algorithms (GA) and Particle animals and a flock of birds. The optimization process starts
Swarm Optimization (PSO) are two of the state-ofart with a set of solutions generated at random, just like the GA
heuristic optimization techniques. Additionally, one of algorithm. There is a second set called the velocity set in
the recently developed heuristic population-based addition to the set of solutions generated that is used to
optimization technique is the Sine-Cosine Algorithm. define and store the speed of particle motion.
The pressure vessel design problem has been solved Kannan and Kramer (1994) described the augmented
using various methods in the literature. Fruit Fly Lagrange multiplier method in conjunction with Powell’s
Algorithm gives the best minimum design cost, which is zeroth order method and, alternatively, the Fletcher and
5896.9489. In this work, the Sine-Cosine Algorithm was Reeves Conjugate Gradient method as a general approach
used to optimize the design cost of the pressure vessel for resolving mixed discrete, integer, zero-one, continuous
and obtained 5888.5213, which is better than the optimization problems. Augmented Lagrangian method is
literature’s best reported design cost. one of the techniques for solving constrained optimization
problems. They resemble penalty methods in the sense that
Keywords:- Genetic Algorithm, Particle Swarm they add a penalty term to the objective and swap out a
Optimization, Sine - Cosine Algorithm, Pressure Vessel and constrained optimization problem for a sequence of
American Society of Mechanical Engineers. unconstrained ones. The augmented Lagrangian approach,
however, adds still another term that is meant to resemble a
I. INTRODUCTION Lagrange multiplier. Although they are not identical, the
augmented Lagrangian and the Lagrange multiplier
Mechanical design encompasses the designing of a approach are linked.
variety of machine components, such as gears, bearings,
clutches, and fasteners (Kannan & Kramer, 1994). The key Sandgren (1990) proposed an algorithm that combined
design requirements for mechanical systems comprise wear, the Branch and Bound method with a quadratic
maintenance, liability, weight, size, functionality, safety, programming method, and an exterior penalty function
dependability, and manufacturability. Some basic design method. A branch and bound approach involve enumerating
concerns are relevant to all mechanical systems, despite the potential candidate solutions step by step while scouring the
fact that the number and importance of standards and whole search domain. A rooted decision tree with all of the
criteria differ from product design to product design. These potential solutions is first created. The entire search space is
factors include the capacity for loading, deformation, represented by the root node. Each child node is a
stability, and durability. To optimize products, the modeling component of the solution set and a partial solution. Based
and analysis of the dependency of these assessment criteria on the ideal solution, we build an upper and lower bound for
on design variables are required. The mechanical design a specific problem prior to building the rooted decision tree.
should satisfy the specifications provided by the American
Society of Mechanical Engineers (ASME) (Sandgren, Montes et al. (2007) developed the differential
1990). evolution (DE) approach. The algorithm explores the design
space by keeping track of a population of potential solutions
Numerous researches have been conducted on the (individuals), and by combining potential solutions in
pressure vessel design problem utilizing a variety of accordance with a predetermined method, it generates new
techniques, including the genetic algorithm, particle swarm solutions. The candidates with the best objective values are
optimization algorithm, augmented lagrange multiplier retained in the algorithm’s subsequent iteration in order to
method, branch and bound, differential evolution approach improve each candidate’s new objective value and include it
and fruit fly algorithm (Ke, et al., 2016). into the population.
Holland (1975) initially introduced the core ideas of Pan (2011) developed a new algorithm called Fruit Fly
the genetic algorithm (GA). GA employs techniques drawn Optimization Algorithm. The algorithm is built on two
from natural evolution to tackle optimization issues. The primary foraging techniques: using the osphresis organ to
C. Data Processing
The total cost comprises of the welding cost, material cost and forming cost.
a) Welding Cost:
1. Longitudinal welding cost:
Longitudinal welding cost = Vl× D × Cw (1)
where,
(2)
Eqn(2) into (1):
(3)
2. Circumferential welding cost:
(4)
Circumferential welding cost = Vs × D × Cw
where,
(5)
Eqn(5) into (4):
(6)
The total welding cost is the sum of the longitudinal and circumferential welding cost.
(7)
D. Formulation of the Problem control the exploration and exploitation during the search
The objective is to minimize the total cost of material, process.
forming, and welding. Ts(thickness of the shell, y1),
Th(thickness of the head, y2), R (inner radius, y3) and L
(length of cylindrical section of the vessel, y4) are the four
design variables. Tsand Thare integer multiples of 0.0625
inch, the available thickness of rolled steel plates, and R and where t is the current iteration and Tmaxis the maximum
L are continuous. The total cost which we intend to number of iterations.
minimize is then given as follows:
The parameter r2 lies in the interval (0,2π) and
specifies how far the movement should be toward or away
(10) from the destination point. The parameter r3 has the interval
[0,2] and gives random weight to the Pit which focuses on
The minimum wall thicknesses must be constrained by the exploration (r3 >1) and exploitation (r3 <1). The
the constraint set. The minimum value of the tank and the parameter r4 lies in the interval (0,1). and toggles between
length of the cylindrical shell are both constrained by the sine and cosine components. Finally, Pit is the best
Tsand Thfrom the ASME codes (Sandgren, 1990). These destination point obtained so far and || indicates the absolute
constraints are listed as: value.
Constraint of circumferential stress: g1(y) = B. The algorithm for sine - cosine technique:
−y1 + 0.0193y3 ≤ 0 (11) 1. Initialization of the set of search agents
{X1,X2,···,Xn} using
Constraint of longitudinal stress: g2(y) =
xij= lb+ rand(0,1) × (ub− lb)
−y2 + 0.00954y3 ≤ 0 (12)
where xijis the components of each search agent,
lband ubare the lower and upper boundary
Constraint of volume: respectively. (13)
where Xitis the position of the current search agent in 7. Repeat steps 3, 4, 5 and 6 until the termination
i−thdimension at t−thiteration. The r1,r2,r3 and r4 are random criteria is fulfilled.
values. The parameter r1 uses the expression below to
V. RESULTS
The following are the values of the best design variables obtained after running the program for the Sine - Cosine Algorithm:
y1 = 0.8259
y2 = 0.3814
y3 = 42.7444
y4 = 168.7212
f(X) = 5888.5213
The Figure 1 below describes how the fitness value converges towards the 5000 iterations.
From the graph or simulation, it was observed that the optimal cost of 5888.5213 was attained at the 4500th iteration after
which it was maintained for the rest of the iterations.
The table 1 below shows the optimal cost calculated by the various methods found in theliterature as compared to the value o
btained in this paper
Table 1: Comparison of the best solution for the pressure vessel design problem
From table 1, the difference between the results Computational simulations indicate that the proposed
obtained from the Artificial Bee Colony technique and the SCA approach achieves the best result in terms of objective
Gausian Quantum Behaved Particle Swarm technique is function (total design cost) minimization, being 5888.5213
0.5063. Also, the difference between the results obtained which is 8.4276 (0.142%) better than fruit fly algorithm
from the Mixed Integer technique and the New Particle method, with 5896.9489, which is the best literature’s best
Swarm technique is 0.0313. These differences in the results reported objective function value.
were considered significant.
It can be concluded that by using the sine-cosine
The current work optimizes the parameters such as the algorithm, the pressure vessel’s optimal design parameters
thickness of the shell, length, and radius of the pressure are found, and the objective of cost minimization by
vessel using the Sine - Cosine Algorithm. The results are reducing pressure vessel weight is accomplished. The
compared to various works which used other optimization application of the sine-cosine algorithm to a pressure vessel
methods and are shown in Table (6.1). It has been found that problem with four design constraints and four variables has
the optimal design cost, $5888.5213, obtained by the Sine - been demonstrated in this paper.
Cosine Algorithm is better as compared to the literature’s
best cost of $5896.9489. REFERENCES
The choice of the 5000 iterations, 150 search agents [1.] Akay, B. and Karaboga, D. (2012). Artificial bee
and the currency in dollars is that the comparing methods colony algorithm for large-scale problems and
used the same information and therefore, the study did not engineering design optimization, Journal of
want to introduce any variation to conflict the results. Also, Intelligent Manufacturing, vol 23, pp.1001-1014.
the results hold for Carbon Steel ASME SA 203 grade B. [2.] Cagnina, L., C., et al. (2008). Solving engineering
optimization problems with the simple constrained
VII. CONCLUSION particles swarm optimizer. Informatica, vol.32,
pp.319-326.
In this paper, the optimal design cost of a pressure [3.] Coelho, L., S. (2010). Gaussian quantum-behaved
vessel was carried out through the sinecosine algorithm particle swarm optimization approaches for
(SCA) by optimizing parameters which include thickness of constrained engineering design problems. Expert
the shell and head, length of the shell and inner radius of the System with Applications, vol37, pp.1676-1683.
pressure vessel. The results obtained are compared with the [4.] Coello, C., A., C. (2000). Use of a self -adaptive
results of other optimization methods in the literature penalty approach for engineering optimization
applied to the pressure vessel design problem. problems. Computers in Industry, vol.41, pp.13-127.