modelStructuredPackedColumn_external

Extends from ThermalSeparation.Icons.Color.PackedColumn, ThermalSeparation.Components.ColumnsNoIndex.BaseClasses.FeedColumn (column with optional liquid and or vapour feed inlets).

Information

Specialized class to describe a packed column. Base classes for the following classes are instantiated her:

  • liquid holdup
  • pressure loss
  • film model (BaseFilmPacked)
  • geometry
  • heat transfer to wall


This class of a structured packed column also supplies the initial equation for the liquid content in the column.

This value can be specified by the user, or the boolean parameter wetted is set to true, which means that the packing material at simulation start is completely wetted. For a fast simulation it is often helpful to initialize with a liquid content which is slightly above the liquid content for a wetted column.

Parameters

TypeNameDefaultDescription
Integern (from BaseColumn_external)1packed column: number of discrete elements in the section; plate column: number of trays in one section
SI.Pressure[n]p_v_start (from BaseColumn_external)if n == 1 then {p_v_start_outlet} else linspace(p_v_start_inlet, p_v_start_outlet, n)
SI.MoleFraction[n,nSL]x_l_start (from BaseColumn_external)
SI.MoleFraction[n,nSV]x_v_start (from BaseColumn_external)
SI.Temperature[n]T_v_start (from BaseColumn_external)if (T_v_profile and not n == 1) then linspace(T_vap_start_bottom, T_vap_start_top, n) else (if (T_v_profile and n == 1) then ones(n)*(T_vap_start_bottom + T_vap_start_top)/2 else ones(n)*T_vapour_start)
SI.Temperature[n]T_l_start (from BaseColumn_external)if (T_l_profile and not n == 1) then linspace(T_liq_start_bottom, T_liq_start_top, n) else (if (T_l_profile and n == 1) then ones(n)*(T_liq_start_bottom + T_liq_start_top)/2 else ones(n)*T_liquid_start)
BooleanEQ (from BaseColumn_external)falseequilibrium model is used, no mass transfer, value provided by film model
Integer[nS,2]mapping (from BaseColumn_external){{i, i} for i in 1:nS}parameter to map the different medium vectors one to another
Boolean[nSV]inertVapour (from BaseColumn_external)fill(false, nSV)true for each component which is inert in the vapour phase
Boolean[nSL]inertLiquid (from BaseColumn_external)fill(false, nSL)true for each component which is inert in the liquid phase
Booleanh_evap_medium (from BaseColumn_external)MediumVapour.delta_hv_medium
IntegernS (from BaseColumn_external)number of species which are equal in vapour and liquid phase
IntegernL (from BaseColumn_external)MediumLiquid.nSubstance - nSnumber of additional substances which are only in liquid phase
IntegernV (from BaseColumn_external)MediumVapour.nSubstance - nSnumber of additional substances which are only in the vapour phase
IntegernSL (from BaseColumn_external)MediumLiquid.nSubstance
IntegernSV (from BaseColumn_external)MediumVapour.nSubstance
IntegernumberLiquidFeedsInternal (from FeedColumn)if hasLiquidFeed then numberLiquidFeeds else 0
IntegernumberVapourFeedsInternal (from FeedColumn)if hasVapourFeed then numberVapourFeeds else 0
Integer[:]aux{1, 3, 6, 10, 15, 21, 28, 36, 45}
Integern_elements2number of discrete elements or number of equilibrium stages (for equilibrium film model)
Advanced
SI.TemperatureT_ref (from BaseColumn_external)systemTS.T_refreference temperature
Initialization
SI.Pressurep_v_start_inlet (from BaseColumn_external)1.9e5
SI.Pressurep_v_start_outlet (from BaseColumn_external)1.8e5
Booleanx_l_profile (from BaseColumn_external)false
Booleanx_v_profile (from BaseColumn_external)false
SI.MoleFraction[nSL]x_l_start_const (from BaseColumn_external)fill(1/nSL, nSL)
SI.MoleFraction[nSV]x_v_start_const (from BaseColumn_external)fill(1/nSV, nSV)
SI.MoleFraction[nSL]x_l_start_in (from BaseColumn_external)fill(1/nSL, nSL)
SI.MoleFraction[nSL]x_l_start_out (from BaseColumn_external)fill(1/nSL, nSL)
SI.MoleFraction[nSV]x_v_start_in (from BaseColumn_external)fill(1/nSV, nSV)
SI.MoleFraction[nSV]x_v_start_out (from BaseColumn_external)fill(1/nSV, nSV)
Real[nSV]x_total_start (from BaseColumn_external)fill(1/nSV, nSV)total mole fraction in system (vapour and liquid), component ordering as in vapour medium
BooleanT_l_profile (from BaseColumn_external)false
BooleanT_v_profile (from BaseColumn_external)false
SI.TemperatureT_vap_start_bottom (from BaseColumn_external)300
SI.TemperatureT_vap_start_top (from BaseColumn_external)300
SI.TemperatureT_liq_start_bottom (from BaseColumn_external)300
SI.TemperatureT_liq_start_top (from BaseColumn_external)300
SI.TemperatureT_vapour_start (from BaseColumn_external)300
SI.TemperatureT_liquid_start (from BaseColumn_external)300
StartUp
BooleanconsiderStartUp (from BaseColumn_external)falsetrue if StartUp is to be considered
Realfriggelfaktor (from BaseColumn_external)0.0002e5
Realk (from BaseColumn_external)0.2e-3large value for steep omega
Feed › Liquid Feed
BooleanhasLiquidFeed (from FeedColumn)falsetrue, if there exist a liquid feed
IntegernumberLiquidFeeds (from FeedColumn)1
IntegerstageLiquidFeed (from FeedColumn){2}number of stage where feed enters the column
Feed › Vapour Feed
BooleanhasVapourFeed (from FeedColumn)falsetrue, if there exist a liquid feed
IntegernumberVapourFeeds (from FeedColumn)1
IntegerstageVapourFeed (from FeedColumn){2}number of stage where feed enters the column
Initialization › Initial liquid content
BooleanwettedInitialtruetrue if package material is already wetted (i.e. if liquid enters the column there is immediately a liquid stream leaving the column)
Realeps_liq_start0.06start value for liquid content if it is not exactly wetted but with more or less liquid

