modelFeedColumn_newStartUpShutDown

column with optional liquid and or vapour feed inlets

Extends from ThermalSeparation.Components.Columns.BaseClasses.BaseColumn_newStartUpShutDown (Gesamtmolbilanz, x, h, Ndot im Konnektor).

Information

This class provides the equations necessary to describe vapour and / or liquid feeds to the column.

Parameters

TypeNameDefaultDescription
Integern (from BaseColumn_newStartUpShutDown)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_newStartUpShutDown)if n == 1 then {p_v_start_outlet} else linspace(p_v_start_inlet, p_v_start_outlet, n)
SI.Pressure[n + 1]p_v_start_comp (from BaseColumn_newStartUpShutDown)cat(1, p_v_start, {p_v_start[n]})
SI.MoleFraction[n,nSL]x_l_start (from BaseColumn_newStartUpShutDown)
SI.MoleFraction[n,nSV]x_v_start (from BaseColumn_newStartUpShutDown)
SI.Temperature[n]T_v_start (from BaseColumn_newStartUpShutDown)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_newStartUpShutDown)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_newStartUpShutDown)falseequilibrium model is used, no mass transfer, value provided by film model
Integer[nS,2]mapping (from BaseColumn_newStartUpShutDown){{i, i} for i in 1:nS}parameter to map the different medium vectors one to another
Boolean[nSV]inertVapour (from BaseColumn_newStartUpShutDown)fill(false, nSV)true for each component which is inert in the vapour phase
Boolean[nSL]inertLiquid (from BaseColumn_newStartUpShutDown)fill(false, nSL)true for each component which is inert in the liquid phase
Booleanh_evap_medium (from BaseColumn_newStartUpShutDown)MediumVapour.delta_hv_medium
IntegernS (from BaseColumn_newStartUpShutDown)number of species which are equal in vapour and liquid phase
IntegernL (from BaseColumn_newStartUpShutDown)MediumLiquid.nSubstance - nSnumber of additional substances which are only in liquid phase
IntegernV (from BaseColumn_newStartUpShutDown)MediumVapour.nSubstance - nSnumber of additional substances which are only in the vapour phase
IntegernSL (from BaseColumn_newStartUpShutDown)MediumLiquid.nSubstance
IntegernSV (from BaseColumn_newStartUpShutDown)MediumVapour.nSubstance
SI.MoleFraction[nSV]x_v_dummy (from BaseColumn_newStartUpShutDown){1, 0}
IntegernumberLiquidFeedsInternalif hasLiquidFeed then numberLiquidFeeds else 0
IntegernumberVapourFeedsInternalif hasVapourFeed then numberVapourFeeds else 0
Advanced
SI.TemperatureT_ref (from BaseColumn_newStartUpShutDown)systemTS.T_refreference temperature
Initialization
SI.Pressurep_v_start_inlet (from BaseColumn_newStartUpShutDown)1.9e5
SI.Pressurep_v_start_outlet (from BaseColumn_newStartUpShutDown)1.8e5
Booleanx_l_profile (from BaseColumn_newStartUpShutDown)false
Booleanx_v_profile (from BaseColumn_newStartUpShutDown)false
SI.MoleFraction[nSL]x_l_start_const (from BaseColumn_newStartUpShutDown)fill(1/nSL, nSL)
SI.MoleFraction[nSV]x_v_start_const (from BaseColumn_newStartUpShutDown)fill(1/nSV, nSV)
SI.MoleFraction[nSL]x_l_start_in (from BaseColumn_newStartUpShutDown)fill(1/nSL, nSL)
SI.MoleFraction[nSL]x_l_start_out (from BaseColumn_newStartUpShutDown)fill(1/nSL, nSL)
SI.MoleFraction[nSV]x_v_start_in (from BaseColumn_newStartUpShutDown)fill(1/nSV, nSV)
SI.MoleFraction[nSV]x_v_start_out (from BaseColumn_newStartUpShutDown)fill(1/nSV, nSV)
Real[nSV]x_total_start (from BaseColumn_newStartUpShutDown)fill(1/nSV, nSV)total mole fraction in system (vapour and liquid), component ordering as in vapour medium
BooleanT_l_profile (from BaseColumn_newStartUpShutDown)false
BooleanT_v_profile (from BaseColumn_newStartUpShutDown)false
SI.TemperatureT_vap_start_bottom (from BaseColumn_newStartUpShutDown)300
SI.TemperatureT_vap_start_top (from BaseColumn_newStartUpShutDown)300
SI.TemperatureT_liq_start_bottom (from BaseColumn_newStartUpShutDown)300
SI.TemperatureT_liq_start_top (from BaseColumn_newStartUpShutDown)300
SI.TemperatureT_vapour_start (from BaseColumn_newStartUpShutDown)300
SI.TemperatureT_liquid_start (from BaseColumn_newStartUpShutDown)300
StartUp
BooleanconsiderStartUp (from BaseColumn_newStartUpShutDown)falsetrue if StartUp is to be considered
BooleanStartUp_CCS (from BaseColumn_newStartUpShutDown)falsetrue if StartUp of carbon capture plant is to be considered
BooleanswitchingCondition_Boiling (from BaseColumn_newStartUpShutDown)truetrue if boiling state is switching condition
BooleanswitchingCondition_Absorber_x_v (from BaseColumn_newStartUpShutDown)falsetrue if vapour composition is switching condition
Realx_v_switch (from BaseColumn_newStartUpShutDown)0.05vapour mole fraction value which is to be achieved
IntegercomponentNumber (from BaseColumn_newStartUpShutDown)3number of vapour component number in model
SI.Pressurep_initial (from BaseColumn_newStartUpShutDown)1e5pressure in column at start-up
Realgain (from BaseColumn_newStartUpShutDown)0.01controler gain to maintain initial pressure before switch
Realk (from BaseColumn_newStartUpShutDown)0.2e-3large value for steep omega
Realfriggelfaktor (from BaseColumn_newStartUpShutDown)0.0002e5value added to p_bub to shift switching time
Boolean[nSV]lowBoilingPoint (from BaseColumn_newStartUpShutDown)fill(false, nSV)true if substance has low boiling point
Realy_PID (from BaseColumn_newStartUpShutDown)10maximal value for supply startUp PID controller
RealVdot_startUp_pressure (from BaseColumn_newStartUpShutDown)0.005value when supply PID controller is switched off
ShutDown
BooleanconsiderShutDown (from BaseColumn_newStartUpShutDown)falsetrue if ShutDown is to be considered
StartUp › Smooth Start-Up
Booleansmooth_startUp (from BaseColumn_newStartUpShutDown)falsetrue if smooth switching is to be considered
Realdelay_startUp (from BaseColumn_newStartUpShutDown)200time delay for smooth startUp
Feed › Liquid Feed
BooleanhasLiquidFeedfalsetrue, if there exist a liquid feed
IntegernumberLiquidFeeds1
IntegerstageLiquidFeed{2}number of stage where feed enters the column
Feed › Vapour Feed
BooleanhasVapourFeedfalsetrue, if there exist a liquid feed
IntegernumberVapourFeeds1
IntegerstageVapourFeed{1}number of stage where feed enters the column

