Thermodynamic and Mechanical Study: Difference between revisions

From dada-engine.org
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 3: Line 3:


<!--T:2-->
<!--T:2-->
This study describes the complete driven cycle of the Dada engine in symbolic form. The model couples prescribed kinematics of the two pistons, well-mixed gas volumes, 0D heat exchangers, passive check valves, and a generic compressible hydraulic closure model.
This study describes the complete thermodynamic cycle of the Dada engine in symbolic form, in both refrigeration and motor operation. The model couples prescribed kinematics of the two pistons, well-mixed gas volumes, 0D heat exchangers, passive check valves, and a generic compressible hydraulic closure model.


<!--T:3-->
<!--T:3-->
Line 15: Line 15:


<!--T:6-->
<!--T:6-->
* <code>S</code>: small cylinder, directly associated with the cold heat exchanger <code>C</code>;
* <math display="inline">S</math>: small cylinder;
* <code>L</code>: large cylinder, directly associated with the hot heat exchanger <code>H</code>;
* <math display="inline">L</math>: large cylinder;
* <code>C</code>: cold heat exchanger, which absorbs heat from the cold reservoir;
* <math display="inline">H_i</math>: heat-in exchanger, located on the <math display="inline">S \to L</math> hydraulic path and transferring heat into the gas;
* <code>H</code>: hot heat exchanger, which rejects heat to the hot reservoir.
* <math display="inline">H_o</math>: heat-out exchanger, located on the <math display="inline">L \to S</math> hydraulic path and transferring heat out of the gas.


<!--T:7-->
<!--T:420-->
The check valves allow <code>H → S</code> during Phase II and <code>C → L</code> during Phase IV.
The two hydraulic branches have fixed circulation orientations:


<!--T:8-->
<!--T:421-->
The cycle comprises four phases:
<math>S\to H_i\to L,</math>


<!--T:9-->
<!--T:422-->
* '''Phase I''' — check valves closed, nominally adiabatic: compression on the <code>L+H</code> side;
<math>L\to H_o\to S.</math>
* '''Phase II''' — heat exchange, nominally isothermal: transfer <code>L → H → S</code>, with heat rejection on the hot side;
 
* '''Phase III''' — check valves closed, nominally adiabatic: expansion on the <code>S+C</code> side;
 
* '''Phase IV''' — heat exchange, nominally isothermal: transfer <code>S → C → L</code>, with heat absorption on the cold side.
<!--T:423-->
Each branch contains one passive check valve. The check valve may be installed on either side of its heat exchanger. The two admissible arrangements for the heat-in branch are:
 
<!--T:424-->
<math>S\to \mathrm{CV}_i\to H_i\to L,</math>
 
<!--T:425-->
or:
 
<!--T:426-->
<math>S\to H_i\to \mathrm{CV}_i\to L.</math>
 
 
<!--T:427-->
Likewise, the heat-out branch may be arranged as:
 
<!--T:428-->
<math>L\to \mathrm{CV}_o\to H_o\to S,</math>
 
<!--T:429-->
or:
 
<!--T:430-->
<math>L\to H_o\to \mathrm{CV}_o\to S.</math>
 
 
<!--T:431-->
In all cases the check valve enforces the same overall circulation direction of its branch. Its position relative to the heat exchanger is a design parameter because, when the valve is closed, it determines which cylinder remains hydraulically connected to the exchanger volume.
 
 
<!--T:432-->
The physical function of each heat exchanger is independent of the operating mode. What changes between refrigeration and motor operation is the external thermal reservoir connected to each exchanger.
 
 
<!--T:433-->
The cycle is described by four hydraulic/thermodynamic phases: compression, transfer through <math display="inline">H_o</math> from <math display="inline">L</math> to <math display="inline">S</math>, expansion, and transfer through <math display="inline">H_i</math> from <math display="inline">S</math> to <math display="inline">L</math>. In refrigeration operation, starting from the reference origin used in this study, these phases are traversed in that order. Motor operation reverses the crank kinematics. The resulting thermodynamic chronology must be recalculated with the unchanged check-valve orientations and the reversed reservoir assignment; it is detailed in §6.6.
 
 
<!--T:434-->
The phase boundaries describe the kinematics and the dominant thermodynamic regime. They are not check-valve events. Check-valve opening and closing are determined independently by the local pressure difference across each valve; mass transfer and heat transfer may therefore continue during compression or expansion, and a valve event may occur inside a kinematic phase.
 
 
<!--T:435-->
The two transfer phases are intended to be quasi-isobaric: one cylinder empties while the other fills, and the pressure variation is intended to remain small compared with the pressure change during compression and expansion. Compression and expansion may involve simultaneous motion of both pistons in the same volumetric direction, so both cylinders may contribute to the pressure-changing phase.
 
 
<!--T:436-->
For comparison with an ideal thermodynamic cycle, compression and expansion may be idealized as adiabatic transformations; if they are also reversible, they are isentropic. These are reference transformations only. The real machine does not impose zero heat transfer, zero mass transfer, or closed check valves during compression and expansion, and no construction capable of enforcing perfectly adiabatic phases is assumed here.


<!--T:10-->
The terms ''nominally adiabatic'' and ''nominally isothermal'' describe the objective of the cycle. They do not constitute exact thermodynamic constraints: temperatures are calculated from the balances, the heat exchangers remain coupled to their reservoirs, and the low-displacement regions of the pistons are not assumed to be perfectly stationary.


=== 1.1 First-level assumptions === <!--T:11-->
=== 1.1 First-level assumptions === <!--T:11-->
Line 56: Line 101:


<!--T:16-->
<!--T:16-->
For <math display="inline">i\in\{S,L\}</math>:
For <math display="inline">k\in\{S,L\}</math>:


<!--T:17-->
<!--T:17-->
<math>V_{i,\min}>0,\qquad V_{i,\max}>V_{i,\min}.</math>
<math>V_{k,\min}>0,\qquad V_{k,\max}>V_{k,\min}.</math>


<!--T:18-->
<!--T:18-->
Line 65: Line 110:


<!--T:19-->
<!--T:19-->
<math>V_{i,\mathrm{swept}}=V_{i,\max}-V_{i,\min}.</math>
<math>V_{k,\mathrm{swept}}=V_{k,\max}-V_{k,\min}.</math>


<!--T:20-->
<!--T:20-->
Line 79: Line 124:
<math>\dot V_S=\frac{dV_S}{dt},\qquad \dot V_L=\frac{dV_L}{dt}.</math>
<math>\dot V_S=\frac{dV_S}{dt},\qquad \dot V_L=\frac{dV_L}{dt}.</math>


<!--T:24-->
<!--T:354-->
If the crank rotates at constant angular speed <math display="inline">\omega</math>:
The crank angular velocity is signed:
 
<!--T:355-->
<math>\theta(t)=\omega t,\qquad
\dot V_k=\omega\frac{dV_k}{d\theta},
\qquad k\in\{S,L\}.</math>
 
<!--T:356-->
The driven refrigeration direction is chosen as positive:
 
<!--T:357-->
<math>\omega>0.</math>
 
<!--T:358-->
Motor operation uses the opposite crank direction:
 
<!--T:359-->
<math>\omega<0.</math>
 
<!--T:360-->
The geometric origin is identical in both modes:


<!--T:25-->
<!--T:361-->
<math>\theta(t)=\omega t,\qquad \dot V_i=\omega\frac{dV_i}{d\theta}.</math>
<math>t=0,\qquad \theta(0)=0,\qquad V_L(0)=V_{L,\max}.</math>


<!--T:26-->
<!--T:26-->
Line 89: Line 154:


<!--T:27-->
<!--T:27-->
<math>\nu_{V,i}=|\dot V_i|.</math>
<math>\nu_{V,k}=|\dot V_k|.</math>
 
<!--T:28-->
A '''quasi-stationary region''' denotes an interval in which the displacement or <math display="inline">|\dot V|</math> remains small compared with the transfer phases. This region corresponds to the “plateau” of the kinematic optimization, without assuming <math display="inline">\dot V=0</math> exactly.


=== 2.2 Kinematic closure fraction === <!--T:29-->
=== 2.2 Kinematic closure fraction === <!--T:29-->
Line 100: Line 162:


<!--T:31-->
<!--T:31-->
<math>\Lambda_i(t)=\frac{V_{i,\max}-V_i(t)}{V_{i,\max}-V_{i,\min}},\qquad i\in\{S,L\}.</math>
<math>\Lambda_k(t)=\frac{V_{k,\max}-V_k(t)}{V_{k,\max}-V_{k,\min}},\qquad k\in\{S,L\}.</math>


<!--T:32-->
<!--T:32-->
Thus <math display="inline">\Lambda_i=0</math> corresponds to maximum volume and <math display="inline">\Lambda_i=1</math> to minimum volume. The values <math display="inline">\Lambda_L^*</math> and <math display="inline">\Lambda_S^*</math> are nominal kinematic targets at the transitions. The value actually reached at a check-valve event is:
Thus <math display="inline">\Lambda_k=0</math> corresponds to maximum volume and <math display="inline">\Lambda_k=1</math> to minimum volume. The values <math display="inline">\Lambda_L^*</math> and <math display="inline">\Lambda_S^*</math> may be used as nominal kinematic reference levels at selected phase boundaries. The value actually observed at a check-valve event may be recorded as:


<!--T:33-->
<!--T:33-->
Line 109: Line 171:


<!--T:34-->
<!--T:34-->
The physical transitions remain determined by the pressures; <math display="inline">\Lambda^*</math> is therefore not an imposed opening condition.
Check-valve events are determined by the local pressure difference across the valve and are independent of the selected kinematic phase boundaries; <math display="inline">\Lambda^*</math> is therefore not an imposed opening condition.


=== 2.3 Thermodynamic variables === <!--T:35-->
=== 2.3 Thermodynamic variables === <!--T:35-->


<!--T:36-->
<!--T:36-->
For each volume <math display="inline">i\in\{S,L,C,H\}</math>:
For each volume <math display="inline">j\in\{S,L,i,o\}</math>:


<!--T:37-->
<!--T:37-->
<math>m_i,\qquad U_i,\qquad T_i,\qquad P_i,\qquad V_i.</math>
<math>m_j,\qquad U_j,\qquad T_j,\qquad P_j,\qquad V_j.</math>
 
<!--T:362-->
The subscripts <math display="inline">i</math> and <math display="inline">o</math> denote respectively the gas contained in <math display="inline">H_i</math> and <math display="inline">H_o</math>.


<!--T:38-->
<!--T:38-->
Line 123: Line 188:


<!--T:39-->
<!--T:39-->
<math>\mathbf X=(m_S,U_S,m_L,U_L,m_C,U_C,m_H,U_H).</math>
<math>\mathbf X=(m_S,U_S,m_L,U_L,m_i,U_i,m_o,U_o).</math>


<!--T:40-->
<!--T:40-->
Temperatures and pressures are derived from it:
Temperatures and pressures are derived from:


<!--T:41-->
<!--T:41-->
<math>T_i=\frac{U_i}{m_iC_v},\qquad P_i=\frac{m_iRT_i}{V_i}.</math>
<math>T_j=\frac{U_j}{m_jC_v},\qquad
P_j=\frac{m_jRT_j}{V_j}.</math>


<!--T:42-->
<!--T:42-->
The volumes <math display="inline">V_S(t)</math> and <math display="inline">V_L(t)</math> are prescribed by the kinematics and are not independent thermodynamic state variables. The volumes <math display="inline">V_C</math> and <math display="inline">V_H</math> are constant.
The volumes <math display="inline">V_S(t)</math> and <math display="inline">V_L(t)</math> are prescribed by the kinematics and are not independent thermodynamic state variables. The volumes <math display="inline">V_i</math> and <math display="inline">V_o</math> are constant.


=== 2.4 Energy sign convention === <!--T:43-->
=== 2.4 Energy sign convention === <!--T:43-->
Line 142: Line 208:
<math>\dot W=P\dot V.</math>
<math>\dot W=P\dot V.</math>


<!--T:46-->
<!--T:363-->
For the intended refrigeration operation:
By definition of the two physical heat exchangers:


<!--T:47-->
<!--T:364-->
<math>Q_C>0,\qquad Q_H<0,\qquad W_{\mathrm{cycle}}<0.</math>
<math>Q_i>0,\qquad Q_o<0</math>
 
<!--T:365-->
in the intended operating regime of both refrigeration and motor operation.
 
<!--T:366-->
The net cycle work distinguishes the two modes:
 
<!--T:367-->
<math>W_{\mathrm{cycle}}<0</math>
 
<!--T:368-->
for driven refrigeration operation, whereas:
 
<!--T:369-->
<math>W_{\mathrm{cycle}}>0</math>
 
<!--T:370-->
for motor operation.


== 3. Thermal closure and validity domain == <!--T:48-->
== 3. Thermal closure and validity domain == <!--T:48-->
Line 152: Line 236:
=== 3.1 Exchange with the thermal reservoirs === <!--T:49-->
=== 3.1 Exchange with the thermal reservoirs === <!--T:49-->


<!--T:50-->
<!--T:371-->
For a heat exchanger <math display="inline">HX\in\{C,H\}</math>:
For the heat-in exchanger:
 
<!--T:372-->
<math>\dot Q_i=(UA)_i(T_{i,\mathrm{res}}-T_i).</math>
 
<!--T:373-->
In the intended operating regime:
 
<!--T:374-->
<math>T_i<T_{i,\mathrm{res}}
\quad\Rightarrow\quad
\dot Q_i>0.</math>


<!--T:51-->
<!--T:375-->
<math>\dot Q_{HX}=(UA)_{HX}(T_{HX,\mathrm{res}}-T_{HX}).</math>
For the heat-out exchanger:


<!--T:52-->
<!--T:376-->
<math display="inline">T_{HX,\mathrm{res}}</math> is the temperature of the external thermal reservoir, prescribed and constant in the base model. <math display="inline">T_{HX}</math> is the mean 0D temperature of the gas in the heat exchanger. <math display="inline">(UA)_{HX}</math> represents the overall thermal conductance, which may combine convection, wall conduction, and contact resistances.
<math>\dot Q_o=(UA)_o(T_{o,\mathrm{res}}-T_o).</math>


<!--T:53-->
<!--T:377-->
Cold side:
In the intended operating regime:


<!--T:54-->
<!--T:378-->
<math>\dot Q_C=(UA)_C(T_{C,\mathrm{res}}-T_C).</math>
<math>T_o>T_{o,\mathrm{res}}
\quad\Rightarrow\quad
\dot Q_o<0.</math>


