456
Views
0
CrossRef citations to date
0
Altmetric
Research Article

Sequential estimation of creatinine removal by a haemodialyser

, &
Pages 1981-2001 | Received 14 Sep 2020, Accepted 24 Feb 2021, Published online: 11 Mar 2021

Abstract

This work is focused on the transient analysis of a haemodialyser. The objective is to sequentially estimate the concentration of creatinine in the blood returning to the patient, by solving a state estimation problem with measurements of the outflow creatinine concentration in the dialysate. Simulated measurements containing Gaussian errors were used in the inverse analysis, which was based on the Sampling Importance Resampling (SIR) algorithm of the Particle Filter method. Accurate results reveal that this technique may possibly be used for online monitoring and control of the haemodialysis therapy.

NOMENCLATURE

A=

cross-section area

C=

solute concentration

Cp=

plasma protein concentration

dB=

internal diameter of fibres

dcase=

internal diameter of the cylindrical case of the dialyser

deq=

dialysate cross-section hydraulic diameter

Js=

solute flux across the membrane

Jv=

water filtration flux across the membrane

K0=

global mass transfer coefficient for null water filtration flux

L=

length of fibres

Lp=

membrane hydraulic permeability

M=

number of transient measurements

N=

number of fibres

n=

noise in the observation model

Np=

number of particles

P=

pressure

Pm=

membrane diffusion coefficient

Q=

volumetric flow rate

Sa=

sieving coefficient

t=

time

v=

noise in the state evolution model

x=

longitudinal position

y=

vector of state variables

z=

vector of measurements

Greeks

Π=

oncotic pressure

δ=

thickness of fibre walls

π=

statistical distribution

θ=

vector of model parameters

ρ=

density

Subscripts

B=

blood

D=

dialysate

in=

inlet

k=

time instant

meas=

measurement

out=

outlet

W=

water

Superscripts

i=

particle number

meas=

measurement

Introduction

Haemodialysis (HD) is the form of renal replacement therapy most commonly used for the treatment of end-stage renal disease [Citation1–3]. In this therapy, retained water, solutes and waste products are removed, and cleansed blood is returned to the patient [Citation1–4]. In a typical schedule, HD is performed three times per week, each session lasting between three to five hours.

After about of a century of continuous development and different designs, current-day dialysers consist of thousands of hollow capillary fibres, with walls composed of semi-permeable membranes, encased in a cylindrical container [Citation4]. Blood flows within the capillaries, while an electrolyte solution (dialysate) flows in countercurrent through the space between the fibres and the cylindrical container. Solute transport across the dialyser membranes occurs by the mechanisms of diffusion and convection, and water is removed by ultrafiltration [Citation2–8]. While low molecular weight solutes are mainly removed by diffusion (e.g. urea and creatinine), ultrafiltration favours the removal of medium and high molecular weight solutes, such as vitamin B12 and myoglobin [Citation8]. However, solute transport efficiency may be adversely affected by fibre clogging or protein layering on the internal surface of the membrane.

Patients often experience symptoms and side effects during a haemodialysis session. For example, hypotension may ensue from the unbalance between the removal of water by the dialyser and the dynamics of water flowing in and out the intravascular, interstitial and intracellular compartments [Citation5,Citation6]. The development of tools to provide online monitoring and control of the dialysis procedure is of great interest to individualize the therapy and to avoid morbidity. Online measurement techniques during haemodialysis have been developed for the blood water volume and dialysate electrical conductivity, among other operational variables [Citation4,Citation5,Citation9,Citation10]. The dialysate electrical conductivity can be correlated to the sodium content in the dialysate and in the blood, which permits the calculation of small solute clearance [Citation5,Citation9,Citation10]. Mathematical models with different complexity levels have also been developed for the HD therapy [Citation5–8,Citation11–23], including the patient´s thermoregulation and its effects on the cardiovascular system [Citation14], variable blood viscosity [Citation15], multiple compartments for energy, water and solute balances [Citation14,Citation16–23] and removal of protein-bound toxins [Citation21,Citation23].

The objective of this work is the solution of a state estimation problem for the dialyser, in order to predict the transient concentration of creatine in the blood returning to the patient, as a consequence of changes in the membrane properties. In a state estimation approach, the phenomena pertinent to the problem of interest are taken into account by an evolution model and an observation model. These stochastic models, as well as measurements of observable variables of the problem, are used in order to estimate state variables with reduced uncertainties [Citation24–30]. The state estimation problem is solved in this work by using simulated measurements taken only in the dialysate. Hence, measurements in the blood side of the dialyser are not used for the inverse problem solution, which reduces the possibility of blood contamination and improves the safety and control of the HD therapy. Particle Filter methods provide a powerful and robust technique for the solution of nonlinear and/or non-Gaussian state estimation problems, with results more accurate than those obtained with the available extensions of the Kalman filter. In this work, the Sampling Importance Resampling (SIR) algorithm of the particle filter method is used for the solution of the state estimation problem [Citation24–30].