Connectors

TypeNameDefaultDescription
ThermalSeparation.Interfaces.GasPortInupStreamIn (from BaseColumn_newStartUpShutDown)
ThermalSeparation.Interfaces.GasPortOutupStreamOut (from BaseColumn_newStartUpShutDown)
ThermalSeparation.Interfaces.LiquidPortIndownStreamIn (from BaseColumn_newStartUpShutDown)
ThermalSeparation.Interfaces.LiquidPortOutdownStreamOut (from BaseColumn_newStartUpShutDown)
Modelica.Blocks.Interfaces.BooleanInputStartUp_signal (from BaseColumn_newStartUpShutDown)
Modelica.Blocks.Interfaces.BooleanInputShutDown_signal (from BaseColumn_newStartUpShutDown)
Interfaces.LiquidPortInfeedLiquid
Interfaces.GasPortInfeedVapour
ThermalSeparation.Interfaces.GasPortInfeedVapour_dummy
ThermalSeparation.Interfaces.LiquidPortInfeedLiquid_dummy
ThermalSeparation.Interfaces.GasPortOutfeedVapour_dummy2
ThermalSeparation.Interfaces.LiquidPortOutfeedLiquid_dummy2

Components

TypeNameDefaultDescription
ThermalSeparation.SystemTSsystemTS (from BaseColumn_newStartUpShutDown)
HomotopyMethodhomotopyMethod (from BaseColumn_newStartUpShutDown)
Resultsresults (from BaseColumn_newStartUpShutDown)
MediumVapour.BaseProperties[n]mediumVapour (from BaseColumn_newStartUpShutDown)
MediumVapour.BasePropertiesmediumVapourIn (from BaseColumn_newStartUpShutDown)
MediumVapour.BaseProperties[n]mediumVapourStar (from BaseColumn_newStartUpShutDown)
MediumLiquid.BaseProperties[n]mediumLiquid (from BaseColumn_newStartUpShutDown)
MediumLiquid.BasePropertiesmediumLiquidIn (from BaseColumn_newStartUpShutDown)
MediumLiquid.BaseProperties[n]mediumLiquidStar (from BaseColumn_newStartUpShutDown)
MediumLiquid.ActivityCoefficient[n]activityCoeff (from BaseColumn_newStartUpShutDown)
MediumVapour.EvaporationEnthalpy[n]evapEnthalpy (from BaseColumn_newStartUpShutDown)
ThermalSeparation.Units.MolarEnthalpy[n,nSV]delta_hv (from BaseColumn_newStartUpShutDown)if h_evap_medium then zeros(n, nSV) else evapEnthalpy.h
SI.Density[n]rho_v (from BaseColumn_newStartUpShutDown)if homotopyMethod.bool_rho and homotopyMethod.useHomotopy then homotopy(actual = mediumVapour.d, simplified = fill(homotopyMethod.rho_vap, n)) else mediumVapour.dmixture vapour density
SI.Densityrho_v_in (from BaseColumn_newStartUpShutDown)mediumVapourIn.d
SI.MolarMass[n]MM_v (from BaseColumn_newStartUpShutDown)mediumVapour.MMmolar mass of the vapour mixture
SI.MolarMassMM_v_in (from BaseColumn_newStartUpShutDown)mediumVapourIn.MM
ThermalSeparation.Units.MolarEnthalpy[n]h_v (from BaseColumn_newStartUpShutDown)if homotopyMethod.bool_h and homotopyMethod.useHomotopy then homotopy(actual = mediumVapour.h, simplified = fill(homotopyMethod.h_vap, n)) else mediumVapour.h
ThermalSeparation.Units.MolarEnthalpyh_v_in (from BaseColumn_newStartUpShutDown)mediumVapourIn.h
SI.MolarInternalEnergy[n]u_v (from BaseColumn_newStartUpShutDown)mediumVapour.u
SI.Concentration[n,nSV]c_v_star (from BaseColumn_newStartUpShutDown)
SI.Density[n]rho_v_star (from BaseColumn_newStartUpShutDown)mediumVapourStar.d
SI.Density[n]rho_l (from BaseColumn_newStartUpShutDown)if homotopyMethod.bool_rho and homotopyMethod.useHomotopy then homotopy(actual = mediumLiquid.d, simplified = fill(homotopyMethod.rho_liq, n)) else mediumLiquid.dmixture liquid density
SI.Densityrho_l_in (from BaseColumn_newStartUpShutDown)mediumLiquidIn.d
SI.Density[n]rho_l_star (from BaseColumn_newStartUpShutDown)mediumLiquidStar.d
SI.MolarMass[n]MM_l (from BaseColumn_newStartUpShutDown)mediumLiquid.MMmolar mass of the liquid mixture
SI.MolarMassMM_l_in (from BaseColumn_newStartUpShutDown)mediumLiquidIn.MM
SI.MolarMass[n]MM_l_star (from BaseColumn_newStartUpShutDown)mediumLiquidStar.MM
ThermalSeparation.Units.MolarEnthalpy[n]h_l (from BaseColumn_newStartUpShutDown)
ThermalSeparation.Units.MolarEnthalpyh_l_in (from BaseColumn_newStartUpShutDown)
ThermalSeparation.Units.MolarEnthalpy[n]h_l_star (from BaseColumn_newStartUpShutDown)
SI.MolarInternalEnergy[n]u_l (from BaseColumn_newStartUpShutDown)mediumLiquid.u
SI.Concentration[nSV]c_v_in (from BaseColumn_newStartUpShutDown)
SI.Concentration[n,nSV]c_v (from BaseColumn_newStartUpShutDown)
SI.MoleFraction[nSV]x_v_in (from BaseColumn_newStartUpShutDown)
SI.MoleFraction[n,nSV]x_v (from BaseColumn_newStartUpShutDown)
SI.VolumeFlowRateVdot_v_in (from BaseColumn_newStartUpShutDown)
SI.VolumeFlowRate[n]Vdot_v (from BaseColumn_newStartUpShutDown)
SI.TemperatureT_v_in (from BaseColumn_newStartUpShutDown)
SI.Pressure[n + 1]p_v (from BaseColumn_newStartUpShutDown)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_newStartUpShutDown)
SI.Concentration[nSL]c_l_in (from BaseColumn_newStartUpShutDown)molar concentration in the liquid at the liquid outlet of each stage
SI.Concentration[n,nSL]c_l (from BaseColumn_newStartUpShutDown)
SI.MoleFraction[nSL]x_l_in (from BaseColumn_newStartUpShutDown)
SI.MoleFraction[n,nSL]x_l (from BaseColumn_newStartUpShutDown)
SI.VolumeFlowRateVdot_l_in (from BaseColumn_newStartUpShutDown)
SI.VolumeFlowRate[n]Vdot_l (from BaseColumn_newStartUpShutDown)
SI.TemperatureT_l_in (from BaseColumn_newStartUpShutDown)
SI.Temperature[n]T_l (from BaseColumn_newStartUpShutDown)
SI.Concentration[n,nSL]c_l_star (from BaseColumn_newStartUpShutDown)
SI.MolarFlowRate[n,nSL]Ndot_reac (from BaseColumn_newStartUpShutDown)
SI.HeatFlowRate[n]Qdot_reac (from BaseColumn_newStartUpShutDown)
SI.VolumeFraction[n]eps_liq (from BaseColumn_newStartUpShutDown)liquid volume fraction
SI.VolumeFraction[n]eps_vap (from BaseColumn_newStartUpShutDown)vapour volume fraction
SI.Temperature[n]T (from BaseColumn_newStartUpShutDown)
SI.HeatFlowRate[n]Qdot_wall (from BaseColumn_newStartUpShutDown)heat flow rate to wall
SI.MolarFlowRate[n,nSV]Ndot_v_transfer (from BaseColumn_newStartUpShutDown)
SI.MolarFlowRate[n,nSL]Ndot_l_transfer (from BaseColumn_newStartUpShutDown)
SI.HeatFlowRate[n]Edot_l_transfer (from BaseColumn_newStartUpShutDown)
SI.HeatFlowRate[n]Edot_v_transfer (from BaseColumn_newStartUpShutDown)
SI.Temperature[n]T_star (from BaseColumn_newStartUpShutDown)
SI.Pressurep_v_in (from BaseColumn_newStartUpShutDown)
SI.Pressure[n,nSL]p_sat (from BaseColumn_newStartUpShutDown)
SI.Pressure[n,nSL]p_sat_bulk (from BaseColumn_newStartUpShutDown)
SI.VolumeFlowRate[n]Vdot_v_feed (from BaseColumn_newStartUpShutDown)
SI.Concentration[n,nSV]c_v_feed (from BaseColumn_newStartUpShutDown)
SI.SpecificEnthalpy[n]h_v_feed (from BaseColumn_newStartUpShutDown)
SI.VolumeFlowRate[n]Vdot_l_feed (from BaseColumn_newStartUpShutDown)
SI.Concentration[n,nSL]c_l_feed (from BaseColumn_newStartUpShutDown)
SI.SpecificEnthalpy[n]h_l_feed (from BaseColumn_newStartUpShutDown)
SI.Density[n]rho_l_feed (from BaseColumn_newStartUpShutDown)
SI.Density[n]rho_v_feed (from BaseColumn_newStartUpShutDown)
SI.MolarMass[n]MM_l_feed (from BaseColumn_newStartUpShutDown)
SI.MolarMass[n]MM_v_feed (from BaseColumn_newStartUpShutDown)
SI.MoleFraction[n,nSL]x_l_star (from BaseColumn_newStartUpShutDown)
SI.MoleFraction[n,nSV]x_v_star (from BaseColumn_newStartUpShutDown)
ThermoEquilibrium[n]bubblePressure (from BaseColumn_newStartUpShutDown)
Boolean[n]bool_eps (from BaseColumn_newStartUpShutDown)
SI.VolumeFlowRate[n]Vdot_le (from BaseColumn_newStartUpShutDown)liquid volume flow entrained by vapour
SI.Pressure[n]p_bub (from BaseColumn_newStartUpShutDown)bubblePressure.p_bubblemixture bubble pressure
SI.Pressure[n + 1]p_hyd (from BaseColumn_newStartUpShutDown)hydraulic pressure
Real[n]omega (from BaseColumn_newStartUpShutDown)
Boolean[n]startUp (from BaseColumn_newStartUpShutDown)
Boolean[n]before_transition (from BaseColumn_newStartUpShutDown)
Real[n]transition_time (from BaseColumn_newStartUpShutDown)
Real[n]Ndot_source_startUp (from BaseColumn_newStartUpShutDown)dummy molar flow rate to account for discharge of inert gas during startUp
Real[n]Ndot_source_shutDown (from BaseColumn_newStartUpShutDown)dummy molar flow rate to avoid stiff system
RealN_dummyShutDown (from BaseColumn_newStartUpShutDown)0.001dummy molar flow rate to avoid stiff system
Real[n]sum_xl (from BaseColumn_newStartUpShutDown)sum(x_l[:, i] for i in 1:nSL)
Real[n]sum_xv (from BaseColumn_newStartUpShutDown)sum(x_v[:, i] for i in 1:nSV)
Real[n]sum_xl_star (from BaseColumn_newStartUpShutDown)sum(x_l_star[:, i] for i in 1:nSL)
Real[n]sum_xv_star (from BaseColumn_newStartUpShutDown)sum(x_v_star[:, i] for i in 1:nSV)
SI.MolarFlowRate[nSL]Ndot_trans (from BaseColumn_newStartUpShutDown)sum(Ndot_l_transfer[j, :] for j in 1:n)
SI.MolarFlowRate[nSV]Ndot_trans_vap (from BaseColumn_newStartUpShutDown)sum(Ndot_v_transfer[j, :] for j in 1:n)
RealEdot_l (from BaseColumn_newStartUpShutDown)sum(Edot_l_transfer)
RealEdot_v (from BaseColumn_newStartUpShutDown)sum(Edot_v_transfer)
SI.MassFlowRate[n]mdot_v (from BaseColumn_newStartUpShutDown)Vdot_v.*rho_v
SI.MassFlowRate[n]mdot_l (from BaseColumn_newStartUpShutDown)Vdot_l.*rho_l
Real[n,nSV]X_v (from BaseColumn_newStartUpShutDown)mass fraction vapour
Real[nSV]X_v_in (from BaseColumn_newStartUpShutDown)mass fraction vapour in
Real[n,nSL]X_l (from BaseColumn_newStartUpShutDown)mass fraction liquid
SI.VolumeV_liq (from BaseColumn_newStartUpShutDown)sum(A*H/n*eps*eps_liq)
SI.MolarFlowRate[n]Ndot_v (from BaseColumn_newStartUpShutDown)total molar flow rate vapour
SI.MolarFlowRateNdot_v_in (from BaseColumn_newStartUpShutDown)total molar flow rate vapour
SI.MolarFlowRate[n]Ndot_l (from BaseColumn_newStartUpShutDown)total molar flow rate liquid
SI.MolarFlowRateNdot_l_in (from BaseColumn_newStartUpShutDown)total molar flow rate vapour
Real[n,nSL]n_i_liq (from BaseColumn_newStartUpShutDown)
Real[n,nSV]n_i_vap (from BaseColumn_newStartUpShutDown)
Real[n]n_liq (from BaseColumn_newStartUpShutDown)sum(n_i_liq[:, i] for i in 1:nSL)
Real[n]n_vap (from BaseColumn_newStartUpShutDown)sum(n_i_vap[:, i] for i in 1:nSV)
Real[n]n_total (from BaseColumn_newStartUpShutDown)n_liq + n_vap
Real[n]n_mol_L (from BaseColumn_newStartUpShutDown)
Real[n]n_mol_V (from BaseColumn_newStartUpShutDown)
SI.MolarMass[n]MM_v_star (from BaseColumn_newStartUpShutDown)mediumVapourStar.MM
Real[nS - 1]check (from BaseColumn_newStartUpShutDown)
ThermalSeparation.Utilities.LimPID_Input[n]PID (from BaseColumn_newStartUpShutDown)
ThermalSeparation.Components.Columns.BaseClasses.InternalStepSequence_StateGraph1[n]internalStepSequence (from BaseColumn_newStartUpShutDown)
Modelica.Blocks.Routing.BooleanReplicatorshutDownReplicator (from BaseColumn_newStartUpShutDown)
Modelica.Blocks.Routing.BooleanReplicatorstartUpReplicator (from BaseColumn_newStartUpShutDown)
Modelica.Blocks.Sources.BooleanExpressionbooleanExpression (from BaseColumn_newStartUpShutDown)
Modelica.Blocks.Routing.BooleanReplicatorendPhase1 (from BaseColumn_newStartUpShutDown)
InternalFeedPort[n]internalFeedPort
MediumLiquid.BaseProperties[numberLiquidFeeds]mediumLiquidFeed
MediumVapour.BaseProperties[numberVapourFeeds]mediumVapourFeed
SourcesSinks.SourceGas[numberVapourFeeds]sourceGas
SourcesSinks.SourceLiquid[numberLiquidFeeds]sourceLiquid
SourcesSinks.SinkGas[numberVapourFeeds]sinkGas
SourcesSinks.SinkLiquid[numberLiquidFeeds]sinkLiquid
Real[numberVapourFeeds,nSV]c_v_feed_used

Contents

NameDescription
InternalFeedPortinternal model for conditional stream connectors