Introduction

The delivery of oxygen to tissues for metabolism and energy production in parenchymal cells is regulated by a complex system of physicochemical processes in the microcirculation (Dash and Bassingthwaighte 2006; Bassingthwaighte et al. 2012). In systemic capillaries, the release of oxygen from hemoglobin (Hb) inside red blood cells (RBCs) depends in part on the simultaneous release of carbon dioxide into the flowing blood. In the lungs, the loss of CO2 from RBCs increases O2 uptake, which in turn enhances CO2 dissociation from Hb. This interacting process also depends on the buffering of CO2 by bicarbonate ions (HCO3 ), acid–base regulation, and the Hb-mediated nonlinear biochemical O2–CO2 interactions inside RBCs (Geers and Gros 2000; Rees and Andreassen 2005; Dash and Bassingthwaighte 2006; Bassingthwaighte et al. 2012). In this regard, a decrease in pH or an increase in CO2 partial pressure (\(P_{{{\text{CO}}_{ 2} }}\)) in systemic capillaries decreases the affinity of O2 for Hb and HbO2 saturation (\(S_{{{\text{HbO}}_{ 2} }}\)), and increases the delivery of O2 to peripheral tissues (the Bohr effect). On the other hand, an increase in O2 partial pressure (\(P_{{{\text{O}}_{ 2} }}\)) in pulmonary capillaries results in the release of hydrogen ions (H+) from Hb, which in turn decreases the affinity of Hb for CO2, reducing HbCO2 saturation (\(S_{{{\text{HbCO}}_{ 2} }}\)) and aiding elimination of CO2 by the lungs (the Haldane effect). Thus, both the Bohr and Haldane effects are important in defining the Hb-mediated nonlinear biochemical O2–CO2 interactions inside RBCs (Siggaard-Andersen and Garby 1973; Tyuma 1984; Mateják et al. 2015). Raising blood temperature (T) also lowers the affinity of O2 for Hb, and increases the delivery of O2 to tissues. Consequently, the integrated computational modeling of O2 transport, exchange and metabolism in tissue-organ systems must account for the coupled transport and exchange of CO2, HCO3 , H+, and heat in the microcirculation (Dash and Bassingthwaighte 2006). This is particularly important in highly metabolic tissue-organ systems such as heart and skeletal muscle during exercise (von Restorff et al. 1977), where arteriovenous (AV) temperature increases of 1 °C or so, \(P_{{{\text{CO}}_{ 2} }}\) increases of nearly 10 mmHg, and pH decreases of about 0.1 pH unit, all combine to push the HbO2 dissociation curve to the right. Under these conditions, \(P_{{{\text{O}}_{ 2} }}\) may decrease by as much as 80 mmHg and \(S_{{{\text{HbO}}_{ 2} }}\) may decrease to less than 10 % along capillaries, which may be shorter than one millimetre in length. To properly account for the mass balance throughout the capillary-tissue exchange region, it is necessary to compute the changes associated with the nonlinear biochemical O2–CO2 interactions in blood as influenced by \(P_{{{\text{O}}_{ 2} }}\), \(P_{{{\text{CO}}_{ 2} }}\), pH, and T, thus the need for accurate and efficient forward and invertible \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) equations.

In order to quantify the Bohr and Haldane effects as well as the synergistic effects of 2,3-DPG and T, Dash and Bassingthwaighte (2004, 2010) have developed new mathematical models of O2 and CO2 saturation of Hb (\(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\)) based on equilibrium binding of O2 and CO2 to Hb inside RBCs. They are in the form of an invertible Hill-type equation with apparent binding constants \(K_{{{\text{HbO}}_{ 2} }}\) and \(K_{{{\text{HbCO}}_{ 2} }}\) which depend on the levels of \(P_{{{\text{O}}_{ 2} }}\), \(P_{{{\text{CO}}_{ 2} }}\), pH, 2,3-DPG, and T in blood. The invertibility of these new equations enables analytical calculations of \(P_{{{\text{O}}_{ 2} }}\) from \(S_{{{\text{HbO}}_{ 2} }}\) and \(P_{{{\text{CO}}_{ 2} }}\) from \(S_{{{\text{HbCO}}_{ 2} }}\) and vice versa. This is especially important for the integrated computational modeling of simultaneous transport and exchange of O2 and CO2 in alveolar-blood and blood-tissue exchange systems (Dash and Bassingthwaighte 2006). The HbO2 dissociation curves computed from the \(S_{{{\text{HbO}}_{ 2} }}\) model are in very good agreement with previously published experimental and theoretical curves in the literature over a wide range of physiological conditions (Kelman 1966b; Severinghaus 1979; Winslow et al. 1983; Siggaard-Andersen et al. 1984; Buerk and Bridges 1986). However, as with any theoretical model, there are some limitations in the 2010 Dash and Bassingthwaighte \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models. In particular, the \(S_{{{\text{HbO}}_{ 2} }}\) model is only accurate for values of \(S_{{{\text{HbO}}_{ 2} }}\) lying between 0.3 and 0.98 (with a Hill coefficient nH of 2.7), even if accounting well in that range for the effects of pH, \(P_{{{\text{CO}}_{ 2} }}\), 2,3-DPG and T. Furthermore, the \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models require complicated calculations of the indices n 1, n 2, n 3, and n 4 involved in the expression for the apparent equilibrium constant in a single-step O2–Hb binding reaction (Dash and Bassingthwaighte 2010). These limitations are addressed here by simplifying the \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models further and extending the accuracy of the \(S_{{{\text{HbO}}_{ 2} }}\) model to the whole \(S_{{{\text{HbO}}_{ 2} }}\) range for the varied physiological conditions. The resulting \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models are also tested using diverse experimental data available in the literature on the HbO2 and HbCO2 dissociation curves for a wide range of physiological conditions (Joels and Pugh 1958; Naeraa et al. 1963; Bauer and Schroder 1972; Hlastala et al. 1977; Matthew et al. 1977; Reeves 1980). This study does not include the buffering of CO2 in blood as that is covered in our previous work on blood-tissue gas exchange (Dash and Bassingthwaighte 2006) and by Wolf (2013) for whole-body acid–base and electrolyte balance. Interested readers are referred to our previous article (Dash and Bassingthwaighte 2010) for a historical perspective and details of the mathematical models of \(S_{{{\text{HbO}}_{ 2} }}\) not covered in this paper.

Methods

Simple mathematical expressions for \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\)

Based on the detailed nonlinear biochemical interactions of O2 and CO2 with Hb inside RBCs, Dash and Bassingthwaighte (2010) derived the following mechanistic mathematical expressions for the fractional saturation of Hb with O2 and CO2 (\(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\), respectively):

$$S_{{{\text{HbO}}_{ 2} }} = \frac{{K_{{{\text{HbO}}_{ 2} }} [{\text{O}}_{ 2} ]}}{{1 + K_{{{\text{HbO}}_{ 2} }} [{\text{O}}_{ 2} ]}};S_{{{\text{HbCO}}_{ 2} }} = \frac{{K_{{{\text{HbCO}}_{ 2} }} [{\text{CO}}_{ 2} ]}}{{1 + K_{{{\text{HbCO}}_{ 2} }} [{\text{CO}}_{ 2} ]}}$$
(1a,b)

Here the concentrations are in moles per liter or M with respect to the water space of RBCs. The concentration of free O2 or free CO2 in the water space of RBCs may also be expressed in terms of the partial pressure of O2 or CO2 so that [O2] = \(\alpha_{{{\text{O}}_{ 2} }}\) \(P_{{{\text{O}}_{ 2} }}\) and [CO2] = \(\alpha_{{{\text{CO}}_{ 2} }}\) \(P_{{{\text{CO}}_{ 2} }}\), where \(\alpha_{{{\text{O}}_{ 2} }}\) and \(\alpha_{{{\text{CO}}_{ 2} }}\) are the solubilities of O2 and CO2 in water, computed from their measured values in plasma (Austin et al. 1963; Hedley-Whyte and Laver 1964) and corrected for the effects of temperature (Kelman 1966a, 1967; Dash and Bassingthwaighte 2010):