The paper is organized as follows. The physical problem is described and mathematically modelled in the next section, based on simplification hypotheses that are assumed for the processes taking place in the dialyser. Then, the state estimation problem is defined and the Sampling Importance Resampling (SIR) algorithm of the particle filter method is presented. This section about the inverse problem solution methodology is followed by the results and discussions of different test cases, which involve conditions found in practice with commercial dialysers. The state estimation problem is solved by using simulated noisy measurements of the transient dialysate concentration of creatinine at the dialyser outlet. Conclusions and limitations of this work are presented in the last section of the paper.

Physical problem and mathematical formulation

The model considered here includes the following hypotheses: (i) Blood and dialysate are Newtonian fluids with constant viscosities; (ii) Flows are laminar; (iii) Cross-sections of the capillary fibres are uniform; (iv) Capillary fibres are uniformly distributed inside the dialyser; (v) Internal (blood) and external (dialysate) pressures, flow rates and concentrations are uniform at each position along the dialyser, that is, they only vary in the longitudinal direction; (vi) There is no discontinuity of the solute concentrations in the fluids and at the membrane surfaces; (vii) Plasma proteins are totally rejected by the membrane; (viii) The membrane permeability is not affected by the direction of diffusion or filtration; (ix) Water, blood and dialysate densities are equal and constant; (x) Flow rates and solute concentrations at the dialyser inlets, as well as pressures at the dialyser outlets, are constant.

Variables of interest for the problem include the volumetric flow rate Q, pressure P and density ρ. The water filtration and solute fluxes across the membrane are given by Jv and Js, respectively. The number of fibres (length L, internal diameter dB and wall thickness δ) inside the dialyser is N. The subscripts B, D and W refer to blood, dialysate and water, respectively, while the subscripts in and out denote inlet and outlet sections, respectively. summarizes some of the variables of interest for the problem.

Figure 1. Dialyser and basic variables.

Figure 1. Dialyser and basic variables.

The mathematical model used here is similar to those presented by Legallais et al [Citation8] and Lee et al [Citation15], but we consider transients in the solute concentrations. Transient concentrations of solutes have been considered by Waniewski et al [Citation21] and Maheshwari et al [Citation22,Citation23]. On the other hand, differently from the model of this work, the momentum balance equation was not solved in [Citation21–23], where the water flux across the membrane was assumed uniform along the dialyser.

The mass balances for the blood and dialysate are given respectively by: (1a) (ρBAB)t=(ρBQB)xNπdBρWJV(x)0<x<L,t>0(1a) (1b) (ρDAD)t=(ρDQD)x+NπdBρWJV(x)0<x<L,t>0(1b)

By assuming that blood, dialysate and water densities are constant and equal, Equations (1a,b) reduce respectively to: (2a) QBx=NπdBJV(x)0<x<L(2a) (2b) QDx=NπdBJV(x)0<x<L(2b) with boundary conditions given by constant inflow rates, that is: (2c) QB(0)=QBinatx=0(2c) (2d) QD(L)=QDinatx=L(2d)

The water filtration flux across the membrane is given by [Citation8,Citation15]: (3) JV(x)=LP[PB(x)PD(x)Π(x)](3) where Lp is the membrane hydraulic permeability and Π(x) is the local oncotic pressure. This is the osmotic pressure induced by proteins, which tends to bring water back to the blood flowing inside the capillaries. Legallais et al [Citation8] and Lee et al [Citation15] used the following model for the oncotic pressure: (4) Π(x)=0.21Cp(x)+1.6×103[Cp(x)]2+9×106[Cp(x)]3(4) where Cp(x) is the local plasma protein concentration.

The pressures on the blood and dialysate sides can be computed from the momentum balances. By assuming constant inflow rates and neglecting the momentum transfer across the membrane we obtain [Citation8]: (5a) PBx=128μBNπ(dB)4QB(x)0<x<L(5a) (5b) PDx=32μDAD(deq)2QD(x)0<x<L(5b) where AD is the area of the cross-section of the dialysate flow: (6) AD=πdcase24Nπ(dB+2δ)24(6) while dcase is the internal diameter of the cylindrical case of the dialyser and deq is the hydraulic diameter of dialysate cross-section, that is, (7) deq=4ADNπ(dB+2δ)+πdcase(7)

