modelHalfCoilCondensing

Extends from HalfCoilPhysical, PipeCondensing.

Parameters

TypeNameDefaultDescription
Physical data
Modelica.Units.SI.DiameterbasePipeDi (from HalfCoilPhysical)0Internal diameter of the base pipe used
Modelica.Units.SI.AnglebasePipeAngle (from HalfCoilPhysical)Modelica.Constants.pisector of the full pipe used
Realnum (from HalfCoilPhysical)0total number of spires
Modelica.Units.SI.Distancepath (from HalfCoilPhysical)0distance between centers of coil spires in meters
BooleanisBottomJacket (from HalfCoilPhysical)false
Modelica.Units.SI.DiameterlowerHalfCoilDiam (from HalfCoilPhysical)0
Modelica.Units.SI.DiameterlargerHalfCoilDiam (from HalfCoilPhysical)0
BooleanuseTubeLength (from PipePhysical)trueuse the supplied length
Modelica.Units.SI.DistancelTube (from PipePhysical)0supplied individual tube length
BooleanfixNumTubes (from PipePhysical)trueif true fixes the number of tubes to numTubes
IntegernumTubes (from PipePhysical)1number of parallel identical paths
BooleanisCircular (from PipePhysical)truethe pipe is circular in shape
BooleanuseDiameter (from PipePhysical)truethe supplied diameter will be used for calculation of section and perimeter
Modelica.Units.SI.Distancedi (from PipePhysical)0.0supplied internal diameter if path is circular
BooleanuseSectionAndPerimeter (from PipePhysical)falsethe supplied section and perimeter will be used
Modelica.Units.SI.Areasection (from PipePhysical)0supplied pipe section if not circular
Modelica.Units.SI.Distanceperimeter (from PipePhysical)0supplied perimeter if not circular
Modelica.Units.SI.Distancethickness (from PipePhysical)1e-3pipe thickness. Vessel wall thickness for halfcoils
Modelica.Units.SI.Distanceroughness (from PipePhysical)1.5e-005pipe roughness. SS:1.5e-5, Steel new:4.6e-5, Steel old:2.0e-4, Concrete:1.5e-3
Modelica.Units.SI.DistancethicknessInsul (from PipePhysical)0insulation thickness
Modelica.Units.SI.DensityrhoWall (from PipePhysical)8000
Ports links
BooleanuseElevDifference (from TwoFluidPorts)trueintroduces, or not, an equation for the ports elevation. Use only in one connector
FreeFluids.Types.ElevationOptionelevCalcMethod (from TwoFluidPorts)FreeFluids.Types.ElevationOption.differentialif useElevDifference==true, selects the equation to use: differential, or absolute for PortB
Modelica.Units.SI.LengthelevDifference (from TwoFluidPorts)0.0used only if previously selected. Positive if PortB higher than PortA
Modelica.Units.SI.LengthportBelevation (from TwoFluidPorts)0.0used only if previously selected.
BooleancalcEnthalpyDifference (from TwoFluidPorts)trueif true, will calculate the enthalpy difference between ports. Use only in one connector
BooleanpassComposition (from TwoFluidPorts)trueif true, the equation PortA.X=PortB.X will be activated
Flow
IntegernumActiveTubes (from Pipe)numTubesnumber of parallel identical paths used with flow. Default=numTubes
RealpipeComplexity (from Pipe)0Approx. estimation of equivalent length,0=not used,0.25=supply lines,0.5=long runs, 1=normal,2=valves,4=complex valves
RealequivL_Di (from Pipe)0Equivalent length of accesories as multiples of Di
RealnumVelocityHeads (from Pipe)0number of velocity heads for pressure loss
Modelica.Units.SI.Areakv (from Pipe)0This allows for special head loses to be incorporated inside the pipe calculation via Kv
Fractionaperture (from Pipe)1Fraction of Kv used
BooleanfullBore (from Pipe)truetrue if the full pipe section is used for flow
BooleanisCompressibleFlow (from Pipe)falseindicates if kinetic energy and momentum are taken into account or not
BooleantwoPhaseFlow (from PipeFlowBase)falseindicates if there is a two phase flow
Heat transfer
FreeFluids.Types.ThermalTypethermalType (from PipeFlowBase)FreeFluids.Types.ThermalType.detailedAlternatives: detailed, isenthalpic, adiabatic, isothermal, fixed W, fixed deltaT. If detailed, W calculation must be supplied
Modelica.Units.SI.HeatFlowRatefixedW (from PipeFlowBase)0Heat exchange if thermaltype = fixedPower. Positive if heat enters the tube
Modelica.Units.SI.TemperatureDifferencefixedDeltaT (from PipeFlowBase)0fixed T diff. between ports if thermalType = fixedDeltaT. Positive if Tb > Ta
Modelica.Units.SI.ThermalConductivitykWall (from PipeCondensingBase)16Wall thermal conductivity. typical value for SS=16.7
Modelica.Units.SI.ThermalConductivitykInsul (from PipeCondensingBase)0.04Insulation thermal conductivity. Typical value for glass fiber=0.04 W/(K·m)
Modelica.Units.SI.ThermalInsulancefoulingF (from PipeCondensingBase)0.0002Tube side fouling factor.Typical: 0.00018 for thermal oil, or treated cooling water
BooleanuseWallsResistance (from PipeCondensingBase)falseif true, will calculate Twall-Tsurf according to wall conduction, otherwise Twall=Tsurf
RealemissionCoef (from PipeCondensingBase)0.26emission coefficient of surface typical values: Aluminium:0.1, SS:0.15, dirty metal: 0.45, non-metallic:0.94
BooleanfullHTperimeter (from PipeCondensingBase)trueindicates if all active perimeter is used in heat transfer. It is false for halfpipes
CondensationOptioncondensationOption (from PipeCondensing)FreeFluids.Types.CondensationOption.totalCondensation
BooleanuseThermalConnector (from PipeCondensing)trueif true, the thermal connector will be used for heat transfer. Otherwise a specific calculation must be coded

