.ThermofluidStream.Undirected.HeatExchangers.Internal.PartialDiscretizedHEX

Information

This is the partial parent class for undirected discretized heat exchangers. It contains the rear and fore connectors as well as a number of conduction elements (which is set by the parameter nCells) as discrete control volumes to exchange heat between two fluid streams.

The conduction elements are computing a heat transfer coefficient between their heatport and the fluid contained. They are replaceable with a choice between a single-phase and a two-phase version, both can be further parametrized. Although the single-phase version works for two-phase media (not the other way around), using the two-phase one for two-phase media enables to set different heat transfer coefficients depending on the phase (liquid/gaseous/2-phase) state of the medium.

Note that since the model uses conductionElements as discrete control volumes that in turn assume quasi-stationary mass and, therefore, are part of a fluid stream rather than break it into two (like a full volume would), the same holds for both sides of the heat exchanger – they are part of a fluid stream and don't break it. The quasi-stationary mass assumption also implies that for (fast) changing masses/densities in any of the conduction elements the heat exchanger will (slightly) violate the conservation of energy. Furthermore, the conduction elements change their behavior for reversed mass flow, therefore, this model asserts for negative mass flow with the level "DropOfCommons.assertionLevel".

The parameters A (heat transferring area), k_wall (heat transfer coefficient of the wall between the streams) and the heat transfer coefficients in the conduction elements scale the transferred heat (the middle only if the wall and the latter only of the heat transfer into a fluid is the choke of the heatflow).

The parameter V determines the amount of fluid in the heat exchanger and, therefore, the dynamic for non-steady states.

The "Initialization" tab allows for a mass flow initialization for both paths, as well as to determine from which direction the enthalpy in the control volumes should be initialized (fore/rear), or if it should start with a given enthalpy. The other option is to initialize the enthalpy with a given value.

The "Advanced" tab allows to modify the mass flow that triggers the reverse-mass-flow-assertion and has an option to enforce global conservation of energy. The latter is done by feeding back any energy the conduction elements accumulated over time, basically making it impossible to store energy in their fluid long-term. While this enforces long-term conservation of energy, it changes the medium-/short-term dynamics of the system and is, therefore, disabled by default.

Contents

NameDescription
 MediumAMedium model side A
 MediumBMedium model side B
 ConductionElementAHeat transfer element model for side A
 ConductionElementBHeat transfer element model for side B

Generated at 2024-10-30T19:25:41Z by OpenModelicaOpenModelica 1.24.0 using GenerateDoc.mos