Boundary conditions for the momentum equations are given by constant outlet pressures, that is: (8a) PB(L)=PBoutatx=L(8a) (8b) PD(0)=PDoutatx=0(8b)

The equations for the conservation of a solute are given by: (9a) ABCBt=(QBCB)xNπdBJs(x)0<x<L,t>0(9a) (9b) ADCDt=(QDCD)x+NπdBJs(x)0<x<L,t>0(9b) with boundary conditions (9c) CB(0,t)=CBinatx=0,t>0(9c) (9d) CD(L,t)=CDinatx=L,t>0(9d) and initial conditions (9e) CB(x,0)=CBin,0<x<L,t=0(9e) (9f) CD(x,0)=CDin,0<x<L,t=0(9f)

The transmembrane solute flux can be computed from [Citation8]: (10) Js(x)=Ko(t)[CB(x,t)CD(x,t)]+JV(x)Sa[fB(x)CB(x,t)+fD(x)CD(x,t)](10) where K0(t) is the global mass transfer coefficient for null water filtration flux. We note that this coefficient was considered as time dependent in this work to account for possible fibre clogging or protein layering on the surface of the membrane, during the haemodialysis therapy. The global mass transfer coefficient takes into account the diffusion through the membrane in the form of the coefficient Pm, as well as the mass transfer coefficients on the blood and dialysate sides, KB and KD, respectively, and can be written in terms of series resistance as: (11) 1K0(t)=1KB(t)+1Pm(t)+1KD(t)(11)

In Equation (10), Sa is the sieving coefficient, while fB and fD are respectively the following concentration factors [Citation8,Citation31]: (12a) fB=exp[(SaJV/Pm)+(JV/KB)+(JV/KD)](1Sa)exp(JV/KD)[exp(SaJV/Pm)1]+Saexp[(SaJV/Pm)+(JV/KB)+(JV/KD)]SaKoJVSa(12a) (12b) fD=1(1Sa)exp(JV/KD)[exp(SaJV/Pm)1]+Saexp[(SaJV/Pm)+(JV/KB)+(JV/KD)]Sa+KoJVSa(12b)

For the direct problem, all the input parameters and functions in Equations (2) to (12) are known. The direct problem was solved by finite volumes with an upwind explicit scheme [Citation32,Citation33]. With the solution of the direct problem, the solute clearance can be computed as: (13) CL=QBinCBinQBoutCBoutCBin(13)

State estimation problem

State estimation problems utilize the information provided by mathematical models and measurements to make inference on the posterior distribution of state variables, which describe the system of interest. Modelling and measurement uncertainties must be appropriately taken into account in the solution of state estimation problems, which aim at the minimization of estimation errors [Citation24–30].

State estimation problems are formulated in terms of two stochastic models, namely: (i) The evolution model and (ii) The observation model. In a discrete approach, these two models correspond, respectively, to the mathematical formulations to advance the posterior distribution of the state variables by one time step, say from time tk1 to time tk, and to relate the state variables to the measurements. Therefore, processes involved in the system under analysis and in the measurements are taken into account by the evolution and observation models, respectively. The fidelity levels of these models depend on the hypotheses assumed for their mathematical formulations, as well as on the accuracies imposed for their computational solutions.

The state evolution model and the observation model are defined here by the functions fk and gk, respectively, and can be written in the following general nonlinear forms [Citation24–30]: (14a) yk=fk(yk1,θ,vk),k=1,,M(14a) (14b) zk=gk(yk,θ,nk),k=1,,M(14b) where the subscript k denotes the time instant tk, yk is the vector of state variables, zk is the vector resulting from the observation model that corresponds to the measured variables, θ is a vector containing all the non-dynamic parameters of both models, while vk and nk represent the noises in the state evolution model and in the observation model, respectively.

For the solution of the state estimation problem, the probability density of the state variables at the initial time t = 0, π(y0,θ|z0)=π(y0,θ), is supposed known. The state estimation problem of this work is solved with the Sampling Importance Resampling (SIR) algorithm of the particle filter method [Citation24–27]. This is a sequential Monte Carlo method, where the posterior probability density function of the state variables is represented by a set of random samples (particles) with associated weights. We denote the particles by yki and their corresponding weights by wki,i=1,,Np. In the SIR algorithm, resampling of the particles is performed every time step in order to avoid the degeneracy phenomenon, which is characterized by only few particles with large weights and many particles with negligible weights. Therefore, this is a quite effective algorithm, which involve simple steps that can be readily applied to any state estimation problem, including those with nonlinear and non-Gaussian models. We note that the SIR algorithm may result in sample impoverishment, where many particles exhibit the same value [Citation24–30]. On the other hand, this deleterious effect was not observed in this work as will be apparent below. The basic steps of the SIR algorithm are summarized in .

