Air-Water Equilibrium (AWE) Property Package

This property package implements property relationships for an aqueous liquid phase in equilibrium with air.

The AWE property package:
  • contains a liquid and a vapor phase;

  • sets water as the solvent for the liquid phase;

  • sets air as the solvent for the vapor phase;

  • uses mass flowrate, pressure, and temperature as state variables;

  • does not support dynamics

Configuration

The AWE property package has several configuration options depending on the user’s preferences. These are set via a Python dict when building the flowsheet. Details of the implications of different configuration options are described in a later section.

Option

Description

Default

Required

Units

Form

solute_list

Solute names in stream

User provided

Yes

\(\text{n/a}\)

list

mw_data

Molecular weight in for solutes in solute_list

User provided

Yes

\(\text{kg mol}^{-1}\)

dict

diffusivity_data

Liquid and vapor phase diffusivity data

User provided

No

\(\text{kg m}^{-1} \text{s}^{-1}\)

dict with (phase, solute) keys

molar_volume_data

Molar volume data for solutes

User provided

No

\(\text{m}^{3} \text{ mol}^{-1}\)

dict with solute keys

critical_molar_volume_data

Critical molar volume data for solutes

User provided

No

\(\text{m}^{3} \text{ mol}^{-1}\)

dict with solute keys

density_data

Liquid and vapor phase density data

{'Liq': 998.2, 'Vap': 1.204}1

No

\(\text{kg m}^{-3}\)

dict with phase keys

dynamic_viscosity_data

Liquid and vapor phase dynamic viscosity data

{'Liq': 1e-3, 'Vap': 1.813e-5}1

No

\(\text{Pa s}\)

dict with phase keys

henry_constant_data

Dimensionless Henry’s Constant data for solutes

User provided

No

\(\text{dimensionless}\)

dict with solute keys

temp_adjust_henry

Boolean to indicate if Henry’s Constant should be temperature adjusted

True

No

\(\text{n/a}\)

bool

standard_enthalpy_change_data

Standard enthalpy change of dissolution in water data for solutes

User provided

No

\(\text{J mol}^{-1}\)

dict with solute keys

temperature_boiling_data

Boiling temperature data for solutes

User provided

No

\(\text{K}\)

dict with solute keys

charge_data

Charge data for solutes

User provided

No

\(\text{K}\)

dict with solute keys

liq_diffus_calculation

Approach for liquid diffusivity calculation

Hayduk-Laudie

No

\(\text{n/a}\)

str

vap_diffus_calculation

Approach for vapor diffusivity calculation

Wilke-Lee

No

\(\text{n/a}\)

str

molar_volume_calculation

Approach for molar volume calculation

Tyn-Calus

No

\(\text{n/a}\)

str

Note

1 default values are for 20 °C

Sets

The AWE property package contains two phases (Liq and Vap), two solvents (H2O and Air) and as many solutes as the user provides via solute_list in the configuration.

Many properties in AWE are not calculated for every phase or component provided. Thus, several different indexing sets are created.

Description

Symbol

Name

Indices

All components and all solvents

\(j\)

component_list

['H2O', 'Air', solute_list]

Phases

\(p\)

phase_list

['Liq', 'Vap']

Solvents

\(j\)

solvent_set

['H2O', 'Air']

Components in liquid phase

\(j\)

liq_comps

['H2O', solute_list]

Components in vapor phase

\(j\)

vap_comps

['Air', solute_list]

Solutes in liquid phase

\(j\)

liq_solute_set

('Liq', [solute_list])

Solutes in vapor phase

\(j\)

vap_solute_set

('Vap', [solute_list])

Solutes in both phases

\(j\)

phase_solute_set

(['Liq', 'Vap'], [solute_list])

Components in both phases

\(j\)

phase_component_set

(['Liq', 'Vap'], ['H2O', 'Air', solute_list])

State variables

Description

Symbol

Variable

Index

Units

Component mass flowrate

\(M\)

flow_mass_phase_comp

[p, j]

\(\text{kg}\text{ } \text{s}^{-1}\)

Temperature

\(T\)

temperature

[p]

\(\text{K}\)

Pressure

\(P\)

pressure

None

\(\text{Pa}\)

Parameters

Description

Symbol

Parameter

Index

Indexing Set

Units

Component molecular weight

\(m_N\)

mw_comp

[j]

