modelPressurizer
Extends from TRANSFORM.Fluid.Volumes.InProgress.PartialDrum2Phase2Volume (partial two phase drum model).
Information
Spray stream is assumed to be saturated liquid. This means there is no equation for condensing due to spray.... this was causing solver problems... Should be addressed.
This model describes the cylindrical drum of a drum boiler, without assuming thermodynamic equilibrium between the liquid and vapour holdups. Connectors are provided for surgePort inlet, steamPort outlet, downcomer outlet, riser inlet, and blowdown outlet.
The model is based on dynamic mass and energy balance equations of the liquid volume and vapour volume inside the drum. Mass and energy tranfer between the two phases is provided by bulk condensation and surface condensation of the vapour phase, and by bulk boiling of the liquid phase. Additional energy transfer can take place at the surface if the steamPort is superheated.
The riser flowrate is separated before entering the drum, at the vapour pressure. The (saturated) liquid fraction goes into the liquid volume; the (wet) vapour fraction goes into the vapour volume, vith a steamPort quality depending on the liquid/vapour density ratio and on the avr parameter.
The enthalpy of the liquid going to the downcomer is computed by assuming that a fraction of the total mass flowrate (afd) comes directly from the surgePort inlet. The pressure at the downcomer connector is equal to the vapour pressure plus the liquid head.
The metal wall dynamics is taken into account, assuming uniform temperature. Heat transfer takes place between the metal wall and the liquid phase, vapour phase, and external atmosphere, the corresponding heat transfer coefficients being gl, gv, and gext.
The drum level is referenced to the centreline.
The start values of drum pressure, liquid specific enthalpy, vapour specific enthalpy, and metal wall temperature can be specified by setting the parameters p_start, h_liquid_start, h_vapor_start, Tmstart
Modelling options
The following options are available to specify the orientation of the cylindrical drum:
DrumOrientation = 0: horizontal axis.DrumOrientation = 1: vertical axis.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Temperature | T_liquid_start (from PartialDrum2Phase2Volume) | Medium.temperature_ph(p_start, h_liquid_start) | |
| SI.Temperature | T_vapor_start (from PartialDrum2Phase2Volume) | Medium.temperature_ph(p_start, h_vapor_start) | |
| Geometry | |||
| SI.Volume | V_total (from PartialDrum2Phase2Volume) | Total volume (liquid + vapor) | |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialDrum2Phase2Volume) | system.allowFlowReversal | = true to allow flow reversal, false restrics to design direction |
| Assumptions › Dynamics | |||
| Types.Dynamics | energyDynamics (from PartialDrum2Phase2Volume) | system.energyDynamics | Formulation of energy balance |
| Types.Dynamics | massDynamics (from PartialDrum2Phase2Volume) | system.massDynamics | Formulation of mass balance |
| Dynamics | substanceDynamics (from PartialDrum2Phase2Volume) | massDynamics | Formulation of substance balances |
| Initialization | |||
| TRANSFORM.Units.NonDim | Vfrac_liquid_start (from PartialDrum2Phase2Volume) | 0.5 | Initial fraction of volume in the liquid phase |
| SI.Pressure | p_start (from PartialDrum2Phase2Volume) | system.p_start | Pressure start value |
| SI.SpecificEnthalpy | h_liquid_start (from PartialDrum2Phase2Volume) | Medium.bubbleEnthalpy(Medium.setSat_p(p_start)) | Liquid specific enthalpy start value |
| SI.SpecificEnthalpy | h_vapor_start (from PartialDrum2Phase2Volume) | Medium.dewEnthalpy(Medium.setSat_p(p_start)) | Vapour specific enthalpy start value |
| Initialization › Start Value: Mass Fractions | |||
| Medium.MassFraction[Medium.nX] | X_start (from PartialDrum2Phase2Volume) | Medium.X_default | Mass fractions m_i/m |
| Closure Models: 1. Select Model 2. Set parameters | |||
| SI.CoefficientOfHeatTransfer | alpha | 0 | Vapor-Liquid convection heat transfer coefficient |
| Real | alphaM0 | 0 | Vapor-Liquid coefficient of mass transfer |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_b | surgePort | ||
| Modelica.Fluid.Interfaces.FluidPort_b | sprayPort | ||
| Modelica.Fluid.Interfaces.FluidPort_b | steamPort | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | vaporHeater | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | liquidHeater | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort_WV | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort_WL |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system (from PartialDrum2Phase2Volume) | System properties | |
| SI.Pressure | p (from PartialDrum2Phase2Volume) | Surface pressure | |
| SI.Volume | V_vapor (from PartialDrum2Phase2Volume) | Volume occupied by vapour | |
| SI.Volume | V_liquid (from PartialDrum2Phase2Volume) | Volume occupied by liquid | |
| TRANSFORM.Units.NonDim | Vfrac_liquid (from PartialDrum2Phase2Volume) | Fractional of total volume occupied by liquid | |
| Medium.ThermodynamicState | state_liquid (from PartialDrum2Phase2Volume) | medium_liquid.state | Liquid state |
| SI.Density | rho_liquid (from PartialDrum2Phase2Volume) | medium_liquid.d | Liquid density |
| SI.SpecificEnthalpy | h_liquid (from PartialDrum2Phase2Volume) | Liquid specific enthalpy | |
| SI.Temperature | T_liquid (from PartialDrum2Phase2Volume) | Liquid temperature | |
| Medium.ThermodynamicState | state_vapor (from PartialDrum2Phase2Volume) | medium_vapor.state | Vapor state |
| SI.Density | rho_vapor (from PartialDrum2Phase2Volume) | medium_vapor.d | Vapor density |
| SI.SpecificEnthalpy | h_vapor (from PartialDrum2Phase2Volume) | Vapor specific enthalpy | |
| SI.Temperature | T_vapor (from PartialDrum2Phase2Volume) | Vapor temperature | |
| Medium.SaturationProperties | sat (from PartialDrum2Phase2Volume) | Medium.setSat_p(p) | State vector to compute saturation properties |
| SI.SpecificEnthalpy | h_gsat (from PartialDrum2Phase2Volume) | Medium.dewEnthalpy(sat) | Saturated vapor specific enthalpy |
| SI.SpecificEnthalpy | h_fsat (from PartialDrum2Phase2Volume) | Medium.bubbleEnthalpy(sat) | Saturated liquid specific enthalpy |
| ThermoPower.AbsoluteTemperature | Tsat (from PartialDrum2Phase2Volume) | sat.Tsat | Saturation temperature |
| SI.Energy | U_liquid (from PartialDrum2Phase2Volume) | Internal energy of liquid | |
| SI.Mass | m_liquid (from PartialDrum2Phase2Volume) | Mass of liquid | |
| SI.MassFlowRate | mb_flow_liquid (from PartialDrum2Phase2Volume) | Mass flows across liquid boundaries | |
| SI.EnthalpyFlowRate | Hb_flow_liquid (from PartialDrum2Phase2Volume) | Enthalpy flow across liquid boundaries or energy source/sink | |
| SI.HeatFlowRate | Qb_flow_liquid (from PartialDrum2Phase2Volume) | Heat flow across liquid boundaries or energy source/sink | |
| SI.Power | Wb_flow_liquid (from PartialDrum2Phase2Volume) | Work flow across liquid boundaries or source term | |
| SI.Energy | U_vapor (from PartialDrum2Phase2Volume) | Internal energy of vapor | |
| SI.Mass | m_vapor (from PartialDrum2Phase2Volume) | Mass of vapor | |
| SI.MassFlowRate | mb_flow_vapor (from PartialDrum2Phase2Volume) | Mass flows across vapor boundaries | |
| SI.EnthalpyFlowRate | Hb_flow_vapor (from PartialDrum2Phase2Volume) | Enthalpy flow across vapor boundaries or energy source/sink | |
| SI.HeatFlowRate | Qb_flow_vapor (from PartialDrum2Phase2Volume) | Heat flow across vapor boundaries or energy source/sink | |
| SI.Power | Wb_flow_vapor (from PartialDrum2Phase2Volume) | Work flow across vapor boundaries or source term | |
| Medium.BaseProperties | medium_vapor (from PartialDrum2Phase2Volume) | ||
| Medium.BaseProperties | medium_liquid (from PartialDrum2Phase2Volume) | ||
| SI.Mass | mXi_liquid (from PartialDrum2Phase2Volume) | Substance mass | |
| Medium.MassFlowRate | mbXi_liquid_flow (from PartialDrum2Phase2Volume) | Independent mass flow rates, source or sink | |
| SI.Mass | mXi_vapor (from PartialDrum2Phase2Volume) | Substance mass | |
| Medium.MassFlowRate | mbXi_vapor_flow (from PartialDrum2Phase2Volume) | Independent mass flow rates, source or sink | |
| DrumType | drumType | ||
| BulkEvaporation | bulkEvaporation | ||
| BulkCondensation | bulkCondensation | ||
| HeatTransfer_WL | heatTransfer_WL | ||
| HeatTransfer_WV | heatTransfer_WV | ||
| SI.MassFlowRate | W_surge | Mass flowrate of surgePort | |
| SI.SpecificEnthalpy | h_surge | Specific enthalpy of surgePort | |
| SI.MassFlowRate | W_relief | Mass flowrate of steamPort | |
| SI.SpecificEnthalpy | h_relief | Specific enthalpy of steamPort | |
| SI.MassFlowRate | W_spray | Mass flowrate of sprayPort | |
| SI.SpecificEnthalpy | h_spray | Specific enthalpy of sprayPort | |
| SI.Height | level | drumType.level | Measured fluid level |
| SI.Area | surfaceArea_Wall_total | drumType.surfaceArea_Wall_total | Total inner wall surface area of pressurizer |
| SI.Area | surfaceArea_WL | drumType.surfaceArea_WL | Wall-Liquid surface area |
| SI.Area | surfaceArea_WV | drumType.surfaceArea_WV | Wall-Vapor surface area |
| SI.Area | surfaceArea_VL | drumType.surfaceArea_VL | Vapor-Liquid interfacial area |
| SI.MassFlowRate | W_cBulk | Mass flowrate of bulk condensation | |
| SI.MassFlowRate | W_eBulk | Mass flowrate of bulk evaporation | |
| SI.MassFlowRate | W_vl | Mass flowrate from vapor-liquid interface model | |
| SI.Power | Q_vl | Heat transfer at vapor-liquid interface | |
| SI.Power | Q_wl | Heat transfer at wall-liquid surface | |
| SI.Power | Q_wv | Heat transfer at wall-vapor surface | |
| SI.MassFlowRate | W_cWall | Mass flowrate from condensate due to wall-vapor heat transfer | |
| SI.QualityFactor | x_th_liquid | Thermodynamic quality of liquid region | |
| SI.QualityFactor | x_abs_liquid | Absolute quality of liquid region | |
| SI.QualityFactor | x_th_vapor | Thermodynamic quality of vapor region | |
| SI.QualityFactor | x_abs_vapor | Absolute quality of liquid region | |
| SI.Power | Q_hl | Heat transfer at heater-liquid | |
| SI.Power | Q_hv | Heat transfer at heater-vapor | |
| SI.SpecificEnthalpy | h_vl | Specific enthalpy of fluid flow at vapor-liquid interface | |
| HeatAndMassTransfer.Resistances.Heat.Convection | heatTransfer_VL | ||
| FittingsAndResistances.MassTranportCoefficient | massTransfer_VL |
Contents
| Name | Description |
|---|---|
| DrumType | 1. Select model 2. Set parameters (Total volume must match V_total) |
Revisions
<htm_liquid>
<ul>
<li><i>30 May 2005</i>
by <a href="mailto:francesco.casella@polimi.it">Francesco Casella</a>:<br>
Initialisation support added.</li>
<li><i>16 Dec 2004</i>
by <a href="mailto:francesco.casella@polimi.it">Francesco Casella</a>:<br>
Standard medium definition added.</li>
<li><i>5 Jul 2004</i>
by <a href="mailto:francesco.casella@polimi.it">Francesco Casella</a>:<br>
Adapted to Modelica.Media.</li>
<li><i>1 Feb 2004</i>
by <a href="mailto:francesco.casella@polimi.it">Francesco Casella</a>:<br>
Improved equations for drum geometry.</li>
<li><i>1 Oct 2003</i>
by <a href="mailto:francesco.casella@polimi.it">Francesco Casella</a>:<br>
First release.</li>
</ul>