Table 1. Sampling Importance Resampling (SIR) Algorithm [Citation27].

The SIR algorithm of the particle filter method was applied below for the estimation of the transient solute concentrations in the blood and dialysate, as well as of the transient global mass transfer coefficient, K0(t). Therefore, the vector of state variables is given by: (15) y(t)=[CB(t)CD(t)K0(t)](15) where the vectors CB(t) and CD(t) contain the solute concentrations in the blood and the dialysate, respectively, in all finite volumes used for the discretization of the dialyser.

The evolution models for CB(t) and CD(t) are given by the discrete form of the direct problem presented in the previous section. Uncertainties for these state variables were supposed additive, uncorrelated, Gaussian, with zero means and constant covariance matrix.

No information was a priori assumed for the functional form of the global mass transfer coefficient, K0(t). Therefore, the evolution model for this state variable was given by an independent Markovian process with a Gaussian distribution of zero mean and standard deviation σK0(tk1), that is, (16) K0(tk)=K0(tk1)+σK0(tk1)φk1(16) where φk1 is a random Gaussian number with zero mean and unitary standard deviation.

Measurements of the dialysate outlet solute concentration were assumed sequentially available for the solution of the state estimation problem. The measurements were supposed uncorrelated and containing additive Gaussian noises, with zero means and constant standard deviation σmeas. Therefore, the observation model for the measurement at time tk can be written as: (17) zk=gk(yk,θ)+nk(17) where the function gk(yk,θ) selects CDout(tk) from the state vector yk.

With the above hypotheses about the measurement errors, the likelihood function, which is used for the computation of the weights in the particle filter method, is thus given by: (18) π(zk|yk,θ)=1σmeas2πexp{12[zkmeasgk(yk,θ)]2σmeas2}(18) where π=3.1415 and zkmeas is the measurement at time tk.

The vector of model parameters, θ, was supposed known in this work, but their related uncertainties were accounted for in the vector vk by performing a Monte Carlo direct simulation, as explained below.

Results and discussions

The results presented below involve only one solute, creatinine, and constant flow rates QB = 200 ml/min and QD = 500 ml/min. The inlet concentrations of creatinine for the blood and dialysate were supposed as CBin = 0.124 mg/ml and CDin = 0 mg/ml, respectively. The dialyser parameters used in the simulations are presented in , which correspond to the model Hospal Filtral 12 [Citation8]. For creatinine, the sieving coefficient Sa was taken equal to 1, while the global mass transfer coefficient reference value was assumed as 4.26 × 10−6 m/s [Citation7,Citation8]. The mass transfer resistances on the blood and dialysate sides were assumed negligible, based on the hypotheses that fluid solute concentrations are uniform and that there is no discontinuity of the solute concentrations in the fluids and at the membrane surfaces. Therefore, from Equation (11), K0(t) = Pm(t). For the calculation of the oncotic pressure given by Equation (4), the protein concentration in the blood was assumed constant (Cp(x) = 10 mg/ml), since proteins are not transferred through the membrane.

Table 2. Parameters of the dialyser Hospal Filtral 12 [Citation8].

This work´s numerical solution of the direct problem was verified with an analytical solution for the steady-state, in a case involving only diffusion across the membrane. The agreement between the numerical and the analytical solutions is perfect at the graph scale, as shown by . Furthermore, the solution was also verified by using the results presented in [Citation8] for the clearance of creatinine, with imposed filtration flow rates of Qf = 20, 40 and 60 ml/min. The results presented by Legallais et al [Citation8] and those of this work are in excellent agreement, as shown by . This table shows the values of the increase in creatinine clearance, CL, relative to the clearance obtained with diffusion only (Qf = 0), CL0.

Figure 2. Comparison of numerical and analytical solutions of the direct problem with diffusion only across the membrane.

Figure 2. Comparison of numerical and analytical solutions of the direct problem with diffusion only across the membrane.

Table 3. Comparison with the clearances obtained by Legallais et al [Citation8].