<!--T:55-->
<!--T:379-->
In refrigeration operation, <math display="inline">T_C<T_{C,\mathrm{res}}</math> gives <math display="inline">\dot Q_C>0</math>.
The reservoir temperatures depend on the operating mode.


<!--T:56-->
<!--T:380-->
Hot side:
For refrigeration operation:


<!--T:57-->
<!--T:381-->
<math>\dot Q_H=(UA)_H(T_{H,\mathrm{res}}-T_H).</math>
<math>T_{i,\mathrm{res}}=T_{\mathrm{cold}},\qquad
T_{o,\mathrm{res}}=T_{\mathrm{hot}}.</math>


<!--T:58-->
<!--T:382-->
In refrigeration operation, <math display="inline">T_H>T_{H,\mathrm{res}}</math> gives <math display="inline">\dot Q_H<0</math>.
For motor operation:


<!--T:59-->
<!--T:383-->
A nominally isothermal phase therefore does not mean <math display="inline">T_{HX}=T_{HX,\mathrm{res}}</math>: a finite temperature difference is required to transfer finite thermal power when <math display="inline">UA</math> is finite.
<math>T_{i,\mathrm{res}}=T_{\mathrm{hot}},\qquad
T_{o,\mathrm{res}}=T_{\mathrm{cold}}.</math>


<!--T:60-->
<!--T:384-->
An indicator of isothermal quality may be defined over a given phase by:
Thus the heat-transfer equations themselves are identical in both modes.


<!--T:61-->
<math>\varepsilon_T=\frac{T_{\max}-T_{\min}}{T_{\mathrm{ref}}}.</math>


=== 3.2 Thermophysical validity domain === <!--T:62-->
=== 3.2 Thermophysical validity domain === <!--T:62-->
Line 217: Line 314:
If these criteria become insufficient, an extension may use <math display="inline">Z(P,T)</math>, <math display="inline">C_p(T)</math>, <math display="inline">C_v(T)</math>, or a real-gas equation of state without changing the general architecture of the mass and energy balances.
If these criteria become insufficient, an extension may use <math display="inline">Z(P,T)</math>, <math display="inline">C_p(T)</math>, <math display="inline">C_v(T)</math>, or a real-gas equation of state without changing the general architecture of the mass and energy balances.


== 4. Reduced formulation of a quasi-pressure-equalizedpair == <!--T:72-->
== 4. Reduced formulations for quasi-pressure-equalized connected volumes == <!--T:437-->
 


<!--T:73-->
<!--T:438-->
When a cylinder and its heat exchanger are connected by a very low-resistance internal path, the approximation
The complete model treats the four gas volumes independently. In some operating conditions, however, a set of volumes connected through sufficiently low hydraulic resistance may remain close to a common pressure. Such a set can then be treated by a reduced analytical formulation.


<!--T:74-->
<math>P_{\mathrm{cyl}}\approx P_{HX}=P_{\mathrm{pair}}.</math>


<!--T:75-->
<!--T:439-->
may be used. It is acceptable if:
Let <math display="inline">\mathcal C</math> denote any connected set of gas volumes for which:


<!--T:76-->
<!--T:440-->
<math>\varepsilon_P=\frac{|\Delta P_{\mathrm{int}}|}{P_{\mathrm{pair}}}\ll1,\qquad \Delta P_{\mathrm{int}}=P_{\mathrm{cyl}}-P_{HX}.</math>
<math>
P_j\approx P_{\mathcal C},
\qquad j\in\mathcal C.
</math>


<!--T:77-->
 
<!--T:441-->
The composition of <math display="inline">\mathcal C</math> is determined by the actual hydraulic connectivity and by the position and state of the check valves.
 
 
<!--T:442-->
A useful pressure-equalization criterion is:
 
<!--T:443-->
<math>
\varepsilon_{P,\mathcal C}
=
\max_{(a,b)\in\mathcal C}
\frac{|P_a-P_b|}{P_{\mathcal C}}
\ll1.
</math>
 
 
<!--T:444-->
A low internal Mach number provides an additional check:
A low internal Mach number provides an additional check:


<!--T:78-->
<!--T:445-->
<math>Ma_{\mathrm{int}}=\frac{|u_{\mathrm{int}}|}{a}\ll1,</math>
<math>
Ma_{\mathrm{int}}=\frac{|u_{\mathrm{int}}|}{a}\ll1,
</math>
 
<!--T:446-->
but is not sufficient by itself to guarantee pressure equalization.
 
 
=== 4.1 Pressure equation for a connected set === <!--T:447-->
 
 
<!--T:448-->
Define the total volume:
 
<!--T:449-->
<math>
V_{\mathcal C}=\sum_{j\in\mathcal C}V_j.
</math>
 
 
<!--T:450-->
Only cylinder volumes vary, so:
 
<!--T:451-->
<math>
\dot V_{\mathcal C}
=
\sum_{k\in\mathcal C\cap\{S,L\}}\dot V_k.
</math>
 
 
<!--T:452-->
For a calorically perfect ideal gas at common pressure:
 
<!--T:453-->
<math>
U_{\mathcal C}
=
\sum_{j\in\mathcal C}m_jC_vT_j
=
\frac{P_{\mathcal C}V_{\mathcal C}}{\gamma-1}.
</math>
 
 
<!--T:454-->
Let the total heat received by the gas in the set be:
 
<!--T:455-->
<math>
\dot Q_{\mathcal C}
=
\sum_{j\in\mathcal C}\dot Q_j.
</math>
 
 
<!--T:456-->
Mass crossing the boundary of the set transports the enthalpy of its upstream state. Define the net external enthalpy flow into the set as:
 
<!--T:457-->
<math>
\dot H_{\mathcal C}^{\mathrm{ext}}
=
\sum_{\mathrm{in}}\dot m\,C_pT_u
-
\sum_{\mathrm{out}}\dot m\,C_pT_u.
</math>
 
 
<!--T:458-->
The first law for the complete connected set is then:
 
<!--T:459-->
<math>
\frac{dU_{\mathcal C}}{dt}
=
\dot Q_{\mathcal C}
+
\dot H_{\mathcal C}^{\mathrm{ext}}
-
P_{\mathcal C}\dot V_{\mathcal C}.
</math>
 
 
<!--T:460-->
Therefore:
 
<!--T:461-->
<math>
\dot P_{\mathcal C}
=
\frac{
(\gamma-1)
\left(
\dot Q_{\mathcal C}
+
\dot H_{\mathcal C}^{\mathrm{ext}}
\right)
-
\gamma P_{\mathcal C}\dot V_{\mathcal C}
}
{V_{\mathcal C}}
.
</math>
 
 
<!--T:462-->
The total mass of the set satisfies:
 
<!--T:463-->
<math>
\dot M_{\mathcal C}
=
\sum_{\mathrm{in}}\dot m
-
\sum_{\mathrm{out}}\dot m.
</math>
 
 
<!--T:464-->
Internal mass and enthalpy transfers between members of <math display="inline">\mathcal C</math> cancel from these global balances.
 
 
=== 4.2 Closed connected set === <!--T:465-->
 
 
<!--T:466-->
If no mass crosses the boundary of <math display="inline">\mathcal C</math>:
 
<!--T:467-->
<math>
\dot H_{\mathcal C}^{\mathrm{ext}}=0,
\qquad
\dot M_{\mathcal C}=0.
</math>
 
 
<!--T:468-->
The pressure equation becomes:
 
<!--T:469-->
<math>
\dot P_{\mathcal C}
=
\frac{
(\gamma-1)\dot Q_{\mathcal C}
-
\gamma P_{\mathcal C}\dot V_{\mathcal C}
}
{V_{\mathcal C}}.
</math>
 
 
<!--T:470-->
If the set is also adiabatic:
 
<!--T:471-->
<math>
\dot Q_{\mathcal C}=0,
</math>
 
<!--T:472-->
then:
 
<!--T:473-->
<math>
P_{\mathcal C}V_{\mathcal C}^{\gamma}
=
\mathrm{const}.
</math>
 
 
<!--T:474-->
This is a limiting analytical case. A compression or expansion phase of the complete machine does not require the corresponding connected set to be closed or adiabatic.
 
 
=== 4.3 Fixed-volume heat exchanger within a pressure-equalized set === <!--T:475-->
 
 
<!--T:476-->
For a heat exchanger <math display="inline">H_j</math> of fixed volume <math display="inline">V_j</math> belonging to <math display="inline">\mathcal C</math>:
 
<!--T:477-->
<math>
m_j=\frac{P_{\mathcal C}V_j}{RT_j}.
</math>
 


<!--T:79-->
<!--T:478-->
but it is not sufficient on its own to guarantee pressure equalization.
Differentiation gives:


=== 4.1 Closed-pair case === <!--T:80-->
<!--T:479-->
<math>
\frac{\dot m_j}{m_j}
=
\frac{\dot P_{\mathcal C}}{P_{\mathcal C}}
-
\frac{\dot T_j}{T_j},
</math>


<!--T:81-->
<!--T:480-->
For a closed pair, with fixed <math display="inline">V_{HX}</math> and <math display="inline">V=V_{\mathrm{cyl}}+V_{HX}</math>:
hence:


<!--T:82-->
<!--T:481-->
<math>
<math>
\frac{dP}{dt}=
\dot T_j
\frac{(\gamma-1)(UA)_{HX}(T_{HX,\mathrm{res}}-T_{HX})-\gamma P\dot V_{\mathrm{cyl}}}
=
{V_{\mathrm{cyl}}+V_{HX}}
\frac{T_j}{P_{\mathcal C}}\dot P_{\mathcal C}
.</math>
-
\frac{RT_j^2}{P_{\mathcal C}V_j}\dot m_j
.
</math>
 
 
<!--T:482-->
The exchanger mass rate <math display="inline">\dot m_j</math> is the algebraic sum of the actual flows through all links connected to it. This relation is therefore independent of whether the check valve lies upstream or downstream of the exchanger.
 
 
<!--T:483-->
Its energy balance may equivalently be written:
 
<!--T:484-->
<math>
\frac{V_j}{\gamma-1}\dot P_{\mathcal C}
=
\dot Q_j
+
\sum_{\mathrm{in}}\dot m C_pT_u
-
\sum_{\mathrm{out}}\dot m C_pT_j.
</math>
 
 
<!--T:485-->
These equations determine the local mass redistribution and temperature evolution once the hydraulic flow rates are known.


<!--T:83-->
When <math display="inline">(UA)_{HX}=0</math>:


<!--T:84-->
=== 4.4 Two-volume cylinder–exchanger special case === <!--T:486-->
<math>P(V_{\mathrm{cyl}}+V_{HX})^\gamma=\mathrm{const}.</math>


=== 4.2 Internal redistribution flow rate === <!--T:85-->


<!--T:86-->
<!--T:487-->
The internal flow rate is defined as positive from cylinder → heat exchanger. Let:
For the particular case of one cylinder and one heat exchanger connected at quasi-uniform pressure, with no other flow entering or leaving the exchanger directly, define the internal mass flow as positive from cylinder to heat exchanger.


<!--T:87-->
<math>N=V_{HX}\dot P+(\gamma-1)(UA)_{HX}(T_{HX}-T_{HX,\mathrm{res}}).</math>


<!--T:88-->
<!--T:488-->
The flow carries the enthalpy of the upstream state:
Let:


<!--T:89-->
<!--T:489-->
<math>
<math>
\dot m_{\mathrm{int}}=
N=
V_{HX}\dot P
+
(\gamma-1)(UA)_{HX}
(T_{HX}-T_{HX,\mathrm{res}}).
</math>
 
 
<!--T:490-->
The internal flow rate is:
 
<!--T:491-->
<math>
\dot m_{\mathrm{int}}
=
\begin{cases}
\begin{cases}
\dfrac{N}{\gamma R T_{\mathrm{cyl}}}, & N\ge0 \quad (\mathrm{cyl}\to HX),\\[6pt]
\dfrac{N}{\gamma RT_{\mathrm{cyl}}},
\dfrac{N}{\gamma R T_{HX}}, & N<0 \quad (HX\to\mathrm{cyl}).
& N\ge0
\quad(\mathrm{cyl}\to HX),\\[6pt]
\dfrac{N}{\gamma RT_{HX}},
& N<0
\quad(HX\to\mathrm{cyl}).
\end{cases}
\end{cases}
</math>
</math>


<!--T:90-->
The heat-exchanger temperature evolves according to:


<!--T:91-->
<!--T:492-->
The heat-exchanger temperature then satisfies:
 
<!--T:493-->
<math>
<math>
\dot T_{HX}=\frac{T_{HX}}{P}\dot P-
\dot T_{HX}
\frac{RT_{HX}^2}{PV_{HX}}\dot m_{\mathrm{int}}
=
.</math>
\frac{T_{HX}}P\dot P
-
\frac{RT_{HX}^2}{PV_{HX}}
\dot m_{\mathrm{int}}.
</math>
 
 
<!--T:494-->
This special reduction must not be used when an additional external flow enters or leaves the heat exchanger directly; in that case the general balances of §4.1 and §4.3 apply.
 
 
=== 4.5 Single external-flow special cases === <!--T:495-->
 
 
<!--T:496-->
If a quasi-pressure-equalized connected set receives a single external flow <math display="inline">\dot m_{\mathrm{ext}}>0</math> at upstream temperature <math display="inline">T_{\mathrm{ext}}</math>:
 
<!--T:497-->
<math>
\dot P_{\mathcal C}
=
\frac{
\gamma RT_{\mathrm{ext}}\dot m_{\mathrm{ext}}
+
(\gamma-1)\dot Q_{\mathcal C}
-
\gamma P_{\mathcal C}\dot V_{\mathcal C}
}
{V_{\mathcal C}},
</math>
 
<!--T:498-->
with:
 
<!--T:499-->
<math>
\dot M_{\mathcal C}
=
\dot m_{\mathrm{ext}}.
</math>


=== 4.3 Open receiving pair === <!--T:92-->


<!--T:93-->
<!--T:500-->
During an active phase, the external flow physically enters the '''receiving cylinder''', not directly its associated heat exchanger. If <math display="inline">\dot m_{\mathrm{ext}}>0</math> enters the cylinder at temperature <math display="inline">T_{\mathrm{ext}}</math>:
If instead the set delivers a single external outflow <math display="inline">\dot m_{\mathrm{ext}}>0</math> from a boundary volume at temperature <math display="inline">T_{\mathrm{out}}</math>:


<!--T:94-->
<!--T:501-->
<math>
<math>
\dot P=
\dot P_{\mathcal C}
\frac{\gamma RT_{\mathrm{ext}}\dot m_{\mathrm{ext}}
=
+(\gamma-1)(UA)_{HX}(T_{HX,\mathrm{res}}-T_{HX})
\frac{
-\gamma P\dot V_{\mathrm{cyl}}}
-\gamma RT_{\mathrm{out}}\dot m_{\mathrm{ext}}
{V_{\mathrm{cyl}}+V_{HX}}
+
.</math>
(\gamma-1)\dot Q_{\mathcal C}
-
\gamma P_{\mathcal C}\dot V_{\mathcal C}
}
{V_{\mathcal C}},
</math>


<!--T:95-->
<!--T:502-->
The masses satisfy:
with:


<!--T:96-->
<!--T:503-->
<math>\dot m_{\mathrm{cyl}}=\dot m_{\mathrm{ext}}-\dot m_{\mathrm{int}},\qquad
<math>
\dot m_{HX}=\dot m_{\mathrm{int}},</math>
\dot M_{\mathcal C}
=
-\dot m_{\mathrm{ext}}.
</math>


<!--T:97-->
and therefore:


<!--T:98-->
<!--T:504-->
<math>\dot m_{\mathrm{pair}}=\dot m_{\mathrm{ext}}.</math>
The location at which the external flow crosses the boundary of the connected set affects the local masses and temperatures, but not the summed pressure equation once the set <math display="inline">\mathcal C</math>, the boundary enthalpy flow, and its total heat and volume rates are specified.


<!--T:99-->
The closed case is obtained immediately with <math display="inline">\dot m_{\mathrm{ext}}=0</math>.


== 5. Hydraulic closure == <!--T:100-->
== 5. Hydraulic closure == <!--T:100-->
Line 328: Line 718:


<!--T:104-->
<!--T:104-->
<math display="inline">u</math> and <math display="inline">d</math> respectively denote the upstream and downstream states. The transported enthalpy is that of the upstream state:
<math display="inline">u</math> and <math display="inline">d</math> respectively denote the instantaneous upstream and downstream states. The transported enthalpy is that of the upstream state:


<!--T:105-->
<!--T:105-->
Line 334: Line 724:


<!--T:106-->
<!--T:106-->
For a bidirectional connection, the upstream state is determined by the actual direction of the pressure gradient. For a check valve, reverse flow is prohibited.
For a bidirectional connection, the upstream state is determined by the actual direction of the pressure gradient. For a check valve, reverse flow is prohibited. On each of the two hydraulic branches, the check valve may be placed on either side of the heat exchanger; the hydraulic law must therefore use the pressures immediately adjacent to the actual valve position.


=== 5.2 First-level closure using a compressible orifice === <!--T:107-->
=== 5.2 First-level closure using a compressible orifice === <!--T:107-->
Line 377: Line 767:
This closure is not essential to the model: it may later be replaced by a law that more faithfully represents the pressure losses of a real heat exchanger, pipe, or check valve.
This closure is not essential to the model: it may later be replaced by a law that more faithfully represents the pressure losses of a real heat exchanger, pipe, or check valve.


== 6. Complete thermodynamic cycle == <!--T:118-->
== 6. Complete thermodynamic cycle == <!--T:505-->


=== 6.1 Phase I — check valves closed, nominally adiabatic: compression on the L side === <!--T:119-->


<!--T:120-->
<!--T:506-->
Both check valves are closed. The <code>L+H</code> and <code>S+C</code> pairs are closed. The <code>L+H</code> side is nominally compressed; the motion of the small piston remains that provided by the actual kinematics.
The cycle is described by four successive kinematic and thermodynamic regimes: compression, transfer through <math display="inline">H_o</math>, expansion, and transfer through <math display="inline">H_i</math>. These phases describe the dominant evolution of the machine; they are not defined by the state of the check valves. Valve opening and closing remain determined independently by the instantaneous pressure differences and may occur within a phase rather than exactly at a phase boundary.


<!--T:121-->
For <code>L+H</code>:


<!--T:122-->
<!--T:507-->
<math>\dot P_{LH}=
The numbering below follows the refrigeration direction <math display="inline">\omega>0</math>. Motor operation uses the same physical machine with reversed crank direction and is described in §6.6.
\frac{(\gamma-1)(UA)_H(T_{H,\mathrm{res}}-T_H)-\gamma P_{LH}\dot V_L}
{V_L+V_H}.</math>


<!--T:123-->
For <code>S+C</code>:


<!--T:124-->
=== 6.1 Thermodynamic rationale of the four phases === <!--T:508-->
<math>\dot P_{SC}=
\frac{(\gamma-1)(UA)_C(T_{C,\mathrm{res}}-T_C)-\gamma P_{SC}\dot V_S}
{V_S+V_C}.</math>


<!--T:125-->
The internal redistribution and temperature equations of §4 apply to both pairs.


<!--T:126-->
==== 6.1.1 Compression and expansion ==== <!--T:509-->
The transition to Phase II occurs when the <code>H → S</code> check valve satisfies its opening condition.


=== 6.2 Phase II — heat exchange, nominally isothermal: L → H → S === <!--T:127-->


<!--T:128-->
<!--T:510-->
The gas leaves <code>L</code>, passes through the hot heat exchanger <code>H</code>, where it rejects heat, crosses the <code>H → S</code> check valve, and then enters the receiving cylinder <code>S</code>. The <code>S+C</code> pair remains quasi-pressure-equalizedif the criterion <math display="inline">\varepsilon_P\ll1</math> is satisfied.
Compression and expansion are primarily pressure-changing phases. In the intended kinematics, both cylinder volumes may decrease simultaneously during compression and increase simultaneously during expansion.


==== 6.2.1 Donor cylinder L ==== <!--T:129-->


<!--T:130-->
<!--T:511-->
The fundamental balance is:
The instantaneous work delivered by the gas is:


<!--T:131-->
<!--T:512-->
<math>
<math>
\frac{d(m_LC_vT_L)}{dt}
\dot W=P_S\dot V_S+P_L\dot V_L.
=-P_L\dot V_L-\dot m_{L,\mathrm{out}}C_pT_L
</math>
.</math>
 
 
<!--T:513-->
When the two cylinder pressures are of the same order, both piston contributions therefore add during a simultaneous expansion and both contribute to the work required during a simultaneous compression. This allows the swept volumes of both cylinders to participate in the pressure-changing parts of the cycle.
 
 
<!--T:514-->
In an ideal reversible reference cycle, compression and expansion may be considered adiabatic and reversible. This is not imposed on the real machine. The heat exchangers remain thermally coupled to the gas, mass redistribution may continue, and neither check valve is required to be closed during the whole compression or expansion phase.
 
 
==== 6.1.2 Exchange phases ==== <!--T:515-->
 
 
<!--T:516-->
During an exchange phase, gas is transferred from one cylinder to the other through one of the heat exchangers. Hydraulic resistance requires a finite pressure difference to produce a finite mass flow. This pressure difference is intrinsically irreversible.
 
 
<!--T:517-->
For the hydraulic-loss contribution idealized locally as an adiabatic, isenthalpic throttling process of a calorically perfect ideal gas:
 
<!--T:518-->
<math>
h_u=h_d
\quad\Rightarrow\quad
T_u=T_d,
</math>
 
<!--T:519-->
and therefore:
 
<!--T:520-->
<math>
\Delta s_{\mathrm{hyd}}
=
R\ln\left(\frac{P_u}{P_d}\right)>0
\qquad\text{for}\qquad P_u>P_d.
</math>
 
 
<!--T:521-->
The reversible limit is consequently:
 
<!--T:522-->
<math>
P_u-P_d\to0.
</math>
 
 
<!--T:523-->
The exchange phases therefore tend ideally toward quasi-pressure-equalized operation. A finite real machine retains a finite pressure difference because a finite flow must cross the hydraulic resistances.
 
 
<!--T:524-->
Pressure equalization between communicating volumes at a given instant does not, by itself, imply that their common pressure remains constant throughout the exchange. Let <math display="inline">\mathcal C</math> denote a closed set of communicating gas volumes that are approximately at a common pressure <math display="inline">P</math>. For an ideal gas:
 
<!--T:525-->
<math>
M_{\mathcal C}
=
\frac{P}{R}
\sum_{j\in\mathcal C}\frac{V_j}{T_j},
</math>
 
<!--T:526-->
and therefore:
 
<!--T:527-->
<math>
P=
\frac{M_{\mathcal C}R}
{\displaystyle\sum_{j\in\mathcal C}V_j/T_j}.
</math>
 
 
<!--T:528-->
At constant mass, an exactly isobaric evolution requires:
 
<!--T:529-->
<math>
\frac{d}{dt}
\left(
\sum_{j\in\mathcal C}\frac{V_j}{T_j}
\right)=0.
</math>
 
 
<!--T:530-->
Thus the piston motions and the temperature evolution must compensate each other. Equal cylinder-volume changes are neither required nor generally expected.
 
 
<!--T:531-->
The same condition can be expressed through the energy balance. For a quasi-pressure-equalized set:
 
<!--T:532-->
<math>
U_{\mathcal C}
=
\frac{P V_{\mathcal C}}{\gamma-1},
\qquad
V_{\mathcal C}=\sum_{j\in\mathcal C}V_j.
</math>
 
 
<!--T:533-->
Its first-law balance gives:
 
<!--T:534-->
<math>
V_{\mathcal C}\dot P
=
(\gamma-1)\dot Q_{\mathcal C}
-\gamma P\dot V_{\mathcal C}.
</math>
 
 
<!--T:535-->
An approximately isobaric exchange therefore satisfies:
 
<!--T:536-->
<math>
\gamma P\dot V_{\mathcal C}
\approx
(\gamma-1)\dot Q_{\mathcal C}.
</math>
 
 
<!--T:537-->
The volume evolution imposed by the pistons can consequently compensate the thermal expansion or contraction produced by heat transfer, allowing substantial mass transfer while the common pressure remains nearly constant.
 
 
<!--T:538-->
A useful first-order cylinder-sizing relation follows from the same condition. Over a sufficiently small part of an isobaric exchange, if the donor and receiver temperatures may be treated as locally constant and the temperature-storage terms of the fixed exchanger volumes are secondary, then:
 
<!--T:539-->
<math>
\frac{dV_r}{T_r}
\approx
-\frac{dV_d}{T_d},
</math>
 
<!--T:540-->
hence:
 
<!--T:541-->
<math>
\frac{dV_r}{-dV_d}
\approx
\frac{T_r}{T_d}
.
</math>
 
 
<!--T:542-->
The hotter side therefore requires a larger volume change for the same transferred gas mass at the same pressure. When the exchange uses comparable fractions of the available cylinder strokes and the gas temperatures remain close to characteristic working temperatures <math display="inline">T_h</math> and <math display="inline">T_c</math>, this gives the first-order geometric scaling:
 
<!--T:543-->
<math>
 
<!--T:544-->
\frac{V_{\mathrm{swept},h}}
{V_{\mathrm{swept},c}}
\sim
\frac{T_h}{T_c}
.
</math>
 
 
<!--T:545-->
Temperatures must be expressed in kelvin. This relation is a sizing guide, not an exact design constraint: exchanger hold-up, clearance volumes, temperature evolution during the exchange, finite pressure losses, and the compression and expansion phases can all shift the optimum. When these effects are significant, the complete condition involving <math display="inline">\sum V_j/T_j</math> must be used instead.
 
 
<!--T:546-->
These relations explain why a low-loss exchange naturally tends toward both small pressure differences along the hydraulic path and, with suitable piston kinematics, a nearly constant pressure throughout the exchange. Exact isobaricity is not imposed as a thermodynamic constraint.
 
 
==== 6.1.3 Balance equations valid throughout the cycle ==== <!--T:547-->
 
 
<!--T:548-->
The four control volumes remain <math display="inline">S</math>, <math display="inline">H_i</math>, <math display="inline">L</math>, and <math display="inline">H_o</math>. Define the signed mass flow rates:
 
<!--T:549-->
<math>
\dot m_{Si}: S\to H_i,\qquad
\dot m_{iL}: H_i\to L,
</math>
 
<!--T:550-->
<math>
\dot m_{Lo}: L\to H_o,\qquad
\dot m_{oS}: H_o\to S.
</math>
 
 
<!--T:551-->
The positive directions correspond to the permanent circulation directions of the two branches:
 
<!--T:552-->
<math>
S\to H_i\to L,
\qquad
L\to H_o\to S.
</math>
 
 
<!--T:553-->
Each branch contains one passive check valve. Its position relative to the heat exchanger is a design choice:
 
<!--T:554-->
<math>
S\to \mathrm{CV}_i\to H_i\to L
\quad\text{or}\quad
S\to H_i\to \mathrm{CV}_i\to L,
</math>
 
<!--T:555-->
<math>
L\to \mathrm{CV}_o\to H_o\to S
\quad\text{or}\quad
L\to H_o\to \mathrm{CV}_o\to S.
</math>
 
 
<!--T:556-->
The check valve constrains the link on which it is installed; the other link may be bidirectional according to its hydraulic law.
 


<!--T:132-->
<!--T:557-->
The kinematics are designed to maintain an outflow from the donor cylinder. In this case, the analytical solution is:
Let <math display="inline">\dot H_{ab}</math> denote the signed enthalpy transport from volume <math display="inline">a</math> toward volume <math display="inline">b</math>. For a calorically perfect gas:


<!--T:133-->
<!--T:558-->
<math>
<math>
\frac{T_L}{T_{L,\mathrm{ref}}}=
\dot H_{ab}=
\left[\frac{m_L}{m_{L,\mathrm{ref}}}\frac{V_{L,\mathrm{ref}}}{V_L}\right]^{\gamma-1}
\begin{cases}
\dot m_{ab}C_pT_a, & \dot m_{ab}\ge0,\\[4pt]
\dot m_{ab}C_pT_b, & \dot m_{ab}<0.
\end{cases}
</math>
</math>


<!--T:134-->
and:


<!--T:135-->
<!--T:559-->
The mass balances are then:
 
<!--T:560-->
<math>
<math>
P_L=P_{L,\mathrm{ref}}
\dot m_S=\dot m_{oS}-\dot m_{Si},
\left[\frac{m_L}{m_{L,\mathrm{ref}}}\frac{V_{L,\mathrm{ref}}}{V_L}\right]^\gamma
</math>
.</math>


<!--T:136-->
<!--T:561-->
One also obtains:
<math>
\dot m_i=\dot m_{Si}-\dot m_{iL},
</math>