$$\alpha_{{{\text{O}}_{ 2} }} = \left[ {1.37 - 1.37 \times 10^{ - 2} (T - 37) + 5.8 \times 10^{ - 4} (T - 37)^{2} } \right]\left[ {{{10^{ - 6} } \mathord{\left/ {\vphantom {{10^{ - 6} } {W_{\text{pl}} }}} \right. \kern-0pt} {W_{\text{pl}} }}} \right]\;{\text{M}}/{\text{mmHg}}$$
(2a)
$$\alpha_{{{\text{CO}}_{ 2} }} = \left[ {3.07 - 5.7 \times 10^{ - 2} (T - 37) + 2 \times 10^{ - 3} (T - 37)^{2} } \right]\,\left[ {{{10^{ - 5} } \mathord{\left/ {\vphantom {{10^{ - 5} } {W_{\text{pl}} }}} \right. \kern-0pt} {W_{\text{pl}} }}} \right]\;{\text{M}}/{\text{mmHg}}$$
(2b)

where W pl = 0.94 is the fractional water space of plasma and T is in degrees centigrade (°C). Thus \(\alpha_{{{\text{O}}_{ 2} }}\) = 1.46 × 10−6 and \(\alpha_{{{\text{CO}}_{ 2} }}\) = 3.27 × 10−5 M/mmHg at 37 °C (see Table 1). The expressions for [O2] and [CO2] in terms of \(P_{{{\text{O}}_{ 2} }}\) and \(P_{{{\text{CO}}_{ 2} }}\) and vice versa are freely interchanged throughout this paper. The apparent equilibrium constants of Hb with O2 and CO2 (\(K_{{{\text{HbO}}_{ 2} }}\) and \(K_{{{\text{HbCO}}_{ 2} }}\) with units of M−1), based on single-step bindings of O2 and CO2 to Hb, are reproduced here from Dash and Bassingthwaighte (2010) in a simplified form, introducing the new variables Φ 1 − Φ 4:

Table 1 Model parameter values used in the simulations, most of which are as presented in the Dash and Bassingthwaighte (2010) paper; model parameters that are re-estimated based on fittings of the model to the experimental data in Figs. 1 and 3 are shown with footnotes
$$K_{{{\text{HbO}}_{ 2} }} = \frac{{K^{\prime}_{4}{\varPhi_4} + {K^{\prime}_{3}{K^{\prime}_{4}} \varPhi_{ 2}[{\text{CO}}_{2} ] } }}{ \varPhi_{ 3}+ {K^{\prime}_{2} [{\text{CO}}_{2} ]}};K_{{{\text{HbCO}}_{ 2} }} = \frac{{K^{\prime}_{2} \varPhi_{ 1} + K^{\prime}_{3} K^{\prime}_{4}\varPhi_{ 2} [{\text{O}}_{2} ] }}{{\varPhi_{ 3} + K^{\prime}_{4} \varPhi_{ 4} [{\text{O}}_{2} ]}}$$
(3a,b)

where the molar concentrations of the gases O2 and CO2 are used; the terms Φ1 − Φ4 involving the interactions of H+ with Hb-bound O2 and CO2 are given by:

$$\varPhi_{ 1} = 1 + \frac{{K^{\prime\prime}_{2} }}{{[{\text{H}}^{ + } ]}};\,\,\,\,\varPhi_{ 2} = 1 + \frac{{K^{\prime\prime}_{3} }}{{[{\text{H}}^{ + } ]}};\,\,\,\,\varPhi_{ 3} = 1 + \frac{{[{\text{H}}^{ + } ]}}{{K^{\prime\prime}_{5} }};\,\,\,\,\varPhi_{ 4} = 1 + \frac{{[{\text{H}}^{ + } ]}}{{K^{\prime\prime}_{6} }}$$
(4a-d)

where [H+] = 10−pH in RBCs. Given the pH of plasma, the pH of RBCs can be obtained using the simple relationship established by Siggaard-Andersen and colleagues (Siggaard-Andersen 1971; Siggaard-Andersen and Salling 1971): pHrbc = 0.795pHpl + 1.357, giving the Gibbs-Donnan ratio for electrochemical equilibrium of H+ and HCO3 across the RBC membrane as a function of pHpl: R rbc = 10−(pHpl − pHrbc) = 10−(0.205pHpl − 1.357) (see Table 1). In our previous \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models (Dash and Bassingthwaighte 2010), R rbc was considered as a constant: R rbc = 0.69, a value corresponding to pHpl = 7.4 and pHrbc = 7.24 (see Table 1).

With these relationships (Eqs. 1a,b4a-d), the total O2 and CO2 concentrations in whole blood can be calculated, as described in the Appendix of the Dash and Bassingthwaighte (2010) paper (see Table 1), and hence are not covered here in detail.

Dependency of \(K^{\prime}_{4}\) on the Physiological Variables of Interest

Except for \(K^{\prime}_{4}\), the binding association/dissociation constants are all specified in Table 1. \(K^{\prime}_{4}\) represents the single-step binding association constant of O2 with each heme chain of Hb (HmNH2) according to the following hypothetical reaction scheme (Dash and Bassingthwaighte 2010):

$${\text{O}}_{2} + {\text{HmNH}}_{2} \overset {K^{\prime}_{4} } \rightleftharpoons {\text{O}}_{2} {\text{HmNH}}_{2}$$
(5)

The fundamental S-shape of the HbO2 dissociation curve results from the form of Eq. 1a and the values taken by the product \(K_{{{\text{HbO}}_{ 2} }}\) [O2], which depends on \(K^{\prime}_{4}\). For any given range of [O2], the shifts in the HbO2 dissociation curve with respect to varying physiological conditions arise from the dependence of \(K_{{{\text{HbO}}_{ 2} }}\) on [CO2], [H+] (via Φ 1 − Φ 4), and \(K^{\prime}_{4}\). Similarly, the shape of the HbCO2 dissociation curve results from the form of Eq. 1b and the values taken by the product \(K_{{{\text{HbCO}}_{ 2} }}\) [CO2], which also depends on \(K^{\prime}_{4}\). For any given range of [CO2], the shifts in the HbCO2 dissociation curve with respect to varying physiological conditions arise from the dependence of \(K_{{{\text{HbCO}}_{ 2} }}\) on [O2], [H+] (via Φ 1 − Φ 4), and \(K^{\prime}_{4}\). From the above description, it is clear that determining \(K^{\prime}_{4}\) is a critical step in the application of Eq. 1a,b. In our previous \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models (Dash and Bassingthwaighte 2010), \(K^{\prime}_{4}\) is expressed as a complicated function of [O2], [CO2], [H+], [DPG] and T involving the exponents n 0, n 1, n 2, n 3 and n 4, which, except for n 0 (a constant equal to 1.7), are themselves complicated functions of these physiological variables and P 50 of O2. In the section below, we show how a very simple expression for \(K^{\prime}_{4}\) can be obtained without involving the exponents n 0-n 4, significantly simplifying the \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models.

Derivation of simple mathematical expression for \(K^{\prime}_{4}\)

Hill’s exponent model for \(S_{{{\text{HbO}}_{ 2} }}\) is based on an nth-order one-step binding of Hb with O2:

$$S_{{{\text{HbO}}_{ 2} }} = \frac{{(P_{\text{O2}} /P_{50} )^{n} }}{{1 + (P_{\text{O2}} /P_{50} )^{n} }}$$
(6)