For all cases examined below, the standard deviation for the random walk evolution model for K0(t) (see equation Equation16) was set as σK0(tk)=0.02K0(tk). This standard deviation was selected by numerical experiments and avoided a large lag in step variations in K0(t), as well as instabilities inherent of the ill-posed character of the inverse problem. The simulated measurements were generated from the solution of the direct problem with different functional forms for K0(t). Gaussian errors with zero mean and constant standard deviation 0.01CBin were added to the solution of the direct problem. The measurements were considered available with a frequency of either 1 Hz or 10 Hz, during 100 s. Hence, this study was focused at the very first stage of the HD therapy.

The standard deviations for the uncorrelated Gaussian uncertainties in the evolution models of CB and CD were assumed constant and respectively equal to 1.5% and 1% of the inlet blood concentration, CBin. These uncertainties in the evolution model resulted from a direct Monte Carlo simulation performed with Gaussian priors for the model parameters, centred on the values presented above and with standard deviations of 2% of the means. As for the distributions of the state variables at time t = 0, their means were given by the initial conditions assigned to the evolution model and the corresponding standard deviations were the same presented above.

We first analyse cases where the water filtration rate through the membrane is zero (Qf = 0 ml/min), that is, the solute transfer from the blood to dialysate takes place by diffusion only. presents the RMS errors given by Equation (19) for the estimated mass transfer coefficient, by considering different numbers of particles in the SIR algorithm. In Equation (19), K¯0(tk) is the mean estimated with the particle filter and K0,exa(tk) is the exact value used to generate the simulated measurements. Computational times for the inverse problem solution are also presented in . Computations were performed with an in-house code run in Matlab, by using a computer with an [email protected] GHz processor and 16 Gbyte of RAM memory. The simulated measurements used for the results presented in were generated with a frequency of 10 Hz, by considering that the membrane mass transfer coefficient suddenly decreased from its reference value 4.26 × 10−6 m/s to 2.13 × 10−6 m/s, as a step variation at time t = 50 s. shows that the RMS error reduced by 24% when the number of particles increased from 2000 to 2500 and then by 15% when it increased from 3000 to 5000. On the other hand, these reductions in the RMS errors involved computational time increases by factors of 3.7 and 5.3, respectively, due to the larger number of particles that also resulted in larger matrix terms required for the calculations. Even with an interpreted language as Matlab, the application of the particle filter can be performed in real-time with 2000 particles, since the computational time is smaller than the simulated time of 100 s. The computational time was 2.36 times higher than the simulated time when 2500 particles were used in the SIR algorithm. (19) eRMS=1Mk=1M[K¯0(tk)K0,exa(tk)](19) a-c present the estimated mass transfer coefficient, the estimated blood concentration of creatinine returning to the patient, as well as the estimated and simulated measured concentrations of creatinine in the dialysate at the outlet of the dialyser, respectively, obtained with 2000 particles. The mass transfer coefficient step function used to generate the simulated measurements (see a) was the same for which the RMS errors are presented in . The estimated mean mass transfer coefficient is in good agreement with the exact function used to generate the simulated measurements, as shown by a, despite the fact that no prior information was assumed available and the evolution model for this state variable was given by the random walk process of Equation (16). Uncertainties in the estimated mass transfer coefficient were in general large, but encompassed the exact functional form. Both the mean values and the 99% confidence intervals follow the discontinuity in K0(t). The creatinine concentration in the blood returning to the patient was estimated with small uncertainties and with means in excellent agreement with the exact solution, as shown by b. c shows that the estimated dialysate concentration is in excellent agreement with the measurements and their related uncertainties are of the same order of magnitude. Oscillations observed in the estimated mass transfer coefficient and in the creatinine concentration of the blood returning to the patient can be reduced by increasing the number of particles to 2500, as shown by a-c. As expected from the analysis of , a comparison of Figures and reveals that the agreement between estimated and exact state variables improved when the number of particles increased from 2000 to 2500. In particular, the estimated mass transfer coefficient and the associated 99% confidence intervals were smoother and better reflected the step reduction at time t = 50 s. Therefore, the results presented heretofore were obtained with 2500 particles in the SIR algorithm.

Figure 3. Results obtained for a step reduction of 50% in the membrane mass transfer coefficient – Measurement frequency of 10 Hz and 2000 particles: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

Figure 3. Results obtained for a step reduction of 50% in the membrane mass transfer coefficient – Measurement frequency of 10 Hz and 2000 particles: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

Figure 4. Results obtained for a step reduction of 50% in the membrane mass transfer coefficient – Measurement frequency of 10 Hz and 2500 particles: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

Figure 4. Results obtained for a step reduction of 50% in the membrane mass transfer coefficient – Measurement frequency of 10 Hz and 2500 particles: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

