modelHEXtubes

Extends from HEXtubesDefinition.

Information

Here come the equations missing in the HEXtubesDefinition model. The model has the elements and equations common to forced convection and gas condensation.
It is not clear how to calculate the average wall temperature used to introduce corrections in the calculated heat transfer coefficient. I see three possibilities:
· The average temperature of both streams at both ends.
· Split the temperature difference (between the two streams average temperatures) according to the respective heat trasfer resistance of each flow. It seems better, as it is clear that the wall temperature will be closer to the stream with less heat transfer resistance.
· Calculate a wall temperature that will produce the same heat transfer considering the LMTD between this temperature and one of the streams. This is a more complex calculation, and I have not checked that the obtained temperature is the same for both streams.
For now, split the temperature according to the resistance seems the best option.

Parameters

TypeNameDefaultDescription
Flow data
Modelica.Units.SI.DistanceiElevDiff (from HEXtubesDefinition)0inner pipe differential elevation: out elev. - in elev.
Modelica.Units.SI.DistanceoElevDiff (from HEXtubesDefinition)0outer flow differential elevation: out elev. - in elev.
RealiNumVelocityHeads (from HEXtubesDefinition)2*iNumSerialinner flow number of velocity heads to consider in pressure loss
IntegeriNumUturns (from HEXtubesDefinition)iNumSerial - 1number of U turns in each exchanger
Inner pipe data
BooleaniIsCircular (from HEXtubesDefinition)trueif false, the inner pipe is not circular
Modelica.Units.SI.DistanceiDi (from HEXtubesDefinition)0.0inner pipe internal diameter, if circular
Modelica.Units.SI.AreaiSection (from HEXtubesDefinition)0inner pipe flow section, if not circular
Modelica.Units.SI.DistanceiPerimeter (from HEXtubesDefinition)0inner pipe perimeter, if not circular
Modelica.Units.SI.DistanceiThickness (from HEXtubesDefinition)1e-3inner pipe thickness
Modelica.Units.SI.DistanceiRoughness (from HEXtubesDefinition)1.5e-005inner pipe roughness. SS:1.5e-5, Steel new:4.6e-5, Steel old:2.0e-4, Concrete:1.5e-3
Modelica.Units.SI.DensityiRhoWall (from HEXtubesDefinition)8000inner pipe wall density
Modelica.Units.SI.ThermalConductivityiKwall (from HEXtubesDefinition)16inner pipe wall thermal conductivity. Al=210, Cu=390, Steel=50, SS=17
Modelica.Units.SI.DistanceiLTube (from HEXtubesDefinition)0stright length of each individual inner pipe
IntegeriNumPipes (from HEXtubesDefinition)1number of inner pipes that form a common pass
IntegeriNumParallel (from HEXtubesDefinition)1number of parallel inner passes. Normally it is the number of exchangers
IntegeriNumSerial (from HEXtubesDefinition)2number of serial inner passes (Each hairpin has two serial passes)
Heat transfer
Modelica.Units.SI.ThermalInsulanceiFoulingF (from HEXtubesDefinition)0.0002inner pipe side fouling factor.Typical: 0.00018 for thermal oil, or treated cooling water
Modelica.Units.SI.ThermalInsulanceoFoulingF (from HEXtubesDefinition)0.0002outer flow fouling factor.Typical: 0.00018 for thermal oil, or treated cooling water
BooleanuseHTcorr (from HEXtubesDefinition)trueif true, the heat transfer correction factor is used
BooleancounterCurrent (from HEXtubesDefinition)truetrue if flow is counter-current, otherwise it will be considered co-current
Fins data
BooleanuseFins (from HEXtubesDefinition)falseif true, fins are taken into account in calculations
Modelica.Units.SI.DensityfinRho (from HEXtubesDefinition)0fin density. Al=2700, Cu=8930, Steel=7830, SS=8000
Modelica.Units.SI.ThermalConductivityfinK (from HEXtubesDefinition)0fin thermal conductivity. Al=210, Cu=390, Steel=50, SS=17
Modelica.Units.SI.DistancefinThickness (from HEXtubesDefinition)0.0fin thickness

Connectors

TypeNameDefaultDescription
FreeFluids.Interfaces.FluidPortAIin (from HEXtubesDefinition)
FreeFluids.Interfaces.FluidPortBIout (from HEXtubesDefinition)
FreeFluids.Interfaces.FluidPortAOin (from HEXtubesDefinition)
FreeFluids.Interfaces.FluidPortBOout (from HEXtubesDefinition)

Components

