Regenerative gas cycles, including the Stirling engine, are sealed machines using pistons within cylinders to transfer energy from a heat source to a colder reservoir using a gas as working substance. For the optimal design of these cycles, we need a detailed description of gas dynamic behavior. This contribution deals with the simulation of cylinder spaces without internal combustion (as we find for regenerative gas cycles). For the simulation, we suggested a symbolic mathematics-based strategy to describe the dynamic system behavior based on partial non-linear differential equations for the conserved quantity. The renunciation of numerical approximation gives the advantage that the underlying physical mechanisms are characterized by exact expressions and parameters. Using some assumptions, the dynamic behavior of the gas within the cylinder is already described by ordinary non-linear differential equations. Depending on the selected boundary conditions analytical solutions can be obtained for some cases. Finally, the developed solution is based on it and will be received as a series expansion. Additionally, for the simulation-based optimization of the processes it is possible to calculate directly the periodical-steady state of the system with the help of the symbolic solution. The simulation is suitable for fundamental theoretical investigations, as well as for the implementation in simulation software for different regenerative gas cycles.
The process configuration of a regenerative gas cycle always consists of a heat exchanger circuit and a combination of cylinder piston assemblies. In the sealed machines the working gas is warmed up and cooled down alternating by the heat exchangers to generate the pulsating process pressure. The pistons are mechanically connected to a gear; during a power stroke they push the gas through the heat exchangers, and they generate mechanical work by changing the whole gas volume. A configuration therefore consists of the elementary components which the working gas flows through in a certain order:
cylinder space (displacement or working cylinder),
heat exchanger (cooler or heater for external heat transfer),
regenerator (internal heat transfer).
For the optimal design of these components different methods for modeling and simulation are used (cf. [ 4 ]). The differential equations for the conserved quantities: mass, energy, and momentum are usually not directly solvable, i.e., do not have closed form solutions. Instead, solutions must be approximated using numerical methods. For purposes of simplified calculations, one may assume that the process takes place from initiation to completion without a change in a special state quantity of the system. In this case also analytic solutions exist, such as the Schmidt model for Stirling engines [ 11 ]. One more model that has occasionally been used is the model for the regenerator due to Hausen [ 2 ].
For the symbolic mathematics-based simulation of the gas cycle the single components can be modeled separately, where every component has an independent solving method for itself. One advantage is that special boundary conditions for a component can simplify modeling to receive an efficient solution of the underlying differential equations. Another advantage is that it is possible to simulate a higher number of different process configurations (e.g. Stirling or Vuilleumier process [
4
]) with this modular construction. Thereby the components are arranged according to their number and location in the flow. The
The process pressure sets again a boundary condition for the single components. Furthermore the components are coupled by the energy flow of the involved masses as well as without mass via the surrounding.
Simulation models for the component of the cylinder space exist for regenerative gas cycles and also for reciprocating compressors or internal-combustion engines. Analytic solutions for the cylinder space may be obtained by assumption of an adiabatic-, polytropic-, or isothermal process (cf. [ 1 ]), as with the Schmidt model [ 11 ]. In contrast, the studies of multidimensional effects like heat transfer [ 13 ] or the pressure loss are solely based on numerical methods. Other models are also using numerical methods simulating the cylinder spaces for piston engines based on ordinary differential equations, like [ 5 ] for Vuilleumier engines, [ 8 ] for diesel engines, or [ 10 ] for Stirling engines.
The analytical or semi-analytical methods are only partially suitable for aims of simulation-based optimization because gross simplifications for the real situation must be superinduced. The numerical approximations do not deal with this problem but with an analytical model the solution is held in form of an equation. It will then be easier to handle and one can clearly recognize the characteristics of the physical process. Additionally, for the simulation of regenerative gas cycles it is possible to calculate directly the periodical-steady state of the system. This paper aims at exploiting the benefits of an analytical calculation method without using gross simplifications for the modeling.
To determine the change of the state quantities one has to solve the differential equations for the conserved quantities under respect of the boundary conditions. In this connection, the change of the cylinder volume and the gas density gives the required information for the bordering components, like the emitting and receiving gas mass flow. For the multidimensional problem numerical methods may approximate the solution of the differential equations and perhaps yield useful information on analytic solution. In this case the investigations of the structural intrinsic properties of the system may be used, to provide the information for
the determination of the influence parameters of the cylinder space,
their effects and especially the influence of individual parameters change,
the simplifications that result from fixing certain parameters for the simulation, and
the conditions for the isothermal process, which is widely accepted in the field.
Finally, for simulation purposes analytic solutions are generally considered superior to numerical approximations.
A single cylinder is connected with the remaining cylinder spaces of a process configuration by heat exchangers or by regenerators. The influencing quantities of the energy balance of a semi-open system are shown in Fig.
1
. These are the transported heat and work via the surrounding and the enthalpy flow rate to connect the other modules by the interface
Schematic view of a cylinder space with the influencing quantities of the energy balanceFig. 1

