Figures
Abstract
During each heartbeat, a voltage wave propagates through the cardiac muscle, triggering action potentials in approximately two billion cardiomyocytes. This electrical activity ensures the coordinated contraction of the heart, which is essential for its pumping function. A key event in this process is the opening of voltage-gated calcium channels in the cell membrane, allowing calcium ions to enter the cardiac dyad and triggering a large-scale release of calcium ions from the sarcoplasmic reticulum through ryanodine receptors. This process is fundamental to cardiac function because calcium subsequently binds to troponin, initiating the conformational changes necessary for myofilament contraction. The cardiac dyad is characterized by a very small volume with steep ionic concentration gradients, which is challenging for detailed mathematical modeling. Traditionally, the dyadic calcium concentration has been approximated using spatially averaged values or modeled with reaction-diffusion equations. However, at the nanometer (nm) and nanosecond (ns) scales, such approximations may be insufficient. At this resolution, the Poisson-Nernst-Planck (PNP) system provides a detailed continuous representation of the underlying electrodiffusion dynamics. Here, we present a nano-scale computational model, representing dyad dynamics using the PNP system. Potassium, sodium, and calcium channels are incorporated in the cell membrane, along with the sodium-calcium exchanger. We demonstrate the formation of the Debye layer in the resting state and highlight how both diffusive and electrical effects are required to maintain this equilibrium. Additionally, we show that cross-species ion interactions in the dyad are electrical, and that diffusion models fail to capture this effect. Finally, we illustrate how the dyad width and diffusion coefficient influence local ionic concentrations and the timing of calcium arrival at the ryanodine receptors. These results provide new insights into the electrodiffusive properties of the dyad and clarify when solving the full PNP system is necessary for accurate modeling.
Author summary
Computational models of the heart typically focus on a single spatial scale. The bidomain model describes electrical activity at the millimeter scale, suitable for large-scale cardiac electrophysiology. More recently, cell-based models have gained attention, addressing clusters of cardiomyocytes at the micrometer scale. Here, we investigate an even smaller but crucial subcellular structure: the cardiac dyad, a region approximately 40 million times smaller than the entire cardiomyocyte. During each heartbeat, voltage-gated calcium channels open, leading to a sharp rise in calcium concentration within the dyad. This triggers a larger calcium release from internal stores, a process fundamental to cardiac contraction. Because this occurs at the nanometer scale, a precise mathematical description requires solving the Poisson-Nernst-Planck (PNP) system, which captures electrodiffusion dynamics. However, solving these equations is challenging due to steep concentration gradients and rapid timescales. We employ a computational model that enables significantly longer time steps than traditional methods, making detailed simulations feasible. This allows us to examine how ion channels influence the formation of the Debye layer and determine how quickly calcium waves travel across the dyad to reach the ryanodine receptors on the sarcoplasmic reticulum.
Citation: Horgmo Jæ ger K, Tveito A (2025) Electrodiffusion dynamics in the cardiomyocyte dyad at nano-scale resolution using the Poisson-Nernst-Planck (PNP) equations. PLoS Comput Biol 21(6): e1013149. https://doi.org/10.1371/journal.pcbi.1013149
Editor: Christopher E. Miles, UC Irvine: University of California Irvine, UNITED STATES OF AMERICA
Received: March 18, 2025; Accepted: May 19, 2025; Published: June 12, 2025
Copyright: © 2025 Horgmo Jæ ger, Tveito. 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: All relevant data are contained in the paper and its Supporting information files. The simulation code is publicly available at Zenodo: https://doi.org/10.5281/zenodo.15470900.
Funding: KHJ and AT were supported by the Research Council of Norway funded project SIMBER #322312 and the SUURPh program funded by the Norwegian Ministry of Education and Research. 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.
1. Introduction
The functioning of the heart depends on the coordinated activity of approximately two billion cardiomyocytes, [1]. Each heartbeat begins with the initiation of an action potential in the sinoatrial node, which propagates through the myocardium as a wave, depolarizing cardiomyocytes in a well-coordinated manner. At rest, cardiomyocytes maintain a transmembrane potential of approximately –80 mV, sustained by steep ionic gradients across the cell membrane. For example, the intracellular K+ concentration is about 25 times higher than in the extracellular space. Since K+ channels remain open during the resting phase, diffusion alone would lead to a depletion of intracellular K+. However, electrical forces counteract this effect, maintaining the intracellular K+ concentration. When a depolarization wave reaches a cardiomyocyte, the transmembrane potential depolarizes, leading to the opening of voltage-gated Na+ channels and a rapid influx of Na+ ions. This further depolarizes the membrane, triggering a cascade of channel, exchanger, and transporter activations that collectively generate the full action potential.
The fundamental roles of electrical and diffusive forces across the cell membrane are well established and fully integrated into mathematical models of the action potential, [2–4]. However, in the intra- and extracellular domains, ion dynamics are often approximated using constant concentrations and voltages, see, e.g., [5], or reaction-diffusion equations, [6–8], which account for diffusion and buffering effects but neglect electrical forces. These simplifications have been very important in developing successful models of the propagating electrochemical wave in cardiac tissue, [9–11]. While such models commonly represent tissue-scale dynamics at the millimeter level, recent efforts have refined them to cellular scales, [12–16], and even subcellular scales down to the micrometer range, [17–21]. The integration of multiple spatial scales have also been studied, see, e.g., [22–24].
Although the Poisson-Nernst-Planck (PNP) equations provide the most accurate continuous description of electrodiffusion, they are rarely solved due to the extreme numerical resolution they require, see, e.g., [25,26]. This raises a critical question: is it sufficient to account for electrical forces only at the cell membrane, or do these forces also influence ion dynamics in close proximity to the membrane? It is well known that near the membrane, the Debye layer forms, where ion concentrations deviate from electroneutrality and therefore cannot be accurately modeled using constant values or reaction-diffusion equations that neglect electrical effects. However, the significance of these deviations for intracellular ion dynamics remains unclear. Do these local charge imbalances merely represent a minor perturbation, or do they have tangible consequences away from the membrane? More specifically, do electrical forces within the Debye layer significantly influence the dynamics of the cardiac dyad outside the Debye layer?
The purpose of this paper is to present an implementation of the PNP equations in the cardiac dyad and to analyze the electrodiffusive dynamics in this highly confined and physiologically crucial space. We solve the equations using a finite difference approach similar to [26], but here, we demonstrate how ion channels and exchangers commonly used in action potential models can be adapted to function within the PNP framework. We use the model to show how perturbations from electroneutrality decay rapidly and how the resting state is established along with its associated Debye layer. Additionally, we investigate the effects of opening individual ion channels and exchangers. For example, we investigate how the sodium-calcium exchanger (NCX) influences the dyadic dynamics when a nearby Ca2 + channel is open and when the Ca2 + channel is closed. Finally, we examine how the width of the dyad and the ionic diffusion coefficients affect the arrival time across the dyad of the Ca2 + wave originating from Ca2 + channels in the cell membrane.
2. Methods
2.1. The Poisson-Nernst-Planck (PNP) system
We apply a nano-scale computational model of electrodiffusion in the cardiomyocyte dyad based on the PNP system of equations. The system reads
for each of the considered ion species k. In most of our simulations, we consider the ion species k = {Na+, K+, Ca2 + , }, but in some of the first simpler examples we consider only k = {K+,
}.
In the PNP system (1) and (2), is the electrical potential (in mV) and ck is the concentration of ions of type k (in mM). Furthermore,
is the relative permittivity of the medium (unitless),
is the vacuum permittivity (in fF/m), zk is the valence of ion species k (unitless), Dk is the diffusion coefficient of ion species k (in
), e is the elementary charge (in C), kB is the Boltzmann constant (in mJ/K), and T is the temperature (in K). Moreover,
is the charge density (in
) defined as
where is the background charge density (in
) and F is Faraday’s constant (in C/mol). The default values used for the model parameters in our simulations are given in Table 1.
Here, refers to the extracellular domain,
refers to the membrane domain, and
refers to the intracellular domain (see Fig 1). Note that the intracellular diffusion coefficients for Na+, K+ and
are set up such that the ratio between the intracellular and extracellular diffusion coefficients are the same as for Ca2 + . Moreover, in the cell membrane (
), the diffusion coefficient is set to zero for all ions. Electrodiffusion through channels and exchangers in the membrane is handled using local fluxes as explained in Sect 2.4.
A: In the cardiomyocyte, small domains called dyads are located in areas where the membrane of the SR is close to T-tubule membrane. B: In the dyad, Ca2 + channels and sodium-calcium exchangers (NCXs) in the cell membrane are directly apposed to ryadodine receptor channels (RyRs) in the membrane of the SR. C: The computational domain consists of an extracellular space, , a cell membrane,
, and an intracellular domain,
. A part of this domain is used to represent the dyad with an associated part of the cell membrane and extracellular space (T-tubule). D: In the computational domain, ion channels and exchangers occupy specific locations in the cell membrane.
2.1.1. Incorporating calcium binding buffers.
As a large portion of the intracellular Ca2+ ions in the cardiomyocyte are bound to Ca2+ binding buffers, we extend the PNP model (1)–(3) to also represent two stationary Ca2+ binding proteins, one with high affinity and one with low affinity, based on [31]. The parameters characterizing these buffers are provided in Table 2.
The values are based on [31].
The binding of an ion, k, to a buffer, j, is represented by the flux
where bk,j is the concentration of the ion bound to the buffer, is the total buffer concentration, and
is the concentration of buffer j with no ion bound. Furthermore,
and
are the rate constants of the Ca2+ buffer binding reaction. Incorporating this reaction into the system (1)–(3), we get
where Bk is a collection of all the buffers to which ion k may bind. In our computations, we consider two such Ca2+ binding buffers in the intracellular space (, see Fig 1) and no buffers for the remaining ions. Note here that in (8),
is assumed to contain the charge of the buffer proteins. We apply the model (5)–(8) in all our PNP model simulations, except for some initial simple examples using (1)–(3). In the Supplementary Information (see S1 and S2 Figs), we compare solutions of the PNP model with and without Ca2+ binding buffers present.
2.2. Computational domain for dyad simulations
Except for the first simple examples, we consider a computational domain like the one illustrated in Fig 1C. This geometry is set up to represent:
- The dyad (i.e., the intracellular cytosolic space between the cell membrane and the membrane of the sarcomplasmic reticulum (SR) in a location where these membranes are close and populated with Ca2+ channels, sodium-calcium exchangers (NCXs) and ryanodine receptors (RyRs), see Fig 1A–B)
- The cell membrane associated with the dyad (with embedded Ca2+ channels and NCXs),
- An associated part of the extracellular space (T-tubule).
The right boundary of the intracellular (dyad) part of the domain represents the SR membrane.
To represent the cell’s resting state and a realistic upstroke duration, this geometrical setup is also extended to include part of the membrane (and the associated intracellular and extracellular spaces) that do not represent the dyad location, but is rather characterized as a part of the main cell membrane. In this main cell membrane part, we include a K+ channel and a Na+ channel.
The total computational domain is shaped as a rectangular cuboid, like illustrated in Fig 1C. The applied domain sizes are reported in Table 3. We let the intracellular part of the domain be denoted by , the extracellular part be denoted by
, and the membrane part be denoted by
.
For definitions of the lengths, see Fig 1C. Note that Li denotes the length from the membrane of the T-tubule to the membrane of the SR (dyad width), and will be used as a control parameter in computational experiments below.
As also observed in [26], the duration of the transmembrane dynamics (e.g., the duration of the upstroke) depends on the number of ion channels and the total membrane area included in the simulation. In our simulations, we consider one K+ channel, one Na+, one Ca2+ channel and one NCX. For this setup, we found that a membrane area of = 1000 nm
1000 nm was suitable to achieve a physiologically realistic upstroke time of about 0.5 ms.
2.2.1. Boundary conditions.
For the electrical potential, , we apply homogeneous Neumann boundary conditions on all boundaries, except for the leftmost boundary (see Fig 1C). On that boundary we use homogeneous Dirichlet boundary conditions (
). For the ionic concentrations, we use homogeneous Neumann boundary conditions on all boundaries. These take the form
for all ion species, k, where n is the outward pointing normal vector at the boundary. These boundary conditions amount to no flow of ions across the domain boundary. At the rightmost boundary this represents that the membrane of the SR is closed for flow of ions. The remaining boundaries are located quite far from the ion channels and the considered dynamics and Neumann boundary conditions are chosen for simplicity and because they, unlike Dirichlet boundary conditions, do not interfere with the formation of the Debye layer when applied close to the membrane.
2.3. Initial conditions and background charge density
The initial conditions used for the ionic concentrations in the intracellular and extracellular spaces are provided in Table 4. The initial conditions for Ca2+ bound to the two types of intracellular Ca2+ binding proteins are set up such that the right-hand side of (4) is initially zero. The background charge density, , is set up such that
defined in (8) is zero for these initial conditions, hence the initial condition is always electroneutral. The background charge density is required to obtain physiological electroneutrality away from the membrane.
2.4. Representation of ion channels and exchangers
One approach for representing ion channels embedded in the cell membrane is by selectively allowing for electrodiffusion in the part of the membrane that represents the channel (see Fig 2A). For instance, for a K+ channel, the diffusion coefficient is zero for all ions except for K+ and set to some scaled parameter (in
) for K+ ions. This approach for representing ion channels was applied in [26]. One disadvantage with this approach is that it might not be evident how to determine suitable diffusion coefficients or background charge densities (
) for the ion channels (see [26]). Another disadvantage is that this approach is only straightforwardly implemented for ion channels, and not for membrane pumps and exchangers, like, e.g., the NCX.
A: Ion channels are represented as subdomains of the membrane which selectively allow for electrodiffusion of certain ion species. For example, a K+ channel only allows for electrodiffusion of K+ ions. B: The flux through ion channels are represented as internal boundary conditions for the ion concentrations associated with the channel. In this representation, electrodiffusion in the channel is formulated as a boundary condition with a specified flux. This flux can be defined by the integration of the 1D Nernst equation for the specific ion specie under consideration.
To represent the fluxes through pumps and exchangers, it is more convenient to represent the fluxes as internal boundary conditions between the membrane and the intracellular and extracellular spaces (see Fig 2B). In this case, a specified expression may be directly used for the flux instead of letting the flux through the channel be governed by the PNP equations. To represent channels and exchangers in a similar manner, we will apply this alternative approach to both ion channel and exchanger fluxes in this study. However, in the Supplementary Information, we observe that the two alternative approaches illustrated in Fig 2 provide quite similar solutions (see S1 Appendix).
The internal boundary conditions illustrated in Fig 2B take the form
where and
are the interfaces between the membrane and the intracellular and extracellular domains, respectively, at the location of the channel (see Fig 2B), and ni and ne are the outward pointing unit normal vectors of the intracellular and extracellular domains, respectively. Furthermore J is an expression for the channel or exchanger flux (in mMnm/ms). This flux is defined to be positive for a flux of ions in the direction from the intracellular to the extracellular space.
2.4.1. Ion channel flux.
The current through a single open ion channel (in yA = 10−24A) is often represented using the model
where gk is the conductance of a single open channel (in zS = 10−21S), v is the transmembrane potential (in mV), and is the Nernst equilibrium potential of the channel (in mV), see, e.g., [34]. This equilibrium potential is given by
where ck,e and ck,i are the concentrations of ion species k at the extracellular and intracellular sides of the channel, respectively. This single channel current may be converted to a single channel flux (in ymol/s) by dividing the current by the ion species valence, zk, and Faraday’s constant, F:
Furthermore, the single channel flux may be converted to a single channel flux density (in ymol/() = mMnm/ms) by dividing the flux by the channel area (given by
, in
, see Fig 1B):
The single channel conductances, gk, used for the ion channels in our simulations are provided in Table 5. The transmembrane potential, v, is computed by
The single channel conductances, ,
, and
are taken from [35]. The NCX density,
, is taken from [36] and the remaining parameters characterize the NCX and are taken from [37].
where is the average electrical potential on
, and
is the average electrical potential on
(the inlet and outlet of the channels, see Fig 2B). The concentrations ck,e and ck,i in the Nernst equilibrium potential (13) are similarly defined as the average ionic concentrations at
and
, respectively.
2.4.2. The sodium calcium exchanger flux.
For the NCX flux, we use the formulation of the current density, , from [37], i.e.,
The ionic concentrations ,
,
, and
are defined as the average concentrations at
and
like for the ion channel fluxes. The transmembrane potential, v, is also defined by (16) in the same manner as for the ion channel fluxes. The parameter values involved in the channel flux are given in Table 5.
The current density, , represents the average current density over the membrane capacitance of a cardiomyocyte in units of A/F. The total current for the cell (in yA) is
where Cm is the specific membrane capacitance (in ) and Am is the total membrane area (in
). Assuming that the membrane contains m NCXs, the current (in yA) through a single NCX is given by
where
is the density of NCXs on the cell membrane.
Like for the ion channels, we may now convert this single NCX current to single NCX fluxes (in ymol/s). The current is defined to be positive for a net positive flow of ions out of the cell. The NCX exchanges three Na+ ions for one Ca2+ ion. This means that when
is positive, Na+ moves out of the cell and Ca2+ moves into the cell, and we get
By dividing by the channel area, , we get the flux densities (in ymol/(
) = mMnm/ms):
where is defined in (17) and the parameters are found in Table 5.
2.5. Numerical methods
We solve the system (5)–(8) using a finite difference discretization similar to what was done in [26]. However, instead of solving (5) and (6) in two different steps, we apply a coupled scheme in this study. This allows us to increase the time step from ns used in [26] to
ns. Convergence of the numerical scheme is shown in the Supplementary Information (see S2 Appendix).
2.5.1. Temporal operator splitting.
We solve the system (5)–(8) using a first order temporal operator splitting technique (see, e.g., [38]) to split the buffering dynamics from the remaining system of equations. That is, for each time step, we first update ck and bk by solving the non-linear ordinary differential equation (ODE) system
and, next, in a second step, we update ck and compute by solving the partial differential equation (PDE) system
More specifically, at each time step, n, we assume that the solutions from the previous time step, and
, are known and use an explicit forward Euler discretization of (26) and (27) to compute
and
:
Here, are interim solutions to be applied in the next step of the operator splitting scheme, and
are the updated solutions of bk,j for the current time step, n.
In the next step, we solve the system (28) and (29), in a coupled manner using an implicit backward Euler temporal discretization. To linearize the resulting system of equations, we approximate ck in the term in (29) using the solution from the previous operator splitting step. This results in the following scheme for computing
and
:
Here, is a finite difference discretization of
(see, e.g., [26]). Furthermore,
is the solution from the first step of the operator splitting scheme. If no buffers for ion k are present,
is replaced by
.
2.5.2. Discretization of membrane fluxes.
For the ion channel fluxes (15), we incorporate an implicit representation of the ionic concentrations, ck, and the electrical potential, , in the second step of the operator splitting scheme. To get a linear system, we approximate the logarithm term in the Nernst equilibrium potential (13) by a Taylor series approximation around the solutions from the first operator splitting step:
where denotes the concentration of ion species k at time step n, and
is the solution from the first operator splitting step. This yields the approximation
The flux (15) is thus expressed as
For the NCX fluxes (24) and (25), we use an explicit representation of the potential and ionic concentrations. In other words, we apply the concentrations from the previous operator splitting step, , and the electrical potential from the previous time step,
.
2.5.3. Mesh.
To reduce the computational costs, we use a simple adaptive meshing approach, like in [26]. In this approach, a high resolution is applied near the membrane and the ion channels and a coarser resolution is applied elsewhere. A slice of the mesh in the x- and y- directions is illustrated in Fig 3. Near the membrane and the right boundary of the domain (representing the SR membrane), the distance between grid points is 0.5 nm in the x-direction, and the distance doubles for each grid point further away from the membrane. Similarly, the distance between grid points is 2 nm in the y- and z-directions near the channels or exchangers and doubles for each grid point as the distance from the channels or exchangers increases.
We show a slice of the mesh in the x- and y-directions. The mesh is refined near the membrane and near membrane channels and exchangers. Similar refinements are applied in the z-direction. The Ca2+ channel and the Na+/Ca2+-exchanger (NCX) are located in a volume referred to as the dyad. A K+ and a Na+ channel are located in another volume of interest in the simulations.
3. Results
In this section, we present the results of simulations using the model described above. The central goal is to investigate the electrodiffusive dynamics in the dyadic space of cardiomyocytes and to examine whether electrical effects, in addition to diffusion, significantly influence Ca2+ transport across the dyad.
The key quantity of interest is the time required for Ca2+ ions, entering through membrane channels, to reach the opposing RyRs on the SR membrane. However, before addressing this, we start with two simplified examples that illustrate general properties of the PNP system, such as the rapid decay towards electroneutrality and the formation of the Debye layer. These initial examples provide insights of the dynamics that also govern the dyadic space.
Next, we examine dyad-specific simulations, including scenarios where different ion channels and exchangers are opened. We analyze how the diffusion coefficient and dyad width affect local ionic concentrations and the Ca2+ arrival time at the SR membrane. Finally, we compare the PNP model predictions with those of alternative modeling approaches, including reaction-diffusion equations and ODE-based compartment models, to clarify when the full PNP system is required.
3.1. PNP model solutions of decay following perturbations from electroneutrality
To illustrate properties of the PNP model, we first consider a simple example of a perturbation from electroneutrality. We consider the PNP model (1)–(3) in two dimensions (2D) for the two ions K+ and . We let
in the entire domain. At the boundary of the domain, we apply Dirichlet boundary conditions fixing the potential,
, at 0 mV and both ionic concentrations at 100 mM. The initial conditions are illustrated in Fig 4A. For these initial conditions, the concentrations do not initially fulfill electroneutrality (i.e., we have
, where
is defined in (3)).
We consider a simple 2D example with two ions, K+ and . A: Initial conditions for the two ions. B: Concentrations in the center point as functions of time. C: Charge density,
, in the center point as a function of time. D: The equation terms,
and
, of (2) in the center point as functions of time during the first 4 ns of simulation (left) and after 4 ns (right). We use
,
ns and a uniform mesh with
nm.
Fig 4B shows the concentration solutions in the point in the center of the domain for the two ionic species as functions of time. We observe that for the first few nanoseconds, the dynamics are fast and that the dynamics are slower in the later part of the simulation. Fig 4C similarly shows the charge density, (defined in (3)), in the center point as a function of time. Here, we observe that the solutions approach electroneutrality (
) fast during the first 3 ns of the simulation.
In Fig 4D we show the magnitude of the two terms and
in (2) in the center point for the first few nanoseconds (left panel) and later in the simulation (right panel). We observe that during the first few nanoseconds (before electroneutrality is achieved) the electrical term, Be, is much more prominent than the diffusional term, Bd. This electrical term drives the system fast towards electroneutrality during the first few nanoseconds of the simulation. The concentration of K+ decreases and the concentration of
increases. Next, after electroneutrality is achieved, the electrical term, Be, is negligible, and the diffusional term, Bd, is most prominent. This terms slowly brings the concentrations towards the constant value of 100 mM.
3.2. Formation of a Debye layer near a membrane in a simple PNP model example
A second simple 2D example illustrating properties of the PNP model is displayed in Fig 5. In this case, we introduce a membrane between two domains, and
(see Fig 5C). In the membrane, the diffusion coefficient is set to zero. We again consider the PNP system (1)–(3) for two ions, K+ and
. We use homogeneous Neumann boundary conditions on all boundaries for both the electrical potential and the concentrations, except that we use the Dirichlet boundary condition
mV for the potential on the left boundary. The initial concentration is set to 100 mM for
in both
and
, but for K+, it is set to is 100.1 mM in
and 99.9 mM in
. This entails that
is initially slightly positive in
and slightly negative in
. In Fig 5A, we show the solutions near the membrane as functions of x for five different points in time. We observe that a layer of adjusted concentrations and non-zero
gradually forms on each side of the membrane. This layer near the membrane is often referred to as the Debye layer. In Fig 5B, we plot
as a function of time in one point near the membrane and one point 20 nm right of the membrane. These points are marked as x1 and x2 in Fig 5C. We observe that away from the membrane, the solutions approach electroneutrality (i.e.,
approaches zero). Near the membrane, on the other hand, the magnitude of
increases with time for the first few nanoseconds and then remains constant with time after the Debye layer has been formed.
We consider a simple 2D example with two ions. Initially, the concentrations are constant in and
. The initial concentration of
is 100 mM in both
and
, and the initial concentration of K+ is 100.1 mM in
and 99.9 mM in
. A: Ionic concentrations and charge density near the membrane as functions of x for five different points in time. B: Charge density,
, 0.1 nm right of the membrane (x1) and 20 nm to the right of the membrane (x2) as functions of time. C: Illustration of the simulation setup. We use
,
ns and a uniform mesh with
nm.
3.3. Visualization of dyad simulation results
In this section, we describe the setup used to visualize the results of the dyad simulations in the following sections. To this end, Fig 6 illustrates the general setup used in the simulation visualizations.
The setup is described in detail in Sect 3.3, and re-used in many figures below.
A: Titles. In the upper (title) panel of the figure, each of the considered ionic species are listed, as well as and
. All figure panels below these titles depict the concentration of the ion species, or
or
, named in these upper titles.
B: Solution snapshots. In the next two plot rows, snapshots of the solutions are displayed. The plot titles (Panel A) describes the variable displayed in each column. For each plot row, one point in time is considered. This time point is reported on the left side of each row. In the example illustration in Fig 6, only two time points are included (t = 0 ms and t = 1 ms), but for the actual result figures five time points are generally included.
The snapshots show the solutions in a sheet in the x-y-plane in the center of the domain in the z-direction. Moreover, we only consider a part of the domain that is in close proximity to channels of interest. Fig 6 shows the dynamics close to the K+ and Na+ channels, but some of the result figures focus on the dyad area (close to the Ca2+ channel and NCX) instead.
In the plots of the ionic concentrations, the part of the domain representing the membrane is removed from the visualizations (because all concentrations are zero in the membrane). Instead, illustrations of the ion channels and exchangers are included. In these illustrations, a green color indicates that the channel is open and a red/pink color indicates that the channel is closed. Furthermore, for the ionic species that is able to move through the channel or exchanger, an arrow indicating the direction of flow of the ions is also included. The extracellular space is illustrated on the left side of the channels and the intracellular space is illustrated on the right side of the channels. For and
the membrane is included in the solution snapshots. Thus, we do not explicitly display the ion channels and exchangers in these plots, but they are located at the locations indicated in the concentrations plots.
C: Colorbars. Below the solution snapshots, colorbars for these solutions are included. For and
the same colormap scaling is used in the extracellular, intracellular, and membrane domains, and thus only one colorbar is included for each of these two variables. For the ionic concentrations, on the other hand, the colormap scaling is different in the intracellular and extracellular domains. Therefore, two colorbars are provided for each ionic species. The right colorbar shows the colormap scaling in the extracellular space and the left colorbar shows the colormap scaling in the intracellular space. The colorbar units are provided below the colorbars.
D: Scale bars. On the right-hand side of the colormaps, scalebars for the snapshots are provided for the x- and y-directions.
E: Temporal solutions. In the bottom row of the figures, the temporal evolution of the solutions in two spatial points are plotted. More specifically, we consider the points located in the center of the intracellular domain in the x-direction and at the location of two considered channels in the y-and z-directions. For the solutions displayed in Fig 6, this corresponds to the solutions 3.5 nm to the right of the K+ and Na+ channels. In the rightmost part of panel E, these two points are marked with crosses.
3.4. NP simulation of an open potassium channel. From electroneutrality to the cell’s resting state.
After considering the simple examples in Figs 4 and 5, we will now consider simulations of the full three-dimensional (3D) setup described in the Methods section (see Fig 1). In these simulations, we include intracellular Ca2+ binding buffer proteins, i.e., we solve the system (5)–(8).
We first consider the case when only a K+ channel is open in the cell membrane. This simulation is used to obtain the resting state of the cell, used as initial conditions for the following simulations. The results of the simulation are displayed in Fig 7. In this visualization, we consider the solutions in a part of the domain that is close to the K+ channel. Note that the extracellular part of the domain is depicted on the left-hand side and the intracellular part of the domain is depicted on the right-hand side. Details on the visualization setup are provided in Sect 3.3.
The figure setup is described in Sect 3.3. We use s and an adaptive mesh like illustrated in Fig 3.
In Fig 7, we observe that, initially, all ionic concentrations are constant in the intracellular and extracellular parts of the domain (but different in these two parts of the domain). Moreover, the system fulfills electroneutrality () and the electrical potential is zero everywhere. As the K+ channel is opened, we observe that K+ ions move from the intracellular to the extracellular part of the domain. This results in an elevated extracellular K+ concentration and a reduced intracellular K+ concentration, especially in the vicinity of the K+ channel (see, e.g., t = 0.1 ms). As was observed in Fig 4, the resulting deviation from electroneutrality near the channel is counteracted by local changes in the other ionic concentrations. For example, we observe that the concentration of the positive ions (Na+ and Ca2+) increases slightly on the intracellular side of the K+ channel, whereas the concentration of the negative
ions oppositely decreases. These effects act to counteract the reduced K+ concentration on the intracellular side of the channel.
Nevertheless, since no other ions than K+ is able to cross the membrane, the movement of K+ from the intracellular to the extracellular side of the membrane ultimately leads to a surplus of positive charges in the extracellular space and a surplus of negative charges in the intracellular space. As was also observed in Fig 5, this deviation from electroneutrality on opposite sides of the membrane results in a layer of positive charge density, , on the extracellular side of the membrane and a layer of negative charge density on the intracellular side of the membrane (i.e., a Debye layer). For the positive ions (Na+, K+, and Ca2+), this entails a layer of increased concentration on the extracellular side of the membrane and a layer of decreased concentration of the intracellular side. Conversely, a layer of decreased
concentration forms on the extracellular side of the membrane and a layer of increased
concentration forms on the intracellular side (see, e.g., t = 5 ms). Moreover, a potential difference is generated over the membrane. After a steady state solution is formed, the transmembrane potential,
, is about –80 mV, determined by the Nernst equilibrium potential of K+ (see (13)).
In Fig 8, the solutions near the membrane at the end of the simulation is displayed, showing the details of the obtained Debye layer.
Only a K+ channel is open. The plots show the solutions along a line in the x-direction, taken from the simulation shown in Fig 7.
3.5. PNP simulation of an open sodium channel
Next, we consider the case of opening a Na+ channel to generate an action potential upstroke. We start from the initial conditions representing the cell’s resting state, taken from the end of the simulation displayed in Fig 7. We keep the K+ channel open and open the Na+ channel at t = 0.05 ms. Fig 9 shows the results of this simulation. We observe that after the Na+ channel is opened, Na+ moves from the extracellular to the intracellular space, resulting in a locally increased Na+ concentration on the intracellular side of the Na+ channel and a locally decreased Na+ concentration on the extracellular side (see, e.g., t = 0.11 ms). To counteract the local deviation from electroneutrality, the concentration of the other ionic species also change locally in the vicinity of the Na+ channel. For example, the K+ and Ca2+ concentrations decrease on the intracellular side of the Na+ channel, and the concentration increases.
The figure setup is described in Sect 3.3. We use s and an adaptive mesh like illustrated in Fig 3.
Moreover, the Na+ ions moving from the extracellular to the intracellular domain, gradually reduce the surplus of positive charges in the extracellular space and the surplus of negative charges in the intracellular space, reducing the magnitude of near the membrane. In fact, eventually, there is a surplus of negative charges on the extracellular side of the membrane and a surplus of positive charges on the intracellular side (see t = 0.5 ms). The intracellular potential (and thus also the transmembrane potential) increases from about –80 mV to about 20 mV during the course of the simulation. This upstroke lasts for about 0.5 ms (see rightmost lower panel of Fig 9).
We also note that as the transmembrane potential is increased from the Nernst equilibrium potential for K+, , (see (15)) we also get current through the K+ channel, which leads to local concentration changes close to the K+ channel.
3.6. PNP simulation of an open calcium channel
After observing the dynamics following the opening of a K+ channel leading to the resting state of the cell (Fig 7) and the opening of a Na+ channel leading to the action potential upstroke (Fig 9), we will now consider the dynamics taking place in the dyad. We first consider the case of opening a Ca2+ channel. More specifically, we start the simulation at the resting state with only a K+ channel open. This K+ channel remains open during the entire simulation. At t = 0.05 ms, the Na+ channel is opened (like in Fig 9) starting the initial phase of the action potential upstroke. Subsequently, at t = 0.1 ms, we open the Ca2+ channel in the dyad. The results of this simulation is shown in Fig 10, and in this case the visualization focuses on the area close to the Ca2+ channel and NCX (i.e, the dyad).
The figure setup is described in Sect 3.3. We use s and an adaptive mesh like illustrated in Fig 3.
We observe that a Debye layer is present in the dyad. Moreover, at t = 0.09 ms, following the Na+ channel opening at t = 0.05 ms, the magnitude of near the membrane is reduced and the intracellular potential (and thus the transmembrane potential) is increased somewhat compared to the resting state (t = 0 ms). After the Ca2+ channel is opened at t = 0.1 ms, the Ca2+ concentration in the dyad increases, especially in the vicinity of the Ca2+ channel. However, there is a clearly visible increase in the Ca2+ concentration across the width of the dyad as well. In the lower panel, we observe that halfway across the dyad outside of the Ca2+ channel, the Ca2+ concentration increases from 0.0001 mM to about 0.7 mM. Further away in the y-direction, halfway across the dyad outside of the closed NCX, the concentration increases to about 0.3 mM. This increased Ca2+ concentration could trigger RyR opening on the membrane of the SR. As observed in Figs 7 and 9, we also observe local changes in the remaining ionic species close to the Ca2+ channel, counteracting the deviation from electroneutrality resulting from the Ca2+ influx.
3.7. PNP simulation with a dyad including a sodium calcium exchanger and an open calcium channel
In Fig 11, we show the result of a simulation similar to the one displayed in Fig 10. The difference from Fig 10 is that the NCX is open, and it remains open during the entire simulation. Considering the arrows showing the direction of flow through the NCX, we observe that at rest, the NCX transports Ca2+ out of the cell and Na+ into the cell, but following the opening of the Na+ channel, the flux changes direction (see t = 0.09 ms). After the Ca2+ channel is opened, however, the direction changes back to transporting Ca2+ out of the cell and Na+ into the cell. Nonetheless, comparing the solutions of Figs 10 and 11, the presence of an open NCX does not appear to significantly change the dyad solutions. For instance, the Ca2+ concentration in the points halfway across the dyad plotted in the lower figure panels appears to be very similar regardless of the presence of an open NCX.
3.8. PNP simulation of a dyad with a sodium calcium exchanger and no open calcium channel
To demonstrate a potential effect of an open NCX present in the dyad, we consider the case when the Ca2+ channel is closed. The K+ channel is open during the entire simulation, and the Na+ channel is opened at t = 0.05 ms. The results of this simulation is displayed in Fig 12. We observe that in this case, the NCX flux remains in the direction that transports Ca2+ ions into the cell after the Na+ channel opening. At t = 1 ms, this results in a significant influx of Ca2+ into the dyad through the NCX. Halfway across the dyad, the concentration reaches about 2 mM = 0.2
M. This increase in Ca2+ concentration could potentially affect RyRs located in the apposing SR membrane.
3.9. PNP simulation with more prominent effects of the sodium calcium exchanger
To increase the effects of the NCX flux, we also consider a case in which the dyad width, Li, is decreased to 5 nm, all intracellular diffusion coefficients are reduced to half of the default values reported in Table 1, and the Na+ channel is moved to be in close proximity of the NCX. These changes are introduced in an attempt to increase the effect of the NCX flux in the dyad. We still keep the Ca2+ channel closed. The results of this simulation are shown in Fig 13. We observe that the effect of the NCX flux is larger in this case, and the Ca2+ concentration reaches a value of about 0.45 M halfway across the dyad at t = 1 ms.
3.10. Investigating the effect of the dyad width and diffusion coefficient
In Fig 11, we presented the dyad dynamics in the default case of an open Ca2+ channel and an NCX present in the dyad. We observed that following the Ca2+ channel opening at t = 0.1 ms, the Ca2+ concentration in the dyad increased. If RyRs were present at the right side of the dyad, this increased Ca2+ concentration could have triggered the opening of RyRs on the membrane of the SR.
In Fig 14, we investigate how long it takes from the Ca2+ channel is opened in the cell membrane until the RyRs would be triggered. We refer to this duration as the RyR activation time. The RyR activation times reported in Fig 14 are defined as the duration from the Ca2+ channel is opened at t = 0.1 ms until the point in time when the average Ca2+ concentration in an area corresponding to an RyR (i.e., an area spanning 30 nm 30 nm directly across the dyad from the Ca2+ channel) reaches a value above 0.5
M, representing the threshold for RyR activation [36].
The RyR activation time is defined as time from the membrane Ca2+ channel is opened until the Ca2+ concentration outside of an apposing RyR channel reaches 0.5 M. We perform PNP model simulations similar to the one displayed in Fig 11. We use
ns and an adaptive mesh like illustrated in Fig 3.
We investigate how the RyR activation time depends on the dyad width (Li) and the intracellular Ca2+ diffusion coefficient (). We consider dyad widths between 1 nm and 19 nm. Note that for dyad widths below 5 nm, we refine the resolution near the membrane from the default
nm to
nm. Additionally, we consider values of the intracellular Ca2+ diffusion coefficient between
and
, based on different values applied for Ca2+ diffusion in the dyad found in literature [30,39–43]. The intracellular diffusion coefficients for the remaining ionic species provided in Table 1 are scaled by the same factor as for Ca2+.
Fig 14 shows that the RyR activation time increases in a non-linear manner as the dyad width is increased. Moreover, the RyR activation time increases as the diffusion coefficient is decreased.
3.11. Comparison to the pure diffusion model
We will now compare the above reported solutions of the PNP model to the solution of a pure diffusion or reaction-diffusion model.
3.11.1. Decay following perturbations.
We start the comparison between the PNP and diffusion models by considering the simple example of an initial perturbation displayed in Fig 4. In Fig 15, we compare the solution of the full PNP system (1)–(3) to the solution of the pure diffusion equation
We consider the simple 2D example with two ions displayed in Fig 4. The initial conditions of the two ions are shown in Fig 4A, and we plot the concentrations in the point in the center of the domain, like in Fig 4B. We have used ns and a uniform mesh with
nm.
for k = {K+, }. For the pure diffusion model, there is no equation terms driving the system towards electroneutrality. Therefore, the
concentration is unaffected by the perturbation in the K+ concentration and remains constant throughout the simulation. Furthermore, there are no initial fast dynamics driving the K+ concentration towards electroneutality. Thus the decay of the K+ concentration is slower for the pure diffusion model compared to the PNP model.
3.11.2. Debye layer near a membrane.
We next consider the case of the Debye layer formation near a membrane investigated in Fig 5. Since the concentrations are constant on each side of the membrane and the membrane do not allow for diffusion, the right-hand side of the pure diffusion model (39) would be zero for the setup used as initial conditions for this example. Thus, the concentrations would remain constant, and no Debye layer would be formed in a pure diffusion model simulation. In other words, the PNP model is required to represent the Debye layer.
3.11.3. Dyad dynamics.
We now consider the dyad simulation setup (see Fig 1C) and compare the solution of the full PNP system (5)–(8) to the solution of the reaction-diffusion equations
where is defined in (4). We consider the same buffers and parameters as in the PNP model simulations (see Table 2).
In Fig 16, we show the solution of a reaction-diffusion model simulation of the same setup and open channels as in the PNP model simulation displayed in Fig 11. Since the reaction-diffusion system (40)–(41) do not give rise to an electrical potential, we have used the potential computed in the PNP model simulation to compute the transmembrane fluxes. Like in Fig 15, we observe that for the reaction-diffusion model a local increase in the Ca2+ concentration do not affect any of the other ionic species like it does in the PNP model (compare Figs 11 and 16). In addition, no Debye layer is present for the reaction-diffusion model. Therefore, the concentrations of all ionic species except for Ca2+ are constant in the dyad, unlike in the PNP simulation, where local gradients are present for all ions near the membrane. Nevertheless, the Ca2+ concentration outside of the Ca2+ channel, appears to be very similar in the reaction diffusion-model and the PNP model simulation (compare Figs 11 and 16).
The figure setup is described in Sect 3.3. We have used s and an adaptive mesh like illustrated in Fig 3.
In Fig 17, we investigate whether the differences between the PNP model and the reaction-diffusion model observed in Figs 11 and 16 has an effect of the time from Ca2+ channel opening until the triggering of an RyR, defined as the RyR activation time. In Fig 17, we observe that the RyR activation time computed using the reaction-diffusion model appears to be virtually identical to that computed using the full PNP model. This also holds as the dyad width or the intracellular diffusion coefficients are adjusted. Fig 17 thus indicates that the reaction-diffusion model might be sufficient for capturing some of the important Ca2+ dynamics in the dyad despite the solution differences from the PNP model observed in Figs 15 and 16.
The RyR activation time is defined as time from the membrane Ca2+ channel is opened until the Ca2+ concentration outside of an apposing RyR channel reaches 0.5 M. The PNP results are also displayed in Fig 14. We have used
ns and an adaptive mesh like illustrated in Fig 3. Note that the electrical potential computed in the PNP model is used to compute the transmembrane fluxes in the reaction-diffusion model.
In Fig 18, we investigate the similarity between the PNP model and the pure reaction-diffusion model by comparing the size of the three terms in (6),
for k = Ca2+. We consider points at different distances, d, from the intracellular mouth of the Ca2+ channel. We observe that the diffusion term, Bd, is by far the largest term in the equation. The small magnitude of the electrical term, Be, compared to the diffusion term, Bd, explains why the difference between the PNP and the pure reaction-diffusion model is so small. In the Supplementary Information (see S3 Appendix), we similarly compare the size of the different terms for the Na+ concentration following the opening of the Na+ channel. We observe that for Na+, the size of Be is more comparable to the size of Bd, and there is a more prominent difference between solutions of the PNP model and the pure reaction-diffusion model. Since the intracellular Na+ concentration is about 1000 times larger than the intracellular Ca2+ concentration in these simulations, this suggests that the negligible impact of the electrical term for the Ca2+ concentration might be related to the small intracellular Ca2+ concentration.
Note that a significant difference between the PNP model and the reaction-diffusion model is that the PNP model gives rise to an electrical potential whereas the reaction-diffusion model does not. If a reaction-diffusion model should be applied to study the Ca2+ dynamics in the dyad, the transmembrane potential involved in the transmembrane fluxes would have to be computed in some other manner, e.g., by using a standard ODE model representation of the action potential, as, e.g., done in [36].
3.12 Comparison to ODE model representations
We also wish to compare the PNP model of the dyad dynamics to a model that is based on further modeling simplifications. More specifically, we consider an ODE version of the dyad dynamics, similar to what is often applied in action potential models (see, e.g., [31,37,44,45]).
3.12.1. ODE model representation with one dyad compartment.
We first consider an ODE model using the most typical representation of the dyad, i.e., by representing the dyad as one computational compartment, (see Fig 19A). In addition, we consider one large surrounding cytosol compartment,
. The concentrations in these two compartments are represented as constant in space, but varying in time, and we consider Ca2+ ions and Ca2+ binding buffers. Ca2+ ions are allowed to diffuse between the two compartments, represented by the flux Jd,l. In addition, Ca2+ flows into the dyad compartment through a membrane Ca2+ channel (
). The model equations of this ODE model are described in the Supplementary Information (see S4 Appendix).
The ionic concentrations are assumed to be constant (in space) in each considered compartment. A: The ODE model consists of one dyad compartment, , and one larger compartment representing the surrounding cytosol,
. B: The ODE model consists of two dyad compartments (one near the Ca2+ channel,
, and one near the RyR,
), in addition to the larger compartment representing the surrounding cytosol,
.
In the leftmost panel of Fig 20, we have performed simulations using this ODE model to identify the RyR activation time, like for the PNP model in Fig 14. Since the dyadic Ca2+ concentration, cd, is assumed to be constant in space, this amounts to finding the time it takes from Ca2+ channel opening until M. The parameters of the ODE model are adjusted such that this time is the same as in the PNP model for
and Li = 7 nm. We observe that as the dyad width is increased, the RyR activation time is increased, like also observed for the PNP model (see rightmost panel). However, the ODE model underestimates the increase in time as the dyad width in increased. In addition, altering the diffusion coefficient appears to have very little effect on the RyR activation time in this ODE model.
We have used s. Note that in the leftmost panel, the results for different values of
overlap.
3.12.2. ODE model representation with two dyad compartments.
In an attempt to more realistically capture the RyR activation time in an ODE model representation, we extend the ODE model illustrated in Fig 19A to include two different dyad compartments, with associated concentrations (see Fig 19B). One of the dyad compartments, , is set up to represent the half of the dyad closest to the membrane (and the Ca2+ channel), and the other dyad compartment,
, represents the half that is closest to the SR membrane (and the RyR). The two dyad compartments are connected by a diffusion flux, and the equations and parameters of the model are provided in the Supplementary Information (see S4 Appendix).
The center panel of Fig 20, shows the RyR activation times for the ODE model with two dyad compartments. We observe that for this model, the RyR activation time increases as the diffusion coefficient is reduced, like also observed for the PNP model. In addition, the increase in the RyR activation time increases more rapidly as a function of the dyad width compared to the one dyad compartment case. However, the two compartment ODE model still underestimates the the increase in time as the dyad width is increased compared to the PNP model (right panel). The results of Fig 20 thus suggest that a PNP model or a spatially resolved reaction-diffusion model may be required to accurately capture the details of the Ca2+ dynamics in the dyad.
4. Discussion
4.1. Numerical solution of the PNP equations
Despite their ability to model essential biophysical processes, the PNP equations have received relatively little attention, primarily due to the significant computational cost associated with solving them. However, there is strong tradition for solving approximations of the system utilizing special geometries or symmetries or special features of the system, [46,47], and the full equations have also been solved, see, e.g., [25,26,38,48–51]. In [26], for instance, we had to use a time step of ns to ensure numerical stability of the PNP system, making large-scale simulations impractical. In contrast, the numerical scheme employed in this study allows for a substantially larger time step of
ns, enabling simulations of physiologically realistic upstroke times of approximately 0.5 ms. The key to this 50,000-fold increase in time step is solving the entire system in an implicit and fully coupled manner, as shown in (32) and (33), rather than splitting the potential equation (1) and electrodiffusion equations (2). This change in numerical approach allows us to select the time step based on the required accuracy, rather than being constrained by the severe stability restrictions of the previous method. In fact, with our original scheme, the simulations presented here would have been computationally prohibitive, requiring infeasible computing efforts – defined here as exceeding a week per simulation. The computations reported here have been performed on a modest computer (a Dell Precision 3640 Tower with an Intel Core processor (i9-10900K, 3.7 GHz/5.4 GHz) with ten cores with two threads), and the computing time for, e.g., Figs 9–13 was 6 hours for each simulation.
4.2. Electrodiffusion: What is the strongest term?
In Fig 4, we compare the magnitudes of the terms in the electrodiffusion equation (2) for a simple example of a perturbation from electroneutrality. The results indicate that electrodiffusion operates on two distinct time scales. Initially, the system rapidly establishes electroneutrality, during which the electrical term
dominates the dynamics. This phase is characterized by a swift redistribution of ions driven by electrostatic forces, which act to neutralize local charge imbalances. Once electroneutrality is achieved, the system enters a slower relaxation phase, where the decay toward chemical equilibrium is governed by the diffusive term
At this stage, the contribution of the electrical term Be becomes negligible, and the remaining dynamics are primarily dictated by standard diffusion. From a global perspective, Be is the strongest term when considering the entire simulation period. However, its dominance is transient; once electroneutrality is reached, the process becomes entirely diffusion-driven. This observation is in accordance with previous studies on electrodiffusion, see, e.g., [51], which emphasize the fundamental interplay between electrical forces and diffusion in neuronal environments and for other electrodiffusive processes.
In the simulations of intracellular dynamics following the opening of a membrane Ca2+ channel, however, we observe that the electrical term, Be, is almost negligible compared to the diffusion term, Bd (see Fig 18). As a result, the pure reaction-diffusion equation was able to reproduce the time of arrival estimates for Ca2+ at the RyR computed using the full PNP model (see Fig 17). The small magnitude of the Be term in the dyad likely reflects the low Ca2+ concentration in that region (cf. S3 Appendix).
4.3. Modeling ion channels
The PNP model is often implicitly used to represent the ionic fluxes through channels in the cell membrane in mathematical models. Ion channel fluxes cannot be represented by only taking diffusion into account; without the electrical force, the huge gradients in the ionic concentrations across the membrane would simply diffuse through ion channels and the cell would be useless. In most models, the current through an ion channel is modeled by assuming one-dimensional flow across the membrane and then integrating the Nernst equation analytically, often approximated by a model of the form (15). It is also possible to regard the channel as part of the computational domain and solve the PNP equations in the entire volume; the extracellular space, the cell membrane including the channel and the intracellular space. In S1 Appendix we compare these approaches and find that the results are similar (as they should be), but not identical. The approach taken to represent the cross-membrane dynamics as part of the computational domain can be used for all the ion channels considered here, but not for the NCX. Modeling of the NCX has gained considerable attention and we have chosen to rely on the models in the literature. Since this flux does not follow directly from the PNP equations, we incorporate it using internal boundary conditions of the form (10) and (11). For consistency, we also treat the ion channel fluxes in the same manner.
4.4. Properties of electrodiffusion in the dyad
In Figs 10, 11, 12, and 13, we studied the ionic dynamics in the dyad when a Ca2+ channel, an NCX, or both were open in the dyadic cell membrane. In Figs 10 and 11, we observed that when the Ca2+ channel was open, the Ca2+ concentration increased considerably close to the Ca2+ channel and this also resulted in local changes in the other ionic concentrations to maintain electroneutrality. Moreover, the Ca2+ concentration increased across the dyad, potentially leading to the opening of RyRs on the membrane of the SR. Furthermore, we observed that the presence of an NCX in the dyad did not seem to significantly influence these dynamics. When the Ca2+ channel was closed, on the other hand, we observed that Ca2+ was transported into the dyad through the NCX. This resulted in a local increase in the dyadic Ca2+ concentration outside of the NCX (see Fig 12). Moreover, if we reduced the intracellular diffusion coefficient and the dyad width and placed the channel close to the NCX, the increased Ca2+ concentration across the dyad approached the threshold concentration of 0.5
M assumed to be required for RyR activation. Thus, under these conditions, an NCX could potentially trigger RyR opening in the absence of an open Ca2+ channel. A similar result was found for a reaction-diffusion model in [36].
In Fig 14, we further examined the properties of electrodiffusion in the dyad by considering the time from membrane Ca2+ channel opening until the concentration across the membrane (close to the RyRs) was high enough to trigger RyR opening. We observed that this time increased in a non-linear manner as the dyad width was increased. In addition, the time increased as the intracellular diffusion coefficient was decreased.
4.5. Is it necessary to solve the full PNP system?
As shown in Fig 17, the reaction-diffusion model (40)–(41) provides a time-of-arrival estimate for the Ca2+-wave traveling from a calcium channel to the opposing RyR that is nearly indistinguishable from the result of the full PNP system (5)–(8), even though the two models (PNP and reaction-diffusion) exhibit some substantial differences close to the cell membrane (compare Figs 11 and 16). In particular, the reaction-diffusion model does not capture the altered concentration of other ionic species near the Ca2+ channel or the altered ionic concentrations (including the Ca2+ concentration) in the Debye layer. While it is theoretically possible to construct a scenario where a sustained electric potential gradient significantly influences ion transport even away from the cell membrane, such a setup would require carefully defined boundary conditions that may not be physiologically relevant. Based on our results, solving the reaction-diffusion equations appears sufficient for estimating time-of-arrival dynamics for the Ca2+ concentration in the dyad. In Fig 20, we observe that even a simple ODE model with two compartments can roughly capture the effect of a changed diffusion coefficient or dyad width on the time of arrival, but not to the same degree of accuracy as the reaction-diffusion model. Moreover, a single-compartment model is insufficient to reproduce the effect of a changed diffusion coefficient.
4.6. Simplifications in the representation of the dyad
In this study, we have applied the PNP equations to model ionic dynamics in the dyad. The PNP model has the potential of providing a more detailed and accurate representation of the electrodiffusion dynamics than the more commonly applied reaction-diffusion models. Our focus has been to use this detailed model for the dynamics in an otherwise relatively simple setup. Thus, simplifications have been applied to other aspects of the modeling representation. For example, we have only focused on the dynamics taking place before the activation of RyRs in the membrane of the SR. Therefore, the model used in this study does not include a representation of the SR or RyRs, but this would be a natural extension of the current framework.
In addition, the present model uses a simplified rectangular geometry for the dyadic space and assumes deterministic gating of single ion channels. These choices abstract away much of the structural complexity and stochastic channel behavior that are known features of the cardiac dyad. In particular, detailed reconstructions [30,52] have shown that the surfaces of the dyadic cleft and the SR membrane can be highly irregular, potentially leading to spatial heterogeneities in ion concentrations and electric fields that are not captured by the present approach. Also, ion channels in physiological membranes often appear in clusters rather than as isolated entities, see, e.g., [53,54], but for simplicity, we have used only one channel of each type in our simulations. This entails one Na+ channel per , tuned to reproduce a realistic upstroke velocity within the modeled domain. Furthermore, experimental studies and reviews [55] have demonstrated that clusters of L-type Ca2+ channels and RyRs display stochastic gating behavior and possible coupled gating phenomena. Our model does not include these aspects, as we chose to focus on the electrodiffusion dynamics under the assumption of deterministic channel behavior. This was done to isolate and examine the fundamental consequences of electrical forces on ionic transport without the additional complexity of geometry and gating stochasticity. In this study, we have also only included two types of stationary Ca2+ binding buffers in the dyad, but other types of buffers, including mobile buffers could also be included (see, e.g., [30]). Another simplification in the present approach is that also the part of the domain that does not represent the dyad area (see, e.g., Fig 3) is represented by the same narrow intracellular space and the same Ca2+ binding proteins as those present in the dyad. A wider intracellular space and different Ca2+ binding proteins in this part of the domain would probably be more realistic.
4.7. More advanced computational models of electrodiffusion dynamics
Several more detailed modeling approaches exist that extend beyond the standard PNP formalism used here. These include modified electrodiffusion models that incorporate finite ion sizes (elaborate models of steric effects), ion-ion correlations, or additional corrections at the nanoscale, see, e.g., [56]. In the Supplementary Information (see S5 Appendix), we extend the PNP model described above to account for steric effects following the approach in [56]. However, we observe that including steric effects do not have a significant effect on the results under the conditions considered in this study.
Alternative approaches to modeling electrodiffusion at the nanometer scale include models that describe ion transport directly within the channel structures themselves, using PNP equations with steric effects or related formalisms, see [57]. These models address ion interactions and crowding within the confined environment of the channel pore, representing a more accurate and elaborate modeling strategy to the approach taken here.
4.8. Continuous vs. discrete modeling of the dyad
As mentioned above, the PNP system serves as a continuous model for electrodiffusion in the dyad. However, the dyadic volume is extremely small, and ionic concentrations – particularly for Ca2+ – are very low; in fact, the number of Ca2+ ions is often below one at any given instant, [58]. The average volume of the dyad has been measured to be , [59], which is approximately
times smaller than the volume of an adult cardiomyocyte (16 pL), [60]. To accurately simulate this volume, we employ a spatial resolution at the nanometer scale and a temporal resolution at the nanosecond scale.
Mathematically, the PNP equations remain well-defined even at very low concentrations, but their physical interpretation becomes less straightforward. In [58], it is argued that continuous models should be interpreted as time-averages of inherently stochastic processes. An alternative approach is to use particle-based stochastic models, [61], which explicitly represent individual ion movements. Such stochastic models are frequently used to study Ca2+ dynamics in small, confined spaces where ion numbers are low and concentration-based descriptions may fail, [62–64]. Comparisons between stochastic and deterministic models generally indicate that for sufficiently small volumes, stochastic discrete models are more accurate than standard reaction-diffusion descriptions, particularly when dealing with nanometer-scale Ca2+ domains, [58,65]. However, these comparisons are typically performed against reaction-diffusion equations or pure diffusion models, not against the PNP system itself. This distinction is critical because reaction-diffusion models, unlike PNP, do not account for the electrical forces governing ion movement in confined spaces. The presence of local charge imbalances and electric fields at the nanometer scale may significantly influence ion dynamics in ways that neither stochastic nor reaction-diffusion models capture.
Our approach is to analyze the PNP equations while acknowledging that they represent a continuous approximation of inherently discrete events. The results must therefore be interpreted with the caveat that local charge densities do not necessarily reflect instantaneous ion positions but rather their expected distributions over time.
5. Conclusion
In this study, we present a nano-scale computational model of electrodiffusion in the dyadic space using the Poisson-Nernst-Planck (PNP) equations. Our results confirm that resolving electrodiffusion dynamics at the nanometer scale provides critical insights into ionic transport mechanisms. We applied an improved numerical scheme for the PNP equations, which enables longer time steps and longer simulations, while maintaining numerical stability. This allowed us to investigate key factors influencing Ca2+ arrival at the ryanodine receptors, showing that both the diffusion coefficient and the dyad width significantly impact the time-of-arrival dynamics in a non-linear manner. Furthermore, we demonstrated that the sodium-calcium exchanger may trigger ryanodine receptor activation in the absence of an open Ca2+ channel if the dyad is narrow, the intracellular diffusion coefficient is reduced, and a channel is present in the dyad. Our findings also confirm the formation of a Debye layer near the cell membrane, which cannot be reproduced without including the electrical terms in the PNP equations. Finally, we highlighted that cross-species ionic interactions in the dyad are purely electrical, meaning that they do not manifest in pure reaction-diffusion models. These results underscore the necessity of nano-scale modeling for accurately capturing ionic dynamics in the dyad. The choice of model depends on the specific application: if representation of the Debye layer and cross-species ionic interactions are required, the full PNP system should be applied. However, if this is not a concern, a much simpler reaction-diffusion model could be an adequate approximation.
Supporting information
S1 Fig. Dynamics following the opening of a Ca2+ channel in a PNP model simulation without Ca2+ binding buffers.
The simulation is the same as that displayed in Fig 12 in the main paper, except that there are no Ca2+ binding buffers present.
https://doi.org/10.1371/journal.pcbi.1013149.s001
(PDF)
S2 Fig. Ca2+ concentration 3.5 nm to the left of the Ca2+ channel and the NCX in simulations with and without Ca2+ binding buffers present.
The simulation with Ca2+ buffers is displayed in Fig 12 in the main paper and the simulation without Ca2+ buffers is displayed in S1 Fig.
https://doi.org/10.1371/journal.pcbi.1013149.s002
(PDF)
S1 Appendix. Representing ion channels as membrane pores.
https://doi.org/10.1371/journal.pcbi.1013149.s003
(PDF)
S2 Appendix. Convergence of the numerical scheme for the PNP model.
https://doi.org/10.1371/journal.pcbi.1013149.s004
(PDF)
S3 Appendix. Comparison of equation term sizes for Na+.
https://doi.org/10.1371/journal.pcbi.1013149.s005
(PDF)
S5 Appendix. Dyad dynamics in a PNP model incorporating steric effects.
https://doi.org/10.1371/journal.pcbi.1013149.s007
(PDF)
Disclosure of writing assistance
During the preparation of this manuscript, the authors utilized the ChatGPT4o language model to enhance the language quality for contributions from non-native English speakers. Subsequent to this automated assistance, the authors rigorously reviewed and edited the manuscript to ensure its accuracy and integrity. The authors assume full responsibility for the content of the publication.
References
- 1. Stokke MK, Louch WE, Smith GL. Electrophysiological tolerance: a new concept for understanding the electrical stability of the heart. Europace. 2024;26(11):euae282. pmid:39487808
- 2. Rudy Y, Silva JR. Computational biology in the study of cardiac ion channels and cell electrophysiology. Q Rev Biophys. 2006;39(1):57–116. pmid:16848931
- 3.
Rudy Y. From genes and molecules to organs and organisms: heart. Comprehensive biophysics. 2012. p. 268–327.
- 4. Amuzescu B, Airini R, Epureanu FB, Mann SA, Knott T, Radu BM. Evolution of mathematical models of cardiomyocyte electrophysiology. Math Biosci. 2021;334:108567. pmid:33607174
- 5. O’Hara T, Virág L, Varró A, Rudy Y. Simulation of the undiseased human cardiac ventricular action potential: model formulation and experimental validation. PLoS Comput Biol. 2011;7(5):e1002061. pmid:21637795
- 6. Chai J, Hake J, Wu N, Wen M, Cai X, Lines GT, et al. Towards simulation of subcellular calcium dynamics at nanometre resolution. Int J High Perform Comput Appl. 2013;29(1):51–63.
- 7. Cheng Y, Yu Z, Hoshijima M, Holst MJ, McCulloch AD, McCammon JA, et al. Numerical analysis of Ca2+ signaling in rat ventricular myocytes with realistic transverse-axial tubular geometry and inhibited sarcoplasmic reticulum. PLoS Comput Biol. 2010;6(10):e1000972. pmid:21060856
- 8. Nivala M, de Lange E, Rovetti R, Qu Z. Computational modeling and numerical methods for spatiotemporal calcium cycling in ventricular myocytes. Front Physiol. 2012;3:114. pmid:22586402
- 9.
Franzone PC, Pavarino LF, Scacchi S. Mathematical cardiac electrophysiology. Springer. 2014.
- 10.
Trayanova N, Plank G. Bidomain model of defibrillation. Cardiac bioelectric therapy: mechanisms and practical implications. 2021. p. 61–76.
- 11. Trayanova NA, Lyon A, Shade J, Heijman J. Computational modeling of cardiac electrophysiology and arrhythmogenesis: toward clinical translation. Physiol Rev. 2024;104(3):1265–333. pmid:38153307
- 12. Jæger KH, Tveito A. Efficient, cell-based simulations of cardiac electrophysiology; the Kirchhoff network model (KNM). NPJ Syst Biol Appl. 2023;9(1):25.
- 13. Jæger KH, Tveito A. The simplified Kirchhoff network model (SKNM): a cell-based reaction-diffusion model of excitable tissue. Sci Rep. 2023;13(1):16434. pmid:37777588
- 14. Ricci E, Mazhar F, Marzolla M, Severi S, Bartolucci C. Sinoatrial node heterogeneity and fibroblasts increase atrial driving capability in a two-dimensional human computational model. Front Physiol. 2024;15:1408626. pmid:39139481
- 15. Jæger KH, Charwat V, Healy KE, Wall S, Tveito A. Determining properties of human-induced pluripotent stem cell-derived cardiomyocytes using spatially resolved electromechanical metrics. J Physiol. 2025.
- 16. Jæger KH, Trotter JD, Cai X, Arevalo H, Tveito A. Evaluating computational efforts and physiological resolution of mathematical models of cardiac tissue. Sci Rep. 2024;14(1):16954. pmid:39043725
- 17. Tveito A, Jæger KH, Kuchta M, Mardal KA, Rognes ME. A cell-based framework for numerical modeling of electrical conduction in cardiac tissue. Front Phys. 2017:48.
- 18. Jæger KH, Edwards AG, Giles WR, Tveito A. From millimeters to micrometers; re-introducing myocytes in models of cardiac electrophysiology. Front Physiol. 2021;12:763584. pmid:34777021
- 19. Benedusi P, Ferrari P, Rognes ME, Serra-Capizzano S. Modeling excitable cells with the EMI equations: spectral analysis and iterative solution strategy. J Scientific Comput. 2024;98(3):58.
- 20. Huynh NMM, Chegini F, Pavarino LF, Weiser M, Scacchi S. Convergence analysis of BDDC preconditioners for composite DG discretizations of the cardiac cell-by-cell model. SIAM J Sci Comput. 2023;45(6):A2836–57.
- 21. Jæger KH, Hustad KG, Cai X, Tveito A. Efficient numerical solution of the EMI model representing the Extracellular Space (E), Cell Membrane (M) and Intracellular Space (I) of a collection of cardiac cells. Front Phys. 2021;8.
- 22. Qu Z, Hanna P, Ajijola OA, Garfinkel A, Shivkumar K. Ultrastructure and cardiac impulse propagation: scaling up from microscopic to macroscopic conduction. J Physiol. 2024.
- 23. Quarteroni A, Lassila T, Rossi S, Ruiz-Baier R. Integrated heart—coupling multiscale and multiphysics models for the simulation of the cardiac function. Comput Methods Appl Mech Eng. 2017;314:345–407.
- 24. Alonso S, Alvarez-Lacalle E, Bragard J, Echebarria B. Biophysical modeling of cardiac cells: from ion channels to tissue. Biophysica. 2025;5(1):5.
- 25. Pods J, Schönke J, Bastian P. Electrodiffusion models of neurons and extracellular space using the Poisson-Nernst-Planck equations--numerical simulation of the intra- and extracellular potential for an axon model. Biophys J. 2013;105(1):242–54. pmid:23823244
- 26. Jæger KH, Ivanovic E, Kucera JP, Tveito A. Nano-scale solution of the Poisson-Nernst-Planck (PNP) equations in a fraction of two neighboring cells reveals the magnitude of intercellular electrochemical waves. PLoS Comput Biol. 2023;19(2):e1010895. pmid:36791152
- 27.
Mohr PJ, Newell DB, Taylor BN, Tiesinga E. NIST reference on constants, units, and uncertainty. Fundamental Constants Data Center of the NIST Physical Measurement Laboratory. 2018. https://physics.nist.gov/cuu/Constants/index.html
- 28. Kurnikova MG, Coalson RD, Graf P, Nitzan A. A lattice relaxation algorithm for three-dimensional Poisson-Nernst-Planck theory with application to ion transport through the gramicidin A channel. Biophys J. 1999;76(2):642–56. pmid:9929470
- 29. Solbrå A, Bergersen AW, van den Brink J, Malthe-Sørenssen A, Einevoll GT, Halnes G. A Kirchhoff-Nernst-Planck framework for modeling large scale extracellular electrodiffusion surrounding morphologically detailed neurons. PLoS Comput Biol. 2018;14(10):e1006510. pmid:30286073
- 30. Hake J, Edwards AG, Yu Z, Kekenes-Huskey PM, Michailova AP, McCammon JA, et al. Modelling cardiac calcium sparks in a three-dimensional reconstruction of a calcium release unit. J Physiol. 2012;590(18):4403–22. pmid:22495592
- 31. Grandi E, Pasqualini FS, Bers DM. A novel computational model of the human ventricular action potential and Ca transient. J Mol Cell Cardiol. 2010;48(1):112–21. pmid:19835882
- 32. Ellingsrud AJ, Solbrå A, Einevoll GT, Halnes G, Rognes ME. Finite element simulation of ionic electrodiffusion in cellular geometries. Front Neuroinform. 2020;14:11. pmid:32269519
- 33. Fong CN, Hinke JA. Intracellular Cl activity, Cl binding, and 36Cl efflux in rabbit papillary muscle. Can J Physiol Pharmacol. 1981;59(5):479–84. pmid:7237259
- 34.
Keener JP, Sneyd J. Mathematical physiology. Springer; 2009.
- 35. Lemay M, de Lange E, Kucera JP. Effects of stochastic channel gating and distribution on the cardiac action potential. J Theor Biol. 2011;281(1):84–96. pmid:21530545
- 36. Lines GT, Sande JB, Louch WE, Mørk HK, Grøttum P, Sejersted OM. Contribution of the Na+/Ca2+ exchanger to rapid Ca2+ release in cardiomyocytes. Biophys J. 2006;91(3):779–92. pmid:16679359
- 37. Jæger KH, Charwat V, Charrez B, Finsberg H, Maleckar MM, Wall S. Improved computational identification of drug response using optical measurements of human stem cell derived cardiomyocytes in microphysiological systems. Front Pharmacol. 2020;10:1648.
- 38.
Horgmo Jæger K, Tveito A. Differential equations for studies in computational electrophysiology. Springer. 2023.
- 39. Cannell MB, Kong CHT, Imtiaz MS, Laver DR. Control of sarcoplasmic reticulum Ca2+ release by stochastic RyR gating within a 3D model of the cardiac dyad and importance of induction decay for CICR termination. Biophys J. 2013;104(10):2149–59. pmid:23708355
- 40. Gillespie D. Recruiting RyRs to open in a Ca2+ release unit: single-RyR gating properties make RyR group dynamics. Biophys J. 2020;118(1):232–42. pmid:31839264
- 41. Walker MA, Williams GSB, Kohl T, Lehnart SE, Jafri MS, Greenstein JL, et al. Superresolution modeling of calcium release in the heart. Biophys J. 2014;107(12):3018–29. pmid:25517166
- 42. Valent I, Zahradníková A, Pavelková J, Zahradník I. Spatial and temporal Ca2+, Mg2+, and ATP2- dynamics in cardiac dyads during calcium release. Biochim Biophys Acta. 2007;1768(1):155–66. pmid:17034755
- 43. Zhong M, Karma A. Role of ryanodine receptor cooperativity in Ca2 -wave-mediated triggered activity in cardiomyocytes. J Physiol. 2024;602(24):6745–87.
- 44. Shannon TR, Wang F, Puglisi J, Weber C, Bers DM. A mathematical treatment of integrated Ca dynamics within the ventricular myocyte. Biophys J. 2004;87(5):3351–71. pmid:15347581
- 45. Faber GM, Rudy Y. Calsequestrin mutation and catecholaminergic polymorphic ventricular tachycardia: a simulation study of cellular mechanism. Cardiovasc Res. 2007;75(1):79–88. pmid:17531962
- 46. Peskoff A, Bers DM. Electrodiffusion of ions approaching the mouth of a conducting membrane channel. Biophys J. 1988;53(6):863–75. pmid:2456103
- 47. Soeller C, Cannell MB. Numerical simulation of local calcium movements during L-type calcium channel gating in the cardiac diad. Biophys J. 1997;73(1):97–111. pmid:9199775
- 48. Sokalski T, Lingenfelter P, Lewenstam A. Numerical solution of the coupled nernst−planck and poisson equations for liquid junction and ion selective membrane potentials. J Phys Chem B. 2003;107(11):2443–52.
- 49. Pods J. A comparison of computational models for the extracellular potential of neurons. J Integr Neurosci. 2017;16(1):19–32. pmid:28891501
- 50. Flavell A, Machen M, Eisenberg B, Kabre J, Liu C, Li X. A conservative finite difference scheme for Poisson–Nernst–Planck equations. J Comput Electron. 2013;13(1):235–49.
- 51. Jasielec JJ. Electrodiffusion phenomena in neuroscience and the Nernst–Planck–Poisson equations. Electrochem. 2021;2(2):197–215.
- 52. Louch WE, Perdreau-Dahl H, Edwards AG. Image-driven modeling of nanoscopic cardiac function: where have we come from, and where are we going?. Front Physiol. 2022;13:834211. pmid:35356084
- 53. Colman MA, Alvarez-Lacalle E, Echebarria B, Sato D, Sutanto H, Heijman J. Multi-scale computational modeling of spatial calcium handling from nanodomain to whole-heart: overview and perspectives. Front Physiol. 2022;13:836622. pmid:35370783
- 54. Jayasinghe I, Clowsley AH, de Langen O, Sali SS, Crossman DJ, Soeller C. Shining new light on the structural determinants of cardiac couplon function: insights from ten years of nanoscale microscopy. Front Physiol. 2018;9:1472. pmid:30405432
- 55. Jones PP, MacQuaide N, Louch WE. Dyadic plasticity in cardiomyocytes. Front Physiol. 2018;9:1773. pmid:30618792
- 56. Lu B, Zhou YC. Poisson-Nernst-Planck equations for simulating biomolecular diffusion-reaction processes II: size effects on ionic distributions and diffusion-reaction rates. Biophys J. 2011;100(10):2475–85. pmid:21575582
- 57. Horng TL, Lin TC, Liu C, Eisenberg B. PNP equations with steric effects: a model of ion flow through channels. The Journal of Physical Chemistry B. 2012;116(37):11422–41.
- 58. Hake J, Lines GT. Stochastic binding of Ca2+ ions in the dyadic cleft; continuous versus random walk description of diffusion. Biophys J. 2008;94(11):4184–201. pmid:18263662
- 59. Hayashi T, Martone ME, Yu Z, Thor A, Doi M, Holst MJ, et al. Three-dimensional electron microscopy reveals new details of membrane systems for Ca2+ signaling in the heart. J Cell Sci. 2009;122(Pt 7):1005–13. pmid:19295127
- 60. Nygren A, Fiset C, Firek L, Clark JW, Lindblad DS, Clark RB, et al. Mathematical model of an adult human atrial cell: the role of K+ currents in repolarization. Circ Res. 1998;82(1):63–81. pmid:9440706
- 61. Dobramysl U, Rüdiger S, Erban R. Particle-based multiscale modeling of calcium puff dynamics. Multiscale Model Simul. 2016;14(3):997–1016.
- 62. Modchang C, Nadkarni S, Bartol TM, Triampo W, Sejnowski TJ, Levine H, et al. A comparison of deterministic and stochastic simulations of neuronal vesicle release models. Phys Biol. 2010;7(2):026008. pmid:20505227
- 63. Guerrier C, Holcman D. The first 100 nm inside the pre-synaptic terminal where calcium diffusion triggers vesicular release. Front Synaptic Neurosci. 2018;10:23. pmid:30083101
- 64. Mesa MH, McCabe K, Rangamani P. Synaptic cleft geometry modulates NMDAR opening probability by tuning neurotransmitter residence time. Biophys J. 2025.
- 65. Langer GA, Peskoff A. Calcium concentration and movement in the diadic cleft space of the cardiac ventricular cell. Biophys J. 1996;70(3):1169–82. pmid:8785276