component_set

\(\text{kg mol}^{-1}\)

Molar volume of solute

\(V\)

molar_volume_comp

[j]

solute_set

\(\text{m}^3 \text{ mol}^{-1}\)

Critical molar volume of solute

\(V_c\)

critical_molar_volume_comp

[j]

solute_set

\(\text{m}^3 \text{ mol}^{-1}\)

Dynamic viscosity

\(\mu\)

visc_d_phase

[p]

phase_list

\(\text{Pa s}\)

Component dimensionless Henry’s constant

\(h_j\)

henry_comp

[j]

solute_set

\(\text{dimensionless}\)

Standard enthalpy change of solution

\(\Delta H_j^{\theta}\)

enth_change_dissolution_comp

[j]

solute_set

\(\text{J}\text{ mol}^{-1}\)

Boiling point temperature

\(T_{b,j}\)

temperature_boiling_comp

[j]

solute_set

\(\text{K}\)

Properties

Description

Symbol

Variable

Index

Indexing Set

Units

Mass density of each phase

\(\rho_p\)

dens_mass_phase

[p]

phase_list

\(\text{kg m}^{-3}\)

Mass density of each solvent

\(\rho_s\)

dens_mass_solvent

[s]

solvent_set

\(\text{kg m}^{-3}\)

Component molar flowrate

\(N\)

flow_mole_phase_comp

[p, j]

phase_component_set

\(\text{mol }\text{s}^{-1}\)

Component mass fraction

\(x\)

mass_frac_phase_comp

[p, j]

phase_component_set

\(\text{dimensionless}\)

Component mass concentration

\(m\)

conc_mass_phase_comp

[p, j]

phase_component_set

\(\text{kg m}^{-3}\)

Component molar fraction

\(y\)

mole_frac_phase_comp

[p, j]

phase_component_set

\(\text{dimensionless}\)

Component molar concentration

\(n\)

conc_mole_phase_comp

[p, j]

phase_component_set

\(\text{mol m}^{-3}\)

Phase volumetric flowrate

\(Q_p\)

flow_vol_phase

[p]

phase_list

\(\text{m}^3\text{ } \text{s}^{-1}\)

Phase gravimetric (mass) flowrate

\(M_p\)

flow_mass_phase

[p]

phase_list

\(\text{kg}\text{ } \text{s}^{-1}\)

Total volumetric flowrate

\(Q_{tot}\)

flow_vol

None

None

\(\text{m}^3\text{ } \text{s}^{-1}\)

Mass diffusivity of solute

\(D\)

diffus_phase_comp

[p, j]

phase_solute_set

\(\text{m}^2 \text{ s}^{-1}\)

Component energy of molecular attraction

\(\varepsilon_j\)

energy_molecular_attraction_phase_comp

[p, j]

vap_solute_set

\(\text{erg}\)

Air-component energy of molecular attraction

\(\varepsilon_{air, j}\)

energy_molecular_attraction

['Air', j]

['Air'] * solute_set

\(\text{erg}\)

Component collision molecular separation

\(r_j\)

collision_molecular_separation_comp

[j]

vap_comps

\(\text{nm}\)

Air-component collision molecular separation

\(r_{air, j}\)

collision_molecular_separation

[j]

vap_comps

\(\text{nm}\)

Component collision function

\(f(kT/\varepsilon_{air, j})\)

collision_function_comp

[j]

solute_set

\(\text{dimensionless}\)

Component zeta for collision function

\(\xi\)

collision_function_zeta_comp

[j]

solute_set

\(\text{dimensionless}\)

Component ee for zeta of collision function

\(E\)

collision_function_ee_comp

[j]

solute_set

\(\text{dimensionless}\)

Molar volume of solute

\(V_j\)

molar_volume_comp

[j]

solute_set

\(\text{m}^3 \text{ mol}^{-1}\)

Component dimensionless Henry’s constant

\(h_j\)

henry_comp

[j]

solute_set

\(\text{dimensionless}\)

Saturation vapor pressure of water

\(P_{sat}\)

pressure_vap_sat

[j]

['H2O']

\(\text{Pa}\)

Vapor pressure of water

\(P_{vap}\)

pressure_vap

[j]

['H2O']

\(\text{Pa}\)

Relative humidity

\(rh\)

relative_humidity

[j]

['H2O']

\(\text{dimensionless}\)

