modelInitializationParam

Information

This model allows the definition of the initial values for the vessel temperature, the process side fouling factor, the liquid height in the vessel, and the mixer speed. You can indicate also if you want to use a correction factor for the heat transfer, based on the wall viscosity. And introduce a calculation for the power absorbed by distillation. Expected values for pressure and temperature of two fluids can be also introduced, these values will be used normally for the calculation of the corresponding fluid enthalpy, and this enthalpy can be used as the initial guess for fluid output at pipes or other equipment.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureinitT473.15initial temperature of the vessel
Modelica.Units.SI.ThermalInsulancefoulingFprocess side fouling factor
Modelica.Units.SI.HeighthLiquidliquid height from bottom
BooleanuseHTWallCorrtrueuse, or not, wall viscosity correction for heat transfer
Modelica.Units.NonSI.AngularVelocity_rpmnmixer shaft rotational speed rpm
Modelica.Units.SI.PowerdistPower0.0power needed for distillation
Thermal fluid 1
FreeFluids.Types.SourceOptionTF1OptionFreeFluids.Types.SourceOption.useP_Tthemo fluid 1 enthalpy calculation option
Modelica.Units.SI.TemperatureTF1initT553.15initial temperature of the thermal fluid 1
Modelica.Units.SI.AbsolutePressureTF1initP9.0e5initial pressure of the thermal fluid 1
Modelica.Units.SI.SpecificEnthalpyTF1initHif TF1Option == FreeFluids.Types.SourceOption.useP_T then Medium1.specificEnthalpy(Medium1.setState_pTX(TF1initP, TF1initT)) elseif TF1Option == FreeFluids.Types.SourceOption.useSatLiqT then Medium1.bubbleEnthalpy(Medium1.setSat_T(TF1initT)) else Medium1.specificEnthalpy(Medium1.setState_pTX(Medium1.p_default, Medium1.T_default))initial enthalpy of the thermal fluid 1. Leave it unchanged
Modelica.Units.SI.SpecificEnthalpyTF2initHif TF2Option == FreeFluids.Types.SourceOption.useP_T then Medium2.specificEnthalpy(Medium2.setState_pTX(TF2initP, TF2initT)) else Medium2.specificEnthalpy(Medium2.setState_pTX(Medium2.p_default, Medium2.T_default))initial enthalpy of the thermal fluid 2. Leave it unchanged
Thermal fluid 2
FreeFluids.Types.SourceOptionTF2OptionFreeFluids.Types.SourceOption.useP_T
Modelica.Units.SI.TemperatureTF2initT553.15initial temperature of the thermal fluid 2
Modelica.Units.SI.AbsolutePressureTF2initP9.0e5initial pressure of the thermal fluid 2

Contents

NameDescription
Medium1
Medium2