VirtualFCS.Fluid.MembraneTransfer

Calculates membrane mass and enthalpy transfer for one cell pair

Model Description and References

This model calculates the water mass and enthalpy transfer across the membrane for a single paired wet/dry cell of the discretised Humidifier. It implements the Pollak et al. hollow-fiber correlations, computing the wet-side (fiber bore) and dry-side (shell gap) mass-transfer coefficients from Reynolds, Schmidt, and Sherwood numbers, then combines them with the membrane diffusion resistance into an overall mass-transfer coefficient beta_eff.


An NTU-effectiveness method converts beta_eff and the wet-side volumetric flow into a transfer effectiveness, which is applied to the wet/dry water-vapor density difference to obtain the signed water mass flow m_transfer (positive from wet to dry side). The membrane area, and therefore beta_eff, is divided by n since each instance only represents one of the n axial cells sharing the total fiber geometry.

The transferred enthalpy h_transfer is evaluated at the upstream side's temperature (wet side if m_transfer >= 0, dry side otherwise) using the Shomate correlation for gaseous water. This model is instantiated once per axial cell, driven by the states of the paired MembraneManifold volumes.

The wet-side and dry-side mass flows are filtered independently by first-order states wetFlow_f and dryFlow_f with time constant tau_flow. Their initial values are wetFlow_start and dryFlow_start. The filtered flow magnitudes, rather than the instantaneous port flows, drive the volume-flow, Reynolds-number, and Sherwood-number correlations. This reduces rapid pressure-flow feedback into membrane transfer; it does not introduce a separate permeation-rate state.

References

Reference: Pollak et al., Steady state and dynamic simulation of a small-scale hollow fiber membrane humidifier.

Governing Equations

tau_flow*der(wetFlow_f) = wetFlow - wetFlow_f;

tau_flow*der(dryFlow_f) = dryFlow - dryFlow_f;

A_mem = nFibers*L_fiber*Modelica.Constants.pi*dFiber_o;

A_c_fibers = nFibers*Modelica.Constants.pi*dFiber_i^2/4;

A_c_shell = Modelica.Constants.pi*dHousing^2/4;

A_c_shell_gap = A_c_shell - nFibers*Modelica.Constants.pi*dFiber_o^2/4;

d_hyd_dry = 4*A_c_shell_gap/(Modelica.Constants.pi*nFibers*dFiber_o);

Xi_transfer = zeros(wet_medium.nXi);

wetVolumeFlow = max(abs(wetFlow_f),m_flow_min)/wetDensity;

dryVolumeFlow = max(abs(dryFlow_f),m_flow_min)/dryDensity;

wetVelocity = wetVolumeFlow/A_c_fibers;

dryVelocity = dryVolumeFlow/A_c_shell_gap;

D_H2O_Air = D_H2O_Air_ref*((0.5*(wetTemperature + dryTemperature))/atm_T)^1.75*(atm_P/(0.5*(wetPressure + dryPressure)));

Re_wet = wetDensity*wetVelocity*dFiber_i/wet_medium.dynamicViscosity(wetState);

Sc_wet = wet_medium.dynamicViscosity(wetState)/(wetDensity*D_H2O_Air);

Re_dry = dryDensity*dryVelocity*d_hyd_dry/dry_medium.dynamicViscosity(dryState);

Sc_dry = dry_medium.dynamicViscosity(dryState)/(dryDensity*D_H2O_Air);

Sh_wet = (3.66^3 + 0.7^3+(1.615*(Re_wet*Sc_wet*dFiber_i/L_fiber)^(1/3)-0.7)^3)^(1/3);

Sh_dry = (0.53-0.58*nFibers*dFiber_o^2/dHousing^2)*Re_dry^0.53*Sc_dry^0.33;

beta_eff = 1/(1/(max(Sh_wet*D_H2O_Air/dFiber_i,k_mass_min)*A_mem/n)+(dFiber_o - dFiber_i)/(2*D_mem*A_mem/n)+1/(max(Sh_dry*D_H2O_Air/d_hyd_dry,k_mass_min)*A_mem/n));

NTU = beta_eff/max(wetVolumeFlow,V_flow_min);

effectiveness = NTU/(1 + NTU);

m_transfer = wet_medium.MMX[waterIndex]*effectiveness*(wetDensity*(1 - sum(wetXi))/wet_medium.MMX[waterIndex]-dryDensity*(1 - sum(dryXi))/dry_medium.MMX[waterIndex])*wetVolumeFlow;

h_transfer = if m_transfer >= 0 then Media.Shomate.enthalpy( wetTemperature, Media.Shomate.H2O_G) /wet_medium.MMX[waterIndex] else Media.Shomate.enthalpy( dryTemperature, Media.Shomate.H2O_G) /dry_medium.MMX[waterIndex];
QuantityDescription
m_transferMass flow from wet to dry side
h_transferSpecific enthalpy of transferred water
wetFlow_fFiltered wet-side flow
dryFlow_fFiltered dry-side flow

Parameters

NameTypeUnitDefaultDescription
waterIndexInteger13Water species index; water must be the dependent species
nFibersInteger1488Number of hollow fibers
dFiber_iSI.Diameterm0.9e-3Inner fiber diameter
dFiber_oSI.Diameterm1.0e-3Outer fiber diameter
dHousingSI.Diameterm39.2e-3Inner shell diameter
L_fiberSI.Lengthm150.8e-3Fiber length
D_memSI.DiffusionCoefficientm2/s3.6e-7Membrane diffusion coefficient
D_H2O_Air_refSI.DiffusionCoefficientm2/s2.6e-5Reference water-air diffusion coefficient
atm_PSI.PressurePa101325Reference pressure for the diffusion coefficient correlation
atm_TSI.TemperatureK298.15Reference temperature for the diffusion coefficient correlation
m_flow_minSI.MassFlowRatekg/s1e-9Minimum flow rate used to avoid division by zero
V_flow_minSI.VolumeFlowRatem3/s1e-12Minimum volume flow rate used to avoid division by zero
k_mass_minSI.Velocitym/s1e-12Minimum mass-transfer coefficient used to avoid division by zero
nInteger110Total number of humidifier cells
tau_flowSI.Times0.5Time constant of the flow filter feeding the transfer correlations
wetFlow_startSI.MassFlowRatekg/s1e-3Initial filtered wet-side flow
dryFlow_startSI.MassFlowRatekg/s1e-3Initial filtered dry-side flow

Interfaces and Connections

NameKindTypeUnitDescription
wetStateInput signalwet_medium.ThermodynamicState-Thermodynamic state of the paired wet-side cell
dryStateInput signaldry_medium.ThermodynamicState-Thermodynamic state of the paired dry-side cell
wetXiInput signalSI.MassFraction[wet_medium.nXi]1Independent composition of the wet-side cell
dryXiInput signalSI.MassFraction[dry_medium.nXi]1Independent composition of the dry-side cell
wetFlowInput signalSI.MassFlowRatekg/sMass flow through the wet-side cell
dryFlowInput signalSI.MassFlowRatekg/sMass flow through the dry-side cell
m_transferOutput signalSI.MassFlowRatekg/sMass flow from wet to dry side
h_transferOutput signalSI.SpecificEnthalpyJ/kgSpecific enthalpy of transferred water
Xi_transferOutput signalSI.MassFraction[wet_medium.nXi]1Independent composition of transferred water (zero; water is the dependent species)

Contents