Here n = nH, the Hill coefficient, is approximately 2.7 for normal human blood; P 50 is the value of \(P_{{{\text{O}}_{ 2} }}\) at which Hb is 50 % saturated by O2. In Eq. 6, the shifts of the HbO2 dissociation curve produced by varying physiological conditions arise because P 50 is a function of \(P_{{{\text{CO}}_{ 2} }}\), pH, [DPG] and T, as described below. If Eqs. 1a and 6 are to give identical HbO2 dissociation curves, we must have \(K_{\text{HbO2}} \alpha_{{{\text{O}}_{ 2} }} P_{\text{O2}} = (P_{\text{O2}} /P_{50} )^{nH}\), which when simplified gives:

$$K^{\prime}_{4} = \frac{{\left( {\alpha_{{{\text{O}}_{ 2} }} P_{{{\text{O}}_{ 2} }} } \right)^{nH - 1} \left( {K^{\prime}_{2} \alpha_{{{\text{CO}}_{ 2} }} P_{{{\text{CO}}_{ 2} }} \varPhi_{1} + \varPhi_{3} } \right)}}{{\left( {\alpha_{{{\text{O}}_{ 2} }} P_{50} } \right)^{nH} \left( {K^{\prime}_{3} \alpha_{{{\text{CO}}_{ 2} }} P_{{{\text{CO}}_{ 2} }} \varPhi_{2} + \varPhi_{4} } \right)}}$$
(7)

While it is simple to compute \(S_{{{\text{HbO}}_{ 2} }}\) from Eq. 6, this is not true for \(S_{{{\text{HbCO}}_{ 2} }}\). However, Eq. 7 provides an expression for \(K^{\prime}_{4}\) in terms of \(P_{{{\text{O}}_{ 2} }}\), \(P_{{{\text{CO}}_{ 2} }}\), pH and P 50, which along with Eqs. 1b and 3b describes a simplified model for the HbCO2 dissociation curve. Note also that Eq. 7 can be written in the following alternative form:

$$K^{\prime}_{4} = \left( {\frac{1}{{\alpha_{{{\text{O}}_{ 2} }} P_{{{\text{O}}_{ 2} }} }}} \right)\left( {\frac{{S_{{{\text{HbO}}_{ 2} }} }}{{1 - S_{{{\text{HbO}}_{ 2} }} }}} \right)\left( {\frac{{K^{\prime}_{2} \alpha_{{{\text{CO}}_{ 2} }} P_{{{\text{CO}}_{ 2} }} \varPhi_{1} + \varPhi_{3} }}{{K^{\prime}_{3} \alpha_{{{\text{CO}}_{ 2} }} P_{{{\text{CO}}_{ 2} }} \varPhi_{2} + \varPhi_{4} }}} \right)$$
(8)

so that as \(S_{{{\text{HbO}}_{ 2} }}\) approaches 1,\(K^{\prime}_{4}\) becomes infinitely large and \(K_{{{\text{HbCO}}_{ 2} }}\) becomes equal to \({{K^{\prime}_{3} \varPhi_{ 2} } \mathord{\left/ {\vphantom {{K^{\prime}_{3} \varPhi_{ 2} } {\varPhi_{ 4} }}} \right. \kern-0pt} {\varPhi_{ 4} }}\) in Eq. 3b. If a “Division by Zero” error is to be avoided when calculating \(K_{{{\text{HbCO}}_{ 2} }}\) in computer programs based on these equations, it is necessary to identify situations in which \(S_{{{\text{HbO}}_{ 2} }}\) might equal 1 (at very high \(P_{{{\text{O}}_{ 2} }}\)), bypass Eq. 7, and immediately set \(K_{{{\text{HbCO}}_{ 2} }}\) to \({{K^{\prime}_{3} \varPhi_{ 2} } \mathord{\left/ {\vphantom {{K^{\prime}_{3} \varPhi_{ 2} } {\varPhi_{ 4} }}} \right. \kern-0pt} {\varPhi_{ 4} }}\).

Simple mathematical expression for P50 of O2

P 50 is a function of \(P_{{{\text{CO}}_{ 2} }}\), pH, [DPG] and T. Dash and Bassingthwaighte (2010) obtained a polynomial expression for P 50 by varying one of these variables at a time, while keeping the other three fixed at their standard physiological values. The resulting polynomial expressions for \(P_{{50,\Delta {\text{pH}}}}\), \(P_{{50,\Delta {\text{CO}}_{ 2} }}\), \(P_{{50,\Delta {\text{DPG}}}}\), and \(P_{{50,\Delta {\text{T}}}}\) were fitted to the reported P 50 data from the studies of Buerk and Bridges (1986) and Winslow et al. (1983). These polynomial expressions from Dash and Bassingthwaighte (2010) are further refined here based on additional experimental data from Joels and Pugh (1958), Naeraa et al. (1963), Hlastala et al. (1977), and Reeves (Reeves 1980) that provide appropriate shifts in \(S_{{{\text{HbO}}_{ 2} }}\) with varying pH, \(P_{{{\text{CO}}_{ 2} }}\) and T:

$$P_{{50,\Delta {\text{pH}}}} = P_{{50,{\text{S}}}} - 25.535\;({\text{pH}} - {\text{pH}}_{\text{S}} ) + 10.646\;({\text{pH}} - {\text{pH}}_{\text{S}} )^{2} - 1.764\;({\text{pH}} - {\text{pH}}_{\text{S}} )^{3}$$
(9a)
$$P_{{50,\Delta {\text{CO}}_{ 2} }} = P_{{50,{\text{S}}}} + 1.273 \times 10^{ - 1} (P_{{{\text{CO}}_{ 2} }} - P_{{{\text{CO}}_{ 2} , {\text{S}}}} ) + 1.083 \times 10^{ - 4} (P_{{{\text{CO}}_{ 2} }} - P_{{{\text{CO}}_{ 2} , {\text{S}}}} )^{2}$$
(9b)
$$P_{{50,\Delta {\text{DPG}}}} = P_{{50,{\text{S}}}} + 795.63([{\text{DPG}}] - [{\text{DPG}}]_{\text{S}} ) - 19660.89([{\text{DPG}}] - [{\text{DPG}}]_{\text{S}} )^{2}$$
(9c)
$$P_{{50,\Delta {\text{T}}}} \, = P_{{50,{\text{S}}}} \, + 1.435(T - T_{\text{S}} ) + 4.163 \times 10^{ - 2} (T - T_{\text{S}} )^{2} + 6.86 \times 10^{ - 4} (T - T_{\text{S}} )^{3}$$
(9d)

where the standard physiological values are denoted by the subscript “S” and are listed in Table 1. The accuracy of the expression for \(P_{{50,\Delta {\text{pH}}}}\) at extreme pH levels has been further improved in Eq. 9a by incorporating the cubic term. Previous researchers (Kelman 1966b; Severinghaus 1979; Siggaard-Andersen et al. 1984; Buerk and Bridges 1986) have shown that for the calculation of P 50 to be valid when multiple physiological variables are allowed to vary simultaneously, the contribution of each physiological variable to the resulting P 50 is by multiplication of normalized individual P 50’s. Consequently, the expression for P 50 that best describes the simultaneous varying physiological conditions is given by:

$$P_{ 5 0} = P_{{50,{\text{S}}}} \left( {\frac {P_{{50,\Delta {\text{pH}}}}} {P_{{ 5 0 , {\text{S}}}}}} \right)\left({\frac{P_{{50,\Delta {\text{CO2}}}}}{P_{{ 5 0 , {\text{S}}}}}}\right)\left({\frac{P_{{50,\Delta {\text{DPG}}}}}{P_{{ 5 0 , {\text{S}}}}}}\right)\left({\frac{P_{{50,\Delta {\text{T}}}}}{P_{{ 5 0 , {\text{S}}}}}}\right)$$
(10)

Incorporation of the variable cooperativity hypothesis