Connectors

TypeNameDefaultDescription
ThermalSeparation.Interfaces.GasPortInupStreamIn (from BaseColumn_external)
ThermalSeparation.Interfaces.GasPortOutupStreamOut (from BaseColumn_external)
ThermalSeparation.Interfaces.LiquidPortIndownStreamIn (from BaseColumn_external)
ThermalSeparation.Interfaces.LiquidPortOutdownStreamOut (from BaseColumn_external)
ThermalSeparation.Interfaces.LiquidPortInfeedLiquid (from FeedColumn)
ThermalSeparation.Interfaces.GasPortInfeedVapour (from FeedColumn)
ThermalSeparation.Interfaces.HeatPortheatPort

Components

TypeNameDefaultDescription
ThermalSeparation.SystemTSsystemTS (from BaseColumn_external)
Resultsresults (from BaseColumn_external)
MediumVapour.BaseProperties[n]mediumVapour (from BaseColumn_external)
MediumVapour.BasePropertiesmediumVapourIn (from BaseColumn_external)
MediumVapour.BaseProperties[n]mediumVapourStar (from BaseColumn_external)
MediumLiquid.BaseProperties[n]mediumLiquid (from BaseColumn_external)
MediumLiquid.BasePropertiesmediumLiquidIn (from BaseColumn_external)
MediumLiquid.BaseProperties[n]mediumLiquidStar (from BaseColumn_external)
MediumLiquid.ActivityCoefficient[n]activityCoeff (from BaseColumn_external)
MediumVapour.EvaporationEnthalpy[n]evapEnthalpy (from BaseColumn_external)
ThermalSeparation.Units.MolarEnthalpy[n,nSV]delta_hv (from BaseColumn_external)if h_evap_medium then zeros(n, nSV) else evapEnthalpy.h
Real[n]h_l_star (from BaseColumn_external)
SI.Density[n]rho_v (from BaseColumn_external)mediumVapour.dmixture vapour density
SI.Densityrho_v_in (from BaseColumn_external)mediumVapourIn.d
SI.MolarMass[n]MM_v (from BaseColumn_external)mediumVapour.MMmolar mass of the vapour mixture
SI.MolarMassMM_v_in (from BaseColumn_external)mediumVapourIn.MM
ThermalSeparation.Units.MolarEnthalpy[n]h_v (from BaseColumn_external)mediumVapour.h
ThermalSeparation.Units.MolarEnthalpyh_v_in (from BaseColumn_external)mediumVapourIn.h
SI.MolarInternalEnergy[n]u_v (from BaseColumn_external)mediumVapour.u
SI.Concentration[n,nSV]c_v_star (from BaseColumn_external)
SI.Density[n]rho_v_star (from BaseColumn_external)mediumVapourStar.d
SI.Density[n]rho_l (from BaseColumn_external)mediumLiquid.dmixture liquid density
SI.Densityrho_l_in (from BaseColumn_external)mediumLiquidIn.d
SI.Density[n]rho_l_star (from BaseColumn_external)mediumLiquidStar.d
SI.MolarMass[n]MM_l (from BaseColumn_external)mediumLiquid.MMmolar mass of the liquid mixture
SI.MolarMassMM_l_in (from BaseColumn_external)mediumLiquidIn.MM
SI.MolarMass[n]MM_l_star (from BaseColumn_external)mediumLiquidStar.MM
ThermalSeparation.Units.MolarEnthalpy[n]h_l (from BaseColumn_external)mediumLiquid.h
ThermalSeparation.Units.MolarEnthalpyh_l_in (from BaseColumn_external)mediumLiquidIn.h
SI.MolarInternalEnergy[n]u_l (from BaseColumn_external)mediumLiquid.u
SI.Concentration[nSV]c_v_in (from BaseColumn_external)
SI.Concentration[n,nSV]c_v (from BaseColumn_external)
SI.MoleFraction[nSV]x_v_in (from BaseColumn_external)
SI.MoleFraction[n,nSV]x_v (from BaseColumn_external)
SI.VolumeFlowRateVdot_v_in (from BaseColumn_external)
SI.VolumeFlowRate[n]Vdot_v (from BaseColumn_external)
SI.TemperatureT_v_in (from BaseColumn_external)
SI.Pressure[n + 1]p_v (from BaseColumn_external)p_v[j] = pressure on the j-th stage, p_v[n+1] is the pressure in the first element of the sucesseding component
SI.Temperature[n]T_v (from BaseColumn_external)
SI.Concentration[nSL]c_l_in (from BaseColumn_external)molar concentration in the liquid at the liquid outlet of each stage
SI.Concentration[n,nSL]c_l (from BaseColumn_external)
SI.MoleFraction[nSL]x_l_in (from BaseColumn_external)
SI.MoleFraction[n,nSL]x_l (from BaseColumn_external)
SI.VolumeFlowRateVdot_l_in (from BaseColumn_external)
SI.VolumeFlowRate[n]Vdot_l (from BaseColumn_external)
SI.TemperatureT_l_in (from BaseColumn_external)
SI.Temperature[n]T_l (from BaseColumn_external)
SI.Concentration[n,nSL]c_l_star (from BaseColumn_external)
SI.MolarFlowRate[n,nSL]Ndot_reac (from BaseColumn_external)
SI.HeatFlowRate[n]Qdot_reac (from BaseColumn_external)
SI.VolumeFraction[n]eps_liq (from BaseColumn_external)liquid volume fraction
SI.VolumeFraction[n]eps_vap (from BaseColumn_external)vapour volume fraction
SI.Temperature[n]T (from BaseColumn_external)
SI.HeatFlowRate[n]Qdot_wall (from BaseColumn_external)heat flow rate to wall
SI.MolarFlowRate[n,nSV]Ndot_v_transfer (from BaseColumn_external)
SI.MolarFlowRate[n,nSL]Ndot_l_transfer (from BaseColumn_external)
SI.HeatFlowRate[n]Edot_l_transfer (from BaseColumn_external)
SI.HeatFlowRate[n]Edot_v_transfer (from BaseColumn_external)
SI.Temperature[n]T_star (from BaseColumn_external)
SI.Pressurep_v_in (from BaseColumn_external)
SI.Pressure[n,nSL]p_sat (from BaseColumn_external)
SI.Pressure[n,nSL]p_sat_bulk (from BaseColumn_external)
SI.VolumeFlowRate[n]Vdot_v_feed (from BaseColumn_external)
SI.Concentration[n,nSV]c_v_feed (from BaseColumn_external)
SI.SpecificEnthalpy[n]h_v_feed (from BaseColumn_external)
SI.VolumeFlowRate[n]Vdot_l_feed (from BaseColumn_external)
SI.Concentration[n,nSL]c_l_feed (from BaseColumn_external)
SI.SpecificEnthalpy[n]h_l_feed (from BaseColumn_external)
SI.Density[n]rho_l_feed (from BaseColumn_external)
SI.Density[n]rho_v_feed (from BaseColumn_external)
SI.MolarMass[n]MM_l_feed (from BaseColumn_external)
SI.MolarMass[n]MM_v_feed (from BaseColumn_external)
SI.MoleFraction[n,nSL]x_l_star (from BaseColumn_external)
SI.MoleFraction[n,nSV]x_v_star (from BaseColumn_external)
Real[n,nS]n_tot (from BaseColumn_external)
SI.MoleFraction[n,nS]x_vap_liq (from BaseColumn_external)total molar fractions
ThermoEquilibrium[n]bubblePressure (from BaseColumn_external)
Boolean[n]bool_eps (from BaseColumn_external)
SI.VolumeFlowRate[n]Vdot_le (from BaseColumn_external)liquid volume flow entrained by vapour
SI.Pressurep_initial (from BaseColumn_external)1e5
SI.Pressure[n]p_bub (from BaseColumn_external)bubblePressure.p_bubblemixture bubble pressure
SI.Pressure[n + 1]p_hyd (from BaseColumn_external)hydraulic pressure
Real[n]omega (from BaseColumn_external)
Boolean[n]startUp (from BaseColumn_external)
Real[n]Ndot_source_startUp (from BaseColumn_external)dummy molar flow rate to account for discharge of inert gas during startUp
Real[n]sum_xl (from BaseColumn_external)sum(x_l[:, i] for i in 1:nSL)
Real[n]sum_xv (from BaseColumn_external)sum(x_v[:, i] for i in 1:nSV)
Real[n]sum_xl_star (from BaseColumn_external)sum(x_l_star[:, i] for i in 1:nSL)
Real[n]sum_xv_star (from BaseColumn_external)sum(x_v_star[:, i] for i in 1:nSV)
SI.MolarFlowRate[nSL]Ndot_trans (from BaseColumn_external)sum(Ndot_l_transfer[j, :] for j in 1:n)
SI.MolarFlowRate[nSV]Ndot_trans_vap (from BaseColumn_external)sum(Ndot_v_transfer[j, :] for j in 1:n)
RealEdot_l (from BaseColumn_external)sum(Edot_l_transfer)
RealEdot_v (from BaseColumn_external)sum(Edot_v_transfer)
SI.MassFlowRate[n]mdot_v (from BaseColumn_external)Vdot_v.*rho_v
SI.MassFlowRate[n]mdot_l (from BaseColumn_external)Vdot_l.*rho_l
Real[n,nSV]X_v (from BaseColumn_external)mass fraction vapour
Real[n,nSL]X_l (from BaseColumn_external)mass fraction liquid
SI.VolumeV_liq (from BaseColumn_external)sum(A*H/n*eps*eps_liq)
SI.MolarFlowRate[n]Ndot_v (from BaseColumn_external)total molar flow rate vapour
SI.MolarFlowRateNdot_v_in (from BaseColumn_external)total molar flow rate vapour
SI.MolarFlowRate[n]Ndot_l (from BaseColumn_external)total molar flow rate liquid
SI.MolarFlowRateNdot_l_in (from BaseColumn_external)total molar flow rate vapour
Real[n,nSL]n_i_liq (from BaseColumn_external)
Real[n,nSV]n_i_vap (from BaseColumn_external)
Real[n]n_liq (from BaseColumn_external)sum(n_i_liq[:, i] for i in 1:nSL)
Real[n]n_vap (from BaseColumn_external)sum(n_i_vap[:, i] for i in 1:nSV)
Real[n]n_total (from BaseColumn_external)n_liq + n_vap
SI.MolarMass[n]MM_v_star (from BaseColumn_external)mediumVapourStar.MM
Real[nS - 1]check (from BaseColumn_external)
ThermalSeparation.Utilities.LimPID_Input[n]PID (from BaseColumn_external)
Modelica.Units.SI.AmountOfSubstance[n,nS]n_mol (from BaseColumn_external)
Modelica.Units.SI.AmountOfSubstance[n]n_mol_L (from BaseColumn_external)
Modelica.Units.SI.AmountOfSubstance[n]n_mol_V (from BaseColumn_external)
Real[n,nSL]n_mol_L_i (from BaseColumn_external)
Real[n,nSV]n_mol_V_i (from BaseColumn_external)
InternalFeedPort[n]internalFeedPort (from FeedColumn)
MediumLiquid.BaseProperties[numberLiquidFeeds]mediumLiquidFeed (from FeedColumn)
MediumVapour.BaseProperties[numberVapourFeeds]mediumVapourFeed (from FeedColumn)
InitOptioninitOption
Reaction[n]reaction
FilmModelfilmModel
PressureLosspressureLoss
Holdupholdup
Geometrygeometry
HeatTransferWallheatTransferWall
Real[n]FVdot_v/geometry.A.*rho_v.^0.5F-Factor to check operating range, unit: Pa^0.5
Real[n]liquidLoadVdot_l/geometry.A*3600liquid load to check operating range, unit: m3/m2/h

Contents

NameDescription
InitOption
Reaction
FilmModel
Geometry
PressureLoss
HeatTransferWall
Holdup