Figures
Abstract
Acid-base regulation by the kidneys is largely missing in end-stage renal disease patients undergoing hemodialysis (HD). Bicarbonate is added to the dialysis fluid during HD to replenish the buffers in the body and neutralize interdialytic acid accumulation. Predicting HD outcomes with mathematical models can help select the optimal patient-specific dialysate composition, but the kinetics of bicarbonate are difficult to quantify, because of the many factors involved in the regulation of the bicarbonate buffer in bodily fluids. We implemented a mathematical model of dissolved CO2 and bicarbonate transport that describes the changes in acid-base equilibrium induced by HD to assess the kinetics of bicarbonate, dissolved CO2, and other buffers not only in plasma but also in erythrocytes, interstitial fluid, and tissue cells; the model also includes respiratory control over the partial pressures of CO2 and oxygen. Clinical data were used to fit the model and identify missing parameters used in theoretical simulations. Our results demonstrate the feasibility of the model in describing the changes to acid-base homeostasis typical of HD, and highlight the importance of respiratory regulation during HD.
Citation: Pietribiasi M, Waniewski J, Leypoldt JK (2023) Mathematical modelling of bicarbonate supplementation and acid-base chemistry in kidney failure patients on hemodialysis. PLoS ONE 18(2): e0282104. https://doi.org/10.1371/journal.pone.0282104
Editor: Emre Avci, University of Health Sciences Gulhane Faculty of Pharmacy, TURKEY
Received: May 26, 2022; Accepted: February 7, 2023; Published: February 24, 2023
Copyright: © 2023 Pietribiasi et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
Data Availability: The data used in this work were previously published in: Sargent JA, Marano M, Marano S, Gennari FJ. Acid-base homeostasis during hemodialysis: New insights into the mystery of bicarbonate disappearance during treatment. Semin Dial. 2018 Sep;31(5):468-478. doi: 10.1111/sdi.12714. Epub 2018 May 29. PMID: 29813184. Park S, Paredes W, Custodio M, Goel N, Sapkota D, Bandla A, Lynn RI, Reddy SM, Hostetter TH, Abramowitz MK. Intradialytic acid-base changes and organic anion production during high versus low bicarbonate hemodialysis. Am J Physiol Renal Physiol. 2020 Jun 1;318(6):F1418-F1429. doi: 10.1152/ajprenal.00036.2020. Epub 2020 Apr 20. PMID: 32308019; PMCID: PMC7311706.
Funding: This work was funded by the Polish National Science Center (grant number: 2017/27/B/ST7/03029). JKL was the beneficiary of the grant. MP was employed in the grant. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
Introduction
Approximately 1 millimole of net endogenous acid per kg of body weight is produced each day by human adults with normal kidney function due primarily to the metabolism of dietary protein [1]. Under normal physiological conditions, the body achieves acid-base balance through the action of the lungs, which exhale carbon dioxide, and the kidneys. When kidney function deteriorates, metabolic acidosis can develop due to the inability of the kidneys to excrete the hydrogen ions produced by endogenous acid production, potentially leading to deleterious catabolic, pro-inflammatory and bone-reabsorbing effects [2].
In end-stage chronic kidney disease, when patients require hemodialysis (HD) therapy, metabolic acidosis is treated by including bicarbonate (and/or other buffer bases such as lactate, citrate, or acetate) to the dialysis fluid, to neutralize net acid production. As a result of the intermittent nature of HD treatments, HD patients are frequently acidotic pre-dialysis but can be alkalotic during and immediately after a treatment. In a recent study, only 4 out of 53 prevalent HD patients had all acid-base blood chemistry pre-dialytic values in the normal range [3].
The prescription of the appropriate dose of basic buffers in dialysis fluid is a difficult task. Observational studies have shown that both high and low pre-dialytic bicarbonate levels are associated with an increased risk of mortality in HD patients [4–7]. Although the prescription of high bicarbonate in dialysis fluid has been recently debated [8,9], KDOQI guidelines recommend that pre-dialytic serum bicarbonate be ≥22 mmol/L. Nonetheless, a large fraction of HD patients do not achieve the recommended levels (only 60% of HD patients in the United States do so [10]). There are no quantitative guidelines on how to reach recommended serum bicarbonate levels [11,12].
Several authors have suggested that more in-depth computational studies can assist in the choice of the buffer base composition of the dialysis fluid [9,13]. However, mathematical modeling of acid-base chemistry provides specific challenges; the kinetics of bicarbonate and dissolved carbon dioxide (CO2) during HD are more difficult to describe than that of uremic toxins such as urea or creatinine. Acid-base chemistry in body fluids is complex, involving interactions between bicarbonate, non-bicarbonate buffers and dissolved CO2 in plasma, and the reactions of CO2 to form carbamylated proteins, specifically hemoglobin within the red blood cell [14]. A full description of acid-base kinetics requires also taking into consideration the role of respiration in controlling CO2 levels in blood. The kinetics of bicarbonate transport during HD are themselves not entirely understood, as there is still no consensus on the cause of the observed lack of equilibration between the bicarbonate concentrations in plasma and dialysate, regardless of session length [15–17]. Transport of dissolved CO2 alongside bicarbonate has also been reported to be possible cause of acidosis in respiratory-impaired patients, although it is often neglected [18].
Extensive physicochemical models of acid-base chemistry in intracellular and extracellular fluids have been proposed with or without regulation by pulmonary mechanisms [19–21] but were mostly applied to the study of the physiology of general population, often considering only steady-state conditions. Models specifically describing the effects of the HD treatment have also been proposed, albeit with different degrees of sophistication. Thews and Hutten were the first to implement a complex model (24-compartments) to describe the changes in serum bicarbonate, CO2 and H+ ions during HD, including chemical reactions and respiratory control mechanisms [22]. That model was able to accurately predict the immediate post-dialytic arterial serum bicarbonate and H+ concentrations, but it was too complex for patient-specific implementation, and its parameters were incompletely described [23]. Ursino, Coli, and colleagues modeled the kinetics of bicarbonate and H+ ions during HD alongside other small solutes (sodium, potassium, chloride), but their model neglected the role of lung function, thereby assuming equal arterial and venous concentrations of all solutes [24,25]. Recently, Sargent et al [26] and Wolf [19] proposed simpler compartmental models describing bicarbonate kinetics during HD to explain the lack of equilibration between bicarbonate levels in plasma and dialysis fluid by the end of an HD treatment; these models also neglected lung function and were limited to predictions of intradialytic changes in serum bicarbonate. However, Sargent’s model was successful in accurately predicting bicarbonate concentrations during a more complex protocol with step-wise increase in dialysate bicarbonate [27]. All models except the original by Thews and Hutten [22] omitted the role of respiration and thus were unable to simulate differences in arterial and venous acid-base concentrations, especially those for CO2. Further, all previous models have neglected the role of intracellular buffers in erythrocytes and muscle cells that have a significant effect on the whole system [28,29].
We propose a model of dissolved CO2, bicarbonate, and oxygen (O2) transport, describing comprehensively the effect of HD with bicarbonate-containing dialysis fluid on the acid-base chemistry of arterial and venous blood in different compartments, including tissue cells and interstitial fluid. The action of the lungs on the regulation of acid-base equilibria was described, to allow simulating the effects of changes in the respiration parameters. The model was developed with the aim of being practical, using as inputs common clinical parameters that are possible to measure noninvasively in HD patients. This paper offers a description of the model and a demonstration of its feasibility in describing these processes, with simulations of common patterns observed in HD and specific clinical data. Finally, our results suggested a new hypothesis to explain the lack of equilibration between plasma and dialysis fluid bicarbonate.
Methods
Mathematical model
The model proposed is based on the O2 and CO2 storage and transport model developed by Andreassen and Rees [30], adapted to describe the changes in the acid-base chemistry of different body compartments induced by routine HD treatments using bicarbonate-containing dialysis fluid. All chemical reaction equilibrium constants and other physicochemical parameters were assumed as originally described [14,30] and are not reported here, whereas the patient-specific and treatment-specific parameters of the model were taken from the literature [26,31].
The basic structure of the model is the same as originally described [30]. The state variables are: the fraction of expired gas (O2 and CO2) in the lung compartment (lung capillaries and alveoli); the total CO2 (bicarbonate plus dissolved CO2) concentration, total O2 concentration and the base excess (BE) in the arterial and mixed venous blood compartments; total CO2 and total O2 concentration in the tissue compartment (which unifies interstitial fluid and intracellular fluid). In total there are 4 interconnected compartments and 10 state variables defining the acid-base chemistry of each compartment (Fig 1).
The state variables are reported for each of the four main compartments, and their value is calculated by solving the blood chemistry system of equations using the inputs for each compartment. See Appendix D in S1 Text for the explanation of the symbols.
We modified this model to include 3 additional state variables to describe the changes in the volume of arterial blood, venous blood, and interstitial fluid resulting from ultrafiltration of fluid during the HD treatment and interdialytic fluid gain.
Variables in each compartment were used to solve a system of equations with up to 19 unknowns, quantifying the equilibrium acid-base chemistry of blood and interstitial fluid. This model of blood chemistry was first developed by Rees and Andreassen [14]; the following is a brief outline of the quantitative relationships described in that model, while the equations are reported in Appendix A in S1 Text. Blood is assumed to consist of a fraction with red blood cells (erythrocyte volume) and without red blood cells (plasma volume). The total concentration of carbon dioxide in blood (tCO2,b) is assumed to be the volume-weighted average of the total concentration of carbon dioxide in plasma and red blood cells. The total concentration of carbon dioxide in plasma is the sum of the concentrations of dissolved CO2 and bicarbonate in plasma, and the total concentration of carbon dioxide in red blood cells is the sum of the concentrations of dissolved CO2 and bicarbonate within red blood cells plus that of carbamated hemoglobin (hemoglobin with bound carbon dioxide moieties). The total concentration of oxygen in blood (tO2,b) is similarly quantified. Non-bicarbonate buffers are present in plasma and interstitial fluid, representing large, negatively charged molecules, and phosphates, in protonated and non-protonated forms. Blood BE was calculated as the total buffer base minus the normal buffer base as defined elsewhere [14,32]. A similar approach was used to write a system of equations to calculate tCO2 and tO2 in the interstitial and tissue cells fluid compartments, although some more empirical relationships were used to describe the changes in interstitial and intracellular pH and base excess, due to the scarcity of information on the kinetics of these variables inside tissue cells [30] (Appendix B in S1 Text).
The solution of these systems is defined at each step of integration of the dynamic model (for each updated value of the state variables) to calculate the values of all the variables appearing in the state equations.
The original whole-body model was developed mainly to quantify respiratory acid-base regulation, and all the variables related to blood chemistry depend on the input describing the respiration and metabolic steady states [30]. In order to apply the model to the HD patient data available, we introduced changes in the calculation of the steady-state of the model so that in pre-dialysis equilibrium conditions, all other variables could be calculated from the values of arterial partial pressure of CO2 (pCO2,a), arterial plasma bicarbonate concentration (Bicp,a), and arterial oxygen saturation (sO2,a). The latter is not regularly reported in published data [26,31] but, as in the original model [30], the knowledge of three variables was needed to define the chemistry of a compartment, so an initial value of sO2,a was assumed. Then, from the value of these three quantities in arterial blood, two other parameters were tuned, the tissue oxygen consumption () and the tissue CO2 generation (), so that the initial solution of the time-dependent model would result in the observed pre-HD values of pCO2,a, Bicp,a and sO2,a. An explanation of these modifications to the steady-state calculation of the model is presented in Appendix C in S1 Text.
Most of the equations describing the time-dependency of the model are unchanged from the original proposed by Andreassen and Rees [30] and are summarized in Appendix D in S1 Text. The main differences consist in the introduction of the hemodialyzer, adding bicarbonate, dissolved CO2 and acetate to blood, and the removal of the pulmonary shunt blood flow, considered negligible. We assumed an arterio-venous fistula access type. When blood passes through the dialyzer, the concentrations at the outlet of the filter for plasma bicarbonate (Bicp,out) and partial pressure of CO2 (pCO2,out) are increased. pCO2,out is increased because of the presence of dissolved CO2 in the dialysis fluid which diffuses to blood with a flow proportional to the gradient between plasma and dialysis fluid. Bicp,out increases because of two sources: the first is the diffusion flow of bicarbonate from the hemodialyzer; the second is the conversion of dialyzed acetate into bicarbonate.
(1)(2)In the equations above, derived from the mass conservation principle, the subscript d stands for dialysate, p for plasma and a for arterial. DBic and DCO2 are the dialysances for bicarbonate and dissolved CO2, respectively. KAc is a metabolic constant describing the conversion rate of acetate into bicarbonate, and it was assumed to be 0.65 L/min as determined in a previous study by Sargent et al [26]. Acp is the plasma concentration of acetate, which is normally close to zero initially but quickly increases in patients during HD sessions because of diffusion from acetate-containing dialysis fluid. For simplicity, because previous studies showed that its value is relatively constant during HD and it reaches 99% of its plateau value in less than one hour of dialysis, we assumed Acp to be constant, with values of 0.56 mmol/L and 0.325 mmol/L, when analyzing Sargent’s data and Park’s data, respectively [26,31]. is the flow rate in the blood channel of the extracorporeal circuit. It was assumed that the solute exchange at the two sides of the dialyzer membrane takes place between plasma and dialysis fluid, so for bicarbonate the term is the plasma water flow rate (0.93 is the correction for the water fraction of blood and Hct is the haematocrit). Because dissolved CO2 quickly diffuses across the erythrocyte’s membrane, the full blood flow was used in Eq 2. The coefficient αD corrects for the Donnan effect and is equal to 0.95 for bicarbonate and to 1 for CO2. The value of pCO2,d was calculated with the Henderson–Hasselbalch equation assuming a pH equal to 7.2. Because of the low ultrafiltration rate compared to blood flow rate in these studies, for simplicity we assumed no convective transport of solute across the dialyzer membrane (however, it can be easily implemented by expanding Eqs 2 and 3).
Since clinical studies have shown that oxygen transport across the dialyzer is of minor magnitude [33], it was assumed that tO2 is not significantly different at the two sides of the dialyzer (tO2,out = tO2,a).
With this assumption and Eqs 1 and 2, Bicp, CO2,p and tO2 are known for the blood at the dialyzer outlet, and it is possible to solve the system of equations (Appendix A in S1 Text) to calculate the total CO2 concentration (tCO2,out), which is then mixed with the venous blood (subscript V) that bypassed the fistula, to give the post-dialyzer (pd) blood: (3)
Similar equations are written for tO2,PD and BEPD; the three post-dialyzer values are used as the inlet of the mixed-venous (mv) compartment in the corresponding state-equations: (4) where Vmv is the volume of the mixed-venous blood compartment and is the cardiac output. The state equations for the other compartments are written with a similar approach and are reported in Appendix D in S1 Text.
Volumes of interstitial and blood compartments were assumed to change linearly throughout the session; other volumes were maintained constant, consistent with the removal of fluid from only extracellular sources. In blood only plasma volume decreases, whereas the volume of erythrocytes is constant. A constant fraction of total ultrafiltration volume (80%) was assumed to come from the interstitial fluid, and the remaining 20% to come from mixed venous and arterial pools, proportional to their volume ratio before the treatment. The mass of total non-bicarbonate buffer base in plasma and interstitial fluid was kept constant during the session, but its concentration increased according to the reduction in the respective volumes. The volume of the tissue cells compartment was assumed to be constant.
The three volume state equations added to the model have thus the form: (5) where Vx can be arterial, mixed venous or interstitial volume, ρ is the fraction of total ultrafiltration calculated as described in the previous paragraph, and is the ultrafiltration rate calculated as the ratio between ultrafiltration volume and session length. The volumes of blood and interstitial fluid were assumed to increase linearly during interdialytic intervals.
Model simulations and clinical data
The model was implemented in MatLab (MathWorks, Natick, MA, USA). The ability of the model to predict published clinical data was assessed by fitting the model to that reported in the studies by Sargent [26] and Park (study 1a) [31]. Patient-specific and treatment-specific parameters were taken from the published data whenever possible, and the quantities not reported in the studies were either assumed equal to what used in the original formulation of the model or fixed based on common values for the dialysis population (Table 1).
The values used here are the average of the data reported. For patient-specific parameters, initial values are reported unless otherwise specified. Measurements missing in the datasets were taken from the original description of the model or assumed based on standard values for the patient population.
The fitting was carried out by tuning two model parameters to minimize the sum of residuals (SR) between the data and the model’s outputs. The total SR was calculated summing the residuals for arterial plasma bicarbonate concentration and partial pressure of CO2: (6)
The subscript i indicates the i-th measurement collected during the HD session. Measurements of plasma bicarbonate and pCO2 were taken in the Sargent study at t = 0, 15, 30, 60, 90, 120, 209 minutes and in the Park study at t = 0, 15, 45, 90,135, 180, 224 minutes. The parameters fitted were the dialysances for bicarbonate (DBic) and dissolved CO2 (DCO2). The estimation of the parameters was carried out with a nonlinear least squares method (function lsqnonlin in MatLab, used also for the estimation of steady-state parameters).
Additional simulations included the simulation of a weekly HD cycle, comprised of three sessions of similar duration and post-dialytic intervals of 48, 48 and 72 hours, respectively, carried out to test the feasibility of simulating interdialytic changes in acid-base chemistry. Parameter values taken from the Sargent dataset were used in this case.
Sensitivity analysis
Local sensitivity analysis of the model was carried out for the dialysances and for the parameters reported in Table 1, to assess their impact on selected outputs of the model. The sensitivity indices were calculated using the one-at-a-time (OAT) method. More details on the methods and the results of this analysis is reported in the Appendix E in S1 Text.
Results
Simulation of clinical data
Table 2 shows the parameters estimated by the model to fit the model predictions to the clinical data from the studies of Sargent et al [26] and Park et al [31]. Tissue oxygen consumption () and CO2 generation () were tuned to fit the initial state of the model to the values of plasma bicarbonate and pCO2 (Table 1), while the dialysances DBic and DCO2 were tuned to fit the simulated bicarbonate and pCO2 profiles during the session. The values of and were considered constant during the simulated HD sessions.
The values estimated to fit the data from the studies by Sargent [26] and Park [31] are compared with the values assumed in the original model description by Andreassen and Rees [30] (only for the steady-state parameters and ). The dialysances DBic and DCO2 are shown first for the simulations with constant respiration rate and then when a linear increase in minute ventilation () was assumed.
The output of the model’s fit to Sargent’s data is shown in Fig 2, whereas that for Park’s data are shown in Fig 3. While the arterial plasma variables of the model were fitted to the data, the model predicts concentration profiles of mixed venous plasma as well as those in other compartments (erythrocytes, interstitial fluid, tissue cells); these additional results shown in the figures are examples of the variety of the predictions obtainable from the model. Several trends are consistent from the model predictions using both data sets. For example, mixed venous plasma levels of bicarbonate concentration and pCO2 are higher than those in arterial plasma, and both bicarbonate concentration and pCO2 are substantially lower in erythrocytes than in plasma. Further, model-predicted acid-base parameters in the interstitium are similar to those in mixed venous blood. These relationships are like those predicted by this same model under normal physiological conditions [30]. Integration of Eqs 1 and 2 allowed us to calculate the amount of base and dissolved CO2 transferred from dialysis fluid to the patient according to the model. For Sargent’s data they are equal to 181.5 mmol (of which 76.1 are from acetate) and 25.1 mmol, respectively, and for Park’s data they are equal to 179.8 mmol (of which 47.3 are from acetate) and 19.8 mmol, respectively. Despite the different combinations of fixed parameters tested, the model with constant O2 consumption, CO2 generation and respiration rates were not able to match the pattern of pCO2 data, although the small variability of the values in the data assured a small overall error.
The dialysate concentration of bicarbonate was corrected for the Gibs-Donnan effect.
The dialysate concentration of bicarbonate was corrected for the Gibs-Donnan effect.
Changes to the respiratory regulation of pCO2
For each initial steady-state defined by the model’s fixed parameters and and , the minute ventilation of the patient was calculated (, the volume of air breathed per minute). This parameter was assumed constant during the HD session, for lack of data, but an increase in respiration rate during dialysis has been observed in clinical studies [34–36]. Additional model simulations were therefore carried out with the assumption of a linear increase in , and the dialysances DBic and DCO2 were newly fitted to the data, together with the optimal increase in , expressed as a percentage of the initial value (). These results are presented in Fig 4. The baseline values of were 3.55 and 3.49 L/min for Sargent’s and Park’s data, respectively. The new estimated parameters are shown in Table 2. The assumption of linearly increasing allowed the model to achieve a better fit of pCO2 data. The increase in the estimated dialysances also brought an increase in the added bicarbonate and CO2 to the patient. For Sargent’s data the new values were 219.2 mmol (of which still 76.1 mmol were from acetate) and 38.4 mmol, respectively, and for Park’s data they were equal to 279.2 mmol (47.3 mmol were from acetate) and 54.0 mmol, respectively.
The increase was up to 11% more than the initial value for Sargent data (top panels) and 22% for Park data (bottom panels). The dialysate concentration of bicarbonate was corrected for the Gibs-Donnan effect.
Theoretical simulation experiments
Fig 5 depicts a cycle of consecutive HD sessions, following a standard 3-2-2 schedule (3 days pre-dialytic interval before the first session of the week, 2 days before the following sessions). The model was able to correctly describe the alkalinization of the patient during each session, and consequent acidification in the intradialytic periods. Values of pCO2 were maintained constant by normal lung function except during HD treatments with the influx of bicarbonate and dissolved CO2 from the dialysis fluid. A cyclical steady-state was obtained, with the value of the output at the end of the cycle equal to the initial value, by adjusting the net acid generation rate (Ht) to be in equilibrium with the infusion of buffer base during each session. For this simulation, Ht was tuned to 0.043 mL/min.
Two postdialytic intervals were of 48 hours and one was of 72 hours, during which fluid volumes accumulates and bicarbonate buffer is depleted due to an endogenous acid production rate of 0.039 mmol/day per Kg of body mass. The dialysate concentration of bicarbonate was corrected for the Gibs-Donnan effect.
Discussion
This work describes a mathematical model simulating the time-dependent effect of HD on acid-base chemistry within the patient’s body. The current model is based on existing acid-base chemistry and whole-body compartmental models proposed in twin papers by Rees and Andreassen [14,30]. We adapted the model to describe the changes in acid-base chemistry of the body compartment during a HD session, modifying its framework to allow the use of clinical data of HD patients as inputs, and adding equations to describe the transport of bicarbonate and dissolved CO2 and removal of fluid by the hemodialyzer. With such modifications, the model was able to describe the effects of hemodialysis on a number of acid-base related quantities (pH, bicarbonate and hemoglobin concentrations, partial pressures of CO2 and O2) simultaneously, in both blood and extravascular compartments.
The model developed by Rees and Andreassen was chosen as the base for this work because of its relative simplicity in the face of its comprehensive approach to the description of the acid-base status in the body. We acknowledge that more complete models describing physiological acid-base phenomena exist, but their application to the simulation of HD can be too complex for practical use [21,37,38]. Conversely, existing models applied specifically to the study of HD tend to neglect important mechanisms such as intracellular and non-bicarbonate buffers and respiratory regulation [19,26]. Most models neglect the transport of dissolved CO2 from dialysis fluid, whose importance we discussed in a recent paper [39], and whose tangible impact has been revealed by symptoms such as HD-driven intra-dialytic acidosis [18,40]. Furthermore, the presence of intracellular buffers, and transport of mobile buffers such as bicarbonate between intracellular and extracellular fluids directly affects the acid-base equilibrium and should be taken into account in a mathematical description of these phenomena [41]. It was thus of importance that our modeling effort would include a physiology-based description of the interactions between intracellular and extracellular compartments, accounting for the chemical reactions involving bicarbonate and other non-bicarbonate buffers.
For this theoretical study we applied the mathematical model to the simulation of clinical profiles of plasma bicarbonate, pH, and pCO2 reported in the published works by Sargent et al [42] and Park et al [31]. The model was fitted to the data in two steps. First the initial value of the state-variables was identified by fitting two parameters ( and ) to assure that the stead-state solution of the model would reflect the pre-dialysis bicarbonate and pCO2 data; successively, the profiles during HD were fitted by tuning the dialysances for bicarbonate (DBic) and dissolved CO2 (DCO2). The estimated values of and were similar to those assumed by Andreassen and Rees [30]. DBic and DCO2 were selected for tuning after the sensitivity analysis (Appendix E in S1 Text) showed that they were among the main determinants of arterial plasma bicarbonate concentration and pCO2 (pH was not considered, as its value depends on bicarbonate and pCO2 via the Henderson-Hasselbalch equation).
Previous models of acid-base chemistry during HD have been limited to describing intradialytic changes in acid-base parameters [19,22,24,26]. The current model is the first to describe the behavior of the acid-base parameters both during and between HD treatments (Fig 5). As expected, the blood is loaded with alkali during the HD session, while the metabolic acids generated during interdialytic intervals acidify the system via protein catabolism, thereby decreasing pH and bicarbonate content [43]. The simulations of the weekly HD cycle demonstrated that a cyclic steady-state between weeks of treatment can be achieved by tuning the endogenous net acid production rate of the patient so that the output values after the third post-dialytic interval would match the first pre-dialytic ones. This suggests that it may be possible to use the model described here to estimate the acid generation rate from such observed clinical data. Conversely, by knowing the acid generation rate during a cycle, the dose of bicarbonate dialysis necessary to achieve the desired post-dialysis blood chemistry status at the end of the week can be more accurately estimated. It must be noted that, for simplicity, the model neglects the effects of residual renal clearance or additional buffer stores (such as in bone); in simulations with a long timescale this might introduce significant errors, although it is likely that these errors can be ignored for intradialytic simulations.
After tuning the selected parameters, our model was able to reproduce with good accuracy the arterial plasma bicarbonate concentration-time profiles present in the two datasets analyzed. The interpretation of our estimated values of the dialysances of bicarbonate and CO2 is, however, complicated by the interconversion of the two species, as already emphasized by several authors [33,39,44]. Several examples of this problem can be found in the literature. In a recent editorial in the American Journal of Physiology [45] Gennari and Sargent discussed the data described by Park et al [31], and observed that calculating the dialysance of bicarbonate from the concentration measurements yielded a value DBic = 205 mL/min. However, they suggested that a lower DBic would have been necessary, 104 mL/min, to obtain the net alkali transport from dialysis fluid to blood reported by Park. Only few studies reported concentrations at the inlet and outlet of a dialyzer for both bicarbonate and pCO2, allowing to calculate dialysances using the classic formula. Sombolos et al made such measurements 5 minutes into the HD session [33], while Symreng et al took samples at 60 minutes [36]; the dialysances calculated from their data are shown in Table 3. Some anomalies are immediately apparent, such as DCO2 reported by Sombolos being higher than the HD circuit blood flow rate. However, the values described by Sombolos were calculated using dialysate measurements: repeating the same calculation from blood values yields significantly lower values for CO2 (Table 3). Although the blood-side dialysances reported for CO2 in Table 3 are closer to what was estimated by our model, these observations suggest that the classic method of dialysance calculation is ill-suited for bicarbonate and CO2 (bicarbonate dialysances also would be inflated by the additional bicarbonate from acetate metabolism). By contrast, the dialysances appearing in Eqs 1 and 2 of our model are direct expression of the rate of diffusive transport across the dialyzer, and thus should probably not be directly compared.
That respiration rate increases during the HD session is open to debate. An increase in respiration rate to ventilate the excess CO2 is actually to be expected [43]; however, only a small increase was reported in clinical studies during a HD session, and it was often not statistically significant [34,35]. Symreng measured an average increase in minute ventilation of 12.3% in 5 patient undergoing HD, comparable to the increase estimated by our model. The fitting of the simulated profiles of pCO2 to the data was significantly improved when the minute ventilation was allowed to increase during the session (Fig 4). Because of the lack of information on the changes in respiration rate during the clinical sessions, a linear increase in minute ventilation was assumed. We found that an increase corresponding to 1.3 breaths/minute in Sargent’s data and 1.7 breaths/minute in Park’s data was enough to achieve a close fit of the data, and reproduce the characteristic small increase in pCO2 during the first hour of HD observed in clinical studies [26,46–48].
The newly estimated dialysances were higher than in the baseline model for both data sets since an increase in transport was necessary to balance the higher exhalation of CO2 from the lungs during the HD session. This significantly affected the mass balance for both bicarbonate and CO2 (but not for acetate, whose contribution remained constant with the constant plasma concentration assumed in the model). The net alkali mass transported across the dialyzer reported by Park was equal to 155 mmol, while Sargent reported 203 mmol [26,31]; using Sargent’s data, our model predicted values ranging from 181 to 219 mmol, depending if the respiration rate was assumed constant or increasing during the HD session. For Park’s data, predicted net alkali balance changed from being close to the published value when respiration rate was constant, to being almost double when a 23% was estimated (279 mmol). However, it is possible that the model might be overestimating the increase in ; assuming only 13% for Park’s data resulted in significantly lower transport parameters and mass balance (DBic = 116 mL/min, DCO2 = 100 mL/min, net alkali transport = 237 mmol) with an increase in the relative prediction error for pCO2 of only 0.3%. Therefore, it is possible that with a more accurate function describing changes in the respiration during HD, a more accurate mass balance could be predicted by the model.
These simulations show anyway how sensitive the whole system is to changes in the respiration and demonstrate the possibility of using the model to simulate their effects on the regulation of the acid-base equilibria.
In clinical practice a lack of equilibration between plasma and dialysate bicarbonate concentration is often observed, despite a leveling-off of plasma bicarbonate [15–17]; Gennari et al [49] have recently summarized some possible explanations for this lack of equilibrium. In one case [26], Sargent et al proposed that this lack of equilibration was the result of increased endogenous organic acid production; however, recent data from Park et al [31] do not support endogenous acid production as the dominant mechanism. Another study suggested that a release of H+ ions was caused by a delayed activation of bone buffering, but without direct evidence to verify this hypothesis [50]. Recently, Wolf [19] suggested that the leveling off of bicarbonate could be explained as a consequence of the electroneutrality principle. We propose yet an alternative possible explanation based on the current described model. According to our model, the main cause of the lack of equilibration of blood and dialysate bicarbonate levels appears to be dissolved CO2 transport from dialysis fluid to blood. The acidifying effect of dialysate-wrought dissolved CO2 has been already addressed in the past [18,40]; our results suggest that progressive fall in pH resulting from the increasing pCO2 somewhat counteracts the increase in bicarbonate concentration. If, for example, the dialysance DCO2 is set to zero in our model, that is eliminating dissolved CO2 transport from the dialysis fluid, equilibration is completely achieved, except for a small offset caused by the net endogenous acid generation rate (Fig 6, when setting acetate to zero). During the HD session this results in a slower increase in bicarbonate and other bases (non-bicarbonate buffer and hemoglobin in non-protonated forms), until reaching an equilibrium in which the blood concentration of these bases levels off. This equilibrium is preserved by the stability of the flow of dissolved CO2 from dialysis fluid (Fig 6), in turn maintained by the exhalation of CO2 from the lungs (Equations A39 and A40, Appendix D in S1 Text) which dampens the increase in arterial pCO2. The flattening of bicarbonate profiles, incomplete in simulations with constant respiration rate (Figs 2 and 3), was achieved when an increase was assumed in (Fig 4). Simulations with different dissolved CO2 concentrations in the dialysis fluid showed that the plasma bicarbonate level reached at the end of HD is inversely proportional to the former, all other factors being equal. It must be noted that, because of the formulation of the original model of Rees and Andreassen, changes in quantities such as bicarbonate, pH (H+ concentration), and dissolved CO2 in plasma and erythrocytes are not calculated as result of modelling of their transport flows, but rather as solutions of a series of steady-states for the chemistry equations of each blood and fluid compartment. As such, it is difficult to directly assess from our modeling results the origin of the H+ anions titrating the dialyzed bicarbonate.
(Top) Bicarbonate and dissolved CO2 concentrations in Sargent data (assuming constant respiration rate), with dialysate concentration of bicarbonate corrected for the Gibs-Donnan effect. The simulated session was extended to 420 minutes to better show the leveling off of bicarbonate concentration profile, and the effects of hemoconcentration were removed by setting the value of UF to zero. Note that if acetate concentration is not set to zero (dashed line), plasma bicarbonate can exceed dialysate concentration because of the constant inflow from acetate, which in the model is independent of other variables. (Bottom) Solute flow rates from dialysis fluid to plasma.
Our study has several additional limitations. Many subject-specific parameters were missing in the data to which the model was applied and had to be chosen based on common sense or known literature. Plasma/erythrocyte/hemoglobin biochemistry was assumed the same as normal subjects, as described by Rees and Andreassen [14], therefore the model ignores possible changes caused by uremia. Furthermore, we assumed that only bicarbonate and dissolved CO2 concentrations are affected by passage through the dialyzer; however, this can be a reasonable simplification because of the much higher relative changes observed in bicarbonate and pCO2 compared to e.g. oxygen partial pressure [33]. Time-dependent transport of acetate from dialysis fluid to blood was simplified, opting instead to describe acetate plasma levels as constant. While this is clearly an oversimplification, we deemed it reasonable in the light of clinical and computational evidence [26,31]; anyway, simulations performed using a time-dependent acetate concentration as described in [26] resulted in only small changes of the estimated parameters (results not shown). Finally, our model approaches the study of acid-base homeostasis with the “classical” view of bicarbonate and base excess, contrary to the approach spearheaded by Stewart based on the electroneutrality principle [51], and employed by other investigators [19,52]; thus, we do not consider the transport of other ions, such as sodium, potassium and chloride, that are also altered by HD. This simplification was necessary to keep the complexity of the model low and avoid the need of more assumptions on the kinetics of other ions without such data; however, the two approaches can be seen as complementary [53].
To conclude, the model of acid-base chemistry and transport proposed in this study shows promise to describe the alterations in acid-base balance within the patient during HD and managed to provide a close fit of clinical data without overparametrization, despite the lack of information on many patient-specific parameters. Our results suggest that the importance of the lungs on the preservation of the acid-base homeostasis during HD cannot be neglected even when describing metabolic acidosis. Given the sensitivity of the whole acid-base buffer system to changes in pCO2, any further modeling efforts should strive to describe the respiratory regulation of CO2 levels in the patient. Even a relatively ignored phenomenon, such as the transport of dissolved CO2 from dialysis fluid to blood, might unexpectedly be one of the main determinants of the kinetics of bicarbonate during HD and of the post-dialysis bicarbonate plasma concentration. Overall, the strong physiological and physicochemical bases of the model, and the wide array of outputs available, make it useful for a more complete description of acid-base disturbances during dialysis.
Supporting information
S1 Text. Appendices.
Equations of the model (appendices A, B, C, D) and results of the sensitivity analysis (appendix E).
https://doi.org/10.1371/journal.pone.0282104.s001
(PDF)
References
- 1. Kraut JA, Kurtz I. Metabolic acidosis of CKD: diagnosis, clinical characteristics, and treatment. Am J Kidney Dis. 2005;45(6):978–93. Epub 2005/06/16. pmid:15957126.
- 2. Kraut JA, Madias NE. Metabolic Acidosis of CKD: An Update. Am J Kidney Dis. 2016;67(2):307–17. Epub 2015/10/20. pmid:26477665.
- 3. Marano M, Marano S, Gennari FJ. Beyond bicarbonate: complete acid-base assessment in patients receiving intermittent hemodialysis. Nephrol Dial Transplant. 2017;32(3):528–33. Epub 2016/03/24. pmid:27001688.
- 4. Bommer J, Locatelli F, Satayathum S, Keen ML, Goodkin DA, Saito A, et al. Association of predialysis serum bicarbonate levels with risk of mortality and hospitalization in the Dialysis Outcomes and Practice Patterns Study (DOPPS). Am J Kidney Dis. 2004;44(4):661–71. Epub 2004/09/24. pmid:15384017.
- 5. Wu DY, Shinaberger CS, Regidor DL, McAllister CJ, Kopple JD, Kalantar-Zadeh K. Association between serum bicarbonate and death in hemodialysis patients: is it better to be acidotic or alkalotic? Clin J Am Soc Nephrol. 2006;1(1):70–8. Epub 2007/08/21. pmid:17699193.
- 6. Tentori F, Karaboyas A, Robinson BM, Morgenstern H, Zhang J, Sen A, et al. Association of dialysate bicarbonate concentration with mortality in the Dialysis Outcomes and Practice Patterns Study (DOPPS). Am J Kidney Dis. 2013;62(4):738–46. Epub 2013/05/28. pmid:23707043; PubMed Central PMCID: PMC3832240.
- 7. Tovbin D, Sherman RA. Correcting Acidosis during Hemodialysis: Current Limitations and a Potential Solution. Semin Dial. 2016;29(1):35–8. Epub 2015/11/26. pmid:26593391.
- 8. Basile C, Rossi L, Lomonte C. Dialysate bicarbonate concentration: Too much of a good thing? Semin Dial. 2018;31(6):576–82. Epub 2018/06/10. pmid:29885083.
- 9. Basile C, Rossi L, Lomonte C. The choice of dialysate bicarbonate: do different concentrations make a difference? Kidney Int. 2016;89(5):1008–15. Epub 2016/03/01. pmid:26924048.
- 10. Vashistha T, Kalantar-Zadeh K, Molnar MZ, Torlen K, Mehrotra R. Dialysis modality and correction of uremic metabolic acidosis: relationship with all-cause and cause-specific mortality. Clin J Am Soc Nephrol. 2013;8(2):254–64. Epub 2012/11/28. pmid:23184567; PubMed Central PMCID: PMC3562859.
- 11. Gennari FJ. Acid-base assessment of patients receiving hemodialysis. What are our management goals? Semin Dial. 2018;31(4):382–7. Epub 2018/03/02. pmid:29495132.
- 12. Misra M. Pro: Higher serum bicarbonate in dialysis patients is protective. Nephrol Dial Transplant. 2016;31(8):1220–4. Epub 2016/07/15. pmid:27411723.
- 13. Ponce P. Correcting acidosis in CKD patients. How much is too much. Port J Nephrol Hypert. 2016;30(2):94–101.
- 14. Rees SE, Andreassen S. Mathematical models of oxygen and carbon dioxide storage and transport: the acid-base chemistry of blood. Crit Rev Biomed Eng. 2005;33(3):209–64. Epub 2005/04/19. pmid:15833078.
- 15. Morel H, Jaffrin MY, Lux C, Renou M, Fessier C, Petit A, et al. A comparison of bicarbonate kinetics and acid-base status in high flux hemodialysis and on-line post-dilution hemodiafiltration. Int J Artif Organs. 2012;35(4):288–300. Epub 2012/04/17. pmid:22505196.
- 16. Gennari FJ. Acid-Base Homeostasis in End-Stage Renal Disease. Semin Dial. 1996;9(5):404–11.
- 17. Gotch FA, Sargent JA, Keen ML. Hydrogen ion balance in dialysis therapy. Artif Organs. 1982;6(4):388–95. Epub 1982/11/01. pmid:7165553.
- 18. Marano M, D’Amato A, Cantone A. Carbon dioxide: Global warning for nephrologists. World J Nephrol. 2016;5(5):429–36. Epub 2016/09/21. pmid:27648406; PubMed Central PMCID: PMC5011249.
- 19. Wolf MB. Mechanisms of Acid-Base Kinetics During Hemodialysis: a Mathematical-Model Study. ASAIO J. 2021. Epub 2021/01/30. pmid:33512837.
- 20. Cherif A, Maheshwari V, Fuertinger D, Schappacher-Tilp G, Preciado P, Bushinsky D, et al. A mathematical model of the four cardinal acid-base disorders. Math Biosci Eng. 2020;17(5):4457–76. Epub 2020/10/31. pmid:33120513.
- 21. Ježek F, Kofránek J. Modern and traditional approaches combined into an effective gray-box mathematical model of full-blood acid-base. Theor Biol Med Model. 2018;15(1):14. Epub 2018/09/11. pmid:30196793; PubMed Central PMCID: PMC6130067.
- 22. Thews O, Hutten H. A comprehensive model of the dynamic exchange processes during hemodialysis. Med Prog Technol. 1990;16(3):145–61. Epub 1990/01/01. pmid:2146479.
- 23. Thews O. Model-based decision support system for individual prescription of the dialysate bicarbonate concentration in hemodialysis. Int J Artif Organs. 1992;15(8):447–55. Epub 1992/08/01. pmid:1399091.
- 24. Coli L, Ursino M, De Pascalis A, Brighenti C, Dalmastri V, La Manna G, et al. Evaluation of intradialytic solute and fluid kinetics. Setting Up a predictive mathematical model. Blood Purif. 2000;18(1):37–49. Epub 2000/02/25. pmid:10686441.
- 25. Ursino M, Coli L, Brighenti C, Chiari L, de Pascalis A, Avanzolini G. Prediction of solute kinetics, acid-base status, and blood volume changes during profiled hemodialysis. Ann Biomed Eng. 2000;28(2):204–16. Epub 2000/03/10. pmid:10710192.
- 26. Sargent JA, Marano M, Marano S, Gennari FJ. Acid-base homeostasis during hemodialysis: New insights into the mystery of bicarbonate disappearance during treatment. Semin Dial. 2018;31(5):468–78. Epub 2018/05/31. pmid:29813184.
- 27. Marano S, Marano M, Gennari FJ. A New Approach to Bicarbonate Addition During Hemodialysis: Testing Model Predictions in a Patient Cohort. IEEE Access. 2022;10:17473–83.
- 28. Burton RF. Intracellular buffering. Respir Physiol. 1978;33(1):51–8. Epub 1978/04/01. pmid:27854
- 29. Fernandez PC, Cohen RM, Feldman GM. The concept of bicarbonate distribution space: the crucial role of body buffers. Kidney Int. 1989;36(5):747–52. Epub 1989/11/01. pmid:2693799.
- 30. Andreassen S, Rees SE. Mathematical models of oxygen and carbon dioxide storage and transport: interstitial fluid and tissue stores and whole-body transport. Crit Rev Biomed Eng. 2005;33(3):265–98. Epub 2005/04/19. pmid:15833079.
- 31. Park S, Paredes W, Custodio M, Goel N, Sapkota D, Bandla A, et al. Intradialytic acid-base changes and organic anion production during high versus low bicarbonate hemodialysis. Am J Physiol Renal Physiol. 2020;318(6):F1418–f29. Epub 2020/04/21. pmid:32308019; PubMed Central PMCID: PMC7311706.
- 32.
Siggaard-Andersen O. Acid-base biochemistry. The acid-base status of the blood. Copenhagen: Williams & Wilkins Company; 1974.
- 33. Sombolos KI, Bamichas GI, Christidou FN, Gionanlis LD, Karagianni AC, Anagnostopoulos TC, et al. pO2 and pCO2 increment in post-dialyzer blood: the role of dialysate. Artif Organs. 2005;29(11):892–8. Epub 2005/11/04. pmid:16266303.
- 34. Palamidas AF, Gennimata S-A, Karakontaki F, Kaltsakas G, Papantoniou I, Koutsoukou A, et al. Impact of Hemodialysis on Dyspnea and Lung Function in End Stage Kidney Disease Patients. BioMed Research International. 2014;2014:212751. pmid:24895552
- 35. Huang CC, Lin MC, Yang CT, Lan RS, Tsai YH, Tsao TC. Oxygen, arterial blood gases and ventilation are unchanged during dialysis in patients receiving pressure support ventilation. Respir Med. 1998;92(3):534–40. Epub 1998/08/06. pmid:9692118.
- 36. Symreng T, Flanigan MJ, Lim VS. Ventilatory and metabolic changes during high efficiency hemodialysis. Kidney Int. 1992;41(4):1064–9. Epub 1992/04/01. pmid:1513087.
- 37. Wolf MB. Whole body acid-base and fluid-electrolyte balance: a mathematical model. Am J Physiol Renal Physiol. 2013;305(8):F1118–31. Epub 2013/07/26. pmid:23884137.
- 38. Wolf MB. Comprehensive diagnosis of whole-body acid-base and fluid-electrolyte disorders using a mathematical model and whole-body base excess. J Clin Monit Comput. 2015;29(4):475–90. Epub 2014/10/05. pmid:25281215.
- 39. Pietribiasi M, Leypoldt JK. Modeling acid-base transport in hemodialyzers. Biocybernetics and Biomedical Engineering. 2021;41(3):1150–61.
- 40. Marano M, Borrelli S, Zamboli P. Dialysis-Related Acidemia and Acidosis by Dialysate: The Forgotten Issue of CO2 Overload from Dialysate. Blood Purif. 2016;41(4):313–4. pmid:26848987
- 41. Geers C, Gros G. Carbon dioxide transport and carbonic anhydrase in blood and muscle. Physiol Rev. 2000;80(2):681–715. Epub 2000/04/04. pmid:10747205.
- 42.
Sargent GA, Gotch FA. Principles and Biophysics of Dialysis. In: Maher JF, editor. Replacement of renal function by dialysis. Dordrecht: Kluwer Academic Publishers; 1989. p. 53–96.
- 43. Abramowitz MK. Bicarbonate Balance and Prescription in ESRD. J Am Soc Nephrol. 2017;28(3):726–34. Epub 2016/11/25. pmid:27881607; PubMed Central PMCID: PMC5328170.
- 44. Sargent JA, Yamamoto T, Yamakawa T, De Waal D, Gennari FJ. Hemodialysis using a low bicarbonate dialysis bath: Implications for acid-base homeostasis. Semin Dial. 2020;33(5):402–9. pmid:32798324
- 45. Gennari FJ, Sargent JA. Acid-base events during hemodialysis. Am J Physiol Renal Physiol. 2021;320(1):F130–f1. Epub 2021/01/14. pmid:33439106.
- 46. Manca-Di-Villahermosa S, Tedesco M, Lonzi M, Della-Rovere FR, Innocenzi A, Colarieti G, et al. Acid-Base Balance and Oxygen Tension During Dialysis in Uremic Patients With Chronic Obstructive Pulmonary Disease. Artif Organs. 2008;32(12):973–7. pmid:19133027
- 47. Pitcher WD, Diamond SM, Henrich WL. Pulmonary Gas Exchange During Dialysis in Patients with Obstructive Lung Disease. Chest. 1989;96(5):1136–41. pmid:2805844
- 48. Alfakir M, Moammar MQ, Ali MI, Alhatem E, Curran RD, Saoud RM, et al. Pulmonary Gas Exchange During Hemodialysis: A Comparison of Subjects with and without COPD on Bicarbonate Hemodialysis. Ann Clin Lab Sci. 2011;41(4):315–20. pmid:22166500
- 49. Gennari FJ, Marano M, Marano S. Replenishing Alkali During Hemodialysis: Physiology-Based Approaches. Kidney Medicine. 2022;4(9). pmid:36032503
- 50. Adrogué HJ, Brensilver J, Cohen JJ, Madias NE. Influence of steady-state alterations in acid-base equilibrium on the fate of administered bicarbonate in the dog. J Clin Invest. 1983;71(4):867–83. Epub 1983/04/01. pmid:6300190; PubMed Central PMCID: PMC436944.
- 51. Stewart PA. Modern quantitative acid-base chemistry. Can J Physiol Pharmacol. 1983;61(12):1444–61. Epub 1983/12/01. pmid:6423247.
- 52. Seifter JL, Chang HY. Extracellular Acid-Base Balance and Ion Transport Between Body Fluid Compartments. Physiology (Bethesda). 2017;32(5):367–79. Epub 2017/08/18. pmid:28814497.
- 53. Todorović J, Nešovic-Ostojić J, Milovanović A, Brkić P, Ille M, Čemerikić D. The assessment of acid-base analysis: comparison of the "traditional" and the "modern" approaches. Med Glas (Zenica). 2015;12(1):7–18. Epub 2015/02/12. pmid:25669331.