In our previous \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models (Dash and Bassingthwaighte 2010), the Hill coefficient nH was fixed at 2.7 (or n 0 was fixed at 1.7), making the \(S_{{{\text{HbO}}_{ 2} }}\) accurate only between 30 and 98 %. Next, we extend the accuracy of the modified \(S_{{{\text{HbO}}_{ 2} }}\) model for the whole saturation range by incorporating an empirical \(P_{{{\text{O}}_{ 2} }}\)-dependent variable cooperativity hypothesis for O2 binding to Hb. Specifically, this is achieved by expressing the Hill coefficient nH at low \(P_{{{\text{O}}_{ 2} }}\) as a simple exponential function of \(P_{{{\text{O}}_{ 2} }}\):

$$nH = \alpha - \beta \times 10^{{ - (P_{O2} /\gamma )}}$$
(11)

where α, β and γ are parameters that govern an apparent cooperativity of O2 for Hb. Equation 11 suggests that at low \(P_{{{\text{O}}_{ 2} }}\), nH is close to α − β, but increases exponentially towards α with the rate γ as \(P_{{{\text{O}}_{ 2} }}\) increases. These three parameters along with P 50,S are estimated here based on fittings of the \(S_{{{\text{HbO}}_{ 2} }}\) model to the available experimental data of Severinghaus and colleagues (Roughton et al. 1972; Roughton and Severinghaus 1973; Severinghaus 1979) and Winslow et al. (1977) on normal human blood HbO2 dissociation curves at standard physiological conditions. With nH accurately defined by Eq. 11, suitable shifts in the HbO2 and HbCO2 dissociation curves are achieved through our new expressions for P 50 (Eqs. 9 and 10) and \(K^{\prime}_{4}\) (Eq. 7).

Efficient numerical inversion of the \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) expressions for practical usage

Equation 1a for HbO2 saturation (\(S_{{{\text{HbO}}_{ 2} }}\)) is not convenient for analytical inversion, because the apparent equilibrium constant \(K_{{{\text{HbO}}_{ 2} }}\) for the binding of O2 to Hb depends on \(K^{\prime}_{4},\) which in turn depends on \(P_{{{\text{O}}_{ 2} }}\) (see Eq. 7). However, since Eq. 1a is equivalent to Eq. 6, which depends on P 50, which in turn is independent of \(P_{{{\text{O}}_{ 2} }}\) and is only a function of pH, \(P_{{{\text{CO}}_{ 2} }}\), [DPG] and T, Eq. 6 can be analytically inverted to compute \(P_{{{\text{O}}_{ 2} }}\) from \(S_{{{\text{HbO}}_{ 2} }}\), subject to the condition that the Hill coefficient nH is a constant. When nH is allowed to vary with \(P_{{{\text{O}}_{ 2} }}\), Eq. 6 can no longer be inverted analytically. However, numerical inversion is possible using efficient iterative schemes such as those presented in the Appendix to this paper. These converge within 8 or less iterations when appropriate starting values are used for \(P_{{{\text{O}}_{ 2} }}\). The same approach holds for the inversion of Eq. 1b in the computation of \(P_{{{\text{CO}}_{ 2} }}\) from \(S_{{{\text{HbCO}}_{ 2} }}\) (see “Appendix”), which may not be important clinically, but is of relevance in the integrated computational modeling of simultaneous transport and exchange of respiratory gases in physiological systems. Two efficient numerical methods are presented in the Appendix for the inversion of each gas, based on fixed-point and quasi-Newton–Raphson iteration methods. Similar iterative methods can be used to compute \(P_{{{\text{O}}_{ 2} }}\) and \(P_{{{\text{CO}}_{ 2} }}\) from the total [O2] and the total [CO2], respectively (these last two parameters are defined in Table 1).

Results

The effect of varying the Hill coefficient nH as a function of \(P_{{{\text{O}}_{ 2} }}\) on the modified \(S_{{{\text{HbO}}_{ 2} }}\) model simulations at standard physiological conditions is demonstrated through Fig. 1, in which Fig. 1a, c, e are based on the data of Severinghaus and colleagues (Roughton et al. 1972; Roughton and Severinghaus 1973; Severinghaus 1979), while Fig. 1b, d, f are based on the data of Winslow et al. (1977). The first diagram in each set shows how the old and new \(S_{{{\text{HbO}}_{ 2} }}\) models (constant and variable nH) fit the data in the \(P_{{{\text{O}}_{ 2} }}\) range of 0–150 mmHg. The inset in each of these two figures shows the fit in the lower \(P_{{{\text{O}}_{ 2} }}\) range of 0–30 mmHg. It is immediately apparent that the previous \(S_{{{\text{HbO}}_{ 2} }}\) model, which does not incorporate the variable cooperativity hypothesis, produces a poor fit in the lower 40 % saturation range. In Fig. 1c, d, the residual error in the computed \(S_{{{\text{HbO}}_{ 2} }}\) relative to the experimental \(S_{{{\text{HbO}}_{ 2} }}\) is shown for each model for the range of values taken by \(S_{{{\text{HbO}}_{ 2} }}\). When the saturation is <40 %, the residual error is much improved for the new \(S_{{{\text{HbO}}_{ 2} }}\) model (<0.05 % for variable nH compared to ~3–4 % for constant nH), and the average residual error over the whole saturation range is virtually zero. Figure 1e, f show how this improvement has been achieved by varying the Hill coefficient nH in the low \(P_{{{\text{O}}_{ 2} }}\) range through the application of Eq. 11 (solid line), compared with the constant value used for nH in the old \(S_{{{\text{HbO}}_{ 2} }}\) model (dashed line). We note here that the nH rate parameter γ is related to the P 50,S value, which differs slightly for the two different data sets (26.8 vs. 29.1 mmHg). To achieve the best fit, the parameters α and β also differ slightly between the two different sets of data. This improved accuracy in \(S_{{{\text{HbO}}_{ 2} }}\) at low \(P_{{{\text{O}}_{ 2} }}\) may not be relevant clinically, but is important for the computational modeling and mechanistic understanding of in vitro and in vivo blood gas data under non-physiological conditions, such as ischemia and reperfusion, extremes in gas concentrations, high altitudes, and extreme temperatures.

Fig. 1
figure 1

Illustration of the accuracy of the modified \(S_{{{\text{HbO}}_{ 2} }}\) model under standard physiological conditions with \(P_{{{\text{O}}_{ 2} }}\)-dependent variable cooperativity hypothesis for O2-Hb binding. a, b Comparison of the model-simulated HbO2 dissociation curves with constant and variable cooperativity hypotheses for O2–Hb binding (constant and variable Hill coefficient nH) to available experimental data in the literature, on normal human blood at standard physiological conditions. The simulations in panel a are compared to the data of Severinghaus et al. (Roughton and Severinghaus 1973; Roughton and Severinghaus 1973; Severinghaus 1979), and those in panel b are compared to the data of Winslow et al. (1977). The simulations in the main plots are compared to the data over the whole \(S_{{{\text{HbO}}_{ 2} }}\) range, while those in the inset plots are compared to the data for \(S_{{{\text{HbO}}_{ 2} }}\) ≤ 0.5, effectively demonstrating the improved accuracy of the modified \(S_{{{\text{HbO}}_{ 2} }}\) model with variable nH in simulating the data in the lower \(S_{{{\text{HbO}}_{ 2} }}\) range. c, d The percentage deviations (100 × Δ\(S_{{{\text{HbO}}_{ 2} }}\)) of the model-simulated \(S_{{{\text{HbO}}_{ 2} }}\) values from the experimental \(S_{{{\text{HbO}}_{ 2} }}\) values for the constant and variable nH models plotted as functions of \(S_{{{\text{HbO}}_{ 2} }}\) for the data of Severinghaus and colleagues (Roughton and Severinghaus 1973; Roughton and Severinghaus 1973; Severinghaus 1979); Winslow et al. (1977). The incorporation of the variable cooperativity hypothesis for O2–Hb binding (variable nH) has improved the accuracy of the \(S_{{{\text{HbO}}_{ 2} }}\) model. e, f The \(P_{{{\text{O}}_{ 2} }}\)-dependent variation of nH corresponding to the constant and variable cooperativity hypotheses for O2–Hb binding that are obtained based on fittings of the modified \(S_{{{\text{HbO}}_{ 2} }}\) model to the data of Severinghaus and colleagues (Roughton and Severinghaus 1973; Roughton and Severinghaus 1973; Severinghaus 1979); Winslow et al. (1977). The insets in plots (e, f) show the expressions for the variable nH and the governing parameter values for the two data sets