Table 4. RMS errors and CPU times for a step variation of the mass transfer coefficient.

Results similar to those presented in a-c are shown by a-c, but with the step reduction in the mass transfer coefficient of 15% of the reference value, that is, K0(t)varied from 4.26 × 10−6 m/s to 3.62 × 10−6 m/s. This test case was examined in order to assess the accuracy of the SIR algorithm under very strict situations for the inverse problem solution that might be observed in practice, involving small reductions in the membrane mass transfer coefficient when the HD therapy begins. The results presented in a-c were also obtained with a measurement frequency of 10 Hz. A comparison of Figures and reveals that the agreement between the estimated means and the exact state variables was not affected by the magnitude of the mass transfer coefficient reduction. In fact, we note in a that even a small variation of only 15% in the mass transfer coefficient, and its effects on the blood and dialysate outlet concentrations (see b and c, respectively), could be recovered by the solution of the state estimation problem with the SIR algorithm. Although the estimated means and the 99% confidence intervals followed the step variation in K0(t) (a), uncertainties in this state variable were large and would not allow any distinction between the two levels of the step function in this case. On the other hand, the creatinine concentrations at the blood outlet (b) and at the dialysate outlet (c) were estimated with small uncertainties.

Figure 5. Results obtained for a step reduction of 15% in the membrane mass transfer coefficient – Measurement frequency of 10 Hz and 2500 particles: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

Figure 5. Results obtained for a step reduction of 15% in the membrane mass transfer coefficient – Measurement frequency of 10 Hz and 2500 particles: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

We now examine the effects of the measurement frequency on the solution of the state estimation problem. The results obtained with a step reduction of 15% in K0(t) and a measurement frequency of 1Hz are presented by a-c for the mass transfer coefficient, creatinine concentration at the blood outlet and creatine concentration at the dialysate outlet, respectively. As compared to the results obtained with a measurement frequency of 10 Hz (see a-c), a-c show that the estimated means and confidence intervals became smoother when the measurement frequency was reduced. This behaviour is due to the ill-posed character of the problem, which became less regularized as the measurements were assimilated with a larger frequency.

Figure 6. Results obtained for a step reduction of 15% in the membrane mass transfer coefficient – Measurement frequency of 1 Hz and 2500 particles: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

Figure 6. Results obtained for a step reduction of 15% in the membrane mass transfer coefficient – Measurement frequency of 1 Hz and 2500 particles: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

a-c demonstrate that the measurement frequency of 1Hz was appropriate to obtain accurate and stable solutions for this problem. Therefore, this frequency was considered for the results presented in , which involved filtration flow rates of Qf = 20, 40 and 60 ml/min. With the imposed outlet boundary pressures (see Equations 7), the inlet pressures were iteratively adjusted to provide these values of filtration rates. presents the results obtained with Qf = 20, 40 and 60 ml/min, for the mass transfer coefficient (a, c and e) and for the creatinine in the blood returning to the patient (b, d and f), respectively. A comparison of Figures and demonstrates that the quality of the estimation of the state variables was not affected by the filtration rate across the membrane.

Figure 7. Results obtained for a step reduction of 15% in the membrane mass transfer coefficient – Measurement frequency of 1 Hz and 2500 particles: (a) Mass transfer coefficient (Qf = 20 ml/min); (b) Creatinine concentration returning to the patient (Qf = 20 ml/min); (c) Mass transfer coefficient (Qf = 40 ml/min); (d) Creatinine concentration returning to the patient (Qf = 40 ml/min); (e) Mass transfer coefficient (Qf = 60 ml/min); (f) Creatinine concentration returning to the patient (Qf = 60 ml/min).

Figure 7. Results obtained for a step reduction of 15% in the membrane mass transfer coefficient – Measurement frequency of 1 Hz and 2500 particles: (a) Mass transfer coefficient (Qf = 20 ml/min); (b) Creatinine concentration returning to the patient (Qf = 20 ml/min); (c) Mass transfer coefficient (Qf = 40 ml/min); (d) Creatinine concentration returning to the patient (Qf = 40 ml/min); (e) Mass transfer coefficient (Qf = 60 ml/min); (f) Creatinine concentration returning to the patient (Qf = 60 ml/min).

Finally, a functional form different from the step variation was examined for K0(t). We considered a linear reduction of 15% in the mass transfer coefficient from 4.26 × 10−6 m/s at t = 0 s to 3.62 × 10−6 m/s at t = 50 s, followed by this constant value. The results obtained with a frequency of 1 Hz and Qf = 60 ml/min are presented by a-c. For this functional form, the SIR algorithm was also capable of accurately estimating the mass transfer coefficient function (see a), thus resulting in accurate estimations of the creatinine blood concentrations at the blood and dialysate sides of the dialyser, as shown by Figures b and c, respectively.

