2. Configuration of an Ammonia/Hydrogen Fuelled LJEG
Figure 1 illustrates the schematic of the LJEG. The double-acting pistons are utilised to achieve enhanced and smooth power output in both the expander and compressor assemblies. A customised moving magnet tubular linear alternator is positioned between the expander and compressor. The expander’s intake and exhaust flow are regulated by two sets of in-house designed electromagnetic valve trains to guarantee fast and precise management of the gas exchange process. Considering the slow combustion of ammonia, external combustion is applied to avoid intermittent combustion, which is beneficial for robust ammonia combustion. The fuel composition and mass flow rate are regulated based on the required heat input. The dimensions of the LJEG rig are listed in
Table 1. The working fluid (air in the current study) from the combustor enters through the left expander inlet valve and pushes the piston to drive the alternator and compressor. The opening distance of the intake valve is feedback-controlled, with the operating stroke length being the target. An optical linear encoder, the primary control input, provides accurate real-time displacement. The Joule Cycle engine’s inherent characteristics require heat transfer from the combustor to the working fluid under a quasi-steady pressure.
After closing the intake valve, the cylinder’s air will further expand to complete the expansion process. Meanwhile, the air compresses within the right-hand side compressor until the pressure difference across the exhaust reed valve exceeds its cracking pressure. Then, the compressed air will be expelled into the combustor unit through the exhaust valve under quasi-steady pressure, where the energy content is increased to drive the expander in the next stroke. Simultaneously, the expander and compressor on the opposite side undergo an exhaust and intake process. As the exhaust valve is closed, an air spring is formed within the cylinder, contributing to the piston’s deceleration. Because double-acting pistons are used, the expansion and compression process occurs within every stroke, as does the generator’s electricity. The motion of the LJEG is governed by the interplay of gas, electromagnetic, and friction forces in the absence of a rigid crankshaft. Any factors that influence gas forces, such as the gas exchange process and combustion, will lead to variation in system dynamics, which in turn cause a change in electromagnetic force and friction force. Therefore, robust control of electromagnetic valves and combustor units is essential to ensure stable and efficient operation.
3. Methods
A LJEG model is coupled to aid LJEG system investigation, integrating multiple simulation sub-models. While each sub-model focuses on examining specific aspects, the intricate interplay among various factors and their impact on the LJEG system is captured by coupling these sub-models. The structural configuration of the coupled LJEG model is illustrated in
Figure 2.
The LJEG dynamic model, which couples the linear engine and alternator, is integrated using Simcenter Amesim v2304, a one-dimensional multi-domain modelling and simulation package that serves as the base modelling platform. It considers all the forces influencing the moving mass and computes the kinetic parameters. The piston motion of an LJEG is determined by the interaction among gas forces within the expander and compressor (
Fg), alternator electromagnetic force (
Fa), and friction force (
Ff), as represented in Equation (1). The gas forces originate from the pressure of the gas within the cylinder, following the principles of the first law of thermodynamics, as outlined in Equation (2). Where
p denotes in-cylinder pressure,
Q represents heat flow across the cylinder wall,
refers to the working fluid specific heat ratio,
V represents the volume of the in-cylinder,
denotes mass flow rate, and
is the enthalpy of the inlet or outlet flow, respectively.
Since external combustion is applied, the heat flow across the cylinder wall in Equation (2) is the heat loss from in-cylinder working fluid to the ambient environment. The overall heat transfer coefficient is derived considering the whole pathway, i.e., convection between working fluid and cylinder/pipe inner wall, thermal conduction within the cylinder wall, and natural convection between the cylinder/pipe outer wall and ambient air. Woschni’s correlation is applied for an in-cylinder convective heat transfer coefficient calculation. The heat exchange that occurs within the pipe between the working fluid and the ambient is also considered by referring to an empirical correlation based on exhaust-pipe-heat transfer [
26], as indicated in Equations (3)–(6).
where
h represents the convective heat transfer coefficient (subscripts
i,
o,
cyl and
pipe denote inside, outside, cylinder, and pipe, respectively). Notably,
indicates the overall heat transfer coefficient,
Aht denotes the heat transfer area,
T denotes temperature (subscripts
g,
w and
0 represent gas, wall and environment, respectively),
d is wall thickness,
k denotes wall thermal conductivity,
D represents the cylinder bore diameter,
Re is the Reynolds number, and
Nu represents the Nusselt number, respectively.
Heat input to the linear engine is generated from ammonia combustion, which is regulated by adjusting the fuel/air composition. The mass flow rates under specific inlet temperature and pressure conditions are regulated according to the required heat input. The Perfectly Stirred Reactor module in the Ansys Chemkin 2023 R1 software simulates the ammonia combustor using a comprehensive ammonia combustion mechanism. This simulation offers valuable insights into the combustion characteristics of ammonia under LJEG working conditions, with the investigation focusing on the effects of key parameters on NOx formation and reduction within the combustor, ensuring compliance with the required heat release rate to achieve low NOx emissions from the LJEG. Various ammonia combustion and emission mechanisms have been developed [
27,
28]. Notably, the detailed mechanism proposed by Nakamura et al. [
27] has demonstrated satisfactory predictions of combustion characteristics; hence, it is adopted for this study.
The alternator’s electromagnetic force is critical in engine dynamics and power output. Most previous studies on LJEG simplified the alternator as an ideal damper, with the approach that the alternator force’s amplitude is assumed to vary linearly with piston velocity. In this approach, the inductance of the alternator is disregarded. The electrical load is treated as purely resistive, free from force ripple, making it better suited to a constant velocity generator than the alternator in LJEG with varying velocity. Furthermore, the ideal damper assumption does not consider the effects of variable electromagnetic forces and machine losses, which would compromise the accuracy of the alternator force and, therefore, the LJEG system dynamic model. To improve the modelling of a tubular linear generator, the authors’ team [
29] proposed a lumped model approach, which combines the merits of accuracy from finite element analysis (FEA) and computational efficiency from the analytical model. The piston−cylinder assembly generates the force, serving as the primary driver for the generator. Equation (7) represents the forces acting on linear generator forces, derived by considering all electrical machine performance parameters and forces determined by electrical machine geometry and slot/pole combination.
where
; linear generator responding force,
; electrical force,
; cogging force,
; eddy current force,
; core loss force,
; copper loss force,
; armature reaction force. The alternator’s voltage, current, and electromagnetic force is obtained as a velocity and displacement function.
The primary sources of friction forces in free-piston engines originate from the interactions between the piston ring, cylinder liner, and the couplings between the bearing and shaft, with the former exerting a more dominant influence. Non-lubricated graphite piston rings with canted springs are employed. The friction in this context is primarily composed of two components: dry friction resulting from the tension force of the piston ring (
Ffd) and the friction arising from in-cylinder pressure loading (
Ffp), as described in Equation (8) [
30]. The Stribeck model [
31] is employed to compute
Ffd in Equation (9).
Ffc, Equation (10) and
Ffs, Equation (11) represent Coulomb and maximum static friction, respectively, while
Cs denotes the Stribeck constant.
Ffp is obtained from Equation (12) [
32], incorporating
as the pressure friction coefficient,
p as the pressure difference between the cylinder chambers,
D as the cylinder bore diameter, and
W as the piston ring width. The parameter values for the friction model can be found in
Table 2.
where
is the static friction coefficient,
is the dynamic friction coefficient, and
is the normal force on the piston ring.
In addition to the sub-models for various forces above, model control was established through the implementation of boundary conditions. The design parameters of the simulation, including the piston stroke, moving mass, diameters, translator and stator dimensions, as well as initial boundary values, were preconfigured. Key outputs were selected as target parameters, including piston displacement, piston velocity, and the pressure and temperature at the combustor fluid outlet to help ascertain the optimal valve timings. The LJEG valve operations were achieved through a control module with the model by prompting the expander intake valve to open when the piston reached its set top dead centre while the expander exhaust valve opened at the set bottom dead centre. The expansion process of the expander commenced following the triggering of the expander exhaust-valve-opening event. Expansion exhaust valve timing adjustments were implemented during the closing phase to improve the efficiency of the scavenging process.
4. Model Validation
The test prototype was described in reference [
30], and the test and simulation results of piston velocity, acceleration, and displacement within one cycle are illustrated in
Figure 3. For comparison of experimental and simulation results, the piston velocity, displacement, and acceleration within a single cycle are examined. The maximum deviations from the test and simulation results for these three parameters were 7.28%, 1.52%, and 4.73%, respectively. These low error rates indicate that the integrated model achieves high precision, even when various practical losses are accounted for. The mean absolute errors (MAE) for the three dynamic parameters are as follows: 0.48 mm/s for displacement, 0.06 m/s for velocity, and 2.21 m/s
2 for acceleration. This demonstrates a high level of agreement between the experimental and simulation results, confirming the reliability of the integrated model. The differences observed in the piston behaviour near peak values are attributed to the working fluids entering the cylinder chamber upon valve opening and closing, which is a period of transient unsteady flow.
The linear alternator model is independently validated against test data to ensure the coupled LJEG model’s accuracy. During the experiment, the induced electromotive force (EMF) was recorded while a ball screw (actuator) propels the linear alternator test prototype at a maximum velocity of 5.7 mm/s. A comparison between simulated and measured results of the induced no-load back EMF is illustrated in
Figure 4a. Satisfactory agreement is observed as the simulation data aligns with the trend and attains a comparable amplitude to the test data, with the peak amplitude deviations being in the range of 3.31–8.07%. Maintaining the correct peak value of the EMF ensures minimal deviation of the model from reality. The difference between the simulation and test results is attributed to the air gaps between the permanent magnet components, leading to spikes in the EMF signal. Cogging force is generated from the interaction between the stator and translator through magnetic excitation and is measured as the translator moves forward or backwards. This force will cause a ripple in the electromagnetic thrust force produced by the machine.
Figure 4b compares the test and simulation results,
Figure 4b compares the test and simulation results, predicting the transient nature of the cogging force and accounting for the disparities between actual and modelled materials, which pose challenges compounded by potential errors introduced during test measurement. Nonetheless, the observed trend and shape of the cogging force align with the measured test data, indicating that the model can reasonably predict the cogging force. To evaluate the performance of the linear alternator prototype, a 24-ampere direct current is applied, and the static force is measured under various displacements.
Figure 4c shows that the simulated static force aligns with the observed trend of the test static force data and attains a comparable amplitude (the deviations up to 3.99%). Ensuring similar amplitude representation for both test and simulated data is imperative in order to minimise deviations from the model results.
5. Results and Discussion
This section presents the outcomes of optimising LJEG performance. The optimisation process focuses on matching the alternator electromagnetic force with the engine and the parameters to be controlled during LJEG operation. The controlled parameters investigated include the stroke, exhaust valve close position, and heat input.
5.1. Electromagnetic Force
As a crucial force influencing LJEG dynamics, the alternator’s electromagnetic force is vital in ensuring LJEG stability and optimal performance.
Figure 5 presents the FEA simulation results of electromagnetic force versus the translator velocity. Two moving magnet tubular alternators with 40 and 48 coil turns are employed. The alternator, with 48 turns, delivers a larger electromagnetic force at the same translator velocity. The non-linear relationship between electromagnetic force and translator velocity is observed, which will not reflect in a simplified ideal damper model. The comparison of transient profiles of electromagnetic force and translator velocity during LJEG operation is demonstrated in
Figure 6. As observed, the electromagnetic force has a fluctuating and flatter shape with a change in velocity. The fluctuation arises from the combined influence of cogging and armature reaction forces. The flattened profile at the peak results from the inductance effect [
29]. When the 48-turn alternator is simulated, electromagnetic force increases and peak velocity is reduced. Moreover, as shown in
Figure 7, engine power output and thermal efficiency increased. The alternator with 48-turn is adopted for subsequent investigation, as a further increase in electromagnetic force will lead to a drop in piston velocity and unstable engine running.
5.2. Target Stroke
The operating parameters of the LJEG with various target strokes are presented in
Figure 8. The heat input is maintained at 5.5 kW, and the expander exhaust valve is closed at 11 mm. The peak velocity increased with piston strokes, as shown in
Figure 8a, while the frequency is nearly constant, around 13 Hz for the investigated cases.
Figure 8b presents the in-cylinder pressure profiles of the left-hand-side expander and right-hand-side compressor. The relatively flat stage in the early phase of the expansion process corresponds to the expander intake valve’s opening window. During this phase, the high-energy working fluid flows into the expander to drive the piston with a moderate decrease in pressure. A greater quantity of working fluid is allowed into the cylinder at a longer intake duration, which results in extended piston strokes. Moreover, as the piston strokes increase, higher pressure levels and sufficient expansion processes are found after the intake valve is closed, which helps convert more energy of working fluid into mechanical power. On the compressor side, the in-cylinder pressure and the position where the exhaust valve opens (indicated by the first turning point from left to right of
Figure 8b) are almost unchanged despite the increase in compression strokes with extended strokes.
With a longer stroke, more power is extracted from the working fluid in the expander. It can be observed that pressure drops more rapidly at the beginning of the compressor intake process as a stroke increases. The compressor intake valve opens when in-cylinder pressure drops below ambient pressure; however, a more rapid drop of in-cylinder pressure leads to an earlier start of the intake process and a greater amount of working fluid introduced. As a result, around a 2% increase in engine thermal efficiency (ηt) and the thermal to electric energy conversion efficiency (ηte) is achieved as strokes increase from 108 mm to 116 mm. The same heat input enhances mechanical (Pm) and electric (Pe) power output. Although the simulation results suggest further performance improvement is possible by achieving longer strokes, accurate control of piston motion around the dead centre is more challenging. Therefore, the target-operating stroke is set at 116 mm for subsequent investigations.
5.3. Exhaust Valve Closing Timing
The expander exhaust valve close position (EVC) is another parameter that controls the LJEG. Operating parameters of the LJEG with various EVC positions are evaluated, while the stroke and heat input are kept at 116 mm and 5.5 kW, respectively. As indicated in
Figure 9a, the change in EVC positions shows a minor influence on piston motion. However, in
Figure 9b, an apparent drop in peak pressure of both the expander and compressor is observed, as EVC is advanced despite increased pressure within the expander at the conclusion of the exhaust phase. The influence of EVC on efficiency and power output is less straightforward in
Figure 9c,d. With advanced EVC, efficiency and power firstly increased and then dropped. The close coupling between the expander and compressor of the LJEG system can explain this. Earlier EVC will cause less energy to be delivered to the compressor, as indicated by the reduced pressure observed at the conclusion of the compression process, as illustrated in
Figure 9b. This trend will influence engine efficiency in two opposite directions: the compressor consumes less energy, while more power output is expected; however, the decrease in the pressure of the working fluid that drives the expander also reduces the mechanical power delivered. The trade-off between these two aspects leads to the trend observed in efficiency and power output. After reaching the peak efficiency and power output at an EVC of 14 mm, further investigation is conducted using this adopted EVC.
5.4. Heat Addition
The influence of heat input (
Qin) on the LJEG operating parameters is demonstrated in
Figure 10. With more heat input, the piston peak velocity increased. Moreover, the velocity profile flattens in the middle of the stroke (
Figure 10a). The in-cylinder pressure profiles presented in
Figure 10b indicate the reason behind this trend in velocity. As heat input increases, the expander and compressor’s peak pressure rises. As the stroke is unchanged, the expander intake valve’s opening window must be narrowed to restrict the working fluid from entering the expander to drive the piston forward. As a result, the driving gas force at the beginning of the expansion stroke has a larger amplitude but shorter duration, which leads to a more significant acceleration within this brief period. As the pressure between the expander and compressor increases, the compressor’s intake valve opens later, as the compressor’s air needs to be further compressed to overcome the valve’s cracking pressure. As shown in
Figure 10c,d, efficiency and power output increase steadily with a higher heat input. However, the efficiency increase gradually becomes smaller, implying that a limitation exists for heat input addition.
Figure 10b highlights that the opening window of the expander intake valve should be shortened to regulate piston motion effectively. Nevertheless, if the heat input exceeds a specific threshold (7.4 kW, as indicated in
Figure 10), the simulation suggests that the piston might collide with the cylinder head. However, practical application poses challenges in actuating the valve beyond 6.5 kW heat input due to constraints such as limited valve opening and closing time and the force required for valve system actuation. Furthermore, the metallurgical limitations of engine components would restrict increased heat input.
Consequently, a heat input of 6.5 kW is chosen as the optimised value, resulting in mechanical and electric power outputs of 2.23 kW and 1.96 kW, respectively. The thermal efficiency of this configuration is 34.3%, accompanied by an electric energy efficiency of 30%.
5.5. Summary
The performance optimisation process conducted above is summarised in
Figure 11, demonstrating each parameter’s contribution. The critical importance of matching the engine and alternator is obvious and deserves further investigation. Regarding the control parameters, heat input directly influences efficiency and power output, followed by operating stroke, while minor effects are found in regard to the exhaust valve’s closed position. Therefore, the control of the combustor unit and expander intake valve are identified as the critical control parameters for achieving high efficiency and power output from the LJEG system.
5.6. Further Discussions on Ammonia Combustion and Emissions
Because of the external combustion characteristics of the LJEG, it is possible to optimise ammonia combustion independently to reduce NOx emission while delivering the required heat, which is the critical concern in using ammonia as fuel. This section investigates the effects of equivalence ratio, hydrogen addition, oxygen enrichment and pressure on NO formation, as well as reduction during the ammonia combustion process.
It has been identified that the LJEG requires 6.5 kW of heat input to achieve optimum performance. The combustion analysis is carried out on a constant heat release rate basis. The heat release rate with different reactant compositions and pressures is calculated at various reactant mass flow rates. As shown in
Figure 12, the heat release rate increases linearly with the mass flow rate for various fuel/air mixtures. The influence of reactant composition on combustion kinetics can be observed at various mass flow rates. As the reactant changes from lean to rich fuel, the heat release rate rises, peaks at an equivalence ratio between 1.0 and 1.1, and then falls slightly as the fuel/air mixture becomes rich. This trend is consistent with the findings in ammonia/air premixed flame speed [
33]. While adding hydrogen or oxygen leads to an apparent enhancement of heat release rate, negligible influence is found from pressure. Based on those findings, the mass flow rates of reactants with various compositions and pressure are adjusted to maintain the heat release rate from combustion at 6.5 kW, used as the input in the following parametric analysis.
Since nitric oxide (NO) is the predominant NOx species in ammonia combustion, as opposed to NO
2 and N
2O [
18], only the results related to NO are presented. The results of the NO mole fraction in the combustion product are summarised in
Figure 13. Considering the variation in initial ammonia (NH
3) mole fraction in reactants with different compositions, which is expected to affect nitrogen-related species concentration, the NO mole fraction normalised against the initial NH
3 mole fraction is presented, while the influence of the equivalence ratio is illustrated in
Figure 13a. It is found that the NO mole fraction peaks at the equivalence ratio of 0.9 and decreases dramatically as the ratio further increases. A similar trend was also observed in ammonia/methane/air-premixed flame [
34]. Considering that ammonia’s maximum burning velocity is achieved with an equivalence ratio of 1.0~1.1, maintaining an equivalence ratio of 1.1 in ammonia/air premixed combustion proves advantageous for ensuring combustion stability and minimising NO emissions. The normalised NO mole fraction trend is similar, although the peak at an equivalence ratio of 0.9 diminishes. The equivalence ratio is set as 1.1 in further investigation of hydrogen/oxygen addition and pressure variation. While adding hydrogen or oxygen is an effective method to enhance ammonia combustion, they cause an apparent increase in NO emission, as shown in
Figure 13b,c. At 30% volume hydrogen blend, NO mole fraction in combustion product is more than doubled compared with pure ammonia combustion. The influence of oxygen enrichment is more intense, as the NO mole fraction is more than ten times higher when the air’s volumetric fraction increases from 21% to 30%. Interesting characteristics are observed in the effects of pressure on NO emission. As pressure is elevated, a significant reduction in the NO mole fraction is found, although the effects become weaker as pressure increases. Therefore, it is possible to simultaneously achieve combustion and low NO emission with the appropriate selection of reactant composition and pressure. To scrutinise the mechanisms underlying pressure and NO formation, the impacts of reactant composition and pressure on NO’s formation and reduction pathways are further examined, aided by the analysis of the Rate of Production (ROP).
For a fuel without nitrogen, the dominant route of NO production during its combustion in air is the extended Zeldovich mechanism, also referred to as the thermal-NO mechanism [
35]. Three significant reactions are involved in this mechanism: N
2 + O = NO + N, N + O
2 = NO + O and N + OH = NO + H. However, in ammonia combustion, the fuel-bond-NO mechanism plays a vital role in NO production and reduction [
18]. The reaction pathway proposed by Miller et al. [
36] is widely accepted. Ammonia combustion starts with H-abstraction by OH/H/O radicals, forming the NH
2 radical. Subsequently, the NH
2 radical can proceed through three channels: reacting with O radicals to yield HNO, engaging with primary intermediates leading to NO formation, and undergoing further H-abstraction by H/OH radicals to form the NH radical, which subsequently reacts with NO, and contributing to NO reduction.
Similar pathways apply to the NH radical: converted into NO directly or via HNO, or further H-abstraction to produce the N atom, which, in turn, is oxidised into NO or reacts with NO to produce N2. Several reaction channels exist for each step, and the contribution from each channel is closely relevant to the abundance of certain radicals, which is influenced by the composition of the reactant in terms of equivalence ratio and additive blending ratio. Pressure can also exert its influence either directly through pressure-dependence reactions or by affecting the radical pools.
Figure 14 presents the ROP analysis results, focusing on monotonic trends from
Figure 13. For conciseness, only two result sets per case are discussed. Examining various parameters highlights the equivalence ratio’s pivotal role in altering the relative contribution of critical reactions for NO formation and reduction. In lean combustion, the primary NO production pathway involves the HNO intermediate. Conversely, rich combustion exhibits nitrogen atom oxidation as the predominant ROP reaction (
Figure 14a). This difference in radical pools between lean and rich combustion explains the observed variations in NO-related processes. In lean combustion, abundant O/H radicals facilitate the conversion of NH
2/NH radicals to NO primarily via HNO. As the equivalence ratio increases, O/H radical concentration decreases, but in richer combustion, the proportion of H radicals in O/H radical pools rises. This favours the H-abstraction of NH
2/NH radicals over their conversion to NO. Consequently, NO formation primarily occurs through nitrogen atom oxidation, the ultimate H-abstraction product of NH
2/NH radicals.
Furthermore, due to the absence of O radicals, NH
2/NH radicals are prone to react with NO, affecting the apparent lower NO mole fraction in rich combustion products. Despite maintaining the equivalence ratio at 1.2 in the parametric analysis of other factors, the relative importance of each reaction for NO production and reduction remains unchanged. Nonetheless, the absolute ROP of the dominant reaction governing NO formation and reduction is influenced, thereby contributing to the observed trends in the NO mole fraction, as depicted in
Figure 13.
Introducing hydrogen to ammonia enhances N-atom-related reactions, resulting in an about 45% increase in NO production with a 30% hydrogen addition, as illustrated in
Figure 14b. This is attributed to the augmented H atom in the radical pool favouring H-abstraction from NH
i species and suppressing their reaction with NO. Oxygen enrichment of 40% further amplifies NO production through the N-atom by 139% and HNO intermediate pathways by over 10%, as shown in
Figure 14c. This phenomenon, observed by Li et al. [
37], in oxygen-enriched ammonia/air-premixed flames is characterised by a steady rise in O, OH, and N radical concentrations, with increasing oxygen promoting N-related and HNO-related reactions. The reduction in NO emission at elevated pressure is attributed to the depletion of the O/H radical pool, resulting from pressure-sensitive three-body reactions (H + OH + M = H
2O + M and H + O
2 + M = HO
2 + M) [
18].