Thermodynamic and Mechanical Study: Difference between revisions

From dada-engine.org
No edit summary
No edit summary
Line 15: Line 15:


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


<!--T:7-->
The hydraulic topology is fixed:
The check valves allow <code>H → S</code> during Phase II and <code>C → L</code> during Phase IV.


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


<!--T:9-->
<math>L\to H_o\to S.</math>
* '''Phase I''' — check valves closed, nominally adiabatic: compression on the <code>L+H</code> side;
 
* '''Phase II''' — heat exchange, nominally isothermal: transfer <code>L → H → S</code>, with heat rejection on the hot side;
The passive check valves therefore always allow:
* '''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.
<math>H_i\to L,\qquad H_o\to S.</math>
 
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 comprises four hydraulic/thermodynamic phases:
 
* '''Phase I''' — check valves closed, nominally adiabatic: compression on the <code>L+H_o</code> side;
* '''Phase II''' — heat exchange, nominally isothermal: transfer <code>L → H_o → S</code>, with heat removed from the gas;
* '''Phase III''' — check valves closed, nominally adiabatic: expansion on the <code>S+H_i</code> side;
* '''Phase IV''' — heat exchange, nominally isothermal: transfer <code>S → H_i → L</code>, with heat supplied to the gas.
 
These phase definitions describe the permanent physical topology of the machine. The external reservoir associated with each heat exchanger depends on the operating mode.


<!--T:10-->
<!--T:10-->
Line 79: Line 87:
<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-->
The crank angular velocity is signed:
If the crank rotates at constant angular speed <math display="inline">\omega</math>:
 
<math>\theta(t)=\omega t,\qquad
\dot V_k=\omega\frac{dV_k}{d\theta},
\qquad k\in\{S,L\}.</math>
 
The driven refrigeration direction is chosen as positive:
 
<math>\omega>0.</math>
 
Motor operation uses the opposite crank direction:
 
<math>\omega<0.</math>


<!--T:25-->
The geometric origin is identical in both modes:
<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 114: Line 134:


<!--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>
 
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 145:


<!--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 165:
<math>\dot W=P\dot V.</math>
<math>\dot W=P\dot V.</math>


<!--T:46-->
By definition of the two physical heat exchangers:
For the intended refrigeration operation:
 
<math>Q_i>0,\qquad Q_o<0</math>
 
in the intended operating regime of both refrigeration and motor operation.
 
The net cycle work distinguishes the two modes:
 
<math>W_{\mathrm{cycle}}<0</math>
 
for driven refrigeration operation, whereas:
 
<math>W_{\mathrm{cycle}}>0</math>


<!--T:47-->
for motor operation.
<math>Q_C>0,\qquad Q_H<0,\qquad W_{\mathrm{cycle}}<0.</math>


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


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


<!--T:51-->
<math>T_o>T_{o,\mathrm{res}}
<math>\dot Q_{HX}=(UA)_{HX}(T_{HX,\mathrm{res}}-T_{HX}).</math>
\quad\Rightarrow\quad
\dot Q_o<0.</math>


<!--T:52-->
The reservoir temperatures depend on the operating mode.
<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.


<!--T:53-->
For refrigeration operation:
Cold side:


<!--T:54-->
<math>T_{i,\mathrm{res}}=T_{\mathrm{cold}},\qquad
<math>\dot Q_C=(UA)_C(T_{C,\mathrm{res}}-T_C).</math>
T_{o,\mathrm{res}}=T_{\mathrm{hot}}.</math>


<!--T:55-->
For motor operation:
In refrigeration operation, <math display="inline">T_C<T_{C,\mathrm{res}}</math> gives <math display="inline">\dot Q_C>0</math>.


<!--T:56-->
<math>T_{i,\mathrm{res}}=T_{\mathrm{hot}},\qquad
Hot side:
T_{o,\mathrm{res}}=T_{\mathrm{cold}}.</math>


<!--T:57-->
Thus the heat-transfer equations themselves are identical in both modes.
<math>\dot Q_H=(UA)_H(T_{H,\mathrm{res}}-T_H).</math>


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


<!--T:59-->
<!--T:59-->
Line 382: Line 423:


<!--T:120-->
<!--T:120-->
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.
Both check valves are closed. The <code>L+H_o</code> and <code>S+H_i</code> pairs are closed. The <code>L+H_o</code> side is nominally compressed; the motion of the small piston remains that provided by the actual kinematics.


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


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


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


<!--T:124-->
<!--T:124-->
<math>\dot P_{SC}=
<math>\dot P_{Si}=
\frac{(\gamma-1)(UA)_C(T_{C,\mathrm{res}}-T_C)-\gamma P_{SC}\dot V_S}
\frac{(\gamma-1)(UA)_i(T_{i,\mathrm{res}}-T_i)-\gamma P_{Si}\dot V_S}
{V_S+V_C}.</math>
{V_S+V_i}.</math>


<!--T:125-->
<!--T:125-->
Line 404: Line 445:


<!--T:126-->
<!--T:126-->
The transition to Phase II occurs when the <code>H → S</code> check valve satisfies its opening condition.
The transition to Phase II occurs when the <code>H_o→ S</code> check valve satisfies its opening condition.


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


<!--T:128-->
<!--T:128-->
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-equalized if the criterion <math display="inline">\varepsilon_P\ll1</math> is satisfied.
The gas leaves <code>L</code>, passes through the heat-out exchanger <code>H_o</code>, where it rejects heat, crosses the <code>H_o → S</code> check valve, and then enters the receiving cylinder <code>S</code>. The <code>S+H_i</code> pair remains quasi-pressure-equalized if the criterion <math display="inline">\varepsilon_P\ll1</math> is satisfied.


==== 6.2.1 Donor cylinder L ==== <!--T:129-->
==== 6.2.1 Donor cylinder L ==== <!--T:129-->
Line 450: Line 491:
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.
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.


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


<!--T:140-->
<!--T:140-->
Line 456: Line 497:


<!--T:141-->
<!--T:141-->
<math>\dot m_H=\dot m_{\mathrm{in}}-\dot m_{\mathrm{out}}.</math>
<math>\dot m_o=\dot m_{\mathrm{in}}-\dot m_{\mathrm{out}}.</math>


<!--T:142-->
<!--T:142-->
Line 463: Line 504:
<!--T:143-->
<!--T:143-->
<math>
<math>
\frac{d(m_HC_vT_H)}{dt}
\frac{d(m_oC_vT_o)}{dt}
=\dot m_{\mathrm{in}}C_pT_L
=\dot m_{\mathrm{in}}C_pT_L
-\dot m_{\mathrm{out}}C_pT_H
-\dot m_{\mathrm{out}}C_pT_o
+(UA)_H(T_{H,\mathrm{res}}-T_H)
+(UA)_o(T_{o,\mathrm{res}}-T_o)
.</math>
.</math>


Line 474: Line 515:
<!--T:145-->
<!--T:145-->
<math>
<math>
\dot T_H=
\dot T_o=
\frac{\dot m_{\mathrm{in}}(C_pT_L-C_vT_H)
\frac{\dot m_{\mathrm{in}}(C_pT_L-C_vT_o)
-\dot m_{\mathrm{out}}RT_H
-\dot m_{\mathrm{out}}RT_o
+(UA)_H(T_{H,\mathrm{res}}-T_H)}
+(UA)_o(T_{o,\mathrm{res}}-T_o)}
{C_vm_H}
{C_vm_o}
.</math>
.</math>


Line 485: Line 526:


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


<!--T:148-->
<!--T:148-->
<math>\dot m_{\mathrm{out}}=\Phi_{\mathrm{valve,H}}(P_H,P_{SC},T_H,\ldots).</math>
<math>\dot m_{\mathrm{out}}=\Phi_{\mathrm{valve,H}}(P_o,P_{Si},T_o,\ldots).</math>


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


<!--T:150-->
<!--T:150-->
Line 497: Line 538:
<!--T:151-->
<!--T:151-->
<math>
<math>
\dot P_{SC}=
\dot P_{Si}=
\frac{\gamma R\dot m_{\mathrm{out}}T_H
\frac{\gamma R\dot m_{\mathrm{out}}T_o
+(\gamma-1)(UA)_C(T_{C,\mathrm{res}}-T_C)
+(\gamma-1)(UA)_i(T_{i,\mathrm{res}}-T_i)
-\gamma P_{SC}\dot V_S}
-\gamma P_{Si}\dot V_S}
{V_S+V_C}
{V_S+V_i}
.</math>
.</math>


Line 508: Line 549:


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


=== 6.3 Phase III — check valves closed, nominally adiabatic: expansion on the S side === <!--T:154-->
=== 6.3 Phase III — check valves closed, nominally adiabatic: expansion on the S side === <!--T:154-->


<!--T:155-->
<!--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.
Both check valves are closed. The <code>S+H_i</code> pair expands nominally; the <code>L+H_o</code> pair also remains closed. Neither piston is assumed to be strictly stationary.


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


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


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


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


<!--T:160-->
<!--T:160-->
The transition to Phase IV occurs when the <code>C → L</code> check valve satisfies its opening condition.
The transition to Phase IV occurs when the <code>H_i→ L</code> check valve satisfies its opening condition.


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


<!--T:162-->
<!--T:162-->
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-equalized if the criterion <math display="inline">\varepsilon_P\ll1</math> is satisfied.
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>H_i→ L</code> check valve, and then enters the receiving cylinder <code>L</code>. The <code>L+H_o</code> pair remains quasi-pressure-equalized if the criterion <math display="inline">\varepsilon_P\ll1</math> is satisfied.


==== 6.4.1 Donor cylinder S ==== <!--T:163-->
==== 6.4.1 Donor cylinder S ==== <!--T:163-->
Line 571: Line 612:
Reverse flow requires returning to the complete open-system balance in <math display="inline">(m_S,U_S)</math>.
Reverse flow requires returning to the complete open-system balance in <math display="inline">(m_S,U_S)</math>.


==== 6.4.2 Cold heat exchanger C ==== <!--T:171-->
==== 6.4.2 Cold heat exchanger H_i==== <!--T:171-->


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


<!--T:173-->
<!--T:173-->
Line 581: Line 622:
<!--T:174-->
<!--T:174-->
<math>
<math>
\frac{d(m_CC_vT_C)}{dt}
\frac{d(m_iC_vT_i)}{dt}
=\dot m_{\mathrm{in}}C_pT_S
=\dot m_{\mathrm{in}}C_pT_S
-\dot m_{\mathrm{out}}C_pT_C
-\dot m_{\mathrm{out}}C_pT_i
+(UA)_C(T_{C,\mathrm{res}}-T_C)
+(UA)_i(T_{i,\mathrm{res}}-T_i)
.</math>
.</math>


Line 592: Line 633:
<!--T:176-->
<!--T:176-->
<math>
<math>
\dot T_C=
\dot T_i=
\frac{\dot m_{\mathrm{in}}(C_pT_S-C_vT_C)
\frac{\dot m_{\mathrm{in}}(C_pT_S-C_vT_i)
-\dot m_{\mathrm{out}}RT_C
-\dot m_{\mathrm{out}}RT_i
+(UA)_C(T_{C,\mathrm{res}}-T_C)}
+(UA)_i(T_{i,\mathrm{res}}-T_i)}
{C_vm_C}
{C_vm_i}
.</math>
.</math>


Line 603: Line 644:


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


<!--T:179-->
<!--T:179-->
<math>\dot m_{\mathrm{out}}=\Phi_{\mathrm{valve,C}}(P_C,P_{LH},T_C,\ldots).</math>
<math>\dot m_{\mathrm{out}}=\Phi_{\mathrm{valve,C}}(P_i,P_{Lo},T_i,\ldots).</math>


==== 6.4.3 Receiving pair L+H ==== <!--T:180-->
==== 6.4.3 Receiving pair L+H_o_o==== <!--T:180-->


<!--T:181-->
<!--T:181-->
Line 615: Line 656:
<!--T:182-->
<!--T:182-->
<math>
<math>
\dot P_{LH}=
\dot P_{Lo}=
\frac{\gamma R\dot m_{\mathrm{out}}T_C
\frac{\gamma R\dot m_{\mathrm{out}}T_i
+(\gamma-1)(UA)_H(T_{H,\mathrm{res}}-T_H)
+(\gamma-1)(UA)_o(T_{o,\mathrm{res}}-T_o)
-\gamma P_{LH}\dot V_L}
-\gamma P_{Lo}\dot V_L}
{V_L+V_H}
{V_L+V_o}
.</math>
.</math>


<!--T:183-->
<!--T:183-->
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.
Closing the <code>H_i→ 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.


== 7. Physical transitions of the check valves == <!--T:184-->
== 7. Physical transitions of the check valves == <!--T:184-->
Line 689: Line 730:


<!--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 745:


<!--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 751:


<!--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 757:


<!--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:214-->
<!--T:214-->
Line 730: Line 771:


<!--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 780:
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 770: Line 811:
<!--T:229-->
<!--T:229-->
* 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>;
* reservoir temperatures <math display="inline">T_{i,\mathrm{res}}</math>, <math display="inline">T_{o,\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>, and, where relevant, <math display="inline">\omega</math>.
Line 778: Line 819:
<!--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>;
Line 789: Line 830:
* <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_i</math>, <math display="inline">U_i</math>, <math display="inline">T_i</math>, <math display="inline">P_i</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>;
* pressure, temperature, and flow-rate extrema;
* pressure, temperature, and flow-rate extrema;
Line 820: Line 861:
<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^\star\dot V_S
-P_L^\star\dot V_L
-P_L^\star\dot V_L
Line 832: Line 873:
\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>


Line 1,089: Line 1,130:


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


<!--T:320-->
<!--T:320-->
Line 1,112: Line 1,153:


<!--T:327-->
<!--T:327-->
<math>\dot U_H=\dot m_{\mathrm{in}}h_L-\dot m_{\mathrm{out}}h_H+\dot Q_H,</math>
<math>\dot U_o=\dot m_{\mathrm{in}}h_L-\dot m_{\mathrm{out}}h_H+\dot Q_o,</math>


<!--T:328-->
<!--T:328-->
<math>\dot U_{SC}=\dot m_{\mathrm{out}}h_H+\dot Q_C-P_{SC}\dot V_S.</math>
<math>\dot U_{SC}=\dot m_{\mathrm{out}}h_H+\dot Q_i-P_{Si}\dot V_S.</math>


<!--T:329-->
<!--T:329-->
Line 1,132: Line 1,173:
<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_L\dot V_L-P_{Si}\dot V_S
.</math>
.</math>


Line 1,142: Line 1,183:
<math>
<math>
\dot U_{\mathrm{tot}}
\dot U_{\mathrm{tot}}
=\dot Q_C+\dot Q_H
=\dot Q_i+\dot Q_o
-P_S^\star\dot V_S-P_L^\star\dot V_L
-P_S^\star\dot V_S-P_L^\star\dot V_L
.</math>
.</math>
Line 1,150: Line 1,191:


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


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

Revision as of 10:57, 7 September 2026

1. Scope and method

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.

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;
  • H_i: heat-in exchanger, located on the S → L hydraulic path and transferring heat into the gas;
  • H_o: heat-out exchanger, located on the L → S hydraulic path and transferring heat out of the gas.

The hydraulic topology is fixed:

SHiL,

LHoS.

The passive check valves therefore always allow:

HiL,HoS.

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 comprises four hydraulic/thermodynamic phases:

  • Phase I — check valves closed, nominally adiabatic: compression on the L+H_o side;
  • Phase II — heat exchange, nominally isothermal: transfer L → H_o → S, with heat removed from the gas;
  • Phase III — check valves closed, nominally adiabatic: expansion on the S+H_i side;
  • Phase IV — heat exchange, nominally isothermal: transfer S → H_i → L, with heat supplied to the gas.

These phase definitions describe the permanent physical topology of the machine. The external reservoir associated with each heat exchanger depends on the operating mode.

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

The model is based on the following assumptions:

  • single-phase, ideal and calorically perfect gas;
  • constant properties R, Cp, Cv, γ, with R=CpCv 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 i{S,L}:

Vi,min>0,Vi,max>Vi,min.

The swept volume is:

Vi,swept=Vi,maxVi,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,i=|V˙i|.

A quasi-stationary region denotes an interval in which the displacement or |V˙| remains small compared with the transfer phases. This region corresponds to the “plateau” of the kinematic optimization, without assuming V˙=0 exactly.

2.2 Kinematic closure fraction

To describe the normalized closure of a cylinder:

Λi(t)=Vi,maxVi(t)Vi,maxVi,min,i{S,L}.

Thus Λi=0 corresponds to maximum volume and Λi=1 to minimum volume. The values ΛL and ΛS are nominal kinematic targets at the transitions. The value actually reached at a check-valve event is:

Λreal=Λ(tevent).

The physical transitions remain determined by the pressures; Λ 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,resTi).

In the intended operating regime:

Ti<Ti,resQ˙i>0.

For the heat-out exchanger:

Q˙o=(UA)o(To,resTo).

In the intended operating regime:

To>To,resQ˙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.


A nominally isothermal phase therefore does not mean THX=THX,res: a finite temperature difference is required to transfer finite thermal power when UA is finite.

An indicator of isothermal quality may be defined over a given phase by:

εT=TmaxTminTref.

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:

|Z1|1,

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

εCp=Cp,maxCp,minCp,ref1.

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 formulation of a quasi-pressure-equalized pair

When a cylinder and its heat exchanger are connected by a very low-resistance internal path, the approximation

PcylPHX=Ppair.

may be used. It is acceptable if:

εP=|ΔPint|Ppair1,ΔPint=PcylPHX.

A low internal Mach number provides an additional check:

Maint=|uint|a1,

but it is not sufficient on its own to guarantee pressure equalization.

4.1 Closed-pair case

For a closed pair, with fixed VHX and V=Vcyl+VHX:

dPdt=(γ1)(UA)HX(THX,resTHX)γPV˙cylVcyl+VHX.

When (UA)HX=0:

P(Vcyl+VHX)γ=const.

4.2 Internal redistribution flow rate

The internal flow rate is defined as positive from cylinder → heat exchanger. Let:

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

The flow carries the enthalpy of the upstream state:

m˙int={NγRTcyl,N0(cylHX),NγRTHX,N<0(HXcyl).

The heat-exchanger temperature evolves according to:

T˙HX=THXPP˙RTHX2PVHXm˙int.

4.3 Open receiving pair

During an active phase, the external flow physically enters the receiving cylinder, not directly its associated heat exchanger. If m˙ext>0 enters the cylinder at temperature Text:

P˙=γRTextm˙ext+(γ1)(UA)HX(THX,resTHX)γPV˙cylVcyl+VHX.

The masses satisfy:

m˙cyl=m˙extm˙int,m˙HX=m˙int,

and therefore:

m˙pair=m˙ext.

The closed case is obtained immediately with m˙ext=0.

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 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.

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 rrcrit:

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

6.1 Phase I — check valves closed, nominally adiabatic: compression on the L side

Both check valves are closed. The L+H_o and S+H_i pairs are closed. The L+H_o side is nominally compressed; the motion of the small piston remains that provided by the actual kinematics.

For L+H_o:

P˙Lo=(γ1)(UA)o(To,resTo)γPLoV˙LVL+Vo.

For S+H_i:

P˙Si=(γ1)(UA)i(Ti,resTi)γPSiV˙SVS+Vi.

The internal redistribution and temperature equations of §4 apply to both pairs.

The transition to Phase II occurs when the H_o→ S check valve satisfies its opening condition.

6.2 Phase II — heat exchange, nominally isothermal: L → H_o → S

The gas leaves L, passes through the heat-out exchanger H_o, where it rejects heat, crosses the H_o → S check valve, and then enters the receiving cylinder S. The S+H_i pair remains quasi-pressure-equalized if the criterion εP1 is satisfied.

6.2.1 Donor cylinder L

The fundamental balance is:

d(mLCvTL)dt=PLV˙Lm˙L,outCpTL.

The kinematics are designed to maintain an outflow from the donor cylinder. In this case, the analytical solution is:

TLTL,ref=[mLmL,refVL,refVL]γ1

and:

PL=PL,ref[mLmL,refVL,refVL]γ.

One also obtains:

TLTL,ref=(PLPL,ref)(γ1)/γ,

and the specific entropy of the remaining gas satisfies ds=0 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 (mL,UL) must be used.

6.2.2 Hot heat exchanger H_o

Mass conservation:

m˙o=m˙inm˙out.

Fundamental energy balance:

d(moCvTo)dt=m˙inCpTLm˙outCpTo+(UA)o(To,resTo).

In expanded form:

T˙o=m˙in(CpTLCvTo)m˙outRTo+(UA)o(To,resTo)Cvmo.

The flow rates are determined by the hydraulic laws:

m˙in=ΦHX,H(PL,Po,TL,),

m˙out=Φvalve,H(Po,PSi,To,).

6.2.3 Receiving pair S+H_i

The flow from H enters S. The pair pressure satisfies:

P˙Si=γRm˙outTo+(γ1)(UA)i(Ti,resTi)γPSiV˙SVS+Vi.

The internal redistribution equations of §4 remain unchanged: the external flow acts on heat exchanger C indirectly through the evolution of the pair pressure.

The transition to Phase III is the closing event of the H_o→ S check valve.

6.3 Phase III — check valves closed, nominally adiabatic: expansion on the S side

Both check valves are closed. The S+H_i pair expands nominally; the L+H_o pair also remains closed. Neither piston is assumed to be strictly stationary.

For S+H_i:

P˙Si=(γ1)(UA)i(Ti,resTi)γPSiV˙SVS+Vi.

For L+H_o:

P˙Lo=(γ1)(UA)o(To,resTo)γPLoV˙LVL+Vo.

The transition to Phase IV occurs when the H_i→ L check valve satisfies its opening condition.

6.4 Phase IV — heat exchange, nominally isothermal: S → H_i→ L

The gas leaves S, passes through the cold heat exchanger C, where it receives heat from the cold reservoir, crosses the H_i→ L check valve, and then enters the receiving cylinder L. The L+H_o pair remains quasi-pressure-equalized if the criterion εP1 is satisfied.

6.4.1 Donor cylinder S

The fundamental balance is:

d(mSCvTS)dt=PSV˙Sm˙S,outCpTS.

For outflow guaranteed by the kinematic design:

TSTS,ref=[mSmS,refVS,refVS]γ1

and:

PS=PS,ref[mSmS,refVS,refVS]γ.

Reverse flow requires returning to the complete open-system balance in (mS,US).

6.4.2 Cold heat exchanger H_i

m˙i=m˙inm˙out.

The fundamental energy balance is:

d(miCvTi)dt=m˙inCpTSm˙outCpTi+(UA)i(Ti,resTi).

In expanded form:

T˙i=m˙in(CpTSCvTi)m˙outRTi+(UA)i(Ti,resTi)Cvmi.

The flow rates are determined by:

m˙in=ΦHX,C(PS,Pi,TS,),

m˙out=Φvalve,C(Pi,PLo,Ti,).

6.4.3 Receiving pair L+H_o_o

The flow from C enters L. The pair pressure satisfies:

P˙Lo=γRm˙outTi+(γ1)(UA)o(To,resTo)γPLoV˙LVL+Vo.

Closing the H_i→ L check valve returns the system to Phase I. Geometric closure of the pistons alone is not sufficient to guarantee thermodynamic closure of the cycle.

7. Physical transitions of the check valves

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

PuPdΔPopenopening,

PuPdΔPcloseclosing,

with hysteresis, if present:

ΔPcloseΔPopen.

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:

mi+=mi,Ui+=Ui,Vi+=Vi.

For an ideal gas:

Ti+=Ti,Pi+=Pi.

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

The values Λ serve as kinematic design targets; the values actually observed at the transitions are Λreal=Λ(tevent).

8. Work, heat, and coefficient of performance

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

W˙=PSV˙S+PLV˙L.

PS and PL 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-equalized pair, and its own pressure when it is a hydraulically isolated donor.

The net work over the cycle is:

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

The exchanged heats are:

Qi=0τ(UA)i(Ti,resTi)dt,

Qo=0τ(UA)o(To,resTo)dt.

In periodic steady operation:

ΔUcycle=0,

and the first law gives:

Qi+Qo=Wcycle.

The refrigeration COP is:

COPc=QiWcycle.

The heat-pump COP is:

COPh=QoWcycle=COPc+1.

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

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 stage.

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:

Vi(t+τ)=Vi(t)

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

  • working fluid and reference properties R, Cp, Cv, γ;
  • reservoir temperatures Ti,res, To,res;
  • total charge Mtot, or equivalently (Pcharge,Tcharge) in the charging configuration defined in §9;
  • kinematics VS(t), VL(t), and, where relevant, ω.

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;
  • kinematic targets ΛL, ΛS.

10.3 Calculated variables and results

  • mi, Ui, Ti, Pi;
  • internal and external mass flow rates;
  • Q˙i, Q˙o, Qi, Qo;
  • Wcycle, COPc, COPh;
  • pressure, temperature, and flow-rate extrema;
  • actual check-valve events and Λreal;
  • isothermal quality εT;
  • 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˙oPSV˙SPLV˙L.

A cumulative energy residual may be defined by:

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

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,resTHX).

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,resTHX)+m˙intCpTup.

Using Cp=γR/(γ1):

VHXP˙+(γ1)(UA)HX(THXTHX,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˙PT˙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 receiving pair

For a pair receiving m˙ext into its cylinder:

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

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

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

The local mass balance:

m˙cyl=m˙extm˙int,

m˙HX=m˙int,

immediately gives:

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)(dmmdVV).

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˙inCpTinm˙outCpT+Q˙.

Expanding the left-hand side and using:

m˙=m˙inm˙out,

one obtains:

T˙=m˙in(CpTinCvT)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(TinT)+Q˙;
  • if Tin=T and m˙in=m˙out, the net contribution of the flow to T˙ vanishes.

= A.7 Global mass test during an active phase

For Phase II:

m˙L=m˙in,

m˙o=m˙inm˙out,

m˙SC=m˙out.

Summing:

M˙tot=0.

Phase IV gives exactly the same result by symmetry.

= A.8 Global energy test during an active phase

For Phase II:

U˙L=PLV˙Lm˙inhL,

U˙o=m˙inhLm˙outhH+Q˙o,

U˙SC=m˙outhH+Q˙iPSiV˙S.

The internal enthalpy fluxes cancel exactly:

m˙inhL+m˙inhL=0,

m˙outhH+m˙outhH=0.

What remains is:

U˙tot=Q˙i+Q˙oPLV˙LPSiV˙S.

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:

U˙tot=Q˙i+Q˙oPSV˙SPLV˙L.

Integrated over a periodic cycle, this relation gives:

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:

mi+=mi,Ui+=Ui,Vi+=Vi.

For an ideal gas:

Ti=UimiCv,Pi=miRTiVi,

which implies:

Ti+=Ti,Pi+=Pi.

The event only creates a change in hydraulic topology and in the active system of equations.