modelMaxwellStefan

Maxwell-Stefan equations, no film reaction

Extends from ThermalSeparation.FilmModel.BaseClasses.BaseFilmModel (base class for film model where no source term for the reaction exists).

Information

In this class the molar flow rates between bulk and film are calculated using the Maxwell-Stefan equation. They supply an equation for N_dot for nSL-1 and nSV-1 components respectively (called rate equations). The missing equations are the summation equations at the phase boundary. The matrix R in the rate equations can be obtained from the binary mass transfer coefficients (see ComputeR). The correlations for the mass transfer coefficients are dependent on the column geometry. Therefore this model has to be instantiated for each different column type: StructuredPackedColumn.MS, RandomPackedColumn.MS, SprayColumn.MS and TrayColumn.MS. In these child classes the equations for mass transfer coefficients and interfacial area are provided.

Parameters

TypeNameDefaultDescription
IntegernSL (from BaseFilmModel)MediumLiquid.nSubstance
IntegernSV (from BaseFilmModel)MediumVapour.nSubstance
BooleanenableDialog (from BaseFilmModel)true
BooleanStartUp_CCS (from BaseFilmModel)false
BooleanEQ (from BaseFilmModel)
BooleanMS_smoothfalse
Propagated from Column › These variables are propagated from the column model and do not have to be set by the user!
Boolean[nSV]inertVapour (from BaseFilmModel)fill(false, nSV)
Boolean[nSL]inertLiquid (from BaseFilmModel)fill(false, nSL)
Integern (from BaseFilmModel)
IntegernS (from BaseFilmModel)
Integer[nS,2]mapping (from BaseFilmModel){{i, i} for i in 1:nS}
SI.TemperatureT_ref (from BaseFilmModel)
BooleanconsiderStartUp (from BaseFilmModel)false
SI.Timedelay_startUp (from BaseFilmModel)200
Booleansmooth_startUp (from BaseFilmModel)false
Boolean[nSV]lowBoilingPoint (from BaseFilmModel)fill(false, nSV)

Components

TypeNameDefaultDescription
MediumVapour.ThermodynamicPropertiespropsVap (from BaseFilmModel)
SI.MoleFraction[n,nSV]x_v_star (from BaseFilmModel)
MediumVapour.ThermodynamicStatestateVap (from BaseFilmModel)
SI.MoleFraction[nSV]x_v_in (from BaseFilmModel)
SI.Concentration[n,nSV]c_v_star (from BaseFilmModel)
SI.MoleFraction[n,nSL]x_l (from BaseFilmModel)
SI.MoleFraction[n,nSV]x_v (from BaseFilmModel)
SI.Pressure[n,nSL]p_sat (from BaseFilmModel)
MediumLiquid.ThermodynamicPropertiespropsLiq (from BaseFilmModel)
MediumLiquid.ThermodynamicStatestateLiq (from BaseFilmModel)
SI.MoleFraction[n,nSL]x_l_star (from BaseFilmModel)
SI.Concentration[n,nSL]c_l (from BaseFilmModel)
SI.Concentration[n,nSL]c_l_star (from BaseFilmModel)
Real[n,nSL]eta_comp (from BaseFilmModel)
Real[n,nSL]gamma (from BaseFilmModel)
SI.MoleFraction[n,nS]x_vap_liq (from BaseFilmModel)
SI.Concentration[nSV]c_v_in (from BaseFilmModel)
SI.Concentration[n,nSV]c_v (from BaseFilmModel)
SI.VolumeFlowRateVdot_v_in (from BaseFilmModel)
SI.VolumeFlowRate[n]Vdot_v (from BaseFilmModel)
SI.VolumeFlowRate[n]Vdot_l (from BaseFilmModel)
Real[n]eps_liq (from BaseFilmModel)
SI.MolarFlowRate[n,nSL]Ndot_l_transfer (from BaseFilmModel)
SI.MolarFlowRate[n,nSV]Ndot_v_transfer (from BaseFilmModel)positive when entering the bulk phase
SI.HeatFlowRate[n]Edot_l_transfer (from BaseFilmModel)
SI.HeatFlowRate[n]Edot_v_transfer (from BaseFilmModel)
SI.Pressure[n + 1]p_hyd (from BaseFilmModel)
SI.Pressure[n + 1]p_v (from BaseFilmModel)
SI.Temperature[n]T_star (from BaseFilmModel)
Real[n]omega (from BaseFilmModel)
Boolean[n]startUp (from BaseFilmModel)
Boolean[n]before_transition (from BaseFilmModel)
Realk (from BaseFilmModel)
Real[n,nSL]rel_dev_liq (from BaseFilmModel)relative deviation from equilibrium, liquid
Real[n,nSV]rel_dev_vap (from BaseFilmModel)relative deviation from equilibrium, vapour
Realmax_rel_dev_liq (from BaseFilmModel)max(rel_dev_liq)maximum relative deviation from equilibrium, liquid
Realmax_rel_dev_vap (from BaseFilmModel)max(rel_dev_vap)maximum relative deviation from equilibrium, vapour
HomotopyMethodhomotopyMethod (from BaseFilmModel)
SI.Density[n]rho_vpropsVap.rho
SI.MolarMass[n]MM_vpropsVap.MM
ThermoEquilibrium[n]thermoEquilibrium
Real[n,nS]Kequilibrium constant
StateSelectionstateSelection
MediumLiquid.ThermodynamicFactor[n]thermoFactorL
MediumVapour.ThermodynamicFactor[n]thermoFactorV
MediumLiquid.CalcSpecificEnthalpy[n]liqToFilmB
MediumLiquid.CalcSpecificEnthalpy[n]filmToLiqB
MediumVapour.CalcSpecificEnthalpy[n]vapToFilmB
MediumVapour.CalcSpecificEnthalpy[n]filmToVapB
SI.CoefficientOfHeatTransfer[n]alphaLiq
SI.CoefficientOfHeatTransfer[n]alphaVap
Real[n,nSV,nSV]k_v
Real[n,nSL,nSL]k_l
SI.Area[n]A_Iinterfacial area
MaxwellStefanMatrixmaxwellStefanMatrixVap
MaxwellStefanMatrixmaxwellStefanMatrixLiq
Real[n,nSL - 1,nSL - 1]R_lmaxwellStefanMatrixLiq.matrix
Real[n,nSV - 1,nSV - 1]R_vmaxwellStefanMatrixVap.matrix

Contents

NameDescription
ThermoEquilibrium
StateSelection