TypeNameDefaultDescription
IntegerItotalNumPipes (from HEXtubesDefinition)total number of individual inner pipes
Modelica.Units.SI.DistanceIiPerimeter (from HEXtubesDefinition)inner pipe internal wetted perimeter
Modelica.Units.SI.AreaIiSection (from HEXtubesDefinition)inner pipe internal flow section
Modelica.Units.SI.DistanceIDh (from HEXtubesDefinition)internal pipe hydraulic diameter
Modelica.Units.SI.AreaIiArea (from HEXtubesDefinition)total inner pipes internal heat transfer area
Modelica.Units.SI.DistanceIoPerimeter (from HEXtubesDefinition)inner pipe external perimeter
Modelica.Units.SI.AreaIoSection (from HEXtubesDefinition)inner pipe external section
Modelica.Units.SI.AreaIoArea (from HEXtubesDefinition)total inner pipes external heat transfer area
MediumI.ThermodynamicStateIStateIn (from HEXtubesDefinition)inner flow inlet state
MediumI.ThermodynamicStateIStateOut (from HEXtubesDefinition)inner flow outlet state
Modelica.Units.SI.TemperatureITin (from HEXtubesDefinition)inner flow inlet temperature
Modelica.Units.SI.TemperatureITout (from HEXtubesDefinition)iiner flow outlet temperature
Modelica.Units.SI.TemperatureIT (from HEXtubesDefinition)inner pipe average temperature
MediumI.ThermodynamicStateIStateWall (from HEXtubesDefinition)inner pipe wall state for correction factors calculation
Modelica.Units.SI.TemperatureITwall (from HEXtubesDefinition)inner pipe wall temperature
Modelica.Units.SI.DynamicViscosityIMuWall (from HEXtubesDefinition)inner pipe wall dynamic viscosity
RealIPlossCorr (from HEXtubesDefinition)internal pipe pressure loss correction factor
Modelica.Units.SI.AbsolutePressureIPloss (from HEXtubesDefinition)internal pipe pressure loss by friction, without taking into account the nozzles
RealIHTcorr (from HEXtubesDefinition)internal pipe heat transfer correction factor
Modelica.Units.SI.NusseltNumberINu (from HEXtubesDefinition)inner pipe Nusselt number
Modelica.Units.SI.CoefficientOfHeatTransferIH (from HEXtubesDefinition)inner pipe average heat transfer coefficient
MediumO.ThermodynamicStateOStateIn (from HEXtubesDefinition)outer flow inlet state
MediumO.ThermodynamicStateOStateOut (from HEXtubesDefinition)outer flow outlet state
Modelica.Units.SI.TemperatureOTin (from HEXtubesDefinition)outer flow inlet temperature
Modelica.Units.SI.TemperatureOTout (from HEXtubesDefinition)outer flow outlet temperature
Modelica.Units.SI.TemperatureOT (from HEXtubesDefinition)outer flow average temperature
Modelica.Units.SI.LengthIEquivLength (from HEXtubesDefinition)internal pipe equivalent length for pressure drop
RealOPlossCorr (from HEXtubesDefinition)outer flow pressure loss correction factor
Modelica.Units.SI.AbsolutePressureOPloss (from HEXtubesDefinition)outer flow pressure loss by friction
Modelica.Units.SI.AreaOiArea (from HEXtubesDefinition)total outer flow internal area for heat transfer
FractionOiEfficiency (from HEXtubesDefinition)outer flow internal area efficiency
Modelica.Units.SI.NusseltNumberONu (from HEXtubesDefinition)outer flow nusselt number for internal heat transfer
Modelica.Units.SI.CoefficientOfHeatTransferOHi (from HEXtubesDefinition)outer flow average heat transfer coefficient to inner pipe
Modelica.Units.SI.ThermalResistanceTRii (from HEXtubesDefinition)total resitance for the transfer between inner fluid and inner wall
Modelica.Units.SI.ThermalResistanceTRio (from HEXtubesDefinition)total resitance for the transfer between outer fluid and inner wall
Modelica.Units.SI.ThermalResistanceTRi (from HEXtubesDefinition)total resitance for the transfer between inner and outer fluids
Modelica.Units.SI.CoefficientOfHeatTransferUi (from HEXtubesDefinition)global heat transfer coefficient referenced to total inner flow area
Modelica.Units.SI.TemperatureDifferenceILMTD (from HEXtubesDefinition)LMTD between inner and outer fluids
FractionILMTDcorr (from HEXtubesDefinition)internal LMTD correction factor
RealRntu (from HEXtubesDefinition)
RealNTU (from HEXtubesDefinition)
Modelica.Units.SI.PowerIW (from HEXtubesDefinition)heat exchanged between inner and outer fluids. Positive if heat enters the inner fluid
Modelica.Units.SI.AreaIiArea1 (from HEXtubesDefinition)total inner pipes internal heat transfer area used in first stage transfer
Modelica.Units.SI.ThermalResistanceTRi1 (from HEXtubesDefinition)total resitance for the transfer between inner and outer fluids in the first stage