Calculates membrane mass and enthalpy transfer for one cell pair
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.
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.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.
Reference: Pollak et al., Steady state and dynamic simulation of a small-scale hollow fiber membrane humidifier.
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];
| Quantity | Description |
|---|---|
m_transfer | Mass flow from wet to dry side |
h_transfer | Specific enthalpy of transferred water |
wetFlow_f | Filtered wet-side flow |
dryFlow_f | Filtered dry-side flow |
| Name | Type | Unit | Default | Description |
|---|---|---|---|---|
waterIndex | Integer | 1 | 3 | Water species index; water must be the dependent species |
nFibers | Integer | 1 | 488 | Number of hollow fibers |
dFiber_i | SI.Diameter | m | 0.9e-3 | Inner fiber diameter |
dFiber_o | SI.Diameter | m | 1.0e-3 | Outer fiber diameter |
dHousing | SI.Diameter | m | 39.2e-3 | Inner shell diameter |
L_fiber | SI.Length | m | 150.8e-3 | Fiber length |
D_mem | SI.DiffusionCoefficient | m2/s | 3.6e-7 | Membrane diffusion coefficient |
D_H2O_Air_ref | SI.DiffusionCoefficient | m2/s | 2.6e-5 | Reference water-air diffusion coefficient |
atm_P | SI.Pressure | Pa | 101325 | Reference pressure for the diffusion coefficient correlation |
atm_T | SI.Temperature | K | 298.15 | Reference temperature for the diffusion coefficient correlation |
m_flow_min | SI.MassFlowRate | kg/s | 1e-9 | Minimum flow rate used to avoid division by zero |
V_flow_min | SI.VolumeFlowRate | m3/s | 1e-12 | Minimum volume flow rate used to avoid division by zero |
k_mass_min | SI.Velocity | m/s | 1e-12 | Minimum mass-transfer coefficient used to avoid division by zero |
n | Integer | 1 | 10 | Total number of humidifier cells |
tau_flow | SI.Time | s | 0.5 | Time constant of the flow filter feeding the transfer correlations |
wetFlow_start | SI.MassFlowRate | kg/s | 1e-3 | Initial filtered wet-side flow |
dryFlow_start | SI.MassFlowRate | kg/s | 1e-3 | Initial filtered dry-side flow |
| Name | Kind | Type | Unit | Description |
|---|---|---|---|---|
wetState | Input signal | wet_medium.ThermodynamicState | - | Thermodynamic state of the paired wet-side cell |
dryState | Input signal | dry_medium.ThermodynamicState | - | Thermodynamic state of the paired dry-side cell |
wetXi | Input signal | SI.MassFraction[wet_medium.nXi] | 1 | Independent composition of the wet-side cell |
dryXi | Input signal | SI.MassFraction[dry_medium.nXi] | 1 | Independent composition of the dry-side cell |
wetFlow | Input signal | SI.MassFlowRate | kg/s | Mass flow through the wet-side cell |
dryFlow | Input signal | SI.MassFlowRate | kg/s | Mass flow through the dry-side cell |
m_transfer | Output signal | SI.MassFlowRate | kg/s | Mass flow from wet to dry side |
h_transfer | Output signal | SI.SpecificEnthalpy | J/kg | Specific enthalpy of transferred water |
Xi_transfer | Output signal | SI.MassFraction[wet_medium.nXi] | 1 | Independent composition of transferred water (zero; water is the dependent species) |