modelOneStageSimp

Extends from ThermalSeparation.Components.Condenser.BaseCondenser, ThermalSeparation.Icons.Color.Condenser.

Information

Check sagt: 4 Unbekannte zuviel. Das Modell luft aber trotzdem. Grund: Zhlweise der Unbekannten in den Konnektoren. Beispielsweise sieht der Input Konnektor nicht alle Gren als bekannt an. Er will entweder eine Flow- oder eine Potentialvariable haben und liefert entsprechend die andere. Die korrekte Formulierung ist aber unintuitiv und mllt den Quellcode voll.

Parameters

TypeNameDefaultDescription
IntegernL (from BaseCondenser)MediumLiquid.nSubstance - nSnumber of additional substances which are only in liquid phase
IntegernV (from BaseCondenser)MediumVapour.nSubstance - nSnumber of additional substances which are only in the vapour phase
IntegernSL (from BaseCondenser)MediumLiquid.nSubstance
IntegernSV (from BaseCondenser)MediumVapour.nSubstance
Modelica.Units.SI.HeatFlowRateQ_kon_fixed1e5
Shell side parameters
IntegernS (from BaseCondenser)2number of species which are equal in vapour and liquid phase
Integer[nS,2]mapping (from BaseCondenser){{i, i} for i in 1:nS}parameter to map the different medium vectors one to another
BooleanconnectCoolant (from BaseCondenser)falseset true to enable coolant connectors
Modelica.Units.SI.Pressurep_nom (from BaseCondenser)0.05e5linear pressure drop with nominal value
SI.VolumeFlowRatevdot_nom (from BaseCondenser)0.4nominal volume flow rate
Boolean[nSV]inert_Vapourfill(false, nSV)true for inert components in vapour phase
Boolean[nSL]inert_Liquidfill(false, nSL)true for inert components in vapour phase
Realbeta_l7e2liquid mass transfer coefficient
Realbeta_v7e2vapour mass transfer coefficient
Realalpha_l5e5liquid heat transfer coefficient
Realalpha_v5e5vapour heat transfer coefficient
Geometry
Modelica.Units.SI.AreaA0.5crossectional area
Modelica.Units.SI.HeightH1.3height
Modelica.Units.SI.Lengthh_wH/10weir height
Modelica.Units.SI.Lengthh_lwA*0.7weir length

Connectors

TypeNameDefaultDescription
ThermalSeparation.Interfaces.GasPortIngasPortIn
ThermalSeparation.Interfaces.LiquidPortOutliquidPortOut
ThermalSeparation.Interfaces.GasPortOutgasPortOut
ThermalSeparation.Interfaces.HeatPortheatPort
ThermalSeparation.Interfaces.LiquidPortInliquidPortIn

Components

TypeNameDefaultDescription
MediumVapour.BasePropertiesmediumVapourIn (from BaseCondenser)
MediumLiquid.BasePropertiesmediumLiquid (from BaseCondenser)
SI.HeatFlowRateQ_kon (from BaseCondenser)
SI.VolumeFlowRatevdot_v_in (from BaseCondenser)
SI.MassFlowRatemdot_v_in (from BaseCondenser)vdot_v_in*rho_v_in
SI.MoleFraction[nSV]x_v_in (from BaseCondenser)
SI.TemperatureT_v_in (from BaseCondenser)
SI.Concentration[nSV]c_v_in (from BaseCondenser)
ThermalSeparation.Units.MolarEnthalpyh_v_in (from BaseCondenser)
SI.Densityrho_v_in (from BaseCondenser)
SI.MolarMassMM_v_in (from BaseCondenser)
SI.MassFlowRatemdot_coolant_in (from BaseCondenser)
SI.VolumeFlowRatevdot_l_out (from BaseCondenser)
SI.MoleFraction[nSL]x_l (from BaseCondenser)
SI.Concentration[nSL]c_l (from BaseCondenser)
ThermalSeparation.Units.MolarEnthalpyh_l (from BaseCondenser)
ThermalSeparation.Units.MolarEnthalpyu_l (from BaseCondenser)mediumLiquid.u
SI.Densityrho_l (from BaseCondenser)
SI.MolarMassMM_l (from BaseCondenser)
SI.TemperatureT_l (from BaseCondenser)
SI.Pressurep_in (from BaseCondenser)
SI.Pressurep (from BaseCondenser)
SI.Pressure[nSL]p_sat (from BaseCondenser)mediumLiquid.p_sat
MediumVapour.BasePropertiesmediumVapour
MediumLiquid.BasePropertiesmediumLiquidIn
Real[nS]KthermoEquilibrium.Kequilibrium constant
Modelica.Units.SI.MolarFlowRate[nS]ndot_l_interface
Modelica.Units.SI.MolarFlowRate[nS]ndot_v_interface
Modelica.Units.SI.MolarFlowRate[nSL]ndot_from_l
Modelica.Units.SI.MolarFlowRate[nSV]ndot_from_v
Modelica.Units.SI.TemperatureT_l_in
Modelica.Units.SI.TemperatureT_v
Modelica.Units.SI.TemperatureTstar
Modelica.Units.SI.MoleFraction[nSL]x_l_in
Modelica.Units.SI.MoleFraction[nSV]x_v
Modelica.Units.SI.MoleFraction[nSL]x_l_star
Modelica.Units.SI.MoleFraction[nSV]x_v_star
Modelica.Units.SI.MoleFraction[nSL]x_from_l
Modelica.Units.SI.MoleFraction[nSL]x_to_l
Modelica.Units.SI.MoleFraction[nSV]x_from_v
Modelica.Units.SI.MoleFraction[nSV]x_to_v
Modelica.Units.SI.MolarMassMM_l_inmediumLiquidIn.MM
Modelica.Units.SI.MolarMassMM_vmediumVapour.MM
Modelica.Units.SI.Densityrho_l_inmediumLiquidIn.d
Modelica.Units.SI.Densityrho_vmediumVapour.d
Modelica.Units.SI.Concentration[nSL]c_l_in
Modelica.Units.SI.Concentration[nSV]c_v
ThermalSeparation.Units.MolarEnthalpyh_l_in
ThermalSeparation.Units.MolarEnthalpyh_vmediumVapour.h
ThermalSeparation.Units.MolarEnthalpyu_vmediumVapour.u
ThermalSeparation.Units.MolarEnthalpyh_from_vmediumVapour.h
ThermalSeparation.Units.MolarEnthalpyh_from_lmediumLiquid.h
ThermalSeparation.Units.MolarEnthalpyh_to_vmediumVapour.h
ThermalSeparation.Units.MolarEnthalpyh_to_lmediumLiquid.h
Modelica.Units.SI.HeatFlowRateqdot_v_interface
Modelica.Units.SI.HeatFlowRateqdot_l_interface
Modelica.Units.SI.HeatFlowRateqdot_v_conv
Modelica.Units.SI.HeatFlowRateqdot_l_conv
Modelica.Units.SI.HeatFlowRateqdot_v_cond
Modelica.Units.SI.HeatFlowRateqdot_l_cond
Modelica.Units.SI.VolumeFlowRatevdot_v_out
Modelica.Units.SI.VolumeFlowRatevdot_l_in
SI.MoleFraction[nS]x_vap_liqtotal molar fractions
Real[nS]n_tottotal molar holdup
Realeps_liq
Realeps_liq_init0.25initial liquid volume fraction
Realeps_vap
Realz
Modelica.Units.SI.Heighth_liqliquid level inside condenser
MediumLiquid.FugacityCoefficientsatFugacityLiq
ThermoEquilibriumthermoEquilibrium

Contents

NameDescription
ThermoEquilibrium