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
| Type | Name | Default | Description |
|---|---|---|---|
| Visualization | |||
| Boolean | showName (from Visualization_showName) | true | |
| Advanced › Dynamics | |||
| Dynamics | energyDynamics (from PartialVolume_wlevel) | Dynamics.DynamicFreeInitial | Formulation of energy balances |
| Dynamics | massDynamics (from PartialVolume_wlevel) | energyDynamics | Formulation of mass balances |
| Dynamics | substanceDynamics (from PartialVolume_wlevel) | massDynamics | Formulation of substance balances |
| Dynamics | traceDynamics (from PartialVolume_wlevel) | massDynamics | Formulation of trace substance balances |
| Dynamics | energyDynamicsWall | Dynamics.DynamicFreeInitial | Formulation of energy balances |
| Initialization | |||
| SI.Height | level_start (from PartialVolume_wlevel) | 0.1 | |
| SI.Temperature | T_start_wall | 293.15 | Tube wall temperature start value |
| Initialization › Start Value: Absolute Pressure | |||
| Medium.AbsolutePressure | p_start (from PartialVolume_wlevel) | Medium.p_default | Pressure |
| Initialization › Start Value: Temperature | |||
| Boolean | use_T_start (from PartialVolume_wlevel) | true | Use T_start if true, otherwise h_start |
| Medium.Temperature | T_start (from PartialVolume_wlevel) | Medium.T_default | Temperature |
| Initialization › Start Value: Specific Enthalpy | |||
| Medium.SpecificEnthalpy | h_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_default | Mass 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.Pressure | p_start_coolant | 2e5 | Coolant start pressure |
| SI.Temperature | T_start_coolant | T_start_wall - 5 | Coolant start temperature |
| SI.Temperature[Medium_coolant.nX] | X_start_coolant | Medium_coolant.X_default | Coolant start temperature |
| SIadd.ExtraProperty[Medium_coolant.nC] | C_start_coolant | fill(0, Medium_coolant.nC) | Mass-Specific value |
| Advanced › Inputs Coolant | |||
| Boolean | exposeState_a_coolant | true | =false to use resistance between port and volume |
| Boolean | exposeState_b_coolant | false | =false to use resistance between port and volume |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_State | portSteamFeed | ||
| Interfaces.FluidPort_Flow | portCoolant_b | ||
| Interfaces.FluidPort_State | portCoolant_a | ||
| Interfaces.FluidPort_State | portFluidDrain |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Geometry | geometry | ||
| SI.Volume | V (from PartialVolume_wlevel) | Volume | |
| Medium.BaseProperties | medium (from PartialVolume_wlevel) | ||
| SI.Height | level (from PartialVolume_wlevel) | Liquid level | |
| SI.Mass | m (from PartialVolume_wlevel) | Mass | |
| SI.InternalEnergy | U (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.ExtraPropertyExtrinsic | mC_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.MassFlowRate | mb (from PartialVolume_wlevel) | Mass flow rate source/sinks within volumes | |
| SI.HeatFlowRate | Ub (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.CoefficientOfHeatTransfer | alphaInt_WExt | 1 | Heat transfer coeffient for coolant wall outer surface and the condenser fluid state |
| SI.Acceleration | g_n | Modelica.Constants.g_n | Gravitational acceleration |
| Units.HydraulicResistance | R_a_coolant | 1 | Hydraulic resistance at portCoolant_a |
| Units.HydraulicResistance | R_b_coolant | 1 | Hydraulic resistance at portCoolant_b |
| TRANSFORM.HeatAndMassTransfer.Volumes.SimpleWall | tubeWall | ||
| HeatAndMassTransfer.Resistances.Heat.Convection | heatRes_outer | ||
| HeatAndMassTransfer.BoundaryConditions.Heat.Temperature | T_shell | ||
| Modelica.Blocks.Sources.RealExpression | T_condenser | ||
| HeatAndMassTransfer.Resistances.Heat.ConvectionMedia | heatRes_inner | ||
| Media.BaseProperties2Phase | mediaProps | ||
| MixingVolume | volume_coolant | ||
| FittingsAndResistances.SpecifiedResistance | resistance_a | ||
| FittingsAndResistances.SpecifiedResistance | resistance_b |
Contents
| Name | Description |
|---|---|