Figure 8. Results obtained for a linear reduction of 15% followed by a constant value of the membrane mass transfer coefficient – Measurement frequency of 1 Hz, 2500 particles and Qf = 60 ml/min: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

Figure 8. Results obtained for a linear reduction of 15% followed by a constant value of the membrane mass transfer coefficient – Measurement frequency of 1 Hz, 2500 particles and Qf = 60 ml/min: (a) Mass transfer coefficient; (b) Creatinine concentration returning to the patient; (c) Creatinine concentration in the dialysate at the dialyser outlet.

Results similar to those presented above were also obtained with dialysers of larger area, as well as for urea. These results are not presented here for the sake of brevity.

Conclusions

This work was aimed at the transient analysis of a haemodialyser, which undergoes a reduction in the solute mass transfer coefficient of the capillary membrane. Such a reduction can be caused, for example, by fibre clogging or protein layering. A state estimation problem was solved with the Sampling Importance Resampling (SIR) algorithm of the particle filter method, which provided accurate estimations of the transient mass transfer coefficient and, in particular, of the creatinine concentration in the blood returning to the patient after passing through the haemodialyser. No prior assumption was assumed available regarding the functional form of the mass transfer coefficient, which was modelled as an independent Markovian process. The SIR algorithm was applied with 2500 particles, which resulted in small RMS errors for the estimation of the mass transfer coefficient and did not present sample impoverishment for the cases examined.

The model used in this work did not include the water and solute dynamics within the patient´s body, nor transient boundary conditions for the flow rates, pressures and solute concentrations. These simplifications can be justified by the short time period considered for the cases examined, which was of 100 s during the very first stage of the HD therapy. The dialyser certainly needs to be coupled to the patient´s body dynamics in a model more appropriate for an actual haemodialysis session, which can last few hours. Moreover, other solutes need to be included in the analysis, besides creatinine. Despite these simplifications, the SIR algorithm resulted in estimated means that were stable and in excellent agreement with the exact state variables. The quality of the estimations was not affected by the imposed water filtration rate, measurement frequency and functional form of the simulated reduction in the membrane mass transfer coefficient. The computational times associated with the particle filter solutions might allow the use of this technique in real-time applications, such as online monitoring and/or control.

Acknowledgement

The support provided by CNPq and FAPERJ, agencies of the Brazilian and Rio de Janeiro state governments, is gratefully appreciated. This study was financed in part by Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brazil (CAPES) - Finance Code 001.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Additional information

Funding

This work was supported by Conselho Nacional de Desenvolvimento Científico e Tecnológico: [grant PQ]; Coordenação de Aperfeiçoamento de Pessoal de Nível Superior: [grant number Fincance Code 001]; Fundação Carlos Chagas Filho de Amparo à Pesquisa do Estado do Rio de Janeiro: (Cientista do Estado).

