modelCondenseroldnew

Extends from TRANSFORM.Fluid.Volumes.BaseClasses.PartialVolume_wlevel (Base class for volume models).

Information

  • As the liquid level goes to zero, the drain enthalpy will approach the mixed volume enthalpy. This will most often result in too low pressure, and is protected with an assert(p>1000 Pa).
  • The drum liquid level should not be too large, an assert is triggered when the condenser gets full.

Parameters

TypeNameDefaultDescription
SI.AreasurfaceArea_innerN_tubes*pi*tubelength*d_innerInner heat transfer area (total)
SI.AreasurfaceArea_outerN_tubes*pi*tubelength*d_outerInner heat transfer area (total)
SI.AreaAfreeflowtubelength*(diameter - d_outer*sqrt(N_tubes))Outer free flow area
SI.Lengthlevel_maxif DrumOrientation == 0 then diameter else lengthMaximum possible level (relative to the condenser bottom outlet)
SI.Lengthlevel_minmin(-V_hotwell/A_hotwell, -1e-5)Minimum possible Level (relative to the condenser bottom outlet)
SI.AreaAunit1.0Unit area to match units of levels and volumes
SI.CoefficientOfHeatTransferalpha1Convection heat transfer coefficient
Advanced › Dynamics
DynamicsenergyDynamics (from PartialVolume_wlevel)Dynamics.DynamicFreeInitialFormulation of energy balances
DynamicsmassDynamics (from PartialVolume_wlevel)energyDynamicsFormulation of mass balances
DynamicssubstanceDynamics (from PartialVolume_wlevel)massDynamicsFormulation of substance balances
DynamicstraceDynamics (from PartialVolume_wlevel)massDynamicsFormulation of trace substance balances
Initialization
SI.Heightlevel_start (from PartialVolume_wlevel)0.1
SI.TemperatureTwall_start300Tube wall temperature start value
Initialization › Start Value: Absolute Pressure
Medium.AbsolutePressurep_start (from PartialVolume_wlevel)Medium.p_defaultPressure
Initialization › Start Value: Temperature
Booleanuse_T_start (from PartialVolume_wlevel)trueUse T_start if true, otherwise h_start
Medium.TemperatureT_start (from PartialVolume_wlevel)Medium.T_defaultTemperature
Initialization › Start Value: Specific Enthalpy
Medium.SpecificEnthalpyh_start (from PartialVolume_wlevel)Medium.specificEnthalpy_pTX(p_start, T_start, X_start)Specific enthalpy
Initialization › Start Value: Species Mass Fraction
SI.MassFraction[Medium.nX]X_start (from PartialVolume_wlevel)Medium.X_defaultMass fraction
Initialization › Start Value: Trace Substances
SIadd.ExtraProperty[Medium.nC]C_start (from PartialVolume_wlevel)fill(0, Medium.nC)Mass-Specific value
Initialization › Dynamics
DynamicsenergyDynamicsWallDynamics.FixedInitialFormulation of energy balances
General › Geometry
IntegerDrumOrientation00: Horizontal; 1: Vertical
SI.Lengthdiameter1Shell cylinder diameter
SI.Lengthlength5Shell cylinder length (along tubes)
SI.VolumeV_hotwell1.0Hotwell liquid volume
SI.AreaA_hotwell1.0Hotwell surface area
General › Geometry - cooling tubes
IntegerN_tubes1000Total number of parallel tubes
SI.LengthtubelengthlengthEffective tubelength (single tube)
SI.Lengthd_inner0.016Inner diameter (single tube)
SI.Lengthd_outer0.020Outer diameter (single tube)

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_StatefeedportSteam_a
Interfaces.FluidPort_Flowdrain_coolportCoolant_b
Interfaces.FluidPort_Flowfeed_coolportCoolant_a
Interfaces.FluidPort_StatedrainportSteam_b

Components

TypeNameDefaultDescription
Geometrygeometry
SI.VolumeV (from PartialVolume_wlevel)Volume
Medium.BasePropertiesmedium (from PartialVolume_wlevel)
SI.Heightlevel (from PartialVolume_wlevel)Liquid level
SI.Massm (from PartialVolume_wlevel)Mass
SI.InternalEnergyU (from PartialVolume_wlevel)Internal energy
SI.Mass[Medium.nXi]mXi (from PartialVolume_wlevel)Species mass
SIadd.ExtraPropertyExtrinsic[Medium.nC]mC (from PartialVolume_wlevel)Trace substance extrinsic value
SIadd.ExtraPropertyExtrinsicmC_scaled (from PartialVolume_wlevel)Scaled trace substance for improved numerical stability
SIadd.ExtraProperty[Medium.nC]C (from PartialVolume_wlevel)Trace substance mass-specific value
SI.MassFlowRatemb (from PartialVolume_wlevel)Mass flow rate source/sinks within volumes
SI.HeatFlowRateUb (from PartialVolume_wlevel)Energy source/sinks within volumes (e.g., ohmic heating, external convection)
SI.MassFlowRate[Medium.nXi]mXib (from PartialVolume_wlevel)Species mass flow rates source/sinks within volumes
SIadd.ExtraPropertyFlowRate[Medium.nC]mCb (from PartialVolume_wlevel)Trace flow rate source/sinks within volumes (e.g., chemical reactions, external convection)
SI.Accelerationg_nModelica.Constants.g_nGravitational acceleration
CoolMedium.ThermodynamicStatestate_coolingwater
SI.VolumeV_liquidLiquid volume
SI.PowerQ_coolTotal power to cooling water
SI.MassFlowRatem_flowTotal mass flowrate
SI.TemperatureTcool_inCooling water inlet temperature
SI.TemperatureTcool_outCooling water outlet temperature
SI.Conversions.NonSIunits.Temperature_degCdT_lmLog mean temperature difference, water side
TRANSFORM.HeatAndMassTransfer.Volumes.SimpleWalltubeWall
HeatAndMassTransfer.BoundaryConditions.Heat.TemperatureT_cool
Modelica.Blocks.Sources.RealExpressionT_coolant
HeatAndMassTransfer.Resistances.Heat.ConvectionheatRes_outer
HeatAndMassTransfer.BoundaryConditions.Heat.TemperatureT_shell
Modelica.Blocks.Sources.RealExpressionT_condenser
HeatAndMassTransfer.Resistances.Heat.ConvectionMediaheatRes_inner
Media.BaseProperties2PhasemediaProps

Contents

NameDescription
Geometry
CoolMedium
MaterialWall