The P 50 values computed from Eqs. 9 and 10 under varying physiological conditions are plotted in Fig. 2a–d and are compared to those computed from alternative models from the literature (Kelman 1967; Buerk and Bridges 1986; Dash and Bassingthwaighte 2010). The alternative models do not include corrections based on the experimental data of Joels and Pugh (1958), Naeraa et al. (1963), Hlastala et al. (1977) and Reeves (1980); so for the purpose of this comparison, these corrections have been omitted from Eqs. 9a–d by applying appropriate scaling factors of 0.833, 0.588 and 1.02 for \(P_{{50,\Delta {\text{pH}}}}\), \(P_{{50,\Delta {\text{CO}}_{ 2} }}\) and \(P_{{50,\Delta {\text{T}}}}\), respectively. These simulations show that our scaled P 50 values agree well with those computed from the model of Buerk and Bridges (1986), that are based on the studies of Winslow et al. (1983). However, they do differ from the P 50 values computed from the model of Kelman (1966b), where it fails to fit the data at low pH and at either very low or very high \(P_{{{\text{CO}}_{ 2} }}\). Our scaled P 50 values are also improved from our old P 50 values for pH > 8.5 with the incorporation of the cubic term in Eq. 9a. In addition, the inclusion of corrections based on the diverse experimental data sets of Joels and Pugh (1958), Naeraa et al. (1963), Hlastala et al. (1977), and Reeves (1980) in Eqs. 9(a–d) provides further improvement in the P 50 values over a wide range of variation in the relevant physiological variables (see description below for Fig. 3). A new model recently published by Mateják et al. (2015), while this article was under preparation, also fits some of these experimental data well under altered physiological conditions. Their approach, a modification of Adair’s four-step algorithm (Adair 1925), considers the problems in depth, and, like ours, relates the O2-Hb and CO2-Hb binding effects to the acid–base chemistry of blood based on pH and \(P_{{{\text{CO}}_{ 2} }}\), as proposed by Siggaard-Andersen and others over the years (Rossi-Bernardi and Roughton 1967; Forster et al. 1968; Siggaard-Andersen 1971; Siggaard-Andersen and Salling 1971; Bauer and Schroder 1972; Siggaard-Andersen et al. 1972a, b; Siggaard-Andersen and Garby 1973; Siggaard-Andersen et al. 1984; Siggaard-Andersen and Siggaard-Andersen 1990). Specifically, they effectively express the four Adair coefficients in terms of the physiological variables of interest (i.e. pH, \(P_{{{\text{CO}}_{ 2} }}\), and T—they do not consider the effects of 2,3-DPG), providing appropriate shifts in the HbO2 dissociation curve with altered physiological conditions.

Fig. 2
figure 2

Comparison of P 50 values under various physiological conditions based on simulations of different P 50 models. ad Comparison of the modified P 50 model (Eqs. 9, 10) with the previous P 50 models from the literature (Kelman 1966b; Buerk and Bridges 1986; Dash and Bassingthwaighte 2010), in which the model-simulated P 50 values are plotted as functions of one variable with the other variables fixed at their standard physiological values; i.e. P 50 as a function of pHrbc (a), \(P_{{{\text{CO}}_{ 2} }}\) (b), [DPG]rbc (c), and T (d). The P 50 values have been computed from Eqs. 9 and 10 under varying physiological conditions with appropriate multiplicative factors (0.833, 0.588 and 1.02 for \(P_{{50,\Delta {\text{pH}}}}\), \(P_{{50,\Delta {\text{CO2}}}}\) and \(P_{{50,\Delta {\text{T}}}}\), respectively) to allow a comparison with the previous models, which have not been adjusted to account for the data of Joels and Pugh (1958), Naeraa et al. (1963), Hlastala et al. (1977) and Reeves (1980)

Fig. 3
figure 3

Comparison of our improved \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) model simulations to the diverse experimental data available in the literature under non-standard physiological conditions. a HbO2 dissociation curves obtained from our improved \(S_{{{\text{HbO}}_{ 2} }}\) model (i.e., modified \(S_{{{\text{HbO}}_{ 2} }}\) model with variable cooperativity hypothesis for O2–Hb binding (variable nH)) compared with the data of Joels and Pugh (1958) obtained at various pHpl and \(P_{{{\text{CO}}_{ 2} }}\) levels with T = 37 °C. The inset shows the expression for the variable nH and the governing parameter values that produce the best fit of the model to these data sets. In addition, these model fittings characterize the pH and \(P_{{{\text{CO}}_{ 2} }}\) dependencies of P 50 in Eqs. 9a and 9b. b \(S_{{{\text{HbO}}_{ 2} }}\) levels obtained from our improved \(S_{{{\text{HbO}}_{ 2} }}\) model compared to the data of Naeraa et al. (1963) obtained as a function of pHrbc for different \(P_{{{\text{O}}_{ 2} }}\) and \(P_{{{\text{CO}}_{ 2} }}\) levels at 37 °C. Other details are as for panel a. c, d HbO2 dissociation curves obtained from our improved \(S_{{{\text{HbO}}_{ 2} }}\) model compared with the data of Hlastala et al. (1977) and Reeves (1980) obtained for various values of T with pHpl and \(P_{{{\text{CO}}_{ 2} }}\) fixed at 7.4 and 40 mmHg, respectively. The insets show the expression for the variable nH and the governing parameter values that enable best fits of the model to these data sets. In addition, these model fittings characterize the temperature dependency of P 50 in Eq. 9d. e, f \(S_{{{\text{HbCO}}_{ 2} }}\) levels obtained from our improved \(S_{{{\text{HbCO}}_{ 2} }}\) model compared with the data of Bauer and Schröder (1972) and Matthew et al. (1977) obtained as a function of pHrbc in the oxygenated (high \(P_{{{\text{O}}_{ 2} }}\)) and deoxygenated (zero \(P_{{{\text{O}}_{ 2} }}\)) blood with \(P_{{{\text{CO}}_{ 2} }}\) fixed at 40 mmHg (T = 37 °C) in the former experiments and total [CO2] fixed at 55 mM (T = 30 °C) in the latter experiments. These model fittings provide the estimates of the equilibrium constants associated with the binding of CO2 to oxygenated and deoxygenated Hb as well as the ionization constants of oxygenated and deoxygenated Hb

