modelCondenser

Extends from BaseClasses.Icon_TwoVolume, 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
Visualization
BooleanshowName (from Visualization_showName)true
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
DynamicsenergyDynamicsWallDynamics.DynamicFreeInitialFormulation of energy balances
Initialization
SI.Heightlevel_start (from PartialVolume_wlevel)0.1
SI.TemperatureT_start_wall293.15Tube 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 › Coolant
SI.Pressurep_start_coolant2e5Coolant start pressure
SI.TemperatureT_start_coolantT_start_wall - 5Coolant start temperature
SI.Temperature[Medium_coolant.nX]X_start_coolantMedium_coolant.X_defaultCoolant start temperature
SIadd.ExtraProperty[Medium_coolant.nC]C_start_coolantfill(0, Medium_coolant.nC)Mass-Specific value
Advanced › Inputs Coolant
BooleanexposeState_a_coolanttrue=false to use resistance between port and volume
BooleanexposeState_b_coolantfalse=false to use resistance between port and volume

Connectors

TypeNameDefaultDescription
Interfaces.FluidPort_StateportSteamFeed
Interfaces.FluidPort_FlowportCoolant_b
Interfaces.FluidPort_StateportCoolant_a
Interfaces.FluidPort_StateportFluidDrain

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.CoefficientOfHeatTransferalphaInt_WExt1Heat transfer coeffient for coolant wall outer surface and the condenser fluid state
SI.Accelerationg_nModelica.Constants.g_nGravitational acceleration
Units.HydraulicResistanceR_a_coolant1Hydraulic resistance at portCoolant_a
Units.HydraulicResistanceR_b_coolant1Hydraulic resistance at portCoolant_b
TRANSFORM.HeatAndMassTransfer.Volumes.SimpleWalltubeWall
HeatAndMassTransfer.Resistances.Heat.ConvectionheatRes_outer
HeatAndMassTransfer.BoundaryConditions.Heat.TemperatureT_shell
Modelica.Blocks.Sources.RealExpressionT_condenser
HeatAndMassTransfer.Resistances.Heat.ConvectionMediaheatRes_inner
Media.BaseProperties2PhasemediaProps
MixingVolumevolume_coolant
FittingsAndResistances.SpecifiedResistanceresistance_a
FittingsAndResistances.SpecifiedResistanceresistance_b

Contents

NameDescription
Geometry
Medium_coolant
MaterialWall