Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PartialNTU Time Constant #207

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ThermofluidStream/HeatExchangers/CounterFlowNTU.mo
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,12 @@ equation
<p>The equations are derived from the generic effectiveness-NTU relations which can be found in the &quot;VDI W&auml;rmeatlas&quot; and noumerous standard literature.</p>
<p>For stream dominated applications the following assumptions are made for mass flow regularization close to zero:</p>
<p>- if the mass flow on both sides of the heat exchanger is zero, no heat is transferred</p>
<p>
The heat exchanger time constant <code>TC</code> is necessary to ensure robust simulation. It can approximate the transient behavior using a first order ODE.
The time constant is related to the ratio of thermal inertia (wall + fluid) <code>dU/dT</code> to enthalpy flow rate 'inertia' <code>dH_flow/dT</code>:
</p>
<p>
<code>TC ~ (m_Wall*c_Wall + m_Fluid*c_Fluid)/(m_flow*c_Fluid)</code>.
</p>
</html>"));
end CounterFlowNTU;
7 changes: 7 additions & 0 deletions ThermofluidStream/HeatExchangers/CrossFlowNTU.mo
Original file line number Diff line number Diff line change
Expand Up @@ -173,5 +173,12 @@ equation
<p>The equations are derived from the generic effectiveness-NTU relations which can be found in the &quot;VDI W&auml;rmeatlas&quot; and noumerous standard literature.</p>
<p>For stream dominated applications the following assumptions are made for mass flow regularization close to zero:</p>
<p>- if the mass flow on both sides of the heat exchanger is zero, no heat is transferred</p>
<p>
The heat exchanger time constant <code>TC</code> is necessary to ensure robust simulation. It can approximate the transient behavior using a first order ODE.
The time constant is related to the ratio of thermal inertia (wall + fluid) <code>dU/dT</code> to enthalpy flow rate 'inertia' <code>dH_flow/dT</code>:
</p>
<p>
<code>TC ~ (m_Wall*c_Wall + m_Fluid*c_Fluid)/(m_flow*c_Fluid)</code>.
</p>
</html>"));
end CrossFlowNTU;
9 changes: 8 additions & 1 deletion ThermofluidStream/HeatExchangers/Internal/PartialNTU.mo
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ partial model PartialNTU "Partial heat exchanger model using the epsilon-NTU met
annotation (Dialog(tab="Advanced"));
parameter Modelica.Units.SI.MassFlowRate m_flow_reg=dropOfCommons.m_flow_reg "Nominal mass flow rate for regularization"
annotation (Dialog(tab="Advanced", group="Regularization parameters"));
parameter Modelica.Units.SI.Time TC=0.01 "Time constant for specific enthalpy difference dh"
parameter Modelica.Units.SI.Time TC=0.01 "Heat exchanger time constant"
annotation (Dialog(tab="Advanced"));

// ------ Parameter Display Configuration ------------------------
Expand Down Expand Up @@ -231,5 +231,12 @@ flow regularization close to zero:
is transferred
</li>
</ul>
<p>
The heat exchanger time constant <code>TC</code> is necessary to ensure robust simulation. It can approximate the transient behavior using a first order ODE.
The time constant is related to the ratio of thermal inertia (wall + fluid) <code>dU/dT</code> to enthalpy flow rate 'inertia' <code>dH_flow/dT</code>:
</p>
<p>
<code>TC ~ (m_Wall*c_Wall + m_Fluid*c_Fluid)/(m_flow*c_Fluid)</code>.
</p>
</html>"));
end PartialNTU;
Loading