<!--T:137-->
<!--T:562-->
<math>\frac{T_L}{T_{L,\mathrm{ref}}}=
<math>
\left(\frac{P_L}{P_{L,\mathrm{ref}}}\right)^{(\gamma-1)/\gamma},</math>
\dot m_L=\dot m_{iL}-\dot m_{Lo},
</math>


<!--T:138-->
<!--T:563-->
and the specific entropy of the remaining gas satisfies <math display="inline">ds=0</math> under these assumptions. If reverse flow occurs despite the kinematic design, the analytical solution is no longer applicable and the complete open-system balance in <math display="inline">(m_L,U_L)</math> must be used.
<math>
\dot m_o=\dot m_{Lo}-\dot m_{oS}.
</math>


==== 6.2.2 Hot heat exchanger H ==== <!--T:139-->


<!--T:140-->
<!--T:564-->
Mass conservation:
The corresponding energy balances are:


<!--T:141-->
<!--T:565-->
<math>\dot m_H=\dot m_{\mathrm{in}}-\dot m_{\mathrm{out}}.</math>
<math>
\dot U_S
=
\dot H_{oS}-\dot H_{Si}
-P_S\dot V_S,
</math>
 
<!--T:566-->
<math>
\dot U_i
=
\dot H_{Si}-\dot H_{iL}
+\dot Q_i,
</math>


<!--T:142-->
<!--T:567-->
Fundamental energy balance:
<math>
\dot U_L
=
\dot H_{iL}-\dot H_{Lo}
-P_L\dot V_L,
</math>


<!--T:143-->
<!--T:568-->
<math>
<math>
\frac{d(m_HC_vT_H)}{dt}
\dot U_o
=\dot m_{\mathrm{in}}C_pT_L
=
-\dot m_{\mathrm{out}}C_pT_H
\dot H_{Lo}-\dot H_{oS}
+(UA)_H(T_{H,\mathrm{res}}-T_H)
+\dot Q_o.
.</math>
</math>
 
 
<!--T:569-->
These equations are valid during all four phases. The phase determines the prescribed piston motion and the dominant thermodynamic process; the hydraulic laws and pressure differences determine the actual flow rates and check-valve states.
 
 
=== 6.2 Phase I — compression === <!--T:570-->
 


<!--T:144-->
<!--T:571-->
In expanded form:
During compression, the two cylinder volumes may decrease simultaneously:


<!--T:145-->
<!--T:572-->
<math>
<math>
\dot T_H=
\dot V_S<0,\qquad \dot V_L<0
\frac{\dot m_{\mathrm{in}}(C_pT_L-C_vT_H)
</math>
-\dot m_{\mathrm{out}}RT_H
 
+(UA)_H(T_{H,\mathrm{res}}-T_H)}
<!--T:573-->
{C_vm_H}
over the principal part of the phase.
.</math>
 
 
<!--T:574-->
The pressure rises from the lower exchange-pressure region toward the higher one. Both pistons may contribute to the compression work.
 
 
<!--T:575-->
No closed-pair topology is imposed. A check valve may remain open during part of the compression, and gas may continue to move through the hydraulic network. In particular, a cylinder approaching its minimum volume may transfer its remaining gas toward the other cylinder. Heat transfer through <math display="inline">H_i</math> and <math display="inline">H_o</math> also remains active.
 
 
<!--T:576-->
The actual evolution is therefore calculated from the complete balances of §6.1.3. Adiabatic compression is only the reversible reference limit described in §6.1.1.
 


<!--T:146-->
<!--T:577-->
The flow rates are determined by the hydraulic laws:
The end of the compression phase is defined by the prescribed kinematic law, not by a check-valve event.


<!--T:147-->
<math>\dot m_{\mathrm{in}}=\Phi_{\mathrm{HX,H}}(P_L,P_H,T_L,\ldots),</math>


<!--T:148-->
=== 6.3 Phase II — exchange through Ho: L → Ho → S === <!--T:578-->
<math>\dot m_{\mathrm{out}}=\Phi_{\mathrm{valve,H}}(P_H,P_{SC},T_H,\ldots).</math>


==== 6.2.3 Receiving pair S+C ==== <!--T:149-->


<!--T:150-->
<!--T:579-->
The flow from <code>H</code> enters '''S'''. The pair pressure satisfies:
The dominant circulation is:


<!--T:151-->
<!--T:580-->
<math>
<math>
\dot P_{SC}=
L\to H_o\to S.
\frac{\gamma R\dot m_{\mathrm{out}}T_H
</math>
+(\gamma-1)(UA)_C(T_{C,\mathrm{res}}-T_C)
 
-\gamma P_{SC}\dot V_S}
{V_S+V_C}
.</math>


<!--T:152-->
<!--T:581-->
The internal redistribution equations of §4 remain unchanged: the external flow acts on heat exchanger <code>C</code> indirectly through the evolution of the pair pressure.
The gas leaves the large-cylinder side, passes through the heat-out branch, and reaches the small-cylinder side. The passive check valve <math display="inline">\mathrm{CV}_o</math> may be located either before or after <math display="inline">H_o</math>; in both cases it enforces the same net branch direction.


<!--T:153-->
The transition to Phase III is the closing event of the <code>H → S</code> check valve.


=== 6.3 Phase III — check valves closed, nominally adiabatic: expansion on the S side === <!--T:154-->
<!--T:582-->
During the exchange, <math display="inline">L</math> acts predominantly as donor and <math display="inline">S</math> as receiver. Their volume changes need not have equal magnitudes. In the quasi-isobaric limit their first-order ratio follows the temperature relation derived in §6.1.2.


<!--T:155-->
Both check valves are closed. The <code>S+C</code> pair expands nominally; the <code>L+H</code> pair also remains closed. Neither piston is assumed to be strictly stationary.


<!--T:156-->
<!--T:583-->
For <code>S+C</code>:
The heat-out exchanger removes heat from the gas:


<!--T:157-->
<!--T:584-->
<math>\dot P_{SC}=
<math>
\frac{(\gamma-1)(UA)_C(T_{C,\mathrm{res}}-T_C)-\gamma P_{SC}\dot V_S}
\dot Q_o<0
{V_S+V_C}.</math>
</math>


<!--T:158-->
<!--T:585-->
For <code>L+H</code>:
in the intended operating regime.


<!--T:159-->
<math>\dot P_{LH}=
\frac{(\gamma-1)(UA)_H(T_{H,\mathrm{res}}-T_H)-\gamma P_{LH}\dot V_L}
{V_L+V_H}.</math>


<!--T:160-->
<!--T:586-->
The transition to Phase IV occurs when the <code>C → L</code> check valve satisfies its opening condition.
The ideal exchange tends toward small pressure differences along the active path and an approximately constant pressure over the phase. The finite real pressure differences required to drive the flow are determined by the hydraulic closure of §5.


=== 6.4 Phase IV — heat exchange, nominally isothermal: S → C → L === <!--T:161-->


<!--T:162-->
<!--T:587-->
The gas leaves <code>S</code>, passes through the cold heat exchanger <code>C</code>, where it receives heat from the cold reservoir, crosses the <code>C → L</code> check valve, and then enters the receiving cylinder <code>L</code>. The <code>L+H</code> pair remains quasi-pressure-equalizedif the criterion <math display="inline">\varepsilon_P\ll1</math> is satisfied.
The state of the other check valve and any secondary redistribution flow are determined by the instantaneous pressures; they are not prescribed by the phase definition.


==== 6.4.1 Donor cylinder S ==== <!--T:163-->


<!--T:164-->
=== 6.4 Phase III — expansion === <!--T:588-->
The fundamental balance is:


<!--T:165-->
 
<!--T:589-->
During expansion, the two cylinder volumes may increase simultaneously:
 
<!--T:590-->
<math>
<math>
\frac{d(m_SC_vT_S)}{dt}
\dot V_S>0,\qquad \dot V_L>0
=-P_S\dot V_S-\dot m_{S,\mathrm{out}}C_pT_S
</math>
.</math>
 
<!--T:591-->
over the principal part of the phase.
 
 
<!--T:592-->
The pressure decreases from the higher exchange-pressure region toward the lower one. Both pistons may then contribute simultaneously to the work delivered by the gas.
 
 
<!--T:593-->
As during compression, no zero-flow or closed-valve condition is imposed. Mass redistribution may continue and both heat exchangers remain thermally active. The complete balances of §6.1.3 therefore remain applicable.
 
 
<!--T:594-->
Adiabatic expansion is the reversible reference limit, not a required operating condition of the real machine.
 
 
<!--T:595-->
The end of the expansion phase is determined by the prescribed kinematic law independently of the check-valve events.
 
 
=== 6.5 Phase IV — exchange through Hi: S → Hi → L === <!--T:596-->
 


<!--T:166-->
<!--T:597-->
For outflow guaranteed by the kinematic design:
The dominant circulation is:


<!--T:167-->
<!--T:598-->
<math>
<math>
\frac{T_S}{T_{S,\mathrm{ref}}}=
S\to H_i\to L.
\left[\frac{m_S}{m_{S,\mathrm{ref}}}\frac{V_{S,\mathrm{ref}}}{V_S}\right]^{\gamma-1}
</math>
</math>


<!--T:168-->
and:


<!--T:169-->
<!--T:599-->
The gas leaves the small-cylinder side, passes through the heat-in branch, and reaches the large-cylinder side. The passive check valve <math display="inline">\mathrm{CV}_i</math> may be located either before or after <math display="inline">H_i</math>; both arrangements impose the same net branch direction.
 
 
<!--T:600-->
During the exchange, <math display="inline">S</math> acts predominantly as donor and <math display="inline">L</math> as receiver. Their required volume changes depend on the temperatures of the gas on the two sides according to the relations of §6.1.2.
 
 
<!--T:601-->
The heat-in exchanger supplies heat to the gas:
 
<!--T:602-->
<math>
<math>
P_S=P_{S,\mathrm{ref}}
\dot Q_i>0
\left[\frac{m_S}{m_{S,\mathrm{ref}}}\frac{V_{S,\mathrm{ref}}}{V_S}\right]^\gamma
</math>
.</math>
 
<!--T:603-->
in the intended operating regime.
 
 
<!--T:604-->
As in Phase II, the ideal exchange tends toward quasi-pressure-equalized and approximately isobaric operation, while the real mass flow requires finite hydraulic pressure differences.
 
 
<!--T:605-->
After this phase, the prescribed kinematics return to the compression region and the four-phase sequence repeats. Thermodynamic closure nevertheless requires the complete state vector, and not only the piston geometry, to be periodic.
 
 
=== 6.6 Motor operation === <!--T:606-->
 
 
<!--T:607-->
No second set of mass, energy, heat-transfer, or hydraulic equations is required for motor operation.
 
 
<!--T:608-->
The physical branch directions remain:


<!--T:170-->
<!--T:609-->
Reverse flow requires returning to the complete open-system balance in <math display="inline">(m_S,U_S)</math>.
<math>
S\to H_i\to L,
\qquad
L\to H_o\to S,
</math>


==== 6.4.2 Cold heat exchanger C ==== <!--T:171-->
<!--T:610-->
and the positions and orientations of the two passive check valves remain unchanged.


<!--T:172-->
<math>\dot m_C=\dot m_{\mathrm{in}}-\dot m_{\mathrm{out}}.</math>


<!--T:173-->
<!--T:611-->
The fundamental energy balance is:
Motor operation is obtained by reversing the crank direction:


<!--T:174-->
<!--T:612-->
<math>
<math>
\frac{d(m_CC_vT_C)}{dt}
\omega<0,
=\dot m_{\mathrm{in}}C_pT_S
</math>
-\dot m_{\mathrm{out}}C_pT_C
+(UA)_C(T_{C,\mathrm{res}}-T_C)
.</math>


<!--T:175-->
<!--T:613-->
In expanded form:
and exchanging the external reservoirs connected to the two heat exchangers:


<!--T:176-->
<!--T:614-->
<math>
<math>
\dot T_C=
T_{i,\mathrm{res}}=T_{\mathrm{hot}},
\frac{\dot m_{\mathrm{in}}(C_pT_S-C_vT_C)
\qquad
-\dot m_{\mathrm{out}}RT_C
T_{o,\mathrm{res}}=T_{\mathrm{cold}}.
+(UA)_C(T_{C,\mathrm{res}}-T_C)}
</math>
{C_vm_C}
 
.</math>
 
<!--T:615-->
The geometric cycle is therefore traversed in the opposite direction. Pressure histories, mass flow rates, check-valve events, and the periodic thermodynamic state must all be recalculated; the refrigeration valve chronology is not assumed simply to carry over.
 
 
<!--T:616-->
In the intended refrigeration operation, the <math display="inline">L\to H_o\to S</math> transfer occurs on the high-pressure side of the cycle, whereas the <math display="inline">S\to H_i\to L</math> transfer occurs on the low-pressure side.
 
<!--T:617-->
In the intended motor operation, reversal of the crank direction reverses these pressure roles: <math display="inline">L\to H_o\to S</math> becomes the low-pressure exchange, whereas <math display="inline">S\to H_i\to L</math> becomes the high-pressure exchange.


<!--T:177-->
<!--T:618-->
The flow rates are determined by:
The physical thermal functions of the exchangers do not change: <math display="inline">H_i</math> always transfers heat into the gas and <math display="inline">H_o</math> always transfers heat out of the gas.


<!--T:178-->
<math>\dot m_{\mathrm{in}}=\Phi_{\mathrm{HX,C}}(P_S,P_C,T_S,\ldots),</math>


<!--T:179-->
<!--T:619-->
<math>\dot m_{\mathrm{out}}=\Phi_{\mathrm{valve,C}}(P_C,P_{LH},T_C,\ldots).</math>
The heat-in exchanger absorbs heat from the hot reservoir:


==== 6.4.3 Receiving pair L+H ==== <!--T:180-->
<!--T:620-->
<math>
Q_i>0,
</math>


<!--T:181-->
<!--T:621-->
The flow from <code>C</code> enters '''L'''. The pair pressure satisfies:
the heat-out exchanger rejects heat to the cold reservoir:


<!--T:182-->
<!--T:622-->
<math>
<math>
\dot P_{LH}=
Q_o<0,
\frac{\gamma R\dot m_{\mathrm{out}}T_C
</math>
+(\gamma-1)(UA)_H(T_{H,\mathrm{res}}-T_H)
-\gamma P_{LH}\dot V_L}
{V_L+V_H}
.</math>