The accuracy and robustness of our simplified and extended models of \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) under varying physiological conditions (P 50 defined by Eqs. 9 and 10, and variable nH defined by Eq. 11) has also been tested against diverse experimental data available from the literature (Joels and Pugh 1958; Naeraa et al. 1963; Bauer and Schroder 1972; Hlastala et al. 1977; Matthew et al. 1977; Reeves 1980), and is illustrated in Fig. 3. Our refined \(S_{{{\text{HbO}}_{ 2} }}\) model (i.e. the simplified \(S_{{{\text{HbO}}_{ 2} }}\) model with variable nH) is able to reproduce the \(S_{{{\text{HbO}}_{ 2} }}\) data of Joels and Pugh (1958) and Naeraa et al. (1963) obtained for a range of values of pH and \(P_{{{\text{CO}}_{ 2} }}\) at 37 °C (Fig. 3a, b) as well as the \(S_{{{\text{HbO}}_{ 2} }}\) data of Hlastala et al. (1977) and Reeves (1980) obtained over a range of values of T at fixed \(P_{{{\text{CO}}_{ 2} }}\) and pH (Fig. 3c, d). These data allow a more accurate determination of the coefficients for use in the polynomial expressions for \(P_{{50,\Delta {\text{pH}}}}\), \(P_{{50,\Delta {\text{CO}}_{ 2} }}\), \(P_{{50,\Delta {\text{DPG}}}}\), and \(P_{{50,\Delta {\text{T}}}}\), and hence characterize the dependence of P 50 on pH, \(P_{{{\text{CO}}_{ 2} }}\), [DPG] and T, and the corresponding shifts in the HbO2 dissociation curves. Similarly, our refined model of \(S_{{{\text{HbCO}}_{ 2} }}\) is able to reproduce the \(S_{{{\text{HbCO}}_{ 2} }}\) data of Bauer and Schröder (1972) and Matthew et al. (1977) obtained as a function of pHrbc in oxygenated and deoxygenated blood with either constant \(P_{{{\text{CO}}_{ 2} }}\) of 40 mmHg at 37 °C (Fig. 3e) or constant total [CO2] of 55 mM at 30 °C (Fig. 3f). These model fittings provide accurate estimates of the equilibrium constants associated with the binding of CO2 to oxygenated and deoxygenated Hb as well as the ionization constants of oxygenated and deoxygenated Hb at 30 and 37 °C (see Table 1). These estimates differ slightly from those used in our previous models of \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) (Dash and Bassingthwaighte 2010), but are in close agreement with those reported by Bauer and Schröder (1972) and Rossi-Bernardi and Roughton (1967). It can be noted here that the estimates of the parameters associated with the \(P_{{{\text{O}}_{ 2} }}\)-dependent variable nH for these different data sets are all similar, further signifying the importance of the variable cooperativity hypothesis in accurately simulating HbO2 dissociation curves in the whole saturation range under varying physiological conditions.

Simulations of the apparent HbO2 binding constant \(K^{\prime}_{4}\), HbO2 dissociation curves, and HbCO2 dissociation curves over a wide range of physiological conditions (\(P_{{{\text{O}}_{ 2} }}\), \(P_{{{\text{CO}}_{ 2} }}\), pH, [DPG], and T) are based on our refined models of \(K^{\prime}_{4}\), \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) with the \(P_{{{\text{O}}_{ 2} }}\)-dependent variable cooperativity hypothesis for O2-Hb binding, and are shown in Fig. 4. The models of \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) simulate the Bohr and Haldane effects, and the synergistic effects of 2,3-DPG and T on the HbO2 and HbCO2 dissociation curves. These simulations are consistent with the previous simulations by Dash and Bassingthwaighte (2010), except for their greater accuracy. The shifts in the HbO2 dissociation curves seen in Fig. 4e–h are correlated with the variations in the P 50 values plotted in Fig. 2a–d (solid lines), as defined by Eq. 9ad and validated by diverse experimental data in Fig. 3a–d. Similarly, the shifts in the HbCO2 dissociation curves seen in Fig. 4i–l are correlated with the extent of CO2 binding to Hb under stipulated physiological conditions, as validated by diverse experimental data in Fig. 3e–f. These simulations clearly show the different effect of each variable on O2 and CO2 binding to Hb; pH is shown to significantly influence the O2 and CO2 binding, compared with the smaller effects of \(P_{{{\text{CO}}_{ 2} }}\), 2,3-DPG, and T.

Fig. 4
figure 4

Simulations of the apparent HbO2 binding constant \(K^{\prime}_{4}\) (ad), HbO2 dissociation curves (eh), and HbCO2 dissociation curves (il) under varying physiological conditions based on our modified models of \(K^{\prime}_{4}\), \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) with the \(P_{{{\text{O}}_{ 2} }}\)-dependent variable cooperativity hypothesis for O2-Hb binding. In plots (ad) and (eh), the simulations of \(K^{\prime}_{4}\) and \(S_{{{\text{HbO}}_{ 2} }}\) are shown as functions of \(P_{{{\text{O}}_{ 2} }}\), respectively, while in plots (il), the simulations of \(S_{{{\text{HbCO}}_{ 2} }}\) are shown as a function of \(P_{{{\text{CO}}_{ 2} }}\). The values of the variables used in each simulation are shown as insets in each panel. Three of the variables are fixed at their standard physiological values, while the fourth one is allowed to increase from a low value to a high value by predetermined increments, shown by the sequence [low: increment: high]. Specifically, in plots (a, e, i), pHrbc varies, while either \(P_{{{\text{CO}}_{ 2} }}\) or \(P_{{{\text{O}}_{ 2} }}\), [DPG]rbc and T are fixed; in plots (b, f, j), either \(P_{{{\text{CO}}_{ 2} }}\) or \(P_{{{\text{O}}_{ 2} }}\) varies, while pHrbc, [DPG]rbc and T are fixed; in plots (c, g, k), [DPG]rbc varies, while pHrbc, either \(P_{{{\text{CO}}_{ 2} }}\) or \(P_{{{\text{O}}_{ 2} }}\), and T are fixed; in plots (d, h, l), T varies, while pHrbc, either \(P_{{{\text{O}}_{ 2} }}\) or \(P_{{{\text{CO}}_{ 2} }}\), and [DPG]rbc are fixed. In each plot, the long arrow shows the direction of the shift produced by increasing the value of the fourth variable. The shifts in the HbO2 dissociation curves seen in plots (eh) are correlated with the variations in the P 50 values plotted in Fig. 2a–d (solid lines), as defined by Eq. 9a–d) and validated by diverse experimental data in Fig. 3a–d. Similarly, the shifts in the HbCO2 dissociation curves seen in plots (il) are correlated with the extent of CO2 binding with Hb under stipulated physiological conditions, as validated by diverse experimental data in Fig. 3e–f

The accurate and efficient numerical inversion of our refined \(S_{{{\text{HbO}}_{ 2} }}\) model under standard physiological conditions is demonstrated in Fig. 5, based on the data of Severinghaus and colleagues (Roughton et al. 1972; Roughton and Severinghaus 1973; Severinghaus 1979); Winslow et al. (1977). The inset plots in Fig. 5a, b clearly show the improved agreement between the inverted \(P_{{{\text{O}}_{ 2} }}\) values and the experimental \(P_{{{\text{O}}_{ 2} }}\) values at lower \(S_{{{\text{HbO}}_{ 2} }}\) levels (<40 %) when the Hill coefficient nH is allowed to vary as a function \(P_{{{\text{O}}_{ 2} }}\) according to Eq. 11, rather than being held constant. A similar conclusion may be drawn from Fig. 5c, d. The results for the inverse problem are consistent with the results for the forward problem shown in Fig. 1. The comprehensive simulations of the numerical inversions under varying physiological conditions are shown in Fig. 6. These include the simulations of \(P_{{{\text{O}}_{ 2} }}\) as a function of \(S_{{{\text{HbO}}_{ 2} }}\) and the simulations of \(P_{{{\text{CO}}_{ 2} }}\) as a function of \(S_{{{\text{HbCO}}_{ 2} }}\) over a wide range of values of the relevant physiological variables. In each scenario, three variables are fixed at their standard physiological levels, while the fourth one is allowed to increase by predetermined increments over a large range, as in the simulations for the forward problem in Fig. 4. It is apparent that our iterative numerical inversion schemes are able to effectively simulate \(P_{{{\text{O}}_{ 2} }}\) and \(P_{{{\text{CO}}_{ 2} }}\) levels from the \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) levels over a wide range of physiological conditions.

Fig. 5
figure 5

