modelEquilibriumPI

equilibrium on each stage using a PI controller

Extends from BaseNonEqType, ThermalSeparation.FilmModel.BaseClasses.EquilibriumPI (equilibrium model using PI controller).

Parameters

TypeNameDefaultDescription
IntegernSL (from BaseFilmModel)MediumLiquid.nSubstance
IntegernSV (from BaseFilmModel)MediumVapour.nSubstance
BooleanenableDialog (from BaseFilmModel)true
BooleanStartUp_CCS (from BaseFilmModel)false
BooleanEQ (from BaseFilmModel)
RealfactorHT (from EquilibriumPI)1e8factor for heat transfer corresponding to alpha*area
Propagated from Column › These variables are propagated from the column model and do not have to be set by the user!
Integernn (from BaseFilmTray)
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)
Heat and Mass Transfer › Equilibrium
Realk_vap (from EquilibriumPI)1e4gain of PI controller
RealT_vap (from EquilibriumPI)0.01time constant of PI controller
RealK_start_vap (from EquilibriumPI)1start value for output of PI controller
Realk_liq (from EquilibriumPI)1e4gain of PI controller
RealT_liq (from EquilibriumPI)0.1time constant of PI controller
RealK_start_liq (from EquilibriumPI)1e-2start value for output of PI controller
Real[n,nSV]eta_murphree0.8*ones(n, nSV)Murphree efficientcy

Components

TypeNameDefaultDescription
Real[nn]eps_liq_2ph (from BaseFilmTray)liquid fraction in the two-phase area on the plate
ThermalSeparation.Units.F_Factor[nn]F (from BaseFilmTray)F-factor based on the active area
ThermalSeparation.Units.F_Factor[nn]F_max (from BaseFilmTray)maximum vapour load
SI.Height[nn]h (from BaseFilmTray)
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)
Real[n,nS]K (from EquilibriumPI)thermodynamic equilibrium constant
SI.Density[n]rho_v (from EquilibriumPI)propsVap.rho
SI.MolarMass[n]MM_v (from EquilibriumPI)propsVap.MM
ThermoEquilibrium[n]thermoEquilibrium (from EquilibriumPI)
ThermalSeparation.Utilities.PI_InputPI_vap (from EquilibriumPI)
ThermalSeparation.Utilities.PI_InputPI_liq (from EquilibriumPI)
StateSelectionstateSelection (from EquilibriumPI)
SI.Area[n]A_I (from EquilibriumPI)interfacial area
SI.MoleFractionmax_rel_error_liq (from EquilibriumPI)max(vector_liq)
SI.MoleFractionmax_rel_error_vap (from EquilibriumPI)max(vector_vap)
Real[n,nSL]vector_liq (from EquilibriumPI)
Real[n,nSV]vector_vap (from EquilibriumPI)
SI.HeatFlowRate[n]Qdot_l_transfer (from EquilibriumPI)
SI.HeatFlowRate[n]Qdot_v_transfer (from EquilibriumPI)
SI.MoleFraction[n,nSV]x_v_star_eq (from EquilibriumPI)
Geometrygeometry