modelEffectiveDiff

effective diffusivity method

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

Information

This model might only be used for diluted systems, i.e. in both phases there is one component which has a mole fraction close to one.

In this case the interactions between the components can be neglected and the molar flow rate of a component i only equals the mole fraction gradient of this specific component:


N_i=k_i * A * (x_i^star - x_i)

The variables k (mass transfer coefficient) and A (interfacial area) have to be determined in the extending classes, since their determination is column-type dependent.


Modelica Definition

The code definition for the molar flow rates is as shown below. If the stage is still in start-up modus, by definition all incoming vapour will condense, and a mass transfer equation is only needed on the liquid side. If there is no start-up modus, there is also a mass transfer equation for the vapour side.

for j in 1:n loop

// Vapour side

if considerStartUp and startUp[j] then

for i in 1:nSV loop

Ndot_v_interface[j,i] = if j==1 then -Vdot_v_in*c_v_in[i] else -Vdot_v[j-1]*c_v[j-1,i];

end for;

else

for i in 1:nSV loop

Ndot_v_interface[j,i]=k_v[j,i]*A_I[j]*propsVap[j].rho/propsVap[j].MM*(x_v_star[j,i]-x_v[j,i]);

end for;

end if;

// Liquid side

for i in 1:nSL loop

Ndot_l_interface[j,i]=k_l[j,i]*A_I[j]*propsLiq[j].rho/propsLiq[j].MM*(x_l_star[j,i]-x_l[j,i]);

end for;

end for;

Parameters

TypeNameDefaultDescription
IntegernSL (from BaseFilmModel)MediumLiquid.nSubstance
IntegernSV (from BaseFilmModel)MediumVapour.nSubstance
BooleanenableDialog (from BaseFilmModel)true
BooleanStartUp_CCS (from BaseFilmModel)false
BooleanEQ (from BaseFilmModel)
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
StateSelectionstateSelection

Contents

NameDescription
ThermoEquilibrium
StateSelection