modelHEXvle2vle_L3_2ph_BU_ntu
Extends from ClaRa.Basics.Icons.HEX04, ClaRa.Basics.Icons.ComplexityLevel (Displays the complexity level inside model icon ).
Information
For detailed model documentation please consult the html-documentation shipped with ClaRa.
Authorship and Copyright Statement for original (initial) Contribution
Author:
DYNCAP/DYNSTART development team, Copyright © 2011-2024.References:
For references please consult the html-documentation shipped with ClaRa.
Remarks:
This component was developed by ClaRa development team under the 3-clause BSD License.
Acknowledgements:ClaRa originated from the collaborative research projects DYNCAP and DYNSTART. Both research projects were supported by the German Federal Ministry for Economic Affairs and Energy (FKZ 03ET2009 and FKZ 03ET7060).
CLA:
The author(s) have agreed to ClaRa CLA, version 1.0. See https://claralib.com/pdf/CLA.pdf
By agreeing to ClaRa CLA, version 1.0 the author has granted the ClaRa development team a permanent right to use and modify his initial contribution as well as to publish it or its modified versions under the 3-clause BSD License.
The ClaRa development team consists of the following partners:
TLK-Thermo GmbH (Braunschweig, Germany)
XRG Simulation GmbH (Hamburg, Germany).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real[2] | yps_nom | {yps_liq_nom, 1 - yps_liq_nom} | Relative volume of liquid phase [1] and vapour phase [2] at nominal point |
| Fundamental Definitions | |||
| Boolean | useHomotopy | simCenter.useHomotopy | True, if homotopy method is used during initialisation |
| Shell Side › Fundamental Definitions | |||
| TILMedia.VLEFluid.Types.BaseVLEFluid | medium_shell | simCenter.fluid1 | Medium to be used for shell flow |
| Shell Side › Geometry | |||
| SI.Length | length | 10 | Length of the HEX |
| SI.Length | height | 3 | Height of HEX |
| SI.Length | width | 3 | Width of HEX |
| SI.Length | z_in_shell | height | Inlet position from bottom |
| SI.Length | z_in_aux1 | height | Inlet position of auxilliary1 from bottom |
| SI.Length | z_in_aux2 | height | Inlet position of auxilliary2 from bottom |
| SI.Length | z_out_shell | 0.1 | Outlet position from bottom |
| Basics.Units.Length | radius_flange | 0.05 | Flange radius of all flanges |
| Basics.Units.Length | height_hotwell | 1 | Height of the hotwell |
| Basics.Units.Length | width_hotwell | 1 | Width of the hotwell |
| Basics.Units.Length | length_hotwell | 1 | Length of the hotwell |
| Shell Side › Nominal Values | |||
| SI.MassFlowRate | m_flow_nom_shell | 10 | Nominal mass flow on shell side |
| SI.Pressure | p_nom_shell | 10 | Nominal pressure on shell side |
| Real | yps_liq_nom | level_rel_start | Relative volume of liquid phase at nominal point |
| Shell Side › Initialisation | |||
| SI.EnthalpyMassSpecific | h_liq_start | -10 + TILMedia.VLEFluid.MixtureCompatible.Functions.bubbleSpecificEnthalpy_pxi(medium_shell, p_start_shell) | Start specific enthalpy of liquid phase |
| SI.EnthalpyMassSpecific | h_vap_start | +10 + TILMedia.VLEFluid.MixtureCompatible.Functions.dewSpecificEnthalpy_pxi(medium_shell, p_start_shell) | Start specific enthalpy of steam phase |
| SI.Pressure | p_start_shell | 1e5 | Start value of sytsem pressure |
| Real | level_rel_start | 0.5 | Start value for relative filling Level |
| Integer | initOptionShell | 211 | Type of initialisation |
| Tubes › Fundamental Definitions | |||
| TILMedia.VLEFluid.Types.BaseVLEFluid | medium_tubes | simCenter.fluid1 | Medium to be used for tubes flow |
| Tubes › Tubes Geometry | |||
| SI.Length | diameter_i | 0.048 | Inner diameter of horizontal tubes |
| SI.Length | diameter_o | 0.05 | Outer diameter of horizontal tubes |
| Integer | N_tubes | 1000 | Number of horizontal tubes |
| Integer | N_passes | 1 | Number of passes of the internal tubes |
| SI.Length | z_in_tubes | length/2 | Inlet position from bottom |
| SI.Length | z_out_tubes | length/2 | Outlet position from bottom |
| Boolean | staggeredAlignment | true | True, if the tubes are aligned staggeredly |
| SI.Length | Delta_z_par | 1.5*diameter_o | Distance between tubes parallel to flow direction (center to center) |
| SI.Length | Delta_z_ort | 1.5*diameter_o | Distance between tubes orthogonal to flow direction (center to center) |
| Integer | N_rows | integer(ceil(sqrt(N_tubes))*N_passes) | Number of pipe rows in shell flow direction |
| Real | CF_geo | 1 | Correction coefficient due to fins etc. |
| Tubes › Nominal Values | |||
| SI.MassFlowRate | m_flow_nom_tubes | 10 | Nominal mass flow on tubes side |
| SI.Pressure | p_nom_tubes | 10 | Nominal pressure on tubes side |
| SI.EnthalpyMassSpecific | h_nom_tubes | 10 | Nominal specific enthalpy on tubes side |
| SI.HeatFlowRate | Q_flow_nom | 1e6 | Nominal heat flow rate |
| Tubes › Initialisation | |||
| SI.EnthalpyMassSpecific | h_start_tubes | 1e5 | Start value of sytsem specific enthalpy |
| SI.Pressure | p_start_tubes | 1e5 | Start value of sytsem pressure |
| Integer | initOptionTubes | 0 | Type of initialisation at tube side |
| Tube Wall › Fundamental Definitions | |||
| SI.Mass | mass_struc | 0 | Mass of inner structure elements, additional to the tubes itself |
| Tube Wall › Initialisation | |||
| Basics.Units.Temperature[3] | T_w_tube_start | ones(3)*293.15 | Initial temperature at inner phase |
| Basics.Units.Temperature[3] | T_w_shell_start | ones(3)*293.15 | Initial temperature at outer phase |
| Integer | initOptionWall | 0 | Init Option of Wall |
| Integer | initOption_yps | 3 | Volumetric initialisation |
| Real[2] | yps_start | {0.33, 0.33} | Initial area fraction 1phase | 2phase |
| Expert Settings › Zone Interaction at Shell Side | |||
| Basics.Units.Time | Tau_cond | 0.3 | Time constant of condensation |
| Basics.Units.Time | Tau_evap | 0.03 | Time constant of evaporation |
| Basics.Units.CoefficientOfHeatTransfer | alpha_ph | 50000 | HTC of the phase border |
| Basics.Units.Area | A_phaseBorder | shell.geo.A_hor*100 | Heat transfer area at phase border |
| Real | expHT_phases | 0 | Exponent for volume dependency on inter phase HT |
| Real | absorbInflow | 1 | Absorption of incoming mass flow to the zones 1: perfect in the allocated zone, 0: perfect according to steam quality |
| Boolean | equalPressures | true | True if pressure in liquid and vapour phase is equal |
| Expert Settings › Mass Accumulation at Shell Side | |||
| Modelica.Blocks.Types.Smoothness | smoothness | Modelica.Blocks.Types.Smoothness.LinearSegments | Smoothness of level calculation (table based) |
| Expert Settings › NTU model | |||
| Real | gain_eff | 1 | Avoid effectiveness > 1, high gain_eff leads to stricter observation but may cause numeric errors |
| Basics.Units.Time | Tau_stab | 0.1 | Time constant for numeric stabilisation w.r.t. heat flow rates |
| Summary and Visualisation | |||
| Boolean | showExpertSummary | simCenter.showExpertSummary | True, if expert summary should be applied |
| Boolean | showData | true | True, if a data port containing p,T,h,s,m_flow shall be shown, else false |
| Boolean | levelOutput | false | True, if Real level connector shall be addded |
| Boolean | outputAbs | false | True, if absolute level is at output |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ClaRa.Basics.Interfaces.FluidPortIn | In2 | ||
| ClaRa.Basics.Interfaces.FluidPortOut | Out2 | ||
| ClaRa.Basics.Interfaces.FluidPortOut | Out1 | ||
| ClaRa.Basics.Interfaces.FluidPortIn | In1 | ||
| Basics.Interfaces.EyeOut | eye2 | ||
| Basics.Interfaces.EyeOut | eye1 | ||
| Basics.Interfaces.FluidPortIn | aux1 | ||
| Basics.Interfaces.FluidPortIn | aux2 | ||
| Modelica.Blocks.Interfaces.RealOutput | level | if outputAbs then shell.summary.outline.level_abs else shell.summary.outline.level_rel |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| String | complexity (from ComplexityLevel) | "??" | |
| ClaRa.SimCenter | simCenter | ||
| ClaRa.Basics.ControlVolumes.SolidVolumes.NTU_L3_standalone | wall | ||
| Basics.ControlVolumes.FluidVolumes.VolumeVLE_L2 | tubes | ||
| Basics.ControlVolumes.FluidVolumes.VolumeVLE_L3_TwoZonesNPort | shell | ||
| Summary | summary | ||
| Adapters.Scalar2VectorHeatPort | reallocateHeatFlows |
Contents
| Name | Description |
|---|---|
| HeatCapacityAveraging |
Revisions
For revisions please consult the html-documentation shipped with ClaRa.