References

  • Levey A, Coresh J. Chronic kidney disease. Lancet. 2012;379:165–180.
  • Ronco C, Canaud B, Aljama P., editors. Hemodiafiltration (Vol. 158). Basel: Karger Medical and Scientific Publishers; 2007.
  • Drukker W, Parsons FM, Maher JF., editors. Replacement of renal function by dialysis: a textbook of dialysis. Dordrecht: Springer Science & Business Media; 2012.
  • Twardowski ZJ. History of hemodialyzers’ designs. Hemodial Int. 2008;12(2):173–210.
  • Locatelli F, Buoncristiani U, Canaud B, et al. Haemodialysis with on-line monitoring equipment: tools or toys? Nephrol Dial Transplant. 2005;20:22–33.
  • Abbrecht PH, Prodany NW. A model of the patient-artificial kidney system. Trans On Bio Engin. 1971;18:257–264.
  • Jaffrin MY, Ding L, Laurent JM. Simultneous convective and diffusive mass transfers in hemodialyzer. J Bio Eng. 1990;112: 112–212.
  • Legallais C, Catapano G, Harten B, et al. A theoretical model to predict the in vitro performance of hemodiafilters. J Membr Sci. 2000;168:3–15.
  • Lambie SH, McIntyre CW. Developments in online monitoring of haemodialysis patients: towards global assessment of dialysis adequacy. Curr Opin Nephrol Hypertens. 2003;12(6):633–638.
  • Uhlin F, Fridolin I, Magnusson M, et al. Dialysis dose (Kt/V) and clearance variation sensitivity using measurement of ultraviolet-absorbance (on-line), blood urea, dialysate urea and ionic dialysance. Nephrol Dial Transplant. 2006;21(8):2225–2231.
  • Nigatie Y. Diffusion in tube dialyzer. Biomed Eng Comput Biol. 2017;8:1179597217732006.
  • Islam MS, Szpunar J. Study of dialyzer membrane (Polyflux 210H) and effects of different parameters on dialysis performance. Open J Nephrol. 2013;3:161–167.
  • Tam VK. The mathematical basis, clinical application and limitations of ionic dialysance. Hong Kong J Nephrol. 2004;6(1):56–59.
  • Droog RP, Kingma BR, van Marken Lichtenbelt WD, et al. Mathematical modeling of thermal and circulatory effects during hemodialysis. Artif Organs. 2012;36(9):797–811.
  • Lee JC, Lee K, Kim HC. Mathematical analysis for internal filtration of convection-enhanced high-flux hemodialyzer. Comput Methods Programs Biomed. 2012;108(1):68–79.
  • Leypoldt JK, Storr M, Agar BU, et al. Intradialytic kinetics of middle molecules during hemodialysis and hemodiafiltration. Nephrol Dial Transplant. 2019;34(5):870–877.
  • Schneditz D, 2001. Temperature and thermal balance in hemodialysis. In Seminars in dialysis (Vol. 14, No. 5). New York (US): Blackwell Science Inc., p. 357364. DOI:https://doi.org/10.1046/j.1525-139X.2001.00088.x.
  • Bianchi C, Lanzarone E, Casagrande G, et al. 2016. Identification of patient-specific parameters in a kinetic model of fluid and mass transfer during dialysis. In: Argiento R, Lanzarone E, Villalobos IA, Mattei A, editors. International conference on Bayesian statistics in action. Cham: Springer, 2016. p. 139–149.
  • Bianchi C, Lanzarone E, Casagrande G, et al. A Bayesian approach for the identification of patient-specific parameters in a dialysis kinetic model. Stat Methods Med Res. 2019;28(7):2069–2095.
  • Casagrande G, Bianchi C, Vito D, et al. Patient-specific modeling of multicompartmental fluid and mass exchange during dialysis. Int J Artif Organs. 2016;39:220–227.
  • Waniewski J, Poleszczuk J, Pietribiasi M, et al. Impact of solute exchange between erythrocytes and plasma on hemodialyzer clearance. Biocybern Biomed Eng. 2020;40:265–276.
  • Maheshwari V, Thijssen S, Tao X, et al. In silico comparison of protein-bound uremic toxin removal by hemodialysis, hemodiafiltration, membrane adsorption, and binding competition. Nat Sci Rep. 2019;9(1):1–13.
  • Maheshwari V, Thijssen S, Tao X, et al. A novel mathematical model of protein-bound uremic toxin kinetics during hemodialysis. Nat Sci Rep. 2017;7(1):1–15.
  • Doucet A, De Freitas N, Gordon N. Sequential Monte Carlo methods in practice. New York: Springer; 2001; 178–195.
  • Kaipio J, Somersalo E. (2004). Statistical and computational inverse problems, Applied Mathematical Sciences 160, Springer-Verlag.
  • Ristic B, Arulampalam S, Gordon N. Beyond the Kalman filter. Boston: Artech House; 2004.
  • Arulampalam MS, Maskell S, Gordon N, et al. A tutorial on particle filters for online nonlinear/non-Gaussian Bayesian tracking. IEEE Trans Signal Process. 2002;50:174–188.
  • Orlande HRB, Colaço MJ, Dulikravich GS, et al. State estimation problems in heat transfer. Int J Uncertainty Quant. 2012;2:239–258.
  • Lamien B, Varon L, Orlande H. State estimation in bioheat transfer: a comparison of particle filter algorithms. Int J Numer Methods Heat Fluid Flow. 2017;27:615–638.
  • Costa J, Orlande H, Campos Velho H, et al. Estimation of tumor size evolution using particle filters. J Comput Biol. 2015;22:150514113004000.
  • Zydney AL. Bulk mass transport limitations during high-flux hemodialysis. Artif Organs. 1993;17(11):919–924.
  • Patankar SV. Numerical heat transfer and fluid flow. New York: Taylor & Francis; 1980.
  • Ozisik M, Orlande H, Colaco M, et al. Finite difference methods in heat transfer. 2nd ed. Boca Raton: CRC Press; 2017.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.