Latent heat of vaporization

\(L_v\)

dh_vap_mass_solvent

None

None

\(\text{kJ kg}^{-1}\)

Specific heat of water

\(c_{p}\)

cp_mass_solvent

[p]

phase_list

\(\text{kJ kg}^{-1} \text{K}^{-1}\)

Relationships

Description

Equation/Relationship

Component mass fraction

\(x_j=\frac{M_j}{\sum_j{M_j}}\)

Component mass concentration

\(m_j=\rho_p x_j\)

Component molar fraction

\(y_j=\frac{N_j}{\sum_j{N_j}}\)

Component molar concentration

\(n_j=\frac{m_j}{m_{N,j}}\)

Phase volumetric flowrate

\(Q_p=\frac{\sum_j{N_j m_{Nj}}}{\rho}\)

Phase gravimetric flowrate

\(M_p=Q_p \rho_p\)

Total volumetric flowrate

\(Q_{tot}=\sum_p{Q_p}\)

Mass density of each phase 1

\(\rho_p\text{ specified as user input (default) or calculated via correlation in Sharqawy (liquid) or via CIPM-2007 correlation (vapor)}\)

Mass density of each solvent 2

\(\text{Calculated from Sharqawy correlation (water) or via CIPM-2007 correlation (air)}\)

Component mass liquid phase diffusivity 3

\(D_{liq}\text{ specified as user input or calculated via Hayduk-Laudie correlation}\)

Component mass vapor phase diffusivity 4

\(D_{vap}\text{ specified as user input or calculated via Wilke-Lee correlation}\)

Component Henry’s constant 5

