Stirling Engine Multi-Objective Optimization Using A Genetic Algorithm
Stirling Engine Multi-Objective Optimization Using A Genetic Algorithm
Stirling Engine Multi-Objective Optimization Using A Genetic Algorithm
Corresponding Author:
Oumaima Taki
Laboratory of Networks, Computer Science, Telecommunication and Multimedia (RITM)
CED Engineering Sciences, Higher School of Technology
Hassan II University, Casablanca, Morocco
Email: [email protected]
1. INTRODUCTION
Stirling engine is an external combustion piston engine that transforms thermal energy into kinetic
energy by heating and cooling the compressible fluid contained in the cylinders. The thermal efficiency of its
cycle can reach that of a Carnot cycle, and that is the highest reachable efficiency theoretically [1]. It was first
invented by Robert Stirling in 1816, and continued to investigate on its invention until 1850 s when he built
double and triple cylinders engines [2]. Nonetheless, those new engines were less performant than the first one.
Many researchers continued to prosecute their researches on the Stirling engine; In 1860 with Lehman building
a hot air expansion engine with a horizontal single cylinder [3]. In 1876, Alexander Rider built another hot air
engine but with two cylinders put side by side and externally connected by a regenerator, without the need of
valves, springs, levers or any delicate part [4].
The published results of the Philips Stirling Engines in 1947 were a significant improvement, they
were 50 times lighter and 125 times smaller compared to the first engines [5]. A Stirling engine operates on a
closed and regenerative thermodynamic cycle, with cycle compression and expansion of the compressible
working fluid inside the cylinders, at different temperature levels [6], and thanks to its non-explosive
combustion, a Stirling engine can achieve remarkable quietness.
The practical cycle is different from the theoretical Carnot one that consists of two constant
temperatures and two constant volume processes, and it can be defined as a process that occurs in a closed
space containing a working compressible fluid. The difference in volume inside the closed space generates in
which changes cyclical changes in pressure of the fluid whereas the displacement in the closed space generates
changes in cyclic temperatures of the fluid [7].
Schmidt was the first to thermodynamically model a Stirling cycle and he did an assumption that the
working fluids in the cold and hot spaces have similar temperature of the cold and hot sources [8], and he then
developed an isothermal model, which was based on the expansion and compression of an ideal gas, and that
was used by others to develop Stirling engines. Urieli and Berchowitz used this work to develop an adiabatic
model which divides the Stirling engine into five control volumes and assuming that the total mass of the
working gas remains the same inside the engine so as to obtain an efficient heat transfer [9].
2. MATHEMATICAL MODELLING
The adiabatic model of Urieli and Berchowitz is used in this work to apply a multi-objective
optimization. The engine is divided into five components connected in series as shown in Figure 1. The
following assumptions were taken into account: i) Compression and expansion are adiabatic; ii) Uniform gas
pressure inside the engine; iii) Sinusoidal movement of the piston and the displacer; iv) The used working fluid
is an ideal gas; and v) Steady state, rotation speed is constant. The terms cited in this paper are presented in
Table 1.
𝑃𝑉 = 𝑛𝑅𝑇 (1)
Considering the PV diagram of the Stirling cycle as graphed in Figure 2, we observe that during the
compression process 4-1, the gas is cooled to maintain the constant cold temperature 𝑇𝐶 . The required work
𝑊4−1 to compress the gas inside the cylinder as (2).
1 1 𝑉
𝑊4−1 = ∫4 𝑃𝑑𝑉 = 𝐶𝑜𝑛𝑠𝑡 ∫4 𝑑𝑉 = 𝐶𝑜𝑛𝑠𝑡𝑙𝑛 ( 1) (2)
𝑉4
𝐶𝑜𝑛𝑠𝑡 = 𝑃1 𝑉1 = 𝑃4 𝑉4 = 𝑛 ∙ 𝑅 ∙ 𝑇𝐶 (3)
In the isothermal expansion process 2-3, the heat source maintains the working fluid’s temperature
constant at 𝑇𝐻 . The work of this process is formulated as (4),
3 3
𝑊2−3 = ∫2 𝑃𝑑𝑉 = 𝐶𝑜𝑛𝑠𝑡 ∫2 𝑑𝑉 = 𝐶𝑜𝑛𝑠𝑡𝑙𝑛 (4)
𝐶𝑜𝑛𝑠𝑡 = 𝑃2 𝑉2 = 𝑃3 𝑉3 = 𝑛 ∙ 𝑅 ∙ 𝑇𝐻 (5)
Int J Pow Elec & Dri Syst, Vol. 15, No. 1, March 2024: 623-630
Int J Pow Elec & Dri Syst ISSN: 2088-8694 625
In the processes 1-2 and 3-4, the volume is constant, the fluid is displaced from the cold space to the hot space,
no work is done. We can then conclude that the network is expressed as the sum of work from process 4-1 and
process 2-3:
Figure 1. The adiabatic model [10] Figure 2. The stirling engine cycle [11]
𝑄𝑅 = ∆𝑈 = 𝑚. 𝐶𝑉 . ∆𝑇 (7)
During the compression and expansion processes, the temperature is constant [11] and thus, according
to (7) the transferred heat is equal to the work. We have:
𝑉
−𝑄𝑜𝑢𝑡 = 𝑄4−1 = 𝑊4−1 = 𝑚. 𝑅. 𝑇𝐶 . 𝑙𝑛 ( 1) (8)
𝑉4
𝑉
𝑄𝑖𝑛 = 𝑄2−3 = 𝑊2−3 = 𝑚. 𝑅. 𝑇𝐻 . 𝑙𝑛 ( 3) (9)
𝑉2
If we want to calculate to practical efficiency, we have to take in consideration the regenerator efficiency 𝜀𝑅 .
Let’s reformulate the absorbed and the released working fluid heats:
Where 𝑛 the number of the fluid’s moles, 𝑅 the gas constant and 𝜆 the ratio of the volumes.
In the transfer of heat from the heat source to the sink is lost due to thermal bridging. It is calculated
by (14) [12]:
𝐾0
𝑄0 = [(2 − 𝜀𝐻 )𝑇𝐻1 − (2 − 𝜀𝐿 )𝑇𝐿1 + (𝜀𝐻 𝑇ℎ − 𝜀𝐿 𝑇𝐶 )]𝑡𝑐𝑦𝑐𝑙𝑒 (14)
2
Now with the consideration of the thermal bridging losses, we can put the released net heat (𝑄𝐻 ) and the
absorbed net heat (𝑄𝐿 as (15) and (16):
𝑄𝐻 = 𝑄0 + 𝑄ℎ (15)
𝑄𝐿 = 𝑄0 + 𝑄𝑐 (16)
We can then express the output power using the cyclic time period:
𝑊𝑜𝑟𝑘 𝑄𝐻 −𝑄𝐿
𝑃= = (18)
𝑇𝑖𝑚𝑒 𝑡𝑐𝑦𝑐𝑙𝑒
3. MULTI-OBJECTIVE OPTIMIZATION
3.1. Genetic algorithms
Genetic algorithms are optimization algorithms that simulate the natural selection and evolution of
species populations. They were introduced by John Holland in the early 1970’s [13]. A genetic algorithm (GA)
usually consists of two processes; we first choose individuals to compose our population, based on their
contribution in our objective function, then we mix and match individuals through crossover and mutation of
genes in order to generate an offspring that will represent the next generation. These two processes are then
looped, until satisfaction of a predefined threshold, to get an optimal solution.
as we will see next, the solutions are sorted by their non-dominance; from the non-dominated ones to the most
dominated (Figure 3).
The main loop of the algorithm is as follows:
- We choose randomly a starting population 𝑃0 , and with a tournament selection [17] the parents of the next
generation are chosen.
- We apply a crossover between the chromosomes of the parents to generate an offspring 𝑄0 . In addition to
crossover, a mutation occurs randomly to chromosomes, with a rate of 10% generally, then we obtain a
new population with double size of the first one 𝑅0 = 𝑃0 ∪ 𝑄0 .
- A non-dominated sorting is then applied to 𝑅0 to have the population sorted by frontiers.
- Let Fj the frontier such as |0||𝑗 − 1𝐹𝑖 | < |𝑃0 | and |0||𝑗𝐹𝑖 | ≥ |𝑃0 |. If there is equality of the cardinals, we
put 0𝑗𝐹𝑖 = 𝑃1 , and repeat from step 1 until we reach a predefined threshold N of maximum populations.
- If we are in the strict inequality of the cardinals’ case: |0||𝑗𝐹𝑖 | > |𝑃0 |, we apply a crowding distance sorting
is applied to the Fj frontier to retrieve only solutions that would fit to the new population. Then we restart
from step 1 until threshold is satisfied.
The Pareto frontier, also known as Pareto set or Pareto front, is a crucial concept in multi-objective
optimization. It refers to the optimal set of solutions where the improvement of one objective comes at the cost
of another. Vilfredo Pareto first observed this phenomenon in his work on economics [18]. Today, the Pareto
frontier is widely used in various fields such as engineering and economics. It helps to identify the best possible
options for a system or process and can be visualized as a curve in a two-dimensional space or higher
Int J Pow Elec & Dri Syst, Vol. 15, No. 1, March 2024: 623-630
Int J Pow Elec & Dri Syst ISSN: 2088-8694 627
dimensions [19]. To find the Pareto frontier, researchers use a variety of methods such as genetic algorithms,
simulated annealing, and linear programming. It provides a useful tool for decision-making, and the Pareto
frontier can be used to optimize multiple objectives simultaneously [20].
Int J Pow Elec & Dri Syst, Vol. 15, No. 1, March 2024: 623-630
Int J Pow Elec & Dri Syst ISSN: 2088-8694 629
After many attempts, we have found that after setting all design patterns to constant values, keeping
only the temperature variants, we can obtain a fitter curve with less noise (Figure. 5). We then decided to let
only the temperature and the capacitance of the cold sink as variable design parameters. As a result, we obtain
a linear curve, which is not representative of our multi-optimization problem, and we cannot choose a pareto
frontier (Figure 6 and Figure 7).
Figure 6. Pareto frontier with less design Figure 7. Simplified problem with two design
parameters parameters
5. CONCLUSION
In this study, we were faced to a multi-optimization problem; optimizing the output power and the
thermal efficiency of the Stirling engine. We chose as design parameters the effectiveness of the regenerator
and the exchangers, the heat capacitances of the heat source and heat sink and the low and high temperature of
the working fluid. From a toolkit of available algorithms to solve such problems, we chose the NSGA-II
algorithm, that we have found suitable for our case. We also concluded that if we keep only the temperature of
the working fluid variable, the Pareto frontier tends to have a fit logarithmic curve shape. As it was debated in
its apparition the work of Amrit Pratap et al., it is definitively a fast and elitist genetic algorithm. We got an
optimal thermal efficiency between 37% and 74%, and an optimal output power between 1200 W and
11300 W. These are the ranges where the optimal realistic solutions are located, we must apply a decision-
making algorithm in a future work to locate them. The remaining design parameters can be looked in detail at
as well in other studies, in order to achieve a more global optimization of the engine, such as the nature of the
working fluid, the angle of the crank wheel, and the rotational speed.
REFERENCES
[1] Y. Nagaoka, M. Nakamura, K. Yamashita, Y. Ito, S. Haramura, and K. Yamaguchi, “Development of Stirling Engine Heat Pump,”
Heat Pumps, pp. 595–603, 1990, doi: 10.1016/b978-0-08-040193-5.50069-9.
[2] I. Batmaz and S. Üstün, “Design and manufacturing of a V-type Stirling engine with double heaters,” Applied Energy, vol. 85, no.
11, pp. 1041–1049, 2008, doi: 10.1016/j.apenergy.2008.02.021.
[3] D. H. Rix, “Some aspects of the outline design specification of a 0.5 kW Stirling engine for domestic scale co-generation,”
Proceedings of the Institution of Mechanical Engineers, Part A: Journal of Power and Energy, vol. 210, no. 1, pp. 25–32, 1996,
doi: 10.1243/pime_proc_1996_210_005_02.
[4] A. K. Rider, “Hot air engine,” 1875.
[5] T. Finkelstein, Air Engines III, The Engine. ASME Press, 1959.
[6] G. Walker and J. R. Senft, “Free-Piston Stirling Engines,” in Lecture Notes in Engineering, 1985, pp. 23–99.
[7] P. Stouffs, “Machine thermique non conventionnelles : état de l’art, application, problème à résoudre,” Journée d’étude de SFT
(France), 1999.
[8] G. Schmidt, “The theory of Lehmann’s calorimetric machine,” Zeitschrift des Vereins Deutscher Ingenieure, vol. 15, no. 1, pp. 1–
12, 1871.
[9] I. Urieli and D. Berchowitz, “Stirling Cycle Engine Analysis,” Alternative Sources of Energy, pp. 71–71, 1984.
[10] M. T. García, E. C. Trujillo, J. A. V. Godiño, and D. S. Martínez, “Thermodynamic model for performance analysis of a Stirling
engine prototype,” Energies, vol. 11, no. 10, 2018, doi: 10.3390/en11102655.
[11] O. Taki, K. S. Rhazi, and Y. Mejdoub, “A Study of Stirling Engine Efficiency Combined with Solar Energy,” Advances in Science,
Technology and Engineering Systems Journal, vol. 6, no. 2, pp. 837–845, 2021, doi: 10.25046/aj060297.
[12] M. H. Ahmadi, A. H. Mohammadi, S. Dehghani, and M. A. Barranco-Jiménez, “Multi-objective thermodynamic-based optimization
of output power of Solar Dish-Stirling engine by implementing an evolutionary algorithm,” Energy Conversion and Management,
vol. 75, pp. 438–445, 2013, doi: 10.1016/j.enconman.2013.06.030.
[13] J. H. Holland, “Adaptation in Natural and Artificial Systems,” Adaptation in Natural and Artificial Systems, 2019, doi:
10.7551/mitpress/1090.001.0001.
[14] K. Deb, A. Pratap, S. Agarwal, and T. Meyarivan, “A fast and elitist multiobjective genetic algorithm: NSGA-II,” IEEE
Transactions on Evolutionary Computation, vol. 6, no. 2, pp. 182–197, 2002, doi: 10.1109/4235.996017.
[15] J. Ooi, M. A. B. Promentilla, R. R. Tan, D. K. S. Ng, and N. G. Chemmangattuvalappil, “A Fuzzy Analytic Hierarchy Process
Approach for Multi-objective Molecular Design Problem,” Computer Aided Chemical Engineering, vol. 40, pp. 967–972, 2017,
doi: 10.1016/B978-0-444-63965-3.50163-X.
[16] N. Srinivas and K. Deb, “Multi-objective function optimization using non-dominated sorting genetic algorithms,” Evolutionary
Computation, vol. 2, no. 3, pp. 221–248, 1994.
[17] R. R. L.Haldurai, T.Madhubala, “A study on genetic algorithm and its applications,” International Journal of Computer Sciences
and Engineering, vol. 10, no. october, pp. 139–143, 2016.
[18] H. L. Moore, “Cours d’Économie Politique. By VILFREDO PARETO, Professeur à l’Université de Lausanne. Vol. I. Pp. 430. I896.
Vol. II. Pp. 426. I897. Lausanne: F. Rouge,” The ANNALS of the American Academy of Political and Social Science, vol. 9, no. 3,
pp. 128–131, Nov. 1897, doi: 10.1177/000271629700900314.
[19] R. T. Marler and J. S. Arora, “Survey of multi-objective optimization methods for engineering,” Structural and Multidisciplinary
Optimization, vol. 26, no. 6, pp. 369–395, 2004, doi: 10.1007/s00158-003-0368-6.
[20] C. A. Coello, G. B. Lamont, and D. A. Veldhuizen, Evolutionary Algorithms for Solving Multi-Objective Problems. Boston, MA:
Springer US, 2007.
[21] O. M. Elmardi Suleiman, “Performance and Design Optimization of Solar Powered Stirling Engine Using Genetic Algorithm,”
Global Journal of Engineering Sciences, vol. 1, no. 1, 2018, doi: 10.33552/gjes.2018.01.000501.
[22] M. Sheykhi and M. Mehregan, “Improvement of technical performance of heat regenerator of GPU-3 Stirling engine,” Energy
Reports, vol. 9, pp. 607–620, 2023, doi: 10.1016/j.egyr.2022.12.029.
[23] A. Rahmati, S. M. Varedi-Koulaei, M. H. Ahmadi, and H. Ahmadi, “Dimensional synthesis of the Stirling engine based on
optimizing the output work by evolutionary algorithms,” Energy Reports, vol. 6, pp. 1468–1486, 2020, doi:
10.1016/j.egyr.2020.05.030.
[24] H. Xu, L. Chen, Y. Ge, and H. Feng, “Multi-objective optimization of Stirling heat engine with various heat and mechanical losses,”
Energy, vol. 256, 2022, doi: 10.1016/j.energy.2022.124699.
[25] A. Abuelyamen and R. Ben-Mansour, “Energy efficiency comparison of Stirling engine types (α, β, and γ) using detailed CFD
modeling,” International Journal of Thermal Sciences, vol. 132, pp. 411–423, 2018, doi: 10.1016/j.ijthermalsci.2018.06.026.
[26] M. H. Katooli, R. Askari Moghadam, and M. Hooshang, “Investigation on effective operating variables in gamma-type Stirling
engine performance: a simulation approach,” SN Applied Sciences, vol. 2, no. 4, 2020, doi: 10.1007/s42452-020-2526-5.
BIOGRAPHIES OF AUTHORS
Oumaima Taki is an electrical engineer who was born in 1995 in Morocco. She
graduated from the National School of Arts and Crafts (ENSAM) Casablanca in 2018. She is
currently pursuing her Ph.D. in the Electrical Engineering Department at the Superior School
of Technology (EST) Casablanca, where she is focused on researching 'Stirling engine' and
'engine optimization'. She can be contacted at email: [email protected].
Youssef Mejdoub was born in Morocco, in 1980. He received his Ph.D. Thesis
on Modeling of Multiconductor Transmission Lines, in 2014 from Cadi Ayyad University,
Marrakech Morocco. Since 2016, he has been a Professor at the Superior school of technology
(EST), University of Hassan II of Casablanca. He currently works at the Electrical Engineering
Department, Superior school of technology. His current research interests are 'antennas’,
'electromagnetic compatibility' and 'MTL lines'. He can be contacted at email:
[email protected] or [email protected].
Int J Pow Elec & Dri Syst, Vol. 15, No. 1, March 2024: 623-630