<!--T:183-->
<!--T:623-->
Closing the <code>C → L</code> check valve returns the system to Phase I. Geometric closure of the pistons alone is not sufficient to guarantee thermodynamic closure of the cycle.
and motor operation is obtained when:
 
<!--T:624-->
<math>
W_{\mathrm{cycle}}>0.
</math>


== 7. Physical transitions of the check valves == <!--T:184-->
== 7. Physical transitions of the check valves == <!--T:184-->
Line 645: Line 1,339:


<!--T:190-->
<!--T:190-->
An opening or closing event changes the hydraulic topology and therefore the active equations; it does not cause any instantaneous jump in the thermodynamic state. For each volume:
An opening or closing event changes the admissible hydraulic flow on the valve link; it does not define a kinematic phase boundary and it does not cause any instantaneous jump in the thermodynamic state. For each volume:


<!--T:191-->
<!--T:191-->
<math>m_i^+=m_i^-,\qquad U_i^+=U_i^-,\qquad V_i^+=V_i^-.</math>
<math>m_j^+=m_j^-,\qquad U_j^+=U_j^-,\qquad V_j^+=V_j^-.</math>


<!--T:192-->
<!--T:192-->
Line 654: Line 1,348:


<!--T:193-->
<!--T:193-->
<math>T_i^+=T_i^-,\qquad P_i^+=P_i^-.</math>
<math>T_j^+=T_j^-,\qquad P_j^+=P_j^-.</math>


<!--T:194-->
<!--T:194-->
Line 660: Line 1,354:


<!--T:195-->
<!--T:195-->
The values <math display="inline">\Lambda^*</math> serve as kinematic design targets; the values actually observed at the transitions are <math display="inline">\Lambda_{\mathrm{real}}=\Lambda(t_{\mathrm{event}})</math>.
The values <math display="inline">\Lambda^*</math> may serve as kinematic reference levels at selected phase boundaries; the values actually observed at check-valve events are <math display="inline">\Lambda_{\mathrm{real}}=\Lambda(t_{\mathrm{event}})</math>.


== 8. Work, heat, and coefficient of performance == <!--T:196-->
<!--T:408-->
The two passive check valves have permanent branch orientations: one permits circulation along <math display="inline">L\to H_o\to S</math>, the other along <math display="inline">S\to H_i\to L</math>.
 
<!--T:409-->
Each valve may be installed upstream or downstream of its heat exchanger. Its opening and closing conditions therefore use the pressures immediately adjacent to its actual position.
 
<!--T:410-->
The opening and closing laws are identical in both operating modes. Only the pressure histories change because the crank kinematics are reversed in motor operation.
 
== 8. Work, heat, and performance == <!--T:196-->


<!--T:197-->
<!--T:197-->
The instantaneous work delivered by the gas on the two pistons is calculated during all phases:
The instantaneous work delivered by the gas on the two pistons is calculated during all phases from the actual cylinder pressures:


<!--T:198-->
<!--T:198-->
<math>
<math>
\dot W=P_S^\star\dot V_S+P_L^\star\dot V_L
\dot W=P_S\dot V_S+P_L\dot V_L
.</math>
.</math>
<!--T:199-->
<math display="inline">P_S^\star</math> and <math display="inline">P_L^\star</math> denote the thermodynamic pressure effectively applied to the gas in each cylinder according to the phase topology: pair pressure when the cylinder belongs to a quasi-pressure-equalizedpair, and its own pressure when it is a hydraulically isolated donor.


<!--T:200-->
<!--T:200-->
Line 682: Line 1,382:
W_{\mathrm{cycle}}=
W_{\mathrm{cycle}}=
\int_0^\tau
\int_0^\tau
\left(P_S^\star\dot V_S+P_L^\star\dot V_L\right)dt
\left(P_S\dot V_S+P_L\dot V_L\right)dt
.</math>
.</math>
<!--T:625-->
When the two cylinder pressures are comparable during a pressure-changing phase,
<!--T:626-->
<math>
\dot W\approx P(\dot V_S+\dot V_L).
</math>
<!--T:627-->
If both cylinders contract during compression, or both expand during expansion, their work contributions therefore add instead of partly cancelling. This allows a larger fraction of the available swept volume to participate in compression and expansion for a comparable pressure history. It does not by itself prove a higher thermal efficiency, because the heat transfers and the resulting pressure history change at the same time.


<!--T:202-->
<!--T:202-->
Line 689: Line 1,401:


<!--T:203-->
<!--T:203-->
<math>Q_C=\int_0^\tau (UA)_C(T_{C,\mathrm{res}}-T_C)\,dt,</math>
<math>Q_i=\int_0^\tau (UA)_i(T_{i,\mathrm{res}}-T_i)\,dt,</math>


<!--T:204-->
<!--T:204-->
<math>Q_H=\int_0^\tau (UA)_H(T_{H,\mathrm{res}}-T_H)\,dt.</math>
<math>Q_o=\int_0^\tau (UA)_o(T_{o,\mathrm{res}}-T_o)\,dt.</math>


<!--T:205-->
<!--T:205-->
Line 704: Line 1,416:


<!--T:208-->
<!--T:208-->
<math>Q_C+Q_H=W_{\mathrm{cycle}}.</math>
<math>Q_i+Q_o=W_{\mathrm{cycle}}.</math>


<!--T:209-->
<!--T:209-->
Line 710: Line 1,422:


<!--T:210-->
<!--T:210-->
<math>COP_c=\frac{Q_C}{-W_{\mathrm{cycle}}}.</math>
<math>COP_c=\frac{Q_i}{-W_{\mathrm{cycle}}}.</math>


<!--T:211-->
<!--T:211-->
Line 716: Line 1,428:


<!--T:212-->
<!--T:212-->
<math>COP_h=\frac{-Q_H}{-W_{\mathrm{cycle}}}=COP_c+1.</math>
<math>COP_h=\frac{-Q_o}{-W_{\mathrm{cycle}}}=COP_c+1.</math>


<!--T:213-->
<!--T:213-->
The signs <math display="inline">Q_C>0</math>, <math display="inline">Q_H<0</math>, and <math display="inline">W_{\mathrm{cycle}}<0</math> provide checks of the intended refrigeration regime.
The signs <math display="inline">Q_i>0</math>, <math display="inline">Q_o<0</math>, and <math display="inline">W_{\mathrm{cycle}}<0</math> provide checks of the intended refrigeration regime.
 
<!--T:411-->
For motor operation:
 
<!--T:412-->
<math>Q_i>0,\qquad Q_o<0,\qquad W_{\mathrm{cycle}}>0.</math>
 
<!--T:413-->
The thermal efficiency is:
 
<!--T:414-->
<math>
\eta_{\mathrm{th}}
=
\frac{W_{\mathrm{cycle}}}{Q_i}
=
1+\frac{Q_o}{Q_i}.
</math>
 
<!--T:415-->
The mean thermodynamic motor power is:
 
<!--T:416-->
<math>
\overline{\dot W}
=
\frac{W_{\mathrm{cycle}}}{\tau}.
</math>
 


<!--T:214-->
<!--T:214-->
The thermodynamic force exerted by the gas on a piston face may be written <math display="inline">F_{\mathrm{gas}}=PS</math>. Net mechanical force, inertia, and friction belong to the subsequent mechanical sizing stage.
The thermodynamic force exerted by the gas on a piston face may be written <math display="inline">F_{\mathrm{gas}}=PS</math>. Net mechanical force, inertia, and friction belong to the subsequent mechanical sizing phase.


== 9. Gas charge and periodic regime == <!--T:215-->
== 9. Gas charge and periodic regime == <!--T:215-->
Line 730: Line 1,471:


<!--T:217-->
<!--T:217-->
<math>M_{\mathrm{tot}}=m_S+m_L+m_C+m_H=\mathrm{const}.</math>
<math>M_{\mathrm{tot}}=m_S+m_L+m_i+m_o=\mathrm{const}.</math>


<!--T:218-->
<!--T:218-->
Line 739: Line 1,480:
M_{\mathrm{tot}}=
M_{\mathrm{tot}}=
\frac{P_{\mathrm{charge}}
\frac{P_{\mathrm{charge}}
\left[V_S(0)+V_{L,\max}+V_C+V_H\right]}
\left[V_S(0)+V_{L,\max}+V_i+V_o\right]}
{RT_{\mathrm{charge}}}
{RT_{\mathrm{charge}}}
.</math>
.</math>
Line 756: Line 1,497:


<!--T:224-->
<!--T:224-->
<math>V_i(t+\tau)=V_i(t)</math>
<math>V_k(t+\tau)=V_k(t),\qquad k\in\{S,L\}.</math>


<!--T:225-->
<!--T:225-->
Line 769: Line 1,510:


<!--T:229-->
<!--T:229-->
* operating mode;
* reservoir temperatures <math display="inline">T_{\mathrm{cold}}</math> and  <math display="inline">T_{\mathrm{hot}}</math>;
* signed crank angular velocity <math display="inline">\omega</math>.
* working fluid and reference properties <math display="inline">R</math>, <math display="inline">C_p</math>, <math display="inline">C_v</math>, <math display="inline">\gamma</math>;
* working fluid and reference properties <math display="inline">R</math>, <math display="inline">C_p</math>, <math display="inline">C_v</math>, <math display="inline">\gamma</math>;
* reservoir temperatures <math display="inline">T_{C,\mathrm{res}}</math>, <math display="inline">T_{H,\mathrm{res}}</math>;
* total charge <math display="inline">M_{\mathrm{tot}}</math>, or equivalently <math display="inline">(P_{\mathrm{charge}},T_{\mathrm{charge}})</math> in the charging configuration defined in §9;
* total charge <math display="inline">M_{\mathrm{tot}}</math>, or equivalently <math display="inline">(P_{\mathrm{charge}},T_{\mathrm{charge}})</math> in the charging configuration defined in §9;
* kinematics <math display="inline">V_S(t)</math>, <math display="inline">V_L(t)</math>, and, where relevant, <math display="inline">\omega</math>.
* kinematics <math display="inline">V_S(t)</math>, <math display="inline">V_L(t)</math>.


=== 10.2 Design parameters === <!--T:230-->
=== 10.2 Design parameters === <!--T:230-->
Line 778: Line 1,521:
<!--T:231-->
<!--T:231-->
* <math display="inline">V_{S,\min}</math>, <math display="inline">V_{S,\max}</math>, <math display="inline">V_{L,\min}</math>, <math display="inline">V_{L,\max}</math>;
* <math display="inline">V_{S,\min}</math>, <math display="inline">V_{S,\max}</math>, <math display="inline">V_{L,\min}</math>, <math display="inline">V_{L,\max}</math>;
* <math display="inline">V_C</math>, <math display="inline">V_H</math>;
* <math display="inline">V_i</math>, <math display="inline">V_o</math>;
* <math display="inline">(UA)_C</math>, <math display="inline">(UA)_H</math>;
* <math display="inline">(UA)_i</math>, <math display="inline">(UA)_o</math>;
* hydraulic parameters of the heat exchangers, pipes, and check valves, represented at first level by <math display="inline">(C_dA)_{\mathrm{eff}}</math>;
* hydraulic parameters of the heat exchangers, pipes, and check valves, represented at first level by <math display="inline">(C_dA)_{\mathrm{eff}}</math>;
* thresholds <math display="inline">\Delta P_{\mathrm{open}}</math>, <math display="inline">\Delta P_{\mathrm{close}}</math>;
* thresholds <math display="inline">\Delta P_{\mathrm{open}}</math>, <math display="inline">\Delta P_{\mathrm{close}}</math>;
* kinematic targets <math display="inline">\Lambda_L^*</math>, <math display="inline">\Lambda_S^*</math>.
* position of each check valve upstream or downstream of its heat exchanger;
* kinematic reference levels <math display="inline">\Lambda_L^*</math>, <math display="inline">\Lambda_S^*</math>, when used.


=== 10.3 Calculated variables and results === <!--T:232-->
=== 10.3 Calculated variables and results === <!--T:232-->


<!--T:233-->
<!--T:233-->
* <math display="inline">m_i</math>, <math display="inline">U_i</math>, <math display="inline">T_i</math>, <math display="inline">P_i</math>;
* <math display="inline">m_j,U_j,T_j,P_j,\qquad j\in\{S,L,i,o\}</math>;
* internal and external mass flow rates;
* internal and external mass flow rates;
* <math display="inline">\dot Q_C</math>, <math display="inline">\dot Q_H</math>, <math display="inline">Q_C</math>, <math display="inline">Q_H</math>;
* <math display="inline">\dot Q_i</math>, <math display="inline">\dot Q_o</math>, <math display="inline">Q_i</math>, <math display="inline">Q_o</math>;
* <math display="inline">W_{\mathrm{cycle}}</math>, <math display="inline">COP_c</math>, <math display="inline">COP_h</math>;
* <math display="inline">W_{\mathrm{cycle}}</math>, <math display="inline">COP_c</math>, <math display="inline">COP_h</math>;
* <math display="inline">\eta_{\mathrm{th}}</math> in motor operation.
* pressure, temperature, and flow-rate extrema;
* pressure, temperature, and flow-rate extrema;
* actual check-valve events and <math display="inline">\Lambda_{\mathrm{real}}</math>;
* actual check-valve events and <math display="inline">\Lambda_{\mathrm{real}}</math>;
* isothermal quality <math display="inline">\varepsilon_T</math>;
* validity criteria <math display="inline">\varepsilon_P</math>, <math display="inline">Ma</math>, <math display="inline">Z</math>, and property variations.
* validity criteria <math display="inline">\varepsilon_P</math>, <math display="inline">Ma</math>, <math display="inline">Z</math>, and property variations.


Line 820: Line 1,564:
<math>
<math>
\frac{dU_{\mathrm{tot}}}{dt}
\frac{dU_{\mathrm{tot}}}{dt}
=\dot Q_C+\dot Q_H
=\dot Q_i+\dot Q_o
-P_S^\star\dot V_S
-P_S\dot V_S
-P_L^\star\dot V_L
-P_L\dot V_L
.</math>
.</math>


Line 832: Line 1,576:
\varepsilon_E(t)=
\varepsilon_E(t)=
U_{\mathrm{tot}}(t)-U_{\mathrm{tot}}(0)
U_{\mathrm{tot}}(t)-U_{\mathrm{tot}}(0)
-Q_C(0,t)-Q_H(0,t)+W(0,t)
-Q_i(0,t)-Q_o(0,t)+W(0,t)
.</math>
.</math>
<!--T:417-->
Over a periodic cycle:
<!--T:418-->
<math>Q_i+Q_o=W_{\mathrm{cycle}}.</math>