\(h_j\text{ specified as user input or calculated via van't Hoff correlation}\)

Component molar volume 6

\(V_j\text{ specified as user input or calculated via Tyn-Calus correlation}\)

Vapor pressure of water 7

\(P_{vap}\text{ specified as user input or calculated from relative humidity}\)

Saturation vapor pressure of water 8

\(P_{sat}\text{ specified as user input or calculated via the Arden-Buck (default), Huang, or Antoine correlation}\)

Relative humidity 9

\(rh\text{ specified as user input or calculated from } \frac{P_{vap}}{P_{sat}}\)

Latent heat of vaporization 10

\(L_v \text{ specified as user input or calculated from Sharqawy correlation}\)

Specific heat of water 11

\(c_p \text{ specified as user input or calculated from Sharqawy correlation}\)

Note

1 Density for both phases can either be (1) specified when the user provides data via the density_data configuration option or (2) calculated by the correlation defined in Sharqawy, M. H., Lienhard V, J. H., & Zubair, S. M. (2010) for the liquid phase and CIPM-2007 correlation for the vapor phase (eq A1.1, EURAMET ref.). For the latter, the density_calculation configuration option must be set to DensityCalculation.calculated. Note for the vapor phase density calculation, Air is assumed to be the only component.

2 Density for each solvent (pure water and air) is calculated by the correlation defined in Sharqawy, M. H., Lienhard V, J. H., & Zubair, S. M. (2010) for pure water and via the CIPM-2007 correlation for air (eq. A1.1, EURAMET ref.).

3 Liquid phase diffusivity can either be (1) specified when the user provides data via the diffusivity_data configuration option or (2) calculated by the correlation defined in Hayduk, W., & Laudie, H. (1974). For the latter, the liq_diffus_calculation configuration option must be set to LiqDiffusivityCalculation.HaydukLaudie.

4 Vapor phase diffusivity can either be (1) specified when the user provides data via the diffusivity_data configuration option or (2) calculated by the correlation defined in Wilke & Lee (1955). For the latter, the vap_diffus_calculation configuration option must be set to VapDiffusivityCalculation.WilkeLee.

5 Henry’s constant can either be (1) specified when the user provides data via the henry_constant_data configuration option or (2) corrected for the vapor phase temperature via the van’t Hoff equation if the user sets the temp_adjust_henry configuration option to True. In the latter case, the user provided data is assumed to be for T = 298 K (i.e., \(h_{j,std}\)) and is added as a parameter called henry_comp_ref. In either case, user data is required.

6 Molar volume can either be (1) specified when the user provides data via the molar_volume_comp configuration option or (2) calculated by the Tyn-Calus correlation defined in Aniceto, J. P. S., Zêzere, B., & Silva, C. M. (2021). For the latter, the molar_volume_calculation configuration option must be set to MolarVolumeCalculation.TynCalus and the component critical molar volume must be specified via the critical_molar_volume_data configuration option.

7 Vapor pressure of water can either be (1) specified when the user provides data via the pressure_vap_data configuration option or (2) calculated from relative humidity. For the latter, the vapor_pressure_calculation configuration option must be set to VaporPressureCalculation.FromRelativeHumidity.

8 Saturation vapor pressure of water can either be (1) specified when the user provides data via the pressure_vap_sat configuration option or (2) calculated using the Arden-Buck (default), Huang, or Antoine correlation. For the latter, the saturation_vapor_pressure_calculation configuration option must be set to one of SaturationVaporPressureCalculation.ArdenBuck, SaturationVaporPressureCalculation.Huang, or SaturationVaporPressureCalculation.Antoine.

9 Relative humidity can either be (1) specified when the user provides data via the relative_humidity_data configuration option or (2) calculated from the ratio of vapor pressure to saturation vapor pressure. For the latter, the relative_humidity_calculation configuration option must be set to RelativeHumidityCalculation.FromVaporPressureRatio.

10 Latent heat of vaporization can either be (1) specified when the user provides data via the latent_heat_vaporization_data configuration option or (2) calculated from the Sharqawy correlation if the user sets the latent_heat_vaporization_calculation configuration option to LatentHeatVaporizationCalculation.Sharqawy.

11 Specific heat of water can either be (1) specified when the user provides data via the specific_heat_water_data configuration option or (2) calculated from the Sharqawy correlation if the user sets the specific_heat_water_calculation configuration option to SpecificHeatWaterCalculation.Sharqawy.

van’t Hoff Correlation

The following is used to temperature correct Henry’s constant:

\[h_j = h_{j,std} \text{ exp}\Bigg({\frac{\Delta H_j^{\theta}}{R}} \bigg( \frac{1}{T} - \frac{1}{T_{std}} \bigg) \Bigg)\]

Tyn-Calus Correlation

The following is used to calculate molar volume:

\[V = \tau_A V_c^{\tau_B}\]

Where \(\tau_A = 0.285\) and \(\tau_B = 1.048\).

Hayduk-Laudie Correlation

The following is used to calculate component liquid phase diffusion if user sets liq_diffus_calculation to LiqDiffusivityCalculation.HaydukLaudie. The Hayduk-Laudie correlation returns liquid diffusivity \(\big( D_{liq,j} \big)\) in units of \(\text{m}^2\text{ s}^{-1}\); in the correlation, liquid viscosity \(\big( \mu_{liq} \big)\) has units of \(\text{cP}\) and molar volume \(\big( V_j \big)\) has units of \(\text{cm}^3\text{ mol}^{-1}\):

\[D_{liq,j} =\frac{\varphi_A}{\mu_{liq}^{\varphi_B}(V_j)^{\varphi_C}}\]

Where \(\varphi_A = 13.26 \times 10^{-9}\), \(\varphi_B = 1.14\), and \(\varphi_C = 0.589\).

Wilke-Lee Correlation

The following is used to calculate component vapor phase diffusion if user sets vap_diffus_calculation to VapDiffusivityCalculation.WilkeLee:

\[D_{vap,j} = \frac{\omega_A - \omega_B \sqrt{1/m_{N,j}+1/m_{N,air}} \big(T \big)^{1.5} \sqrt{1/m_{N,j}+1/m_{N,air}}}{P_{atm} r_{j,air} \big( f(kT/\varepsilon_{air, j}) \big) }\]

The Wilke-Lee correlation includes the collision function \(f(kT/\varepsilon_{air, j})\) in the denominator. There are several intermediary calculations necessary to get the value for the collision function, summarized in the following equations. Necessary parameters are provided in a table at the end of this section.

The collision function is calculated according to:

\[f \Bigg( \frac{kT}{\varepsilon_{air, j}} \Bigg) = 10^{\xi}\]

Where the exponent \(\xi\) is calculated with:

\[\xi = x_0 + x_1 E + x_2 E^2 + x_3 E^3 + x_4 E^4 + x_5 E^5 + x_6 E^6\]

The \(E\) parameter is the base-10 logarithm of the expression \(\frac{kT}{\varepsilon_{air, j}}\) used in the collision function:

\[E = \text{log}_{10} \bigg( \frac{kT}{\varepsilon_{air, j}} \bigg)\]

The molecular separation at collision for component \(j\) and air \(r_{j,air}\) is the average of the molecular separation of each component:

\[r_{j,air} = \frac{r_j + r_{air}}{2}\]

And \(r_j\) is calculated with:

\[r_j = \gamma V^{1/3}\]

The energy of molecular attraction for each component \(\varepsilon_j\) is calculated with the boiling point \(T_{b,j}\):

\[\frac{\varepsilon_j}{k} = \sigma \text{ } T_{b,j}\]

For air, the energy of molecular attraction \(\varepsilon_{air}\) is:

\[\frac{\varepsilon_{air}}{k} = \chi_{air}\]

Finally, the energy of molecular attraction between component \(j\) and air \(\varepsilon_{j,air}\) is:

\[\varepsilon_{j,air} = \sqrt{\varepsilon_j \varepsilon_{air}}\]

The following contains all the constants and parameters needed for the calculations used for the Wilke-Lee correlation.

Parameter

Value

Units

\(k^*\)

\(\text{1.381} \times 10^{-16}\)

\(\text{g cm}^{2} \text{ s}^{-2} \text{ K}^{-1}\)

\(\omega_A\)

\(\text{1.084}\)

\(\text{cm}^{2} \text{ K}^{-1.5}\)

\(\omega_B\)

\(\text{0.249}\)

\(\text{cm}^{2} \text{ K}^{-1.5}\)

\(x_0\)

\(\text{-0.14329}\)

\(\text{dimensionless}\)

\(x_1\)

\(\text{-0.48343}\)

\(\text{dimensionless}\)

\(x_2\)

\(\text{0.1939}\)

\(\text{dimensionless}\)

\(x_3\)

\(\text{0.1361}\)

\(\text{dimensionless}\)

\(x_4\)

\(\text{-0.20578}\)

\(\text{dimensionless}\)

\(x_5\)

\(\text{0.083899}\)

\(\text{dimensionless}\)

\(x_6\)

\(\text{-0.011491}\)

\(\text{dimensionless}\)

\(r_{air}\)

\(\text{0.3711}\)

\(\text{nm}\)

\(\gamma\)

\(\text{1.18}\)

\(\text{nm mol}^{1/3} \text{ L}^{-1/3}\)

\(\text{ }^*\) Boltzmann’s constant must be in \(\text{g cm}^{2} \text{ s}^{-2} \text{ K}^{-1}\) for these correlations.

Arden-Buck Correlation

Saturation pressure of water can be calculated with the Arden-Buck correlation if the user sets the saturation_vapor_pressure_calculation configuration option to SaturationVaporPressureCalculation.ArdenBuck:

\[P_{sat} = A \text{ exp}\bigg( \frac{(b - T/d)T}{c + T} \bigg)\]

With \(A = 6.1121\), \(b = 18.678\), \(c = 257.14\), \(d = 234.5\), and \(T\) is the temperature of the vapor stream in °C. Note that this equation will return \(P_{sat}\) in units of millibar (hPa). This is the default correlation.

Antoine Equation

Saturation pressure of water can be calculated according to Antoine equation if the user sets the saturation_vapor_pressure_calculation configuration option to SaturationVaporPressureCalculation.Antoine:

\[\text{log}_{10} \big( P_{vap} \big) = A - \frac{B}{C+T}\]

Where \(A = 8.07131\), \(B = 1730.63\), \(C = 233.426\) and \(T\) is the temperature of the liquid stream in °C.

Huang Correlation

Saturation pressure of water can be calculated with the Huang correlation if the user sets the saturation_vapor_pressure_calculation configuration option to SaturationVaporPressureCalculation.Huang:

\[P_{sat} = \frac{\text{exp}\big( a - \frac{b}{T+d_1} \big)}{(T+d_2)^c}\]

With \(a = 34.494\), \(b = 4924.99\), \(c = 1.57\), \(d_1 = 237.1\), \(d_2 = 105\), and \(T\) is the temperature of the vapor stream in °C.

Sharqawy Correlations

Several properties are calculated via correlations from Sharqawy, M. H., Lienhard V, J. H., & Zubair, S. M. (2010).

Pure Water Density

The Sharqawy correlation for pure water density is from eq. 8, and is valid for 0-180 °C:

\[\rho_{H2O} = a_1 + a_2 T + a_3 T^2 + a_4 T^3 + a_5 T^4\]

With \(a_1 = 999.83952\), \(a_2 = 2.034 \times 10^{-2}\), \(a_3 = -6.162 \times 10^{-3}\), \(a_4 = 2.261 \times 10^{-5}\), \(a_5 = -4.657 \times 10^{-8}\), and \(T\) is the temperature of the liquid stream in °C.

Salt Water Density

The Sharqawy correlation for salt water density is from eq. 10, and is valid for 0-180 °C and 0-150 g/kg:

\[\rho_{liq} = \rho_{H2O} + b_1 x + b_2 x T + b_3 x T^2 + b_4 x T^3 + b_5 x^2 T^2\]

With \(b_1 = 8.020 \times 10^{2}\), \(b_2 = -2.001\), \(b_3 = 1.677 \times 10^{-2}\), \(b_4 = -3.06 \times 10^{-5}\), \(b_5 = -1.613 \times 10^{-5}\), \(T\) is the temperature of the liquid stream in °C, and \(x\) is the mass fraction of salt (component TDS).

Latent Heat of Vaporization

The Sharqawy correlation for latent heat of vaporization is from eq. 37 and 54, and is valid for 0-200 °C and 0-240 g/kg:

\[L_v = a + b T + c T^2 + d T^3 + e T^4\]

With \(a = 2.501 \times 10^6\), \(b = -2.361 \times 10^3\), \(c = 0.2678\), \(d = -8.103 \times 10^{-3}\), \(e = -2.079 \times 10^{-5}\), and \(T\) is the temperature of the liquid stream in °C.

Specific Heat of Water (Liquid Phase)

The Sharqawy correlation for specific heat of water (liquid phase) is from eq. 9, and is valid for 0-180 °C, 0-180 g/kg, and 0-12 MPa. First, T90 is converted to T68 with eq. 4 in Sharqawy:

\[T_{68} = \frac{T - 0.00025 * 273.15}{1 - 0.00025}\]

Then, \(T_{68}\) is used in the following equation:

\[c_{p, liq} = a + b T_{68} + c T_{68}^2 + d T_{68}^3\]

With \(a = 5.328\), \(b = -6.913 \times 10^{-3}\), \(c = 9.6 \times 10^{-6}\), and \(d = 2.59 \times 10^{-9}\).

Specific Heat of Water (Vapor Phase)

The specific heat of water (vapor phase) is calculated from the Shomate equation:

\[c_{p, vap} = A + B T' + C T'^2 + D T'^3 + E / T'^2\]

Where \(A = 1670.359\), \(B = 379.262\), \(C = 377.092\), \(D = -140.685\), \(E = 4.559\), and \(T' = T / 1000\) where \(T\) is the temperature of the vapor stream in Kelvin. Note that these coefficients were converted from units of \(\text{J} \text{ mol}^{-1} \text{ K}^{-1}\) to \(\text{J} \text{ kg}^{-1} \text{ K}^{-1}\).

Density of Air

The density of air is calculated via the simplified form of CIPM-formula (Comité International des Poids et Mesures), exponential version (eq. A1.1 in EURAMET ref.):

\[\rho_{air} = \frac{A P - B (rh) \text{exp}(C T)}{273.15 + T}\]

Where \(A = 0.34848\), \(B = 0.009\), \(C = 0.061\), \(P\) is the barometric pressure in hPa, \(rh\) is the relative humidity, and \(T\) is the temperature of the air stream in °C. Note that this is also the equation used to calculate the density of the vapor phase (i.e., \(\rho_{air} = \rho_{vap}\)).

Physical/Chemical Constants

Description

Symbol

Value

Unit

Ideal gas constant

\(R\)

\(\text{8.3145}\)

\(\text{J mol}^{-1} \text{K}^{-1}\)

Faraday constant

\(F\)

\(96,485.33\)

\(\text{C mol}^{-1}\)

Avogadro constant

\(N_A\)

\(\text{6.022} \times 10^{23}\)

\(\text{dimensionless}\)

Boltzmann constant

\(k\)

\(\text{1.381} \times 10^{-16}\)

\(\text{g cm}^{2} \text{s}^{-2} \text{K}^{-1}\)

Scaling

A comprehensive scaling factor calculation method is coded in this property package.

Default scaling factors are as follows.

State variable

Index

Default scaling factor

pressure

None

\(10^{-5}\)

temperature

Liq

\(10^{-2}\)

temperature

Vap

\(10^{-2}\)

dens_mass_phase

Liq

\(10^{-3}\)

dens_mass_phase

Vap

\(1\)

dens_mass_solvent

Liq

\(10^{-3}\)

dens_mass_solvent

Vap

\(1\)

visc_d_phase

Liq

\(10^{3}\)

visc_d_phase

Vap

\(10^{5}\)

diffus_phase_comp

Liq

\(10^{10}\)

diffus_phase_comp

Vap

\(10^{6}\)

pressure_vap_sat

H2O

\(10^{4}\)

pressure_vap

H2O

\(10^{4}\)

Note the only state variable for which there is no default scaling factor is flow_mass_phase_comp, so that must be assigned by the user. Provided the state variables are scaled, calling calculate_scaling_factors on the model will assign scaling factors to all instantiated variables in the property model:

m.fs.properties.set_default_scaling('flow_mass_phase_comp', 1e2, index=('Liq','{component name}'))
# m is the model name, and fs is the instantiated flowsheet block of m.
calculate_scaling_factors(m)

Proper scaling of variables is, in many cases, crucial to solver’s performance in finding an optimal solution of a problem. While designing scaling can have a mathematical sophistication, a general rule is to scale all variables as close to 1 as possible (in the range of 1e-2 to 1e2).

Reference

Crittenden, J. C., Trussell, R. R., Hand, D. W., Howe, K. J., & Tchobanoglous, G. (2012).
Chapter 7 & 14 in MWH’s Water Treatment: Principles and Design (3rd ed.). doi:10.1002/9781118131473
Aniceto, J. P. S., Zêzere, B., & Silva, C. M. (2021).
Predictive Models for the Binary Diffusion Coefficient at Infinite Dilution in Polar and Nonpolar Fluids.
Materials (Basel), 14(3). doi.org/10.3390/ma14030542
Wilke, C. R., & Lee, C. Y. (1955).
Estimation of Diffusion Coefficients for Gases and Vapors.
Industrial & Engineering Chemistry, 47(6), 1253-1257. doi:10.1021/ie50546a056
Huang, J. (2018).
A Simple Accurate Formula for Calculating Saturation Vapor Pressure of Water and Ice.
Journal of Applied Meteorology and Climatology, 57(6), 1265-1272. doi:10.1175/jamc-d-17-0334.1
Hayduk, W., & Laudie, H. (1974).
Prediction of diffusion coefficients for nonelectrolytes in dilute aqueous solutions.
AIChE Journal, 20(3), 611-615. https://doi.org/10.1002/aic.690200329
Sharqawy, M. H., Lienhard, J. H. & Zubair S. M. (2010).
Thermophysical properties of seawater: a review of existing correlations and data
Desalination and Water Treatment, 16(1-3), 354-380. doi:10.5004/dwt.2010.1079
Buck, A. L. (1981).
New equations for computing vapor pressure and enhancement factor.
J. Appl. Meteorol., 20 (12): 1527-1532.
doi:10.1175/1520-0450(1981)020<1527:NEFCVP>2.0.CO;2
Antoine, C. (1888).
“Tensions des vapeurs; nouvelle relation entre les tensions et les températures”
Comptes Rendus des Séances de l’Académie des Sciences (in French), 107: 681-684, 778-780, 836-837.
European Association of National Metrology Institutes (EURAMET) (2015).
“Guidelines on the Calibration of Non-Automatic Weighing Instruments”
EURAMET Calibration Guide No. 18, Version 4.0. ISBN 978-3-942992-40-4
T. T. Shi, D. X. Guan, J. B. Wu, A. Z. Wang, C. J. Jin and S. J. Han
“Comparison of methods for estimating evapotranspiration rate of dry forest canopy: Eddy covariance, Bowen ratio energy balance, and Penman-Monteith equation”
Journal of Geophysical Research: Atmospheres 2008 Vol. 113 Issue D19. doi:10.1029/2008jd010174
NIST Chemistry WebBook, NIST Standard Reference Database Number 69, https://doi.org/10.18434/T4D303
Gas Phase Heat Capacity Data for Water Vapor