Connectors

TypeNameDefaultDescription
FreeFluids.Interfaces.FluidPortAPortA (from TwoFluidPorts)
FreeFluids.Interfaces.FluidPortBPortB (from TwoFluidPorts)
FreeFluids.Interfaces.HeatPortBPortH (from PipeCondensing)

Components

TypeNameDefaultDescription
Modelica.Units.SI.DiameterHalfCoilDiam (from HalfCoilPhysical)Half coil diameter
Modelica.Units.SI.DistanceHalfCoilHeigth (from HalfCoilPhysical)
Modelica.Units.SI.AreaSauxHT (from HalfCoilPhysical)free surface between active spires
Modelica.Units.SI.AreaSiActive (from HalfCoilPhysical)active pipe internal surface
Modelica.Units.SI.AreaPathSection (from HalfCoilPhysical)Internal section of the tube. But not the flow section if double pipe
Modelica.Units.SI.DistancePathPerimeter (from HalfCoilPhysical)Internal perimeter of the tube. But not the flow perimeter if double pipe
Modelica.Units.SI.DistanceLtotal (from HalfCoilPhysical)total pipe length, as necessary for obtainning its total weight
Modelica.Units.SI.AreaSactiveHT (from HalfCoilPhysical)internal surface potentially active for heat transfer, due to partial perimeter usage
Modelica.Units.SI.DiameterDi (from PipePhysical)pipe internal diameter only if circular, otherwise four times Section/Perimeter
Modelica.Units.SI.DistanceLtube (from PipePhysical)pipe path length, as necessary for obtainning friction loss
IntegerNumTubes (from PipePhysical)number of parallel identical paths
Modelica.Units.SI.AreaSiTube (from PipePhysical)each tube internal surface
Modelica.Units.SI.AreaSiTotal (from PipePhysical)total pipe internal surface
Modelica.Units.SI.VolumeViTube (from PipePhysical)each tube internal volume
Modelica.Units.SI.VolumeViTotal (from PipePhysical)total pipe internal volume
Modelica.Units.SI.DiameterDo (from PipePhysical)pipe external diameter
Modelica.Units.SI.DiameterDinsul (from PipePhysical)pipe diameter with insulation
Modelica.Units.SI.AreaSoTube (from PipePhysical)each tube external surface
Modelica.Units.SI.AreaSoTotal (from PipePhysical)total pipe external surface
Modelica.Units.SI.VolumeVoTube (from PipePhysical)each tube external volume
Modelica.Units.SI.VolumeVoTotal (from PipePhysical)total pipe external volume
Modelica.Units.SI.AreaSinsulTube (from PipePhysical)each tube insulation surface
Modelica.Units.SI.AreaSinsulTotal (from PipePhysical)total pipe insulation surface
Modelica.Units.SI.MassMassPipeTotal (from PipePhysical)total mass of the pipe
Modelica.Units.SI.SpecificEnthalpyHdiff (from TwoFluidPorts)specific enthalpy difference: Port B - Port A
Modelica.Units.SI.PressureDifferencePdiff (from TwoFluidPorts)pressure difference: Port B - Port A
IntegerNumActiveTubes (from Pipe)number of parallel identical paths used with flow.
RealSlope (from Pipe)pipe slope as (PortB.Elevation-PortA.Elevation)/Ltube
Modelica.Units.SI.VolumeViActive (from Pipe)active pipe internal volume
Modelica.Units.SI.AreaSoActive (from Pipe)active pipe external surface
Modelica.Units.SI.VolumeVoActive (from Pipe)active pipe external volume
Modelica.Units.SI.AreaSinsulActive (from Pipe)active pipe external surface
Modelica.Units.SI.DistanceLeTube (from Pipe)equivalent length of the pipe for pressure loss
Modelica.Units.SI.AreaPathSectionActive (from Pipe)section of each tube used for flow calculation
Modelica.Units.SI.DistancePathPerimeterActive (from Pipe)perimeter of each tube used for flow calculation
Modelica.Units.SI.DiameterDh (from Pipe)four time the hydraulic radius
Modelica.Units.SI.MassMassProductTotal (from Pipe)Mass of product inside all the tubes
Modelica.Units.SI.PressurePLossFriction (from Pipe)friction head loss
Modelica.Units.SI.VelocityVa (from PipeFlowBase)
Modelica.Units.SI.VelocityVb (from PipeFlowBase)
Medium.DensityRhoA (from PipeFlowBase)density at Port A
Medium.DensityRhoB (from PipeFlowBase)density at PortB
Medium.ThermodynamicStateStateA (from PipeFlowBase)state at PortA
Medium.ThermodynamicStateStateB (from PipeFlowBase)state at PortB
Modelica.Units.SI.VolumeFlowRateQa (from PipeFlowBase)volume flow rate at PortA
Modelica.Units.SI.VolumeFlowRateQb (from PipeFlowBase)volume flow rate at PortB
Medium.TemperatureTa (from PipeFlowBase)
Medium.TemperatureTb (from PipeFlowBase)
Modelica.Units.SI.PowerW (from PipeFlowBase)heat transfer between fluid and wall. Positive if fluid inputs heat
Medium.TemperatureTwallC (from PipeCondensingBase)average wall temperature (tube inside) along condensation
Medium.TemperatureTsurfC (from PipeCondensingBase)average superficial temperature (tube outside) along condensation
Modelica.Units.SI.CoefficientOfHeatTransferHc (from PipeCondensingBase)average heat transfer coefficient along condensation
Medium.ThermodynamicStateStateFilm (from PipeCondensingBase)average state for condensation film physical properties calculation
Modelica.Units.SI.DensityRhoFilm (from PipeCondensingBase)liquid density at film temperature
Medium.DensityRhoG (from PipeCondensingBase)saturated gas density
Medium.DynamicViscosityMuG (from PipeCondensingBase)dynamic viscosity of saturated gas
Modelica.Units.SI.SpecificEnergyHvc (from PipeCondensingBase)gas cooling plus condensation heat(J/kg). Inlet can be sligthly superheated
Medium.MassFractionXin (from PipeCondensingBase)vapor quality at inlet as fraction in mass
Medium.MassFractionXout (from PipeCondensingBase)vapor quality at outlet as fraction in mass
Medium.TemperatureTfilm (from PipeCondensingBase)liquid film average absolute temperature
Modelica.Units.SI.SpecificHeatCapacityCpFilm (from PipeCondensingBase)liquid specific heat capacity at film temperature
Modelica.Units.SI.ThermalConductivityKfilm (from PipeCondensingBase)liquid thermal conductivity at film temperature
Modelica.Units.SI.PrandtlNumberPrFilm (from PipeCondensingBase)liquid Prandt number at film temperature
Medium.DynamicViscosityMuFilm (from PipeCondensingBase)liquid viscosity at film temperature
Medium.DynamicViscosityMuWallC (from PipeCondensingBase)average wall viscosity along condensation
Modelica.Units.SI.ReynoldsNumberReLc (from PipeCondensingBase)Reynolds number of the liquid phase at the end of condensation
Modelica.Units.SI.ReynoldsNumberReVDIc (from PipeCondensingBase)At end of condensation. Uses mass flow per unit perimeter length =condensate outlet Reynolds/4
RealXm (from PipeCondensingBase)mean vapor quality
RealNuL (from PipeCondensingBase)
RealNuT (from PipeCondensingBase)
RealNuCg (from PipeCondensingBase)Nusselt(special) number laminar, turbulent, combined, for gravity governed
Modelica.Units.SI.CoefficientOfHeatTransferHcg (from PipeCondensingBase)gravity governed heat transfer coefficient
Modelica.Units.SI.CoefficientOfHeatTransferHcs (from PipeCondensingBase)gas shear governed heat transfer coefficient
Modelica.Units.SI.CoefficientOfHeatTransferUc (from PipeCondensingBase)overall heat transfer coefficient
Modelica.Units.SI.PowerWc (from PipeCondensingBase)heat transfer between fluid and wall along condensation. Positive if fluid inputs heat
Medium.ThermodynamicStateStateGas (from PipeCondensingBase)saturated gas state
Medium.ThermodynamicStateStateWallC (from PipeCondensingBase)Thermodynamic state at wall along condensation
Modelica.Units.SI.AreaSiCond (from PipeCondensingBase)internal surface used in condensation
Modelica.Units.SI.ReynoldsNumberReGc (from PipeCondensingBase)Reynolds number at condensation if all was gas
RealFlC (from PipeCondensingBase)Darcy's friction factor if all liquid
RealFgC (from PipeCondensingBase)Darcy's friction factor if all gas
Modelica.Units.SI.PressurePLossFrictL (from PipeCondensingBase)friction head loss if all was liquid
Modelica.Units.SI.PressurePLossFrictG (from PipeCondensingBase)friction head loss if all was gas
Modelica.Units.SI.PressurePLossFrictC (from PipeCondensingBase)friction head loss at condensation
Medium.TemperatureTsurf (from PipeCondensing)TsurfCaverage superficial temperature (tube outside) along condensation
Modelica.Units.SI.CoefficientOfHeatTransferH (from PipeCondensing)Hcaverage heat transfer coefficient along condensation