<!--T:245-->
<!--T:245-->
Line 841: Line 1,591:
----
----


== Appendix A — Symbolic derivations and validated checks = <!--T:247-->
== Appendix A — Symbolic derivations and validated checks == <!--T:247-->


=== A.1 Pressure equation for a closed pair == <!--T:248-->
=== A.1 Pressure equation for a closed pair === <!--T:248-->


<!--T:249-->
<!--T:249-->
Line 893: Line 1,643:
<math>PV^\gamma=\mathrm{const}.</math>
<math>PV^\gamma=\mathrm{const}.</math>


=== A.2 Internal flow rate of the pair == <!--T:263-->
=== A.2 Internal flow rate of the pair === <!--T:263-->


<!--T:264-->
<!--T:264-->
Line 919: Line 1,669:
This recovers the definition of the numerator <math display="inline">N</math> and the selection of the upstream temperature according to the sign of the flow rate.
This recovers the definition of the numerator <math display="inline">N</math> and the selection of the upstream temperature according to the sign of the flow rate.


=== A.3 Evolution of the heat-exchanger temperature within a pair == <!--T:271-->
=== A.3 Evolution of the heat-exchanger temperature within a pair === <!--T:271-->


<!--T:272-->
<!--T:272-->
Line 946: Line 1,696:
This relation follows solely from mass conservation and the equation of state; it is valid for both flow directions.
This relation follows solely from mass conservation and the equation of state; it is valid for both flow directions.


=== A.4 Open receiving pair == <!--T:279-->
=== A.4 Open quasi-pressure-equalized pair === <!--T:279-->


<!--T:280-->
<!--T:280-->
For a pair receiving <math display="inline">\dot m_{\mathrm{ext}}</math> into its cylinder:
For a pair receiving <math display="inline">\dot m_{\mathrm{ext}}</math> across its external boundary:


<!--T:281-->
<!--T:281-->
Line 968: Line 1,718:


<!--T:284-->
<!--T:284-->
The local mass balance:
If the external stream enters the cylinder and <math display="inline">\dot m_{\mathrm{int}}</math> is positive from cylinder to heat exchanger:


<!--T:285-->
<!--T:285-->
Line 974: Line 1,724:


<!--T:286-->
<!--T:286-->
<math>\dot m_{HX}=\dot m_{\mathrm{int}},</math>
<math>\dot m_{HX}=\dot m_{\mathrm{int}}.</math>


<!--T:287-->
<!--T:287-->
immediately gives:
If instead the external stream enters the heat exchanger first:
 
<!--T:628-->
<math>\dot m_{\mathrm{cyl}}=-\dot m_{\mathrm{int}},\qquad
\dot m_{HX}=\dot m_{\mathrm{ext}}+\dot m_{\mathrm{int}}.</math>


<!--T:288-->
<!--T:288-->
In both cases:
<!--T:629-->
<math>\dot m_{\mathrm{pair}}=\dot m_{\mathrm{ext}}.</math>
<math>\dot m_{\mathrm{pair}}=\dot m_{\mathrm{ext}}.</math>


=== A.5 Analytical solution for the adiabatic donor cylinder == <!--T:289-->
=== A.5 Analytical solution for the adiabatic donor cylinder === <!--T:289-->


<!--T:290-->
<!--T:290-->
Line 1,044: Line 1,801:
Under these assumptions, the specific entropy of the remaining gas is constant: <math display="inline">ds=0</math>. The total entropy of the gas contained in the cylinder is not constant because its mass varies.
Under these assumptions, the specific entropy of the remaining gas is constant: <math display="inline">ds=0</math>. The total entropy of the gas contained in the cylinder is not constant because its mass varies.


=== A.6 Active heat exchanger: expanded balance == <!--T:307-->
=== A.6 Active heat exchanger: expanded balance === <!--T:307-->


<!--T:308-->
<!--T:308-->
Line 1,080: Line 1,837:
* if <math display="inline">T_{\mathrm{in}}=T</math> and <math display="inline">\dot m_{\mathrm{in}}=\dot m_{\mathrm{out}}</math>, the net contribution of the flow to <math display="inline">\dot T</math> vanishes.
* if <math display="inline">T_{\mathrm{in}}=T</math> and <math display="inline">\dot m_{\mathrm{in}}=\dot m_{\mathrm{out}}</math>, the net contribution of the flow to <math display="inline">\dot T</math> vanishes.


=== A.7 Global mass test during an active phase == <!--T:316-->
=== A.7 Global mass test === <!--T:630-->
 
<!--T:631-->
Using the signed link flows defined in §6:
 
<!--T:632-->
<math>\dot m_S=-\dot m_{Si}+\dot m_{oS},</math>


<!--T:317-->
<!--T:633-->
For Phase II:
<math>\dot m_L=\dot m_{iL}-\dot m_{Lo},</math>


<!--T:318-->
<!--T:634-->
<math>\dot m_L=-\dot m_{\mathrm{in}},</math>
<math>\dot m_i=\dot m_{Si}-\dot m_{iL},</math>


<!--T:319-->
<!--T:635-->
<math>\dot m_H=\dot m_{\mathrm{in}}-\dot m_{\mathrm{out}},</math>
<math>\dot m_o=\dot m_{Lo}-\dot m_{oS}.</math>


<!--T:320-->
<math>\dot m_{SC}=\dot m_{\mathrm{out}}.</math>


<!--T:321-->
<!--T:636-->
Summing:
Summing the four equations cancels every internal mass flow exactly:


<!--T:322-->
<!--T:637-->
<math>\dot M_{\mathrm{tot}}=0.</math>
<math>\dot M_{\mathrm{tot}}=0.</math>


<!--T:323-->
Phase IV gives exactly the same result by symmetry.


=== A.8 Global energy test during an active phase == <!--T:324-->
<!--T:638-->
This result is independent of the active phase, the flow directions on bidirectional links, and the positions of the two check valves.


<!--T:325-->
For Phase II:


<!--T:326-->
=== A.8 Global energy test === <!--T:639-->
<math>\dot U_L=-P_L\dot V_L-\dot m_{\mathrm{in}}h_L,</math>


<!--T:327-->
<!--T:640-->
<math>\dot U_H=\dot m_{\mathrm{in}}h_L-\dot m_{\mathrm{out}}h_H+\dot Q_H,</math>
Using the signed enthalpy fluxes defined in §6:


<!--T:328-->
<!--T:641-->
<math>\dot U_{SC}=\dot m_{\mathrm{out}}h_H+\dot Q_C-P_{SC}\dot V_S.</math>
<math>\dot U_S=-P_S\dot V_S-\dot H_{Si}+\dot H_{oS},</math>


<!--T:329-->
<!--T:642-->
The internal enthalpy fluxes cancel exactly:
<math>\dot U_L=-P_L\dot V_L+\dot H_{iL}-\dot H_{Lo},</math>


<!--T:330-->
<!--T:643-->
<math>-\dot m_{\mathrm{in}}h_L+\dot m_{\mathrm{in}}h_L=0,</math>
<math>\dot U_i=\dot H_{Si}-\dot H_{iL}+\dot Q_i,</math>


<!--T:331-->
<!--T:644-->
<math>-\dot m_{\mathrm{out}}h_H+\dot m_{\mathrm{out}}h_H=0.</math>
<math>\dot U_o=\dot H_{Lo}-\dot H_{oS}+\dot Q_o.</math>


<!--T:332-->
What remains is:


<!--T:333-->
<!--T:645-->
All internal enthalpy fluxes cancel exactly when the four balances are summed:
 
<!--T:646-->
<math>
<math>
\dot U_{\mathrm{tot}}
\dot U_{\mathrm{tot}}
=\dot Q_C+\dot Q_H
=\dot Q_i+\dot Q_o
-P_L\dot V_L-P_{SC}\dot V_S
-P_S\dot V_S-P_L\dot V_L
.</math>
.</math>


<!--T:334-->
Phase IV provides the symmetric relation. In the closed phases, the same structure follows directly from summing the balances of the two pairs. Hence, for any phase:


<!--T:335-->
<!--T:647-->
<math>
Integrated over a periodic cycle:
\dot U_{\mathrm{tot}}
=\dot Q_C+\dot Q_H
-P_S^\star\dot V_S-P_L^\star\dot V_L
.</math>


<!--T:336-->
<!--T:648-->
Integrated over a periodic cycle, this relation gives:
<math>Q_i+Q_o=W_{\mathrm{cycle}}.</math>


<!--T:337-->
<math>Q_C+Q_H=W_{\mathrm{cycle}}.</math>


=== A.9 Continuity at transitions == <!--T:338-->
=== A.9 Continuity at transitions === <!--T:338-->


<!--T:339-->
<!--T:339-->
Line 1,158: Line 1,908:


<!--T:340-->
<!--T:340-->
<math>m_i^+=m_i^-,\qquad U_i^+=U_i^-,\qquad V_i^+=V_i^-.</math>
<math>\qquad j\in\{S,L,i,o\}</math>
 
<!--T:419-->
<math>m_j^+=m_j^-,\qquad U_j^+=U_j^-,\qquad V_j^+=V_j^-.</math>


<!--T:341-->
<!--T:341-->
Line 1,164: Line 1,917:


<!--T:342-->
<!--T:342-->
<math>T_i=\frac{U_i}{m_iC_v},\qquad P_i=\frac{m_iRT_i}{V_i},</math>
<math>T_j=\frac{U_j}{m_jC_v},\qquad P_j=\frac{m_jRT_j}{V_j},</math>


<!--T:343-->
<!--T:343-->
Line 1,170: Line 1,923:


<!--T:344-->
<!--T:344-->
<math>T_i^+=T_i^-,\qquad P_i^+=P_i^-.</math>
<math>T_j^+=T_j^-,\qquad P_j^+=P_j^-.</math>


<!--T:345-->
<!--T:345-->
The event only creates a change in hydraulic topology and in the active system of equations.
The event only changes the admissible hydraulic flow on the valve link; the thermodynamic state remains continuous.
</translate>
</translate>

Latest revision as of 02:01, 21 September 2026

1. Scope and method

This study describes the complete thermodynamic cycle of the Dada engine in symbolic form, in both refrigeration and motor operation. The model couples prescribed kinematics of the two pistons, well-mixed gas volumes, 0D heat exchangers, passive check valves, and a generic compressible hydraulic closure model.

The cycle origin is set with the large cylinder at maximum volume, with:

t=0,θ(0)=0,VL(0)=VL,max.

The four gas volumes are:

  • S: small cylinder;
  • L: large cylinder;
  • Hi: heat-in exchanger, located on the S→L hydraulic path and transferring heat into the gas;
  • Ho: heat-out exchanger, located on the L→S hydraulic path and transferring heat out of the gas.

The two hydraulic branches have fixed circulation orientations:

S→Hi→L,

L→Ho→S.


Each branch contains one passive check valve. The check valve may be installed on either side of its heat exchanger. The two admissible arrangements for the heat-in branch are:

S→CVi→Hi→L,

or:

S→Hi→CVi→L.


Likewise, the heat-out branch may be arranged as:

L→CVo→Ho→S,

or:

L→Ho→CVo→S.


In all cases the check valve enforces the same overall circulation direction of its branch. Its position relative to the heat exchanger is a design parameter because, when the valve is closed, it determines which cylinder remains hydraulically connected to the exchanger volume.


The physical function of each heat exchanger is independent of the operating mode. What changes between refrigeration and motor operation is the external thermal reservoir connected to each exchanger.


The cycle is described by four hydraulic/thermodynamic phases: compression, transfer through Ho from L to S, expansion, and transfer through Hi from S to L. In refrigeration operation, starting from the reference origin used in this study, these phases are traversed in that order. Motor operation reverses the crank kinematics. The resulting thermodynamic chronology must be recalculated with the unchanged check-valve orientations and the reversed reservoir assignment; it is detailed in §6.6.


The phase boundaries describe the kinematics and the dominant thermodynamic regime. They are not check-valve events. Check-valve opening and closing are determined independently by the local pressure difference across each valve; mass transfer and heat transfer may therefore continue during compression or expansion, and a valve event may occur inside a kinematic phase.


The two transfer phases are intended to be quasi-isobaric: one cylinder empties while the other fills, and the pressure variation is intended to remain small compared with the pressure change during compression and expansion. Compression and expansion may involve simultaneous motion of both pistons in the same volumetric direction, so both cylinders may contribute to the pressure-changing phase.


For comparison with an ideal thermodynamic cycle, compression and expansion may be idealized as adiabatic transformations; if they are also reversible, they are isentropic. These are reference transformations only. The real machine does not impose zero heat transfer, zero mass transfer, or closed check valves during compression and expansion, and no construction capable of enforcing perfectly adiabatic phases is assumed here.


1.1 First-level assumptions

The model is based on the following assumptions:

  • single-phase, ideal and calorically perfect gas;
  • constant properties R, Cp, Cv, γ, with R=Cp−Cv and γ=Cp/Cv;
  • each gas volume is uniform and well mixed;
  • gas kinetic and potential energies are neglected in the 0D balances;
  • fixed heat-exchanger volumes;
  • prescribed piston kinematics;
  • no mechanical friction in the thermodynamic model;
  • heat exchange represented by an overall conductance UA;
  • passive check valves controlled by the pressure difference.

2. Notation and conventions

2.1 Geometry and kinematics

For k∈{S,L}:

Vk,min>0,Vk,max>Vk,min.

The swept volume is:

Vk,swept=Vk,max−Vk,min.

The thermodynamic volumes prescribed by the mechanism are:

VS=VS(t),VL=VL(t),

with their signed derivatives:

V˙S=dVSdt,V˙L=dVLdt.

The crank angular velocity is signed:

θ(t)=ωt,V˙k=ωdVkdθ,k∈{S,L}.

The driven refrigeration direction is chosen as positive:

ω>0.

Motor operation uses the opposite crank direction:

ω<0.

The geometric origin is identical in both modes:

t=0,θ(0)=0,VL(0)=VL,max.

When only the absolute value of the volumetric speed is useful:

νV,k=|V˙k|.

2.2 Kinematic closure fraction

To describe the normalized closure of a cylinder:

Λk(t)=Vk,max−Vk(t)Vk,max−Vk,min,k∈{S,L}.

Thus Λk=0 corresponds to maximum volume and Λk=1 to minimum volume. The values ΛL∗ and ΛS∗ may be used as nominal kinematic reference levels at selected phase boundaries. The value actually observed at a check-valve event may be recorded as:

Λreal=Λ(tevent).

Check-valve events are determined by the local pressure difference across the valve and are independent of the selected kinematic phase boundaries; Λ∗ is therefore not an imposed opening condition.

2.3 Thermodynamic variables

For each volume j∈{S,L,i,o}:

mj,Uj,Tj,Pj,Vj.

The subscripts i and o denote respectively the gas contained in Hi and Ho.

The complete state vector is chosen as:

𝐗=(mS,US,mL,UL,mi,Ui,mo,Uo).

Temperatures and pressures are derived from:

Tj=UjmjCv,Pj=mjRTjVj.

The volumes VS(t) and VL(t) are prescribed by the kinematics and are not independent thermodynamic state variables. The volumes Vi and Vo are constant.

2.4 Energy sign convention

Heat is positive when it is received by the gas. Work is positive when the gas delivers work:

W˙=PV˙.

By definition of the two physical heat exchangers:

Qi>0,Qo<0

in the intended operating regime of both refrigeration and motor operation.

The net cycle work distinguishes the two modes:

Wcycle<0

for driven refrigeration operation, whereas:

Wcycle>0

for motor operation.

3. Thermal closure and validity domain

3.1 Exchange with the thermal reservoirs

For the heat-in exchanger:

Q˙i=(UA)i(Ti,res−Ti).

In the intended operating regime:

Ti<Ti,res⇒Q˙i>0.

For the heat-out exchanger:

Q˙o=(UA)o(To,res−To).

In the intended operating regime:

To>To,res⇒Q˙o<0.

The reservoir temperatures depend on the operating mode.

For refrigeration operation:

Ti,res=Tcold,To,res=Thot.

For motor operation:

Ti,res=Thot,To,res=Tcold.

Thus the heat-transfer equations themselves are identical in both modes.


3.2 Thermophysical validity domain

The base model assumes:

PV=mRT,Z=1,

Cp=const,Cv=const,γ=const.

Validity must be checked a posteriori over the entire cycle, notably through:

|Z−1|≪1,

and through small variations of the thermophysical properties, for example:

εCp=Cp,max−Cp,minCp,ref≪1.

The working fluid must remain single-phase and gaseous, and sufficiently far from any condensation or phase transition throughout the (P,T) domain traversed.

If these criteria become insufficient, an extension may use Z(P,T), Cp(T), Cv(T), or a real-gas equation of state without changing the general architecture of the mass and energy balances.

4. Reduced formulations for quasi-pressure-equalized connected volumes

The complete model treats the four gas volumes independently. In some operating conditions, however, a set of volumes connected through sufficiently low hydraulic resistance may remain close to a common pressure. Such a set can then be treated by a reduced analytical formulation.


Let 𝒞 denote any connected set of gas volumes for which:

Pj≈P𝒞,j∈𝒞.


The composition of 𝒞 is determined by the actual hydraulic connectivity and by the position and state of the check valves.


A useful pressure-equalization criterion is:

εP,𝒞=max(a,b)∈𝒞|Pa−Pb|P𝒞≪1.


A low internal Mach number provides an additional check:

Maint=|uint|a≪1,

but is not sufficient by itself to guarantee pressure equalization.


4.1 Pressure equation for a connected set

Define the total volume:

V𝒞=∑j∈𝒞Vj.


Only cylinder volumes vary, so:

V˙𝒞=∑k∈𝒞∩{S,L}V˙k.


For a calorically perfect ideal gas at common pressure:

U𝒞=∑j∈𝒞mjCvTj=P𝒞V𝒞γ−1.


Let the total heat received by the gas in the set be:

Q˙𝒞=∑j∈𝒞Q˙j.


Mass crossing the boundary of the set transports the enthalpy of its upstream state. Define the net external enthalpy flow into the set as:

H˙𝒞ext=∑inm˙CpTu−∑outm˙CpTu.


The first law for the complete connected set is then:

dU𝒞dt=Q˙𝒞+H˙𝒞ext−P𝒞V˙𝒞.


Therefore:

P˙𝒞=(γ−1)(Q˙𝒞+H˙𝒞ext)−γP𝒞V˙𝒞V𝒞.


The total mass of the set satisfies:

M˙𝒞=∑inm˙−∑outm˙.


Internal mass and enthalpy transfers between members of 𝒞 cancel from these global balances.


4.2 Closed connected set

If no mass crosses the boundary of 𝒞:

H˙𝒞ext=0,M˙𝒞=0.


The pressure equation becomes:

P˙𝒞=(γ−1)Q˙𝒞−γP𝒞V˙𝒞V𝒞.


If the set is also adiabatic:

Q˙𝒞=0,

then:

P𝒞V𝒞γ=const.


This is a limiting analytical case. A compression or expansion phase of the complete machine does not require the corresponding connected set to be closed or adiabatic.


4.3 Fixed-volume heat exchanger within a pressure-equalized set

For a heat exchanger Hj of fixed volume Vj belonging to 𝒞:

mj=P𝒞VjRTj.


Differentiation gives:

m˙jmj=P˙𝒞P𝒞−T˙jTj,

hence:

T˙j=TjP𝒞P˙𝒞−RTj2P𝒞Vjm˙j.


The exchanger mass rate m˙j is the algebraic sum of the actual flows through all links connected to it. This relation is therefore independent of whether the check valve lies upstream or downstream of the exchanger.


Its energy balance may equivalently be written:

Vjγ−1P˙𝒞=Q˙j+∑inm˙CpTu−∑outm˙CpTj.


These equations determine the local mass redistribution and temperature evolution once the hydraulic flow rates are known.


4.4 Two-volume cylinder–exchanger special case

For the particular case of one cylinder and one heat exchanger connected at quasi-uniform pressure, with no other flow entering or leaving the exchanger directly, define the internal mass flow as positive from cylinder to heat exchanger.


Let:

N=VHXP˙+(γ−1)(UA)HX(THX−THX,res).


The internal flow rate is:

m˙int={NγRTcyl,N≥0(cyl→HX),NγRTHX,N<0(HX→cyl).


The heat-exchanger temperature then satisfies:

T˙HX=THXPP˙−RTHX2PVHXm˙int.


This special reduction must not be used when an additional external flow enters or leaves the heat exchanger directly; in that case the general balances of §4.1 and §4.3 apply.


4.5 Single external-flow special cases

If a quasi-pressure-equalized connected set receives a single external flow m˙ext>0 at upstream temperature Text:

P˙𝒞=γRTextm˙ext+(γ−1)Q˙𝒞−γP𝒞V˙𝒞V𝒞,

with:

M˙𝒞=m˙ext.


If instead the set delivers a single external outflow m˙ext>0 from a boundary volume at temperature Tout:

P˙𝒞=−γRToutm˙ext+(γ−1)Q˙𝒞−γP𝒞V˙𝒞V𝒞,

with:

M˙𝒞=−m˙ext.


The location at which the external flow crosses the boundary of the connected set affects the local masses and temperatures, but not the summed pressure equation once the set 𝒞, the boundary enthalpy flow, and its total heat and volume rates are specified.


5. Hydraulic closure

5.1 Generic formulation

Any hydraulic connection is described by a generic law:

m˙=Φ(Pu,Pd,Tu,𝒢,ℱ)

u and d respectively denote the instantaneous upstream and downstream states. The transported enthalpy is that of the upstream state:

H˙mass=m˙CpTu.

For a bidirectional connection, the upstream state is determined by the actual direction of the pressure gradient. For a check valve, reverse flow is prohibited. On each of the two hydraulic branches, the check valve may be placed on either side of the heat exchanger; the hydraulic law must therefore use the pressures immediately adjacent to the actual valve position.

5.2 First-level closure using a compressible orifice

A first approximation consists in using an effective hydraulic area:

(CdA)eff,

which represents the overall ease of gas flow through the actual connection.

With:

r=PdPu,rcrit=(2γ+1)γ/(γ−1),

the unchoked flow rate, for r>rcrit, is:

m˙=(CdA)effPu2γRTu(γ−1)(r2/γ−r(γ+1)/γ).

For r≤rcrit:

m˙=(CdA)effPuγRTu(2γ+1)γ+12(γ−1).

This closure is not essential to the model: it may later be replaced by a law that more faithfully represents the pressure losses of a real heat exchanger, pipe, or check valve.

6. Complete thermodynamic cycle

The cycle is described by four successive kinematic and thermodynamic regimes: compression, transfer through Ho, expansion, and transfer through Hi. These phases describe the dominant evolution of the machine; they are not defined by the state of the check valves. Valve opening and closing remain determined independently by the instantaneous pressure differences and may occur within a phase rather than exactly at a phase boundary.


The numbering below follows the refrigeration direction ω>0. Motor operation uses the same physical machine with reversed crank direction and is described in §6.6.


6.1 Thermodynamic rationale of the four phases

6.1.1 Compression and expansion

Compression and expansion are primarily pressure-changing phases. In the intended kinematics, both cylinder volumes may decrease simultaneously during compression and increase simultaneously during expansion.


The instantaneous work delivered by the gas is:

W˙=PSV˙S+PLV˙L.


When the two cylinder pressures are of the same order, both piston contributions therefore add during a simultaneous expansion and both contribute to the work required during a simultaneous compression. This allows the swept volumes of both cylinders to participate in the pressure-changing parts of the cycle.


In an ideal reversible reference cycle, compression and expansion may be considered adiabatic and reversible. This is not imposed on the real machine. The heat exchangers remain thermally coupled to the gas, mass redistribution may continue, and neither check valve is required to be closed during the whole compression or expansion phase.


6.1.2 Exchange phases

During an exchange phase, gas is transferred from one cylinder to the other through one of the heat exchangers. Hydraulic resistance requires a finite pressure difference to produce a finite mass flow. This pressure difference is intrinsically irreversible.


For the hydraulic-loss contribution idealized locally as an adiabatic, isenthalpic throttling process of a calorically perfect ideal gas:

hu=hd⇒Tu=Td,

and therefore:

Δshyd=Rln⁡(PuPd)>0forPu>Pd.


The reversible limit is consequently:

Pu−Pd→0.


The exchange phases therefore tend ideally toward quasi-pressure-equalized operation. A finite real machine retains a finite pressure difference because a finite flow must cross the hydraulic resistances.


Pressure equalization between communicating volumes at a given instant does not, by itself, imply that their common pressure remains constant throughout the exchange. Let 𝒞 denote a closed set of communicating gas volumes that are approximately at a common pressure P. For an ideal gas:

M𝒞=PR∑j∈𝒞VjTj,

and therefore:

P=M𝒞R∑j∈𝒞Vj/Tj.


At constant mass, an exactly isobaric evolution requires:

ddt(∑j∈𝒞VjTj)=0.


Thus the piston motions and the temperature evolution must compensate each other. Equal cylinder-volume changes are neither required nor generally expected.


The same condition can be expressed through the energy balance. For a quasi-pressure-equalized set:

U𝒞=PV𝒞γ−1,V𝒞=∑j∈𝒞Vj.


Its first-law balance gives:

V𝒞P˙=(γ−1)Q˙𝒞−γPV˙𝒞.


An approximately isobaric exchange therefore satisfies:

γPV˙𝒞≈(γ−1)Q˙𝒞.


The volume evolution imposed by the pistons can consequently compensate the thermal expansion or contraction produced by heat transfer, allowing substantial mass transfer while the common pressure remains nearly constant.


A useful first-order cylinder-sizing relation follows from the same condition. Over a sufficiently small part of an isobaric exchange, if the donor and receiver temperatures may be treated as locally constant and the temperature-storage terms of the fixed exchanger volumes are secondary, then:

dVrTr≈−dVdTd,

hence:

dVr−dVd≈TrTd.


The hotter side therefore requires a larger volume change for the same transferred gas mass at the same pressure. When the exchange uses comparable fractions of the available cylinder strokes and the gas temperatures remain close to characteristic working temperatures Th and Tc, this gives the first-order geometric scaling:

Vswept,hVswept,c∼ThTc.


Temperatures must be expressed in kelvin. This relation is a sizing guide, not an exact design constraint: exchanger hold-up, clearance volumes, temperature evolution during the exchange, finite pressure losses, and the compression and expansion phases can all shift the optimum. When these effects are significant, the complete condition involving ∑Vj/Tj must be used instead.


These relations explain why a low-loss exchange naturally tends toward both small pressure differences along the hydraulic path and, with suitable piston kinematics, a nearly constant pressure throughout the exchange. Exact isobaricity is not imposed as a thermodynamic constraint.


6.1.3 Balance equations valid throughout the cycle

The four control volumes remain S, Hi, L, and Ho. Define the signed mass flow rates:

m˙Si:S→Hi,m˙iL:Hi→L,

m˙Lo:L→Ho,m˙oS:Ho→S.


The positive directions correspond to the permanent circulation directions of the two branches:

S→Hi→L,L→Ho→S.


Each branch contains one passive check valve. Its position relative to the heat exchanger is a design choice:

S→CVi→Hi→LorS→Hi→CVi→L,

L→CVo→Ho→SorL→Ho→CVo→S.


The check valve constrains the link on which it is installed; the other link may be bidirectional according to its hydraulic law.


Let H˙ab denote the signed enthalpy transport from volume a toward volume b. For a calorically perfect gas:

H˙ab={m˙abCpTa,m˙ab≥0,m˙abCpTb,m˙ab<0.


The mass balances are then:

m˙S=m˙oS−m˙Si,

m˙i=m˙Si−m˙iL,

m˙L=m˙iL−m˙Lo,

m˙o=m˙Lo−m˙oS.


The corresponding energy balances are:

U˙S=H˙oS−H˙Si−PSV˙S,

U˙i=H˙Si−H˙iL+Q˙i,

U˙L=H˙iL−H˙Lo−PLV˙L,

U˙o=H˙Lo−H˙oS+Q˙o.


These equations are valid during all four phases. The phase determines the prescribed piston motion and the dominant thermodynamic process; the hydraulic laws and pressure differences determine the actual flow rates and check-valve states.


6.2 Phase I — compression

During compression, the two cylinder volumes may decrease simultaneously:

V˙S<0,V˙L<0

over the principal part of the phase.


The pressure rises from the lower exchange-pressure region toward the higher one. Both pistons may contribute to the compression work.


No closed-pair topology is imposed. A check valve may remain open during part of the compression, and gas may continue to move through the hydraulic network. In particular, a cylinder approaching its minimum volume may transfer its remaining gas toward the other cylinder. Heat transfer through Hi and Ho also remains active.


The actual evolution is therefore calculated from the complete balances of §6.1.3. Adiabatic compression is only the reversible reference limit described in §6.1.1.


The end of the compression phase is defined by the prescribed kinematic law, not by a check-valve event.


6.3 Phase II — exchange through Ho: L → Ho → S

The dominant circulation is:

L→Ho→S.


The gas leaves the large-cylinder side, passes through the heat-out branch, and reaches the small-cylinder side. The passive check valve CVo may be located either before or after Ho; in both cases it enforces the same net branch direction.


During the exchange, L acts predominantly as donor and S as receiver. Their volume changes need not have equal magnitudes. In the quasi-isobaric limit their first-order ratio follows the temperature relation derived in §6.1.2.


The heat-out exchanger removes heat from the gas:

Q˙o<0

in the intended operating regime.


The ideal exchange tends toward small pressure differences along the active path and an approximately constant pressure over the phase. The finite real pressure differences required to drive the flow are determined by the hydraulic closure of §5.


The state of the other check valve and any secondary redistribution flow are determined by the instantaneous pressures; they are not prescribed by the phase definition.


6.4 Phase III — expansion

During expansion, the two cylinder volumes may increase simultaneously:

V˙S>0,V˙L>0

over the principal part of the phase.


The pressure decreases from the higher exchange-pressure region toward the lower one. Both pistons may then contribute simultaneously to the work delivered by the gas.


As during compression, no zero-flow or closed-valve condition is imposed. Mass redistribution may continue and both heat exchangers remain thermally active. The complete balances of §6.1.3 therefore remain applicable.


Adiabatic expansion is the reversible reference limit, not a required operating condition of the real machine.


The end of the expansion phase is determined by the prescribed kinematic law independently of the check-valve events.


6.5 Phase IV — exchange through Hi: S → Hi → L

The dominant circulation is:

S→Hi→L.


The gas leaves the small-cylinder side, passes through the heat-in branch, and reaches the large-cylinder side. The passive check valve CVi may be located either before or after Hi; both arrangements impose the same net branch direction.


During the exchange, S acts predominantly as donor and L as receiver. Their required volume changes depend on the temperatures of the gas on the two sides according to the relations of §6.1.2.


The heat-in exchanger supplies heat to the gas:

Q˙i>0

in the intended operating regime.


As in Phase II, the ideal exchange tends toward quasi-pressure-equalized and approximately isobaric operation, while the real mass flow requires finite hydraulic pressure differences.


After this phase, the prescribed kinematics return to the compression region and the four-phase sequence repeats. Thermodynamic closure nevertheless requires the complete state vector, and not only the piston geometry, to be periodic.


6.6 Motor operation

No second set of mass, energy, heat-transfer, or hydraulic equations is required for motor operation.


The physical branch directions remain:

S→Hi→L,L→Ho→S,

and the positions and orientations of the two passive check valves remain unchanged.


Motor operation is obtained by reversing the crank direction:

ω<0,

and exchanging the external reservoirs connected to the two heat exchangers:

Ti,res=Thot,To,res=Tcold.


The geometric cycle is therefore traversed in the opposite direction. Pressure histories, mass flow rates, check-valve events, and the periodic thermodynamic state must all be recalculated; the refrigeration valve chronology is not assumed simply to carry over.


In the intended refrigeration operation, the L→Ho→S transfer occurs on the high-pressure side of the cycle, whereas the S→Hi→L transfer occurs on the low-pressure side.

In the intended motor operation, reversal of the crank direction reverses these pressure roles: L→Ho→S becomes the low-pressure exchange, whereas S→Hi→L becomes the high-pressure exchange.

The physical thermal functions of the exchangers do not change: Hi always transfers heat into the gas and Ho always transfers heat out of the gas.


The heat-in exchanger absorbs heat from the hot reservoir:

Qi>0,

the heat-out exchanger rejects heat to the cold reservoir:

Qo<0,

and motor operation is obtained when:

Wcycle>0.

7. Physical transitions of the check valves

For a check valve oriented from upstream u to downstream d:

Pu−Pd≥ΔPopen⇒opening,

Pu−Pd≤ΔPclose⇒closing,

with hysteresis, if present:

ΔPclose≤ΔPopen.

An opening or closing event changes the admissible hydraulic flow on the valve link; it does not define a kinematic phase boundary and it does not cause any instantaneous jump in the thermodynamic state. For each volume:

mj+=mj−,Uj+=Uj−,Vj+=Vj−.

For an ideal gas:

Tj+=Tj−,Pj+=Pj−.

There is therefore no instantaneous pressure equalization when a check valve opens.

The values Λ∗ may serve as kinematic reference levels at selected phase boundaries; the values actually observed at check-valve events are Λreal=Λ(tevent).

The two passive check valves have permanent branch orientations: one permits circulation along L→Ho→S, the other along S→Hi→L.

Each valve may be installed upstream or downstream of its heat exchanger. Its opening and closing conditions therefore use the pressures immediately adjacent to its actual position.

The opening and closing laws are identical in both operating modes. Only the pressure histories change because the crank kinematics are reversed in motor operation.

8. Work, heat, and performance

The instantaneous work delivered by the gas on the two pistons is calculated during all phases from the actual cylinder pressures:

W˙=PSV˙S+PLV˙L.

The net work over the cycle is:

Wcycle=∫0τ(PSV˙S+PLV˙L)dt.


When the two cylinder pressures are comparable during a pressure-changing phase,

W˙≈P(V˙S+V˙L).

If both cylinders contract during compression, or both expand during expansion, their work contributions therefore add instead of partly cancelling. This allows a larger fraction of the available swept volume to participate in compression and expansion for a comparable pressure history. It does not by itself prove a higher thermal efficiency, because the heat transfers and the resulting pressure history change at the same time.

The exchanged heats are:

Qi=∫0τ(UA)i(Ti,res−Ti)dt,

Qo=∫0τ(UA)o(To,res−To)dt.

In periodic steady operation:

ΔUcycle=0,

and the first law gives:

Qi+Qo=Wcycle.

The refrigeration COP is:

COPc=Qi−Wcycle.

The heat-pump COP is:

COPh=−Qo−Wcycle=COPc+1.

The signs Qi>0, Qo<0, and Wcycle<0 provide checks of the intended refrigeration regime.

For motor operation:

Qi>0,Qo<0,Wcycle>0.

The thermal efficiency is:

ηth=WcycleQi=1+QoQi.

The mean thermodynamic motor power is:

W˙‾=Wcycleτ.


The thermodynamic force exerted by the gas on a piston face may be written Fgas=PS. Net mechanical force, inertia, and friction belong to the subsequent mechanical sizing phase.

9. Gas charge and periodic regime

The total amount of enclosed gas is a physical parameter:

Mtot=mS+mL+mi+mo=const.

It may be imposed directly or defined experimentally by a charging pressure and temperature. The chosen reference configuration is that at t=0, with the large cylinder at maximum volume. If all volumes communicate and are in uniform equilibrium during charging:

Mtot=Pcharge[VS(0)+VL,max+Vi+Vo]RTcharge.

Pcharge and Tcharge define the amount of gas charged; they are not conditions that the periodic cycle must recover.

The established periodic regime is a solution of the system such that, between two successive passages through the maximum volume of the large cylinder with the same kinematic direction:

𝐗(t+τ)=𝐗(t).

Geometric periodicity alone:

Vk(t+τ)=Vk(t),k∈{S,L}.

is not sufficient to guarantee thermodynamic periodicity.

The numerical state used to initialize a calculation may be approximate; it must not be confused with a physical parameter of the machine. The future solver may search for the periodic fixed point by successive cycles, a shooting method, or a Newton method.

10. Parameters, design data, and results

10.1 Prescribed data

  • operating mode;
  • reservoir temperatures Tcold and Thot;
  • signed crank angular velocity ω.
  • working fluid and reference properties R, Cp, Cv, γ;
  • total charge Mtot, or equivalently (Pcharge,Tcharge) in the charging configuration defined in §9;
  • kinematics VS(t), VL(t).

10.2 Design parameters

  • VS,min, VS,max, VL,min, VL,max;
  • Vi, Vo;
  • (UA)i, (UA)o;
  • hydraulic parameters of the heat exchangers, pipes, and check valves, represented at first level by (CdA)eff;
  • thresholds ΔPopen, ΔPclose;
  • position of each check valve upstream or downstream of its heat exchanger;
  • kinematic reference levels ΛL∗, ΛS∗, when used.

10.3 Calculated variables and results

  • mj,Uj,Tj,Pj,j∈{S,L,i,o};
  • internal and external mass flow rates;
  • Q˙i, Q˙o, Qi, Qo;
  • Wcycle, COPc, COPh;
  • ηth in motor operation.
  • pressure, temperature, and flow-rate extrema;
  • actual check-valve events and Λreal;
  • validity criteria εP, Ma, Z, and property variations.

11. Global conservation checks

11.1 Mass conservation

The solver must satisfy:

dMtotdt=0.

A useful numerical residual is:

εM(t)=Mtot(t)−Mtot(0).

11.2 Global energy conservation

Whatever the phase, the internal mass and enthalpy fluxes must cancel when the balances of all volumes are summed. The global balance must reduce to:

dUtotdt=Q˙i+Q˙o−PSV˙S−PLV˙L.

A cumulative energy residual may be defined by:

εE(t)=Utot(t)−Utot(0)−Qi(0,t)−Qo(0,t)+W(0,t).

Over a periodic cycle:

Qi+Qo=Wcycle.

The solver must keep εM and εE close to zero to the expected numerical accuracy.


Appendix A — Symbolic derivations and validated checks

A.1 Pressure equation for a closed pair

For a cylinder + heat-exchanger pair at quasi-uniform pressure:

U=P(Vcyl+VHX)γ−1.

The first law gives:

dUdt=Q˙−PV˙cyl,

with:

Q˙=(UA)HX(THX,res−THX).

Differentiating U:

1γ−1[(Vcyl+VHX)P˙+PV˙cyl]=Q˙−PV˙cyl.

Hence:

P˙=(γ−1)Q˙−γPV˙cylVcyl+VHX.

If Q˙=0:

P˙P=−γV˙V,

then:

PVγ=const.

A.2 Internal flow rate of the pair

For the heat exchanger alone, at fixed volume:

UHX=PVHXγ−1.

Therefore:

VHXγ−1P˙=(UA)HX(THX,res−THX)+m˙intCpTup.

Using Cp=γR/(γ−1):

VHXP˙+(γ−1)(UA)HX(THX−THX,res)=γRTupm˙int.

This recovers the definition of the numerator N and the selection of the upstream temperature according to the sign of the flow rate.

A.3 Evolution of the heat-exchanger temperature within a pair

For a fixed volume:

mHX=PVHXRTHX.

Differentiating:

m˙HXmHX=P˙P−T˙HXTHX.

With m˙HX=m˙int:

T˙HX=THXPP˙−RTHX2PVHXm˙int.

This relation follows solely from mass conservation and the equation of state; it is valid for both flow directions.

A.4 Open quasi-pressure-equalized pair

For a pair receiving m˙ext across its external boundary:

dUdt=m˙extCpText+Q˙−PV˙cyl.

With U=P(Vcyl+VHX)/(γ−1):

P˙=γRTextm˙ext+(γ−1)Q˙−γPV˙cylVcyl+VHX.

If the external stream enters the cylinder and m˙int is positive from cylinder to heat exchanger:

m˙cyl=m˙ext−m˙int,

m˙HX=m˙int.

If instead the external stream enters the heat exchanger first:

m˙cyl=−m˙int,m˙HX=m˙ext+m˙int.

In both cases:

m˙pair=m˙ext.

A.5 Analytical solution for the adiabatic donor cylinder

For an adiabatic, well-mixed cylinder with outflow only:

d(mCvT)dt=−PV˙−m˙outCpT,

and:

m˙=−m˙out.

Expanding:

CvmT˙+CvTm˙=−PV˙+CpTm˙,

thus:

CvmT˙=−PV˙+RTm˙.

With P=mRT/V and R/Cv=γ−1:

dTT=(γ−1)(dmm−dVV).

After integration:

TT0=[mm0V0V]γ−1.

Then, using PV=mRT:

P=P0[mm0V0V]γ.

and:

TT0=(PP0)(γ−1)/γ.

Under these assumptions, the specific entropy of the remaining gas is constant: ds=0. The total entropy of the gas contained in the cylinder is not constant because its mass varies.

A.6 Active heat exchanger: expanded balance

Fundamental balance:

d(mCvT)dt=m˙inCpTin−m˙outCpT+Q˙.

Expanding the left-hand side and using:

m˙=m˙in−m˙out,

one obtains:

T˙=m˙in(CpTin−CvT)−m˙outRT+Q˙Cvm.

Limiting checks:

  • with no flow, the equation recovers the thermal relaxation of a closed volume;
  • with equal steady inlet/outlet flow rates, it recovers mCvT˙=m˙Cp(Tin−T)+Q˙;
  • if Tin=T and m˙in=m˙out, the net contribution of the flow to T˙ vanishes.

A.7 Global mass test

Using the signed link flows defined in §6:

m˙S=−m˙Si+m˙oS,

m˙L=m˙iL−m˙Lo,

m˙i=m˙Si−m˙iL,

m˙o=m˙Lo−m˙oS.


Summing the four equations cancels every internal mass flow exactly:

M˙tot=0.


This result is independent of the active phase, the flow directions on bidirectional links, and the positions of the two check valves.


A.8 Global energy test

Using the signed enthalpy fluxes defined in §6:

U˙S=−PSV˙S−H˙Si+H˙oS,

U˙L=−PLV˙L+H˙iL−H˙Lo,

U˙i=H˙Si−H˙iL+Q˙i,

U˙o=H˙Lo−H˙oS+Q˙o.


All internal enthalpy fluxes cancel exactly when the four balances are summed:

U˙tot=Q˙i+Q˙o−PSV˙S−PLV˙L.


Integrated over a periodic cycle:

Qi+Qo=Wcycle.


A.9 Continuity at transitions

At the instant of a check-valve event, no finite mass or energy can be transferred in zero time. The conserved variables and geometry are therefore continuous:

j∈{S,L,i,o}

mj+=mj−,Uj+=Uj−,Vj+=Vj−.

For an ideal gas:

Tj=UjmjCv,Pj=mjRTjVj,

which implies:

Tj+=Tj−,Pj+=Pj−.

The event only changes the admissible hydraulic flow on the valve link; the thermodynamic state remains continuous.