modelMembrane

Donnan's equilibrium of electrolytes usable for glomerular membrane, open/leak membrane channels, pores, ...

Extends from Icons.Membrane, Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).

Information

Filtration throught semipermeable membrane.

The penetrating particles are driven by electric and chemical gradient to reach Donnan's equilibrium. The permeabilities of particles are used only in dynamic simulation with non-zero fluxes. If zero-flow Donnan's equilibrium is reached, it is independent on the permeabilities.

This class can be used for glomerular membrane, open(leak) channels (pores) of cellular (or any lipid bilayer) membrane, chloride schift, ...


The membrane permeabilities depends on (D/membrameThicknes)*membraneArea, where D is Fick's diffusion coefficient.

................................

Filtration example of tree particles

ALP .. small penetrating anion

P .. nonpenetrating protein with negative charge

C .. small penetrating cation

In outer side of membrane are not protein P (it leaves inside).

In equilibrium 4 concentration are unknown:

ALP_in, ALP_out, C_in, C_out.

Closed system equilibrium equations:

tALP = ALP_in + ALP_out ... total amount of ALP

tC = C_in + C_out ... total amount of C

P + ALP_in = C_in ... electroneutrality inside

ALP_out = C_out ... electroneutrality outside

----------------------------------------------------

It is possible to write these equations also in form of KAdjustment, which connect also more than tree type of particles with Donnan's equilibrium equations:

ALP_in/ALP_out = (1-KAdjustment)

C_in/C_out = (1+KAdjustment)

where KAdjustment = P/(2*C_in-P) and C_out=ALP_out=(2*C_in-P)/2, because ALP_in/ALP_out = (C_in - P)/C_out = (2C_in-2P)/(2C_in-P) = 1 - P/(2C_in-P) = 1-KAdjustment and C_in/C_out = (2C_in)/(2C_in-P) = 1 + P/(2C_in-P) = 1+KAdjustment .


Problem with different solubilities/Henry constants/ (kH1, kH2)

Equilibrated is chemical potential, not concentrations (c1,c2)!

Equality of chemical potential is approximated by equality of partial pressure (p1,p2):

p1=kH1*c1

p2=kH2*c2


c2 = (kH1/kH2) * c1

Henry constant between both side can be defined as kH_T0 = kH1/kH2 at temperature T0, where kH1 is Henry constant in first side of membrane and kH2 is Henry constant in second side of membrane.

Temperature dependence of Henry constants by Van't Hoff

kH1 = kH1_T0 * Modelica.Math.exp(C1* (1/T - 1/T0))

kH2 = kH2_T0 * Modelica.Math.exp(C2* (1/T - 1/T0))

kH1/kH2 = kH_T0 * Modelica.Math.exp(C * (1/T - 1/T0))

Specific constant for Van't Hoff's change of kH_T0 can be defined as C = C1-C2, where C1 is specific constant in first side of membrane and C2 is specific constant in second side of membrane.

Parameters

TypeNameDefaultDescription
IntegerNumberOfParticles1Number of penetrating particle types
Integer[NumberOfParticles]Chargeszeros(NumberOfParticles)Elementary charges of particles
Types.DiffusionPermeability[NumberOfParticles]Permeabilitieszeros(NumberOfParticles)Permeabilities of particles through membrane chanel
Types.FractionsolventFractionInside1Free solvent fraction inside (i.e. 'mol/mol' ratio between current solution and pure solvent in one liter; e.g. in plasma=0.96, in RBC=0.717)
Types.FractionsolventFractionOutside1Free solvent fraction outside (i.e. 'mol/mol' ratio between current solution and pure solvent in one liter; e.g. in plasma=0.96, in RBC=0.717)
External inputs/outputs
BooleanuseHeatPort (from ConditionalHeatPort)false=true, if HeatPort is enabled
BooleanusePermeabilityInputfalse=true, if external permeability value is used
Temperature dependence
Types.TemperatureT (from ConditionalHeatPort)310.15Fixed device temperature if useHeatPort = false
Types.TemperatureT0298.15Base temperature for kH_T0
Types.Temperature[NumberOfParticles]Czeros(NumberOfParticles)Specific constant difference (C1-C2) for Van't Hoff's change of kH
Different solubilities
Types.GasSolubility[NumberOfParticles]kH_T0ones(NumberOfParticles)Equilibrated concentration ratio at temperature T0 - can be estimated by Henry's law coefficient ratios (kH1/kH2)

Connectors

TypeNameDefaultDescription
Thermal.Interfaces.HeatPort_aheatPort (from ConditionalHeatPort)
Interfaces.ChemicalPort_a[NumberOfParticles]particlesInsideinner side of membrane, solution
Interfaces.ChemicalPort_b[NumberOfParticles]particlesOutsideouter side of membrane, solution
Types.RealIO.DiffusionPermeabilityInput[NumberOfParticles]permeabilityp

Components

TypeNameDefaultDescription
Types.TemperatureT_heatPort (from ConditionalHeatPort)Temperature of HeatPort
Types.HeatFlowRatelossHeat (from ConditionalHeatPort)Loss heat leaving component via HeatPort
Types.GasSolubility[NumberOfParticles]kHConcentration ratio at equilibrium