It has to be distinguished whether it concerns a gas taking or gas delivering cylinder space according to the temperature at the interface. In the first case, the temperature is a function of the bordering component: the heat exchanger. In case of the gas delivering cylinder the temperature at the interface corresponds to the temperature inside the cylinder space. Therefore:
The working gas within the cylinder is considered as ideal mixed. The reason is that the gas streams alternately incoming and leaving the cylinder provide in each case an intense turbulence.
Furthermore, no basic differentiation of the energy balance is made between a displacement and working piston because that has only a constructive meaning. The appearing leaky mass flow about the piston seals (which can be predicted mathematically only inexactly) is extremely low at a displacement compressor due to the lower pressure differences, and the effects for the process can be neglected.
The energy equation for the semi-open system (cf. Figure
1
) is expressed by:
With the thermodynamic work
For regenerative gas cycles the working gas can be treated as an ideal gas, and with the differential form of the ideal gas law
Substituting (2) and (5) into (4) and applying the mass balance of the semi-open system
The observed rate of heat flow via the heat transfer surface of the cylinder
Correlations to the heat transfer of cylinder spaces are found in literature. In [
12
] different functions to calculate the inside heat transfer coefficient are delivered for steady-state conditions. Beyond that also transient functions for the cylinder space are available in case of internal combustion engines, but not for regenerative gas cycles. Therefore, in [
4
] the function
To calculate the rate of heat transfer the temperature at the wall surface is accepted as steady, but in [ 5 ] a transient consideration was also implemented. Besides in the periodical-steady state, the gas temperature in the cylinder is characterized by a sine approximation that leads to the propagation of the penetration depth of the periodical temperature variation in the wall. The divergence of the heat transfer compared to a model with a steady inside temperature by metallic materials amounts to merely a few percent. Hence this approach is suggested, if necessary, in exclusively isolated cylinder rooms.
In the following the heat transfer surface of the cylinder consists only of the side area. The area of the top and bottom results in a thermally very well isolated piston for the avoidance of heat conduction loss. However, the crossing is already in the bordering heat exchanger, so these stationary heat loss terms can be regarded separately later in the whole energy balance of the process. In this case, the quotient of heat transfer surface and cylinder volume gives:
Taking the ideal gas law and Eq. (
10
) into account, an equivalent form of (8) can be found:
The differential equation depends upon three groups for heat transfer, pressure, and volume. They are:
Their meaning is as follows:
So far, the model focused upon the gas taking up cylinder. For the gas delivering cylinder we received from the energy balance (6) the Bernoulli differential equation:
In comparison to this equation an additional term which arises from the temperature difference of the incoming gas flow is considered with the Riccati equation. Therefore:
A simplification of the solution to the underlying problem can be produced if special state changes are regarded. This is particularly the case if it acts around an adiabatic system (
Boundary conditions General solution (14) (15) (16)
The difficulty still exists in the consideration of the usually transient pressure progression, because the functions to be integrated always contain exponents of non-natural numbers. With this consideration an analytical solution for (14) is limited, and whether it gives a suitable solution generally depends naively on the function of the pressure. Therefore, simplifications deliver only solutions for special boundary conditions, but not for the general case. In particular, the pressure progression is given during the simulation as a rule not as a function, and will be received first by the whole energy balance (1). Therefore, another procedure must be applied to get the solution.
The non-linear Riccati equation may be put in linear-form to be more suitable for calculation. If we write (cf. [
3
] )
The square term for the temperature disappears, and the differential equation is compared with the original form out of higher order. Writing
Finally, the solution of the ordinary differential Eq. (
17
) gives (
The initial value for the temperature at
In general, and in particular for (19), there is no closed form solution for a system of linear differential equations, and an approximation method such as Magnus expansion [
6
] may have to be used. This first equation of the Magnus expansion or Magnus series coincides exactly with the solution in the scalar case
The Matrix
Another possibility to receive a correction is to regard the matrix
To compute the matrix exponential we have to diagonalise the matrix
The averaged components of
The symbolic solution for the Riccati equation is very efficient; particularly in comparison to a numerical approximation. Hence, it is applied in the following to solve the Bernoulli differential Eq. (
13
) for the gas delivering cylinder space. On this occasion, the matrix
Apart from that the solution of the matrix exponential (29) coincides with the gas taking up cylinder space.
In this case the initial temperature
We now evaluate the magnitudes of influence during a half power stroke with the help of the simulation. For the cylinder space the Riccati Eq. ( 12 ) based model is available. The equation depends on:
the heat transfer parameter
the pressure parameter
the volume parameter
the temperature of the surrounding area
the temperature of the incoming gas
For the simulation of the gas delivering and the gas taking up cylinder, the proposed solution for the Riccati equation is used; the series expansion (25) and the analytic solution for the matrix exponential (29). The boundary conditions to calculate the progression of the temperature are presented in Table
1
.
List of boundary conditions for the temperature profile calculation of the cylinder spaces Type Value Cylinder diameter Angular velocity Temperature of surrounding area Test function: Pressure Test function: Gas taking up temperatureTable 1
Figure
2
shows the solution for the temperature profiles over the course of a half power stroke (interval
Temperature for the gas delivering cylinder space over phase. Shown is the variation of the isentropic exponent (
a
) and the overall heat transfer coefficient (
b
)Fig. 2

By contrast, at the gas taking up cylinder corresponding to Fig.
3
, a significant influence of the supplied enthalpy flow is observed. Thereby the contribution of the temperature of the incoming gas depends on the ratio of volumetric flow to the volume of the cylinder space
Incoming volumetric flow Volume coefficient (30) (31) Temperature for the gas taking up cylinder space over phase. Shown is the variation of the pressure and of the temperature of the incoming gasFig. 3

The Eqs. (30) and (31) are a formal statement of the well-known fact that at
The working gas inside a machine of a regenerative gas cycle is pushed through the heat exchangers and the regenerator by cylinder piston assemblies. For the optimal design of these components one requires the information of the gas mass flow emitting and receiving by the cylinder spaces. In that regard, account must be taken of the modeling of the mass change within any cylinder space, based on differential equations for the conserved quantities mass, energy, and momentum, which are theoretically as well as numerically difficult to treat.
The proposed model of the cylinder space describes the dynamic behavior already by an ordinary non-linear differential equation, in particular due to the assumption that the alternating incoming and outgoing gas mass flow ensures an intense turbulence. Depending on the selected boundary conditions analytical solutions can be obtained for some instances. In addition, by using a special mathematical transformation, the energy equation of the cylinder space could be obtained as a system of linear differential equations, where the general solution is based on the matrix exponential function. Of course, the energy equations could also be treated by any of the numerical algorithms to solve ordinary differential equations. The important point to be emphasized here is that the main reason for the usefulness of the exponential algorithms lies in the fact that it preserves structural intrinsic properties of the exact solution.
The approach is developed for simulating the dynamic behavior of the cylinder space, depending on:
the pulsating process pressure,
the heat transfer to the surrounding,
the temperature of the incoming gas flow, and
usually oscillatory volumetric flow from the gear in question.
For the temperature within the cylinder space the theoretical investigations showed an isentropic change in state for the influence of the process pressure depending on the isentropic exponent. To retain the isothermal state a heat transfer to the surrounding must be carried out, whereby the influence of the overall heat transfer coefficient would have to be very pronounced to compensate the pressure change. In addition, the temperature change by the pressure is pulsating. However, the heat flow has only one direction: cooling down or heating up. Finally, the temperature of the gas taking up cylinder depends on the temperature of the incoming volumetric flow, which is a function of the bordering component. Some people assume that the process takes place without an increase or decrease in a state quantity of the system like the temperature. The impact of the investigated parameters indicates this assumption is not always correct; the general solution appears indispensable for realistic simulation.
The information of the parameters can be provided to the featured cylinder space simulation continuously or discreetly, as this is present as a finite number of discrete time steps. The division of the time steps depending on required simulation accuracy is in this case virtually arbitrary since there is an analytical solution for the matrix exponential function. Thus an efficient symbolic solution, in comparison to the numerical approximation, of the underlying differential equation is obtained.
The presented model of the cylinder space can be used for design simulating software of regenerative gas cycles. By the modular construction of the simulation program the external boundary conditions of the cylinder space are provided via the coupling of the other modules. Number and arrangement of the individual modules of a regenerative gas cycle is determined by the process configuration and therefore the cylinder space module is suitable for simulating different machines. Furthermore, additional physical models such as for combustion or pressure loss may be integrated. Thus, the basic approach used for the symbolic mathematic based simulation of cylinder spaces opens up many fields of application like different regenerative gas cycles, reciprocating compressors or internal-combustion engines.