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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Area | surfaceArea_inner | N_tubes*pi*tubelength*d_inner | Inner heat transfer area (total) |
| SI.Area | surfaceArea_outer | N_tubes*pi*tubelength*d_outer | Inner heat transfer area (total) |
| SI.Area | Afreeflow | tubelength*(diameter - d_outer*sqrt(N_tubes)) | Outer free flow area |
| SI.Length | level_max | if DrumOrientation == 0 then diameter else length | Maximum possible level (relative to the condenser bottom outlet) |
| SI.Length | level_min | min(-V_hotwell/A_hotwell, -1e-5) | Minimum possible Level (relative to the condenser bottom outlet) |
| SI.Area | Aunit | 1.0 | Unit area to match units of levels and volumes |
| SI.CoefficientOfHeatTransfer | alpha | 1 | Convection heat transfer coefficient |
| 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 |
| Initialization | |||
| SI.Height | level_start (from PartialVolume_wlevel) | 0.1 | |
| SI.Temperature | Twall_start | 300 | 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 › Dynamics | |||
| Dynamics | energyDynamicsWall | Dynamics.FixedInitial | Formulation of energy balances |
| General › Geometry | |||
| Integer | DrumOrientation | 0 | 0: Horizontal; 1: Vertical |
| SI.Length | diameter | 1 | Shell cylinder diameter |
| SI.Length | length | 5 | Shell cylinder length (along tubes) |
| SI.Volume | V_hotwell | 1.0 | Hotwell liquid volume |
| SI.Area | A_hotwell | 1.0 | Hotwell surface area |
| General › Geometry - cooling tubes | |||
| Integer | N_tubes | 1000 | Total number of parallel tubes |
| SI.Length | tubelength | length | Effective tubelength (single tube) |
| SI.Length | d_inner | 0.016 | Inner diameter (single tube) |
| SI.Length | d_outer | 0.020 | Outer diameter (single tube) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.FluidPort_State | feed | portSteam_a | |
| Interfaces.FluidPort_Flow | drain_cool | portCoolant_b | |
| Interfaces.FluidPort_Flow | feed_cool | portCoolant_a | |
| Interfaces.FluidPort_State | drain | portSteam_b |
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.Acceleration | g_n | Modelica.Constants.g_n | Gravitational acceleration |
| CoolMedium.ThermodynamicState | state_coolingwater | ||
| SI.Volume | V_liquid | Liquid volume | |
| SI.Power | Q_cool | Total power to cooling water | |
| SI.MassFlowRate | m_flow | Total mass flowrate | |
| SI.Temperature | Tcool_in | Cooling water inlet temperature | |
| SI.Temperature | Tcool_out | Cooling water outlet temperature | |
| SI.Conversions.NonSIunits.Temperature_degC | dT_lm | Log mean temperature difference, water side | |
| TRANSFORM.HeatAndMassTransfer.Volumes.SimpleWall | tubeWall | ||
| HeatAndMassTransfer.BoundaryConditions.Heat.Temperature | T_cool | ||
| Modelica.Blocks.Sources.RealExpression | T_coolant | ||
| 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 |
Contents
| Name | Description |
|---|---|