Illustration of the accurate numerical inversion of the modified \(S_{{{\text{HbO}}_{ 2} }}\) model under standard physiological conditions with the \(P_{{{\text{O}}_{ 2} }}\)-dependent variable cooperativity hypothesis for O2–Hb binding. a, b Comparison of the numerically-inverted \(P_{{{\text{O}}_{ 2} }}\) values from the \(S_{{{\text{HbO}}_{ 2} }}\) values with constant and variable cooperativity hypotheses for O2–Hb binding (constant and variable Hill coefficient nH) to available experimental data in the literature on normal human blood at standard physiological conditions. The numerical inversions in panel a are compared to the data of Severinghaus and colleagues (Roughton and Severinghaus 1973; Roughton and Severinghaus 1973; Severinghaus 1979), and those in panel b are compared to the data of Winslow et al. (1977). The numerical inversions in the main plots are compared to the data over the whole \(S_{{{\text{HbO}}_{ 2} }}\) range, while those in the inset plots are compared to the data for \(S_{{{\text{HbO}}_{ 2} }}\) ≤ 0.5, effectively demonstrating the accurate numerical inversion of the modified \(S_{{{\text{HbO}}_{ 2} }}\) model with variable nH in simulating the data in the lower \(S_{{{\text{HbO}}_{ 2} }}\) range. c, d The percentage deviations [100 × Δlog10(\(P_{{{\text{O}}_{ 2} }}\))] of the numerically-inverted log10(\(P_{{{\text{O}}_{ 2} }}\)) values from the experimental log10(\(P_{{{\text{O}}_{ 2} }}\)) values for the constant and variable nH models plotted as functions of log10(\(P_{{{\text{O}}_{ 2} }}\)) for the data of Severinghaus and colleagues (Roughton and Severinghaus 1973; Roughton and Severinghaus 1973; Severinghaus 1979) and Winslow et al. (1977). The \(P_{{{\text{O}}_{ 2} }}\) dependencies of nH for these two data sets are as shown in Fig. 1e, f. The incorporation of the variable cooperativity hypothesis for O2–Hb binding (variable nH) has improved the accuracy of the numerically-inverted \(P_{{{\text{O}}_{ 2} }}\) values from the \(S_{{{\text{HbO}}_{ 2} }}\) values

Fig. 6
figure 6

Illustration of the effective numerical inversion of our improved \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) equations under varying physiological conditions. In plots (ad), the simulations of \(P_{{{\text{O}}_{ 2} }}\) as a function of \(S_{{{\text{HbO}}_{ 2} }}\) are shown, while in plots (eh), the simulations of \(P_{{{\text{CO}}_{ 2} }}\) as a function of \(S_{{{\text{HbCO}}_{ 2} }}\) are shown. In each scenario, three variables are fixed at their standard physiological levels, while the fourth one is allowed to increase by predetermined increments over a large range, as described in detail in the legend to Fig. 4. The inversion computations were carried out using a variant of the Newton–Raphson method (i.e. quasi-Newton–Raphson method) with appropriate initial guesses that guaranteed convergence. These plots are the mirror images of the corresponding plots in Fig. 4 (but with different scales), illustrating the accuracy of the numerical inversion schemes

Discussion

We have shown here how shifts in the HbO2 dissociation curve due to variations in \(P_{{{\text{CO}}_{ 2} }}\), pH, 2,3-DPG, and T (where the variations occur in one variable at a time or several variables simultaneously) may be handled easily in the Hill equation by using an equation of state for P 50 which incorporates the contribution from each of these four variables. While other equations exist for P 50, to the best of our knowledge, none incorporates contributions from all of the four variables under discussion or is as extensively validated using independent experimental data. Moreover, we believe that Eq. 10 is the most accurate equation of state for P 50 currently available. Although standard versions of Hill’s two-parameter equation for \(S_{{{\text{HbO}}_{ 2} }}\) (using only P 50 and nH) have been widely used in the past, it is recognized that when nH is set equal to 2.7, as is common practice, the equation is inaccurate for \(S_{{{\text{HbO}}_{ 2} }}\) below 30 % and above 98 % (Dash and Bassingthwaighte 2010), thus stimulating the development of improved descriptions by Adair (1925); Kelman (1966b); Severinghaus (1979); Siggaard-Andersen et al. (1984); Buerk and Bridges (1986), and others. In this paper, we have addressed this important deficiency in the standard Hill equation by expressing the Hill coefficient nH as a simple exponential function of \(P_{{{\text{O}}_{ 2} }}\) (Eq. 11), with P 50 given by Eq. 10. Figures 1, 3, and 5 show that this change improves the agreement between the model and available experimental data at both standard physiological conditions and at other values of pH, \(P_{{{\text{CO}}_{ 2} }}\), 2,3-DPG, and temperature that characterize pathophysiological states.

So the question that arises is this: Using these modifications, how does Hill’s equation compare with other commonly used mathematical models of the HbO2 dissociation curve? In Fig. 7a, c, we show the fit of our new refined Hill-based equation for \(S_{{{\text{HbO}}_{ 2} }}\) to the data of Severinghaus and colleagues (Roughton et al. 1972; Roughton and Severinghaus 1973; Severinghaus 1979) under standard physiological conditions and compare that to the fit obtained using the \(S_{{{\text{HbO}}_{ 2} }}\) models of Adair (1925), Kelman (1967), Buerk and Bridges (1986), Severinghaus (1979), and Siggaard-Andersen et al. (1984, 1990) for both the forward (computation of \(S_{{{\text{HbO}}_{ 2} }}\) from \(P_{{{\text{O}}_{ 2} }}\)) and inverse (computation of \(P_{{{\text{O}}_{ 2} }}\) from \(S_{{{\text{HbO}}_{ 2} }}\)) situations. The associated residual errors are shown in Fig. 7b, d. Although all the models shown in Fig. 7a seem to provide a good fit to the data (except for Kelman (1966b) for some \(P_{{{\text{O}}_{ 2} }}\) values and Buerk and Bridges (1986) for high \(P_{{{\text{O}}_{ 2} }}\)), the residual error shown in Fig. 7b is least for our present model and the models of Severinghaus (1979) and Siggaard-Andersen et al. (1984, 1990). Figure 7c shows that all the models also produce a good fit to the data of Severinghaus and colleagues (Roughton et al. 1972; Roughton and Severinghaus 1973; Severinghaus 1979) on inversion, but the error plotted in Fig. 7d indicates that our model is the most accurate for \(P_{{{\text{O}}_{ 2} }}\) greater than 100.5 (i.e. \(P_{{{\text{O}}_{ 2} }}\) > 3) mmHg. Note that the distinction between the various models for the inverse problem is more apparent because of the use of a log–log scale. Apart from the two exceptions mentioned above, when compared with the data most of these models provide accuracy greater than 99.5 % over the whole saturation range.

Fig. 7
figure 7

Comparison of our improved \(S_{{{\text{HbO}}_{ 2} }}\) model with alternative \(S_{{{\text{HbO}}_{ 2} }}\) models from the literature in simulating available experimental data at standard physiological conditions (both forward and inverse problems). In each case, the model for comparison has first been parameterized to produce a “best fit” based on the experimental data. a HbO2 dissociation curves obtained from our improved \(S_{{{\text{HbO}}_{ 2} }}\) model compared with those obtained from other commonly used \(S_{{{\text{HbO}}_{ 2} }}\) models (Adair 1925; Kelman 1966b; Severinghaus 1979; Siggaard-Andersen et al. 1984; Buerk and Bridges 1986), in simulating the data of Severinghaus and colleagues (Roughton and Severinghaus 1973; Roughton and Severinghaus 1973; Severinghaus 1979) on normal human blood at standard physiological conditions. b The percentage deviations (100 × Δ\(S_{{{\text{HbO}}_{ 2} }}\)) of the model-simulated \(S_{{{\text{HbO}}_{ 2} }}\) values from the experimental \(S_{{{\text{HbO}}_{ 2} }}\) values based on our improved \(S_{{{\text{HbO}}_{ 2} }}\) model and the alternative models, plotted as functions of \(S_{{{\text{HbO}}_{ 2} }}\) for the data of Severinghaus and colleagues (Roughton and Severinghaus 1973; Roughton and Severinghaus 1973; Severinghaus 1979). c Comparisons of the numerically-inverted \(P_{{{\text{O}}_{ 2} }}\) values from the \(S_{{{\text{HbO}}_{ 2} }}\) values obtained from our improved \(S_{{{\text{HbO}}_{ 2} }}\) model and the alternative models, in simulating the data of Severinghaus and colleagues (Roughton and Severinghaus 1973; Roughton and Severinghaus 1973; Severinghaus 1979) on normal human blood at standard physiological conditions. d The percentage deviations [100 × Δlog10(\(P_{{{\text{O}}_{ 2} }}\))] of the numerically-inverted log10(\(P_{{{\text{O}}_{ 2} }}\)) values from the experimental log10(\(P_{{{\text{O}}_{ 2} }}\)) values based on our improved \(S_{{{\text{HbO}}_{ 2} }}\) model and the alternative \(S_{{{\text{HbO}}_{ 2} }}\) models, plotted as functions of log10(\(P_{{{\text{O}}_{ 2} }}\)) for the data of Severinghaus and colleagues (Roughton and Severinghaus 1973; Roughton and Severinghaus, 1973; Severinghaus 1979). The comparison may be repeated using the data of Winslow et al. (1977). This involves the re-parameterization of each model to obtain the best fit to the data. The result has not been shown here as it does not contribute anything further to the conclusions already drawn

We also note here that the other \(S_{{{\text{HbO}}_{ 2} }}\) models shown in Fig. 7 were parameterized based on the data of Severinghaus and colleagues (Roughton et al. 1972; Roughton and Severinghaus 1973; Severinghaus 1979), and hence a comparison of the models with respect to the data of Winslow et al. (1977) cannot be made, unless they are re-parameterized. This is not the purpose of Fig. 7. Rather, the purpose of Fig. 7 is to illustrate how our new refined \(S_{{{\text{HbO}}_{ 2} }}\) model is “at least” comparable in terms of accuracy to many other \(S_{{{\text{HbO}}_{ 2} }}\) models used widely in the literature. Figure 7 shows that this is indeed the case, yet our model is simpler than many others and efficiently invertible.

The recent model of Mateják et al. (2015), based on their version of the Adair equation (1925), is reported to fit well, the data of Severinghaus and colleagues (Roughton et al. 1972; Roughton and Severinghaus 1973; Severinghaus 1979), and is also shown to fit the temperature and pH-dependent \(S_{{{\text{HbO}}_{ 2} }}\) data of Reeves (1980) and Naeraa (1963), and carbaminohemoglobin data of Bauer and Schröder (1972) and Matthew (1977). Our present \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models fit these diverse data sets as accurately, and also fit the \(P_{{{\text{CO}}_{ 2} }}\), pH, and temperature-dependent data of Joels and Pugh (1958) and Hlastala et al. (1977), which were not used by Mateják et al (2015). Thus, the present \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models are well-validated based on a larger set of experimental data. More importantly, not only is our new refined \(S_{{{\text{HbO}}_{ 2} }}\) model more accurate over the whole saturation range (important for the integrated computational modeling of alveolar-blood and blood-tissue O2–CO2 transport, exchange, and metabolism), it is also much simpler than our previous \(S_{{{\text{HbO}}_{ 2} }}\) model, as there is no need to perform the complex computations to derive the indices n 1, n 2, n 3, and n 4.

The HbCO2 dissociation curve is obtained in our treatment from Eq. 1b. The expression for \(K_{{{\text{HbCO}}_{ 2} }}\) is derived from Eqs. 3b and 4. When \(S_{{{\text{HbO}}_{ 2} }}\) equals 1, \(K_{{{\text{HbCO}}_{ 2} }}\) equals \(K^{\prime}_{3} \varPhi_{ 2} /\varPhi_{ 4}\). Otherwise \(K^{\prime}_{4}\) is required and is given by Eq. 7. Fortuitously, all the information regarding the variables \(P_{{{\text{CO}}_{ 2} }}\), pH, 2,3-DPG and T is contained in Eq. 10, the equation of state for P 50. Thus, in our treatment, both \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) rely on this equation for information about \(P_{{{\text{CO}}_{ 2} }}\), pH, 2,3-DPG and T. Other authors incorporate this information in different ways. For example, Severinghaus (1979) provides one equation for the temperature coefficient of \(P_{{{\text{O}}_{ 2} }}\) and another for the change in ln\(P_{{{\text{O}}_{ 2} }}\) per unit change in pH. If instead of equating Eq. 6 with Eq. 1a, we equate the Severinghaus equation for \(S_{{{\text{HbO}}_{ 2} }}\) with Eq. 1a, we obtain the following expression for \(K^{\prime}_{4}\):

$$K^{\prime}_{4} = \frac{{\left( {150 + 23400P_{{O_{2} }}^{2} } \right)\left( {K^{\prime}_{2} \alpha_{{{\text{CO}}_{ 2} }} P_{{{\text{CO}}_{ 2} }} \varPhi_{1} + \varPhi_{3} } \right)}}{{\alpha_{{O_{2} }} \left( {K^{\prime}_{3} \alpha_{{{\text{CO}}_{ 2} }} P_{{{\text{CO}}_{ 2} }} \varPhi_{2} + \varPhi_{4} } \right)}}$$
(12)

The value for \(P_{{{\text{O}}_{ 2} }}\) used in  Eq. 12 is that obtained after correction for temperature and pH. A similar approach may be adopted in the case of the Adair equation (Adair 1925) to transfer information regarding pH, 2,3-DPG and T to the CO2-Hb reaction system. Thus, Eq. 1b can be adapted for use with a variety of models of the HbO2 dissociation curve.

Inversion of \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) equations is an essential feature in modeling of alveolar-blood and blood-tissue O2–CO2 exchange at a sophisticated level. Algebraic inversion is possible with the Severinghaus \(S_{{{\text{HbO}}_{ 2} }}\) Eq. (1979), but not in our models, once the Hill coefficient nH is allowed to vary. Iterative approaches are generally used for this. The Appendix provides fixed-point and quasi-Newton–Raphson iterative methods that would also be applicable to the models of Mateják et al. (2015) and others that are not analytically invertible.

Conclusions

We have simplified and extended our previously developed mathematical models of blood HbO2 and HbCO2 dissociation curves (Dash and Bassingthwaighte 2010) to make them accurate over the whole saturation range for a wide range of values of \(P_{{{\text{O}}_{ 2} }}\), \(P_{{{\text{CO}}_{ 2} }}\), pH, 2,3-DPG, and temperature. The extended \(S_{{{\text{HbO}}_{ 2} }}\) model features a \(P_{{{\text{O}}_{ 2} }}\)-dependent variable Hill coefficient nH for the binding of O2 to Hb, and incorporates a modified P 50 model that provides accurate shifts in the HbO2 dissociation curve over a wide range of physiological conditions, validated by diverse experimental data sets available in the literature. The information contained in this modified equation for P 50 is transferred to the HbCO2 dissociation curve via \(K^{\prime}_{4}\), the apparent equilibrium constant in a single-step binding reaction of O2 and Hb. The coupling of the Hb dissociation curves for O2 and CO2 may also be accomplished using models of \(S_{{{\text{HbO}}_{ 2} }}\) other than the Hill equation. Finally, the extended \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models are conveniently invertible for efficient computation of \(P_{{{\text{O}}_{ 2} }}\) from \(S_{{{\text{HbO}}_{ 2} }}\) and \(P_{{{\text{CO}}_{ 2} }}\) from \(S_{{{\text{HbCO}}_{ 2} }}\), using simple iterative numerical schemes with appropriate starting values that guarantee convergence. The calculations involved in our new \(S_{{{\text{HbO}}_{ 2} }}\) and \(S_{{{\text{HbCO}}_{ 2} }}\) models may be performed on handheld devices. More importantly, they can conveniently be used in the integrated computational modeling of alveolar-blood and blood-tissue O2–CO2 transport, exchange, and metabolism for analysis and mechanistic understanding of in vitro and in vivo blood gas data under physiological and non-physiological conditions, such as ischemia and reperfusion, extremes in gas concentrations, high altitudes, and extreme temperatures.