Uphill transport in competitive drift-diffusion models with volume exclusion Francesco Casini, Cristian Giardinà, Jacopo Nicolini, Luca Selmi, Cecilia Vernia Abstract This paper addresses uphill transport (defined as a regime in which particle flow is opposite to the prescriptions of Fick’s diffusion) in drift-diffusion particle transport constrained by volume exclusion. Firstly, we show that the stationary hydrodynamic limit of a multispecies, weakly asymmetric exclusion process (SHDL) naturally predicts precisely characterized uphill regimes in the space of external drivings. Then, with specific reference to systems of oppositely charged particles, we identify well-defined model hypotheses and extensions whereby the SHDL converges to the modified Poisson-Nernst-Planck model, thus bridging the gap between exclusion-based particle models and continuum descriptions commonly used in engineering. The merits and limitations of the models in describing the particle fluxes and predicting uphill transport conditions are investigated in detail with respect to the adopted approximations and simplifications. The results demonstrate the persistence of uphill transport phenomena across modeling scales, clarify the conditions under which they occur, and suggest that uphill transport may play a significant role in nanoscale electrolytes, confined ionic and iontronic devices, and membrane-based technologies. Keywords: uphill diffusion and transport, drift-diffusive systems, modified-Poisson-Nernst-Plank model, hydrodynamic limit . 1 Introduction Drift-diffusion processes are fundamental to the description of mass and charge transport in a wide range of physical, chemical, and biological systems. For charged entities, e.g., ion migration in electrolytes and biological membranes and carrier motion in semiconductor devices, these transport phenomena are typically modeled by Poisson–Drift-Diffusion equations, equivalently denoted Poisson–Nernst–Planck (PNP) equations, which describe the self-consistent electrostatic interaction between charged particles, concentration gradients, and electric fields. Common formulations of these models often neglect exclusion effects originating, e.g., from the finite volume occupied by solvated ions in electrolytes. In systems characterized by high concentrations, nanoscale confinement, or strong electrostatic coupling, this approximation can break down, leading to nontrivial transport properties that depart from pure drift-diffusion. At present, there is growing interest in studying uphill transport - that is, fluxes directed in accordance with the sign of the gradient of concentration - for multi-component systems, both from a phenomenological perspective [ 20 , 19 , 21 ] and in the mathematical-physics literature [ 6 , 10 , 14 , 8 , 11 ] . In this work, we investigate the emergence of uphill transport in systems governed by drift-diffusion dynamics in the presence of volume exclusion. In Section 2 , starting with the microscopic exclusion model introduced in previous studies [ 9 ] , we analyze its hydrodynamic limit (HDL), which provides a set of coupled nonlinear partial differential equations for two species subject to drift, diffusion, and mutual exclusion in the absence of electrostatic interaction. The stationary (time-independent) solution of this system (hereafter denoted SHDL) with fixed boundary concentrations yields a non-equilibrium steady state with non-zero particle fluxes. By systematically exploring the parameter space of external fields and boundary concentrations, we identify conditions under which partial and global uphill transport regimes emerge, driven by the competition between boundary-induced diffusion and field-induced drift. To link this theoretical framework with real physical systems, in Section 3 we establish a correspondence between the SHDL model and the modified Poisson–Nernst–Planck equations (mPNP), which describe the electrostatic coupling and transport of charge entities with exclusion effects under general non-equilibrium conditions. In Section 4 , through analytical and numerical comparisons, we demonstrate the mutual consistency of the SHDL (possibly endowed with the Poisson equation) and the mPNP models. Then, we identify the regions of the parameter space where these models predict uphill transport behaviors. Finally, in Section 5 we apply these models to a prototypical case study of charged particle transport: an ion-selective membrane between two electrolytes. For this system, we examine how boundary conditions, volume exclusion (also called steric) effects, and electrostatic coupling can induce or suppress uphill transport, revealing parameter ranges where this behavior, opposite to Fick’s law, is expected to prevail. The results, summarized in the conclusive Section 6 , highlight the generality of uphill transport as a manifestation of competitive drift-diffusion mechanisms in systems of electrostatically interacting charged entities with volume exclusion and emphasize its potential relevance in nanostructured and electrochemical devices. 2 Uphill transport in exclusion models with drift 2.1 Multispecies Weakly Asymmetric Simple Exclusion process To introduce the topic of our investigation, we recall the multispecies weakly asymmetric simple exclusion process (M-WASEP), introduced in [ 9 ] in the context of large deviations of the corresponding symmetric model. This is a microscopic model where particles jump on a lattice of finite length \lfloor N\xi_{u}\rfloor , with \xi_{u}>0 the macroscopic length of the system and N the number of particles. Here (and throughout the paper) we consider the case of two species in a boundary-driven setup, with injection and removal of both particle types at the boundaries. Figure 1 represents the model in one-dimension. Figure 1 : Representation of the microscopic Markov model with two particle species (blue and red) hopping across sites with weakly asymmetric probability rates. We consider the stirring version of the model, in which particles of different types can swap. We denote by \eta^{u}=(\eta_{0}^{u},\eta_{1}^{u},\eta_{2}^{u}) the occupation vector at site u . Here, \eta_{\alpha}^{u}\in\{0,1\} represents the number of particles of species \alpha located at site u . We require the so-called exclusion constraint, which allows at most one particle per site, i.e., for each site u we assume that \eta_{0}^{u}+\eta_{1}^{u}+\eta_{2}^{u}=1\,. (2.1) This constraint implies that the species with the label 0 plays the role of vacancies. In other words, the configuration of the process only depends on the species with labels 1 and 2 . We denote by \bm{\eta}=(\eta^{1},\ldots,\eta^{N}) the occupation variable for the whole chain and by (\bm{\eta}(\tau))_{\tau\geq 0} the Markov process. The continuous time process evolves its configurations according to transitions between nearest neighbors, for which we associate transition rates. Let \bm{\Psi}(\xi,\tau)=(\Psi_{1}(\xi,\tau),\Psi_{2}(\xi,\tau)) be two smooth functions of space and time, with \xi the continuous space variable. Then, for i\in\{1,2\} and with rate r^{{\bf\Psi},i0}_{(u,u+1)}=\exp\Big(\nabla_{N}\Psi_{i}(\tfrac{u}{N},\tau)\Big)\eta_{i}^{u}(1-\eta_{1}^{u+1}-\eta_{2}^{u+1}) (2.2) a particle of type i is moved from u to u+1 . With rate r^{{\bf\Psi},0i}_{(u,u+1)}=\exp\Big(-\nabla_{N}\Psi_{i}(\tfrac{u}{N},\tau)\Big)(1-\eta_{1}^{u}-\eta_{2}^{u})\eta_{i}^{u+1} (2.3) a particle of type i is moved from u+1 to u . Finally, for i,j\in\{1,2\} and with rate r^{{\bf\Psi},ij}_{(u,u+1)}=\exp\Big(\nabla_{N}(\Psi_{i}(\tfrac{u}{N},\tau)-\Psi_{j}(\tfrac{u}{N},t))\Big)\eta_{i}^{u}\eta_{j}^{u+1} (2.4) a particle of species i at site u and a particle of species j at site u+1 are swapped. Above, we denoted by \nabla_{N} the discrete gradient, i.e., \nabla_{N}\Psi_{i}(\tfrac{u}{N},\tau)=\Psi_{i}(\tfrac{u+1}{N},\tau)-\Psi_{i}(\tfrac{u}{N},\tau)\,. (2.5) Informally, these transition rates describe the transition probability for the system to go from a configuration to another one in an infinitesimal time interval d\tau . We observe that if \Psi is constant in space, then the transition rates reduce to the symmetric multispecies stirring process [ 7 , 25 ] . Therefore, \nabla_{N}\Psi_{i} plays the role of asymmetry since it produces a bias in the jump rates. We say that the process is weakly asymmetric because, for N large enough, the asymmetric part of the transition rates is proportional to 1/N . We also remark that in the multispecies context, the model with stirring and that without stirring can have substantially different properties, see e.g. [ 24 ] for the multispecies symmetric exclusion process without stirring. 2.2 Hydrodynamic limit In [ 9 ] , the authors proved the hydrodynamic limit of the weakly asymmetric multispecies stirring process described in Section 2.1 . Intuitively, this consists of showing that the empirical densities of the microscopic occupation variables \eta_{1}^{u},\eta_{2}^{u} converge (under diffusive space-time scaling \frac{u}{N}\to\xi,\frac{\tau}{N^{2}}\to t in the limit N\to\infty ) to functions \rho_{1}(\xi,t),\rho_{2}(\xi,t) satisfying the so-called hydrodynamic equations 1 1 1 One has to specify the initial conditions and the boundary conditions. For the initial condition, one typically assumes the so-called local equilibrium property at the initial time. Then, proving the hydrodynamic limit amounts to showing that local equilibrium is preserved over time, with the density of the evolving measure governed by the solution of the limiting equations (for details see [ 13 , 18 ] ). For the boundary condition we refer to the discussion below. . These limiting partial differential equations, hereafter denoted hydrodynamic limit model (HDL), read [ 9 ] : \begin{split}\partial_{t}\rho_{1}=&\partial_{\xi\xi}\rho_{1}-2\partial_{\xi}\left(\rho_{1}(1-\rho_{1})\partial_{\xi}\Psi_{1}\right)+2\partial_{\xi}\left(\rho_{1}\rho_{2}\partial_{\xi}\Psi_{2}\right)\ ,\\ \partial_{t}\rho_{2}=&\partial_{\xi\xi}\rho_{2}-2\partial_{\xi}\left(\rho_{2}(1-\rho_{2})\partial_{\xi}\Psi_{2}\right)+2\partial_{\xi}\left(\rho_{1}\rho_{2}\partial_{\xi}\Psi_{1}\right)\ ,\end{split} (2.6) where \rho_{1}(\xi,t) and \rho_{2}(\xi,t) are normalized volumetric densities, i.e., normalized concentrations. The unknown functions 0\leq\rho_{1}\leq 1 and 0\leq\rho_{2}\leq 1 have to satisfy the additional constraint (inherited from the exclusion constraint ( 2.1 )) \displaystyle 0\leq\rho_{1}(\xi,t)+\rho_{2}(\xi,t)\leq 1\qquad\xi\in[0,\xi^{R}],\,\;\,t\geq 0\,. (2.7) The functions \Psi_{1},\Psi_{2}:[0,\xi^{R}]\times\mathbb{R}_{+}\to\mathbb{R} (introduced for the microscopic model in Section 2.1 ) are viewed as potentials of two external fields given by -\partial_{\xi}\Psi_{1} and -\partial_{\xi}\Psi_{2} , respectively. In the most general case, these potentials are arbitrary functions for which we only require the existence of the second derivative in space. In physical systems, the effect of the fields is to drag the densities of the two species in some direction (which depends on the function \Psi_{1},\Psi_{2} themselves). As a consequence, besides the diffusive flux, this drag creates an additional drift (sometimes called Ohmic) flux. We assume that the system is coupled with the external environment via Dirichlet boundary conditions, fixing the densities for each species at \xi=0 and \xi=\xi^{R} . Namely, we endow the system ( 2.6 ) with the following stationary boundary conditions valid for all t\geq 0 \begin{split}&\rho_{1}(0,t)=\rho_{1}^{L},\qquad\rho_{1}(\xi^{R},t)=\rho_{1}^{R},\\ &\rho_{2}(0,t)=\rho_{2}^{L},\qquad\rho_{2}(\xi^{R},t)=\rho_{2}^{R}\,.\end{split} (2.8) As a consequence of ( 2.7 ), these boundary conditions satisfy 0\leq\rho_{1}^{L}+\rho_{2}^{L}\leq 1\quad\text{and}\quad 0\leq\rho_{1}^{R}+\rho_{2}^{R}\leq 1\,. (2.9) 2.3 Fluxes and continuity equations To prepare for the study of uphill transport, we define the fluxes associated with the HDL model. We denote J_{i} the normalized flux of the i -th species crossing the infinitesimal volume surrounding a point \xi\in[0,\xi^{R}] in an infinitesimal amount of time. It is usefull to rewrite the hydrodynamic equations as \begin{split}\partial_{t}\rho_{1}&=\partial_{\xi\xi}\rho_{1}-\partial_{\xi}\left(2\rho_{1}\partial_{\xi}\Psi_{1}\right)+\partial_{\xi}\left(2\rho_{1}^{2}\partial_{\xi}\Psi_{1}+2\rho_{1}\rho_{2}\partial_{\xi}\Psi_{2}\right)\ ,\\ \partial_{t}\rho_{2}&=\partial_{\xi\xi}\rho_{2}-\partial_{\xi}\left(2\rho_{2}\partial_{\xi}\Psi_{2}\right)+\partial_{\xi}\left(2\rho_{1}\rho_{2}\partial_{\xi}\Psi_{1}+2\rho_{2}^{2}\partial_{\xi}\Psi_{2}\right)\ .\end{split} (2.10) Based on the RHS of Equations ( 2.10 ), we define four types of fluxes, depending on the physical phenomena that generate them. 1. Fick’s (diffusion) fluxes are generated by the concentration gradient. They read (first term on the RHS in ( 2.10 )) \begin{pmatrix}J_{1}^{F}\\ J_{2}^{F}\end{pmatrix}=-D(\rho_{1},\rho_{2})\begin{pmatrix}\partial_{\xi}\rho_{1}\\ \partial_{\xi}\rho_{2}\end{pmatrix}=\begin{pmatrix}1&0\\ 0&1\end{pmatrix}\begin{pmatrix}\partial_{\xi}\rho_{1}\\ \partial_{\xi}\rho_{2}\ \end{pmatrix}, (2.11) where {D}(\rho_{1},\rho_{2}) is the so-called diffusion matrix, coincident with the identity matrix in this case. By consequence, Fick’s fluxes are decoupled, meaning that the two species diffuse independently as a consequence of stirring. 2. Drift fluxes are generated by the interaction between one external field and the corresponding density. They read (second terms in Equations ( 2.10 )) \begin{pmatrix}J_{1}^{D}\\ J_{2}^{D}\end{pmatrix}=2\mathfrak{D}(\rho_{1},\rho_{2})\begin{pmatrix}\partial_{\xi}\Psi_{1}\\ \partial_{\xi}\Psi_{2}\end{pmatrix}=2\begin{pmatrix}\rho_{1}&0\\ 0&\rho_{2}\end{pmatrix}\begin{pmatrix}\partial_{\xi}\Psi_{1}\\ \partial_{\xi}\Psi_{2}\end{pmatrix}\,, (2.12) where \mathfrak{D}(\rho_{1},\rho_{2}) is called drift matrix. 3. Corrective fluxes can be seen as alterations and interactions of the drift fluxes due to the competition among entities of the same or different species to occupy the available states under the action of the fields. They read (third terms in Equations ( 2.10 )) \begin{pmatrix}J_{1}^{C}\\ J_{2}^{C}\end{pmatrix}=2\mathcal{C}(\rho_{1},\rho_{2})\begin{pmatrix}\partial_{\xi}\Psi_{1}\\ \partial_{\xi}\Psi_{2}\end{pmatrix}=2\begin{pmatrix}-\rho_{1}^{2}&-\rho_{1}\rho_{2}\\ -\rho_{1}\rho_{2}&-\rho_{2}^{2}\end{pmatrix}\begin{pmatrix}\partial_{\xi}\Psi_{1}\\ \partial_{\xi}\Psi_{2}\end{pmatrix}\,. (2.13) Notice that the corrective fluxes are coupled (as the correction matrix has non-vanishing off-diagonal terms), non-linear, and, differently from the drift fluxes, quadratic in the densities. We also point out that the sum of the \mathfrak{D} and \mathcal{C} matrices, as defined above, coincides with the mobility matrix \chi(\rho_{1},\rho_{2} ) defined in [ 9 ] which reads \chi(\rho_{1},\rho_{2})=\mathfrak{D}(\rho_{1},\rho_{2})+\mathcal{C}(\rho_{1},\rho_{2})=\begin{pmatrix}\rho_{1}(1-\rho_{1})&-\rho_{1}\rho_{2}\\ -\rho_{1}\rho_{2}&\rho_{2}(1-\rho_{2})\end{pmatrix} (2.14) pointing out mutual exclusion as the physical origin of the corrective fluxes. 4. Total fluxes : they are given by the sum of Fick’s, Drift, and Corrective fluxes for each species. Their expressions are: \begin{pmatrix}J_{1}\\ J_{2}\end{pmatrix}=\begin{pmatrix}J_{1}^{F}\\ J_{2}^{F}\end{pmatrix}+\begin{pmatrix}J_{1}^{D}\\ J_{2}^{D}\end{pmatrix}+\begin{pmatrix}J_{1}^{C}\\ J_{2}^{C}\end{pmatrix}. (2.15) Equations ( 2.15 ) are routinely called transport equations. For each of the fluxes defined above, we further distinguish: • Partial : when we consider exclusively the i-th species. Namely, the partial total fluxes are J_{i}=J_{i}^{F}+J_{i}^{D}+J_{i}^{C} for i\in\{1,2\} . • Global : when we consider the sum over the species. Namely, J=J_{1}+J_{2} is the global total flux, J^{F}=J^{F}_{1}+J^{F}_{2} is the global diffusion flux, J^{F}=J^{F}_{1}+J^{F}_{2} is the global drift flux, and J^{C}=J^{C}_{1}+J^{C}_{2} is the global corrective flux. If we enforce the functional dependence of \Psi_{1}(\xi) and \Psi_{2}(\xi) over the domain, and the boundary values \rho_{1}^{L} , \rho_{2}^{L} , \rho_{1}^{R} , \rho_{2}^{R} then we can see the drift and corrective fluxes as bulk driven , and the diffusion fluxes as boundary driven . Notice, however, that in real-world systems of charged particles, the potentials \Psi_{1}(\xi) , \Psi_{2}(\xi) are related, while \rho_{1} and \rho_{2} affect each other and the electric field via the Poisson equation, describing the system’s electrostatics. This point is thoroughly addressed in Section 3 . Lastly, we notice that the HDL system ( 2.10 ) can be obtained by substituting the total flux ( 2.15 ) for each species in the respective continuity equation for the density \displaystyle\partial_{t}\rho_{1} \displaystyle=-\partial_{\xi}J_{1}, \displaystyle\partial_{t}\rho_{2} \displaystyle=-\partial_{\xi}J_{2}\,. (2.16) which expresses the conservation of the number of entities in the absence of reactions or other generation/annihilation processes. 2.4 The steady state (SHDL) From now on, we focus on the so-called non-equilibrium steady state (sometimes abbreviated NESS) for the HDL equations ( 2.10 ). For a physical system, non-equilibrium means that non-zero net fluxes exist with its surroundings, generating a natural tendency of the system to change its physical properties (composition, mass, charge,…). Steady state simply means that all quantities ( \rho_{i},\Psi_{i} for i\in\{1,2\} ) are stationary; that is, independent of time, so that all the time derivatives are zero, and the PDEs system ( 2.10 ) reduces to a system of ODEs, hereafter denoted Stationary-HDL (SHDL) \displaystyle J_{1}=-\frac{d\rho_{1}}{d\xi}+2\rho_{1}(1-\rho_{1})\frac{d\Psi_{1}}{d\xi}-2\rho_{1}\rho_{2}\frac{d\Psi_{2}}{d\xi} (2.17a) \displaystyle J_{2}=-\frac{d\rho_{2}}{d\xi}+2\rho_{2}(1-\rho_{2})\frac{d\Psi_{2}}{d\xi}-2\rho_{1}\rho_{2}\frac{d\Psi_{1}}{d\xi} (2.17b) \displaystyle\frac{dJ_{1}}{d\xi}=0 (2.17c) \displaystyle\frac{dJ_{2}}{d\xi}=0\ . (2.17d) Once the SHDL system is solved, one can compute the Fick, drift, corrective, and total fluxes in the non-equilibrium steady state by using expressions ( 2.11 ), ( 2.12 ), ( 2.13 ), and ( 2.15 ), respectively. The SHDL system of ODEs ( 2.17 ) is driven out of equilibrium by the external fields generating drift fluxes, and/or by the diffusive force originating from the difference between the boundary density values. The net stationary fluxes stem from a competition between these two non-equilibrium sources. Since reactions are absent in this stationary formulation of the HDL model, Equations ( 2.3 ) entail that fluxes are constant in space (Equations ( 2.17c ) and ( 2.17d )). 2.5 Uphill transport for the SHDL model with constant drift In this section, firstly, we define the partial and the global uphill transport when the system is in the non-equilibrium steady state and is endowed with Dirichlet boundary conditions. Then, we specialize to the case of linear potentials and move on to study uphill transport for the SHDL model ( 2.17 ) by characterizing the uphill transport regimes. Definition of uphill transport in the multispecies setup. We consider the physical domain is the interval [0,\xi^{R}] with \xi^{R}>0 and we introduce the global density \rho:=\rho_{1}+\rho_{2} , where the densities \rho_{1},\rho_{2} solve the differential equations ( 2.17 ). Moreover, it is convenient to introduce the global density at the boundaries \rho^{L}=\rho_{1}^{L}+\rho_{2}^{L}\leq 1\quad\text{and}\quad\rho^{R}=\rho_{1}^{R}+\rho_{2}^{R}\leq 1\,, (2.18) and the differences of boundary densities \Delta_{1}=\rho_{1}^{R}-\rho_{1}^{L},\qquad\Delta_{2}=\rho_{2}^{R}-\rho_{2}^{L},\qquad\Delta=\Delta_{1}+\Delta_{2}=\rho^{R}-\rho^{L}\,. (2.19) Definition 1 (Uphill transport) . In the non-equilibrium steady state, we define two types of uphill transport: • Partial uphill transport. We have partial uphill transport for the i -th species, with i\in\{1,2\} , when the i -th total flux J_{i} has the same sign of \Delta_{i} , at each point of the spatial domain [0,\xi^{R}] . That is \begin{split}\left(\min_{\xi\in[0,\xi^{R}]}J_{i}(\xi)\right)\times\Delta_{i}>0\quad&\text{if}\quad\Delta_{i}>0\,,\\ \left(\max_{\xi\in[0,\xi^{R}]}J_{i}(\xi)\right)\times\Delta_{i}>0\quad&\text{if}\quad\Delta_{i}<0\,.\end{split} (2.20) • Global uphill transport. We have global uphill transport when the global-total flux has the same sign of \Delta , on each point of the spatial domain [0,\xi^{R}] . That is \begin{split}\left(\min_{\xi\in[0,\xi^{R}]}J(\xi)\right)\times\Delta>0\quad&\text{if}\quad\Delta>0\,,\\ \left(\max_{\xi\in[0,\xi^{R}]}J(\xi)\right)\times\Delta>0\quad&\text{if}\quad\Delta<0.\end{split} (2.21) Note that Definition 1 is formulated having in mind a general case where reactions may be present and entities of the species can be generated or annihilated in the domain (as in [ 8 ] ). The definition is applicable also in our context; however, since reaction terms are absent, in the stationary state, the total fluxes are constant in space (because their divergence is zero) as per Equations ( 2.17c )-( 2.17d ). The case of a linear potential. A convenient choice to investigate the possible occurence of uphill transport in the SHDL model is provided by linear potentials: \displaystyle\Psi_{1}(\xi)=\frac{a}{2}\,\xi,\qquad\Psi_{2}(\xi)=\frac{b}{2}\,\xi, (2.22) where a,b\in\mathbb{R} are independent of \rho_{1} and \rho_{2} . Upon substitution into ( 2.10 ), the factors 2 cancel out and a,b reveal their nature of constant field intensities associated with \Psi_{1} and \Psi_{2} , respectively, which characterize uniform external driving forces imparted to the system. This linear choice significantly simplifies the analysis by reducing the effective parameter space of the model. Moreover, it provides a convenient benchmark for numerical studies and for direct comparison with the physical systems discussed in Section 3 . Under the choice ( 2.22 ), the steady-state equations ( 2.17 ) endowed with the boundary conditions ( 2.8 ) reduce to a system of coupled second-order ordinary differential equations: \begin{split}&\frac{d^{2}\rho_{1}}{d\xi^{2}}-a\left(\frac{d\rho_{1}}{d\xi}-2\rho_{1}\frac{d\rho_{1}}{d\xi}\right)+b\left(\frac{d\rho_{1}}{d\xi}\rho_{2}+\rho_{1}\frac{d\rho_{2}}{d\xi}\right)=0,\\[5.0pt] &\frac{d^{2}\rho_{2}}{d\xi^{2}}-b\left(\frac{d\rho_{2}}{d\xi}-2\rho_{2}\frac{d\rho_{2}}{d\xi}\right)+a\left(\frac{d\rho_{1}}{d\xi}\rho_{2}+\rho_{1}\frac{d\rho_{2}}{d\xi}\right)=0,\\[5.0pt] &\rho_{1}(0)=\rho_{1}^{L},\quad\rho_{1}(\xi^{R})=\rho_{1}^{R},\quad\rho_{2}(0)=\rho_{2}^{L},\quad\rho_{2}(\xi^{R})=\rho_{2}^{R}.\end{split} (2.23) The resulting model is fully determined by the two real parameters a and b and the four boundary values \rho_{1}^{L} , \rho_{2}^{L} , \rho_{1}^{R} , \rho_{2}^{R} . This parametrization allows for a systematic exploration of the interplay between drift and diffusive transport mechanisms in steady state. In the following paragraph, we solve the boundary value problem ( 2.23 ) by implementing a finite difference numerical method (FDM) with fourth-order accuracy, and obtain the simulation results reported below. As an additional check, and for consistency with the developments in Section 5.2 , we implemented Equations ( 2.23 ) also in the general-purpose, finite elements (FEM) simulation framework FenicsX/Dolfinx [ 3 ] . In all tested cases, we found excellent agreement with the finite difference solution, thus providing strong, reassuring indications of a correct model implementation. Uphill transport phase diagrams. In this paragraph, without loss of generality, we numerically solve the equations ( 2.23 ) in the space interval [0,1] (i.e., fixing \xi^{R}=1 ) to characterize the uphill transport regimes. Since the ODEs ( 2.23 ) live in the 6-dimensional space of parameters spanned by the four boundary conditions ( 2.8 ) subject to the constraint ( 2.9 ) and the intensities of the external fields a,b , we proceed by fixing the boundary conditions for the two species, and then constructing phase diagrams by varying a,b\in[-2,2] . For each value of the fields in this interval, we check whether the three total fluxes (one for each species and the global one) are directed uphill in the sense of Definition 1 . Clearly, many setups can be constructed by choosing the boundary values. Here, we report two cases in which several types of uphill transport are observed. Simulation set #1: \Delta>0 , \Delta_{1}>0 , \Delta_{2}<0 and |\Delta_{1}|>|\Delta_{2}| . Here, the gradients of species 1 and 2 imposed by the boundary conditions have opposite signs, and we look for the following types of uphill transport: • Partial uphill for the species 1: since \Delta_{1}>0 , we have uphill transport if J_{1}>0 , • Partial uphill for the species 2: since \Delta_{2}<0 , we have uphill transport if J_{2}<0 , • Global uphill: since \Delta>0 , we have uphill transport if J>0 . (a) Case without saturation at the boundaries. \rho_{1}^{L}=0.1 , \rho_{1}^{R}=0.6 , \rho_{2}^{L}=0.6 , \rho_{2}^{R}=0.3 , \Delta_{1}=0.5 , \Delta_{2}=-0.3 , \Delta=0.2 . (b) Case with saturation at the right boundary. \rho_{1}^{L}=0.1 , \rho_{1}^{R}=0.9 , \rho_{2}^{L}=0.4 , \rho_{2}^{R}=0.1 , \Delta_{1}=0.8 , \Delta_{2}=-0.3 , \Delta=0.5 . Figure 2 : The plots represent the lines of sign change (symbols), and the regions of uphill transport (shaded areas) for the flux of species 1 (red), species 2 (blue), and for the global flux (green), in the space of the field parameters a,b . Notice the presence of regions where more than one uphill regime (partial or global) coexists. The insets show the linear interpolation of the boundary density values. Figure 2(a) (left plot) shows the simulation results for a set of boundary densities such that \rho^{L}<1 and \rho^{R}<1 . In this case, we identify regions of the plot where: two or three types of uphill transport coexist; there is only one type of uphill; no uphill is visible. Figure 2(b) (right plot) shows the simulation results for the set of boundary densities where the gradient of \rho_{1} increases (compared to Fig. 2(a) ), while that of \rho_{2} stays the same, and \rho^{R}=1 . Here, the phase diagram shows only three regions: a region where only partial uphill transport for species 2 is possible; a region where the two partial uphills coexist; a region where no uphill is present. This result is easily interpreted considering that: 1) a larger Fick’s flux (compared to Fig. 2(a) ) is enforced for species 1 by the boundary conditions, making it more difficult to observe its partial uphill transport for the same range of fields; 2) since the global density at the boundary \rho^{R}=1 , then 1-\rho_{1}-\rho_{2} vanishes. As a consequence, the global density no longer responds to the action of the external field, thereby impeding global uphill transport. Simulation set #2: \Delta>0 , \Delta_{1}>0 , \Delta_{2}>0 and |\Delta_{1}|>|\Delta_{2}| . Here, the gradients of species 1 and 2 imposed by the boundary conditions have the same signs, and we look for the following types of uphill transport: • Partial uphill for the species 1: since \Delta_{1}>0 , we have uphill transport if J_{1}>0 , • Partial uphill for the species 2: since \Delta_{2}>0 , we have uphill transport if J_{2}>0 , • Global uphill: since \Delta>0 , we have uphill transport if J>0 . (a) Case without saturation at the boundaries. \rho_{1}^{L}=0.1 , \rho_{1}^{R}=0.6 , \rho_{2}^{L}=0.2 , \rho_{2}^{R}=0.3 , \Delta_{1}=0.5 , \Delta_{2}=0.1 , \Delta=0.6 (b) Case with saturation at the right boundary. \rho_{1}^{L}=0.1 , \rho_{1}^{R}=0.6 , \rho_{2}^{L}=0.2 , \rho_{2}^{R}=0.4 , \Delta_{1}=0.5 , \Delta_{2}=0.2 , \Delta=0.7 . Figure 3 : The plots represent the lines of sign change (symbols), and the regions of uphill transport (shaded areas) for the flux of species 1 (red), species 2 (blue), and for the global flux (green), in the space of the field parameters a,b . Notice the presence of regions where more than one uphill regime (partial or global) coexist in graph (a). The insets show the linear interpolation of the boundary density values. Figure 3(a) shows the simulation results for a set of boundary densities such that \rho^{L}<1 and \rho^{R}<1 . In this case, we identify regions of the plot where: two or three types of uphill transport coexist; there is only one type of uphill; no uphill is visible. Compared to Figure 2(a) , the sign change in \Delta_{2} swaps the position of the blue region below the line of sign change, as expected. Figure 3(b) shows the simulation results for the set of boundary conditions in which \rho^{R}=1 . Here, the phase diagram shows only three regions: one where only partial uphill for species 2 is possible; one where only partial uphill for species 1 is possible, and a last one without uphill. Similarly to Figure 2(b) , no global uphill is possible in this case. Furthermore, as the gradient of \rho_{2} is increased with respect to Figure 3(a) , the region of partial uphill for species 2 shrinks. Appendix A reports a further simulation in which the boundary difference of global density is \Delta=0 . 3 Drift-diffusion models for charged particles with volume exclusion The HDL model defined by equations ( 2.10 ), and its uphill regimes, were derived by applying a mathematical procedure (the hydrodynamic limit) to a microscopic model and then specializing to constant driving fields. In order to explore the applicability of the SHDL for studying uphill transport in systems of charged , finite-size particles, we start focusing on a quite general template physical system whose essential dynamics shares the same governing transport mechanisms (drift and diffusion under volume exclusion constraints) as the microscopic model. Then, we introduce a set of commonly used model equations for that system (the so-called modified Poisson-Nernst-Plank model), and we unveil an important relation to the SHDL, which clarifies its underlying physical assumptions and validity limits. Figure 4 : Sketch of the physical system that is mapped into the SHDL model. 3.1 The modified Poisson Nernst Planck model (mPNP) Let’s consider the one-dimensional domain in Figure 4 filled with a solvent-solute system immersed in the electric field generated by an electrostatic potential difference V_{app} , in Volt, between two ideal electrodes at the domain boundaries. The solute consists of charged particles with finite volume d^{3} in m 3 , bearing equal and opposite electrical charges (symmetric electrolyte), denoted by the unsigned valence z=z_{1}=-z_{2} , with z\in\mathbb{N} in units of the elementary charge q \simeq 1.602 \cdot 10^{-19} Coulomb. The species have volumetric, position dependent molar concentration c_{1}(x),c_{2}(x) in units of mol/m 3 ; the position-dependent electrostatic potential \varphi(x) , in Volts, describes the electric field as {E}=-\partial_{\xi}\,\varphi in V/m. Drift diffusion transport in systems as the one in Figure 4 can be modeled with the so-called modified Poisson-Nernst-Planck model (mPNP), which is often used in scientific and engineering studies to predict the electrical responses of electrode/electrolyte junctions in exclusion conditions; for instance, in neuron/electrolyte clefts [ 22 ] , porous electrodes [ 26 ] , and fuel cell membranes [ 12 ] . The mPNP model has been derived in [ 17 , 5 ] , using the mean field approximation and free energy arguments, from a microscopic dynamics governed by an exclusion constraint where at most one particle may occupy a given site. Unlike the microscopic multispecies, weakly asymmetric stirring process introduced in Section 2.1 , the mPNP does not track the discrete dynamics of particles. Nonetheless, it embodies finite-size (so-called steric ) effects and accounts for the average effects of the finite particle diameter in the continuum. The mPNP model for the steady state consists of the following set of equations [ 17 ] : \displaystyle\Phi_{1} \displaystyle=-D_{1}\frac{dc_{1}}{dx}-z\mu_{1}c_{1}\frac{d\varphi}{dx}-D_{1}c_{1}\frac{N_{A}d^{3}\big(\frac{dc_{1}}{dx}+\frac{dc_{2}}{dx}\big)}{1-N_{A}d^{3}\big(c_{1}+c_{2}\big)} (3.1a) \displaystyle\Phi_{2} \displaystyle=-D_{2}\frac{dc_{2}}{dx}+z\mu_{2}c_{2}\frac{d\varphi}{dx}-D_{2}c_{2}\frac{N_{A}d^{3}\big(\frac{dc_{1}}{dx}+\frac{dc_{2}}{dx}\big)}{1-N_{A}d^{3}\big(c_{1}+c_{2}\big)} (3.1b) \displaystyle\frac{d\Phi_{1}}{dx} \displaystyle=0 (3.1c) \displaystyle\frac{d\Phi_{2}}{dx} \displaystyle=0 (3.1d) \displaystyle-\varepsilon\frac{d^{2}\varphi}{dx^{2}} \displaystyle=zF(c_{1}-c_{2}) (3.1e) where \varepsilon is the dielectric permittivity of the electrolyte, F=qN_{A} is Faraday’s constant, N_{A} is Avogadro’s number. For i\in\{1,2\} , D_{i} is the diffusivity constant, \Phi_{i} is the flux per mole of particles and \mu_{i} is the mobility. Equations ( 3.1a ) and ( 3.1b ) are the drift diffusion transport equations, which play in the mPNP a similar role as Equations ( 2.17a ) and ( 2.17b ) in the SHDL model. The first two terms at the right-hand side play the same role as J^{F}_{i} and J^{D}_{i} . The third term has the same role as the J^{C}_{i} in Equation ( 2.13 ); i.e., it accounts for the steric exclusion due to the finite particle size. In fact, it cross-couples the fluxes and densities of the species, and vanishes for d\rightarrow 0 . The limit of the mPNP for d\rightarrow 0 is known as Poisson-Nernst-Planck (PNP) or Poisson-Drift-Diffusion model, and can predict uphill transport only in the trivial case where |J_{i}^{D}|>|J_{i}^{F}| . Steric (exclusion) effects are significant when the local molar concentrations c_{i} approach the close-packing limit of order 1/(N_{A}d^{3}) . Notice that, differently from Equations ( 2.17a ), ( 2.17b ), these terms depend on the concentration gradients, not on the potential gradients. Compared to the SHDL, the Poisson Equation ( 3.1e ) for a uniform isotropic medium is added to the transport and continuity equations to self-consistently account for electrostatic interactions among the charged particles’ distributions and the electric field. In this physical context, Equation ( 3.1e ) generates an additional coupling between the densities and the potential besides the one represented by the J^{C}_{i} corrective terms. Notice that distributed reaction or generation/annihilation terms, not considered here, could also couple the transport equations in ways that could affect uphill transport phenomena [ 8 ] . 3.2 Normalization of the mPNP model To obtain unitless variables matching the ones of the hydrodynamic model in Section 2 , and to ease the later solution of the equations in the Fenicsx/Dolfinx environment [ 3 ] , we apply the following normalizations: \begin{cases}c_{1}&=c_{norm}\,\rho_{1}=\frac{1}{N_{A}d^{3}}\ \rho_{1}\\ c_{2}&=c_{norm}\,\rho_{2}=\frac{1}{N_{A}d^{3}}\ \rho_{2}\\ \varphi&=\varphi_{norm}\,\Psi=\frac{RT}{F}\ \Psi=\frac{k_{B}T}{q}\ \Psi\\ x&=x_{norm}\,\xi=\sqrt{\frac{\varepsilon kT}{qFc_{norm}}}\ \xi\\ \Phi_{i}&=\Phi_{norm}\,J_{i}=(D_{i}\,c_{norm}/{x_{norm}})\,J_{i}\,,\end{cases} (3.2) where Einstein’s relation entails \mu_{i}=({F/RT}){D_{i}}=(q/k_{B}T){D_{i}} , T is the absolute temperature, R is the ideal gas constant and k_{B} is Boltzmann constant. Here, \rho_{1} and \rho_{2} represent the normalized, unitless concentrations; they are both \leq 1 due to the exclusion requirement. \Psi is the normalized, unitless potential, c_{norm},\varphi_{norm},x_{norm} , and \Phi_{norm} are the normalization constants. Thus, the transformed ODEs for the steady state of the mPNP model ( 3.1 ) become: \displaystyle J_{1}=-\frac{d\rho_{1}}{d\xi}-z\rho_{1}\frac{d\Psi}{d\xi}-\frac{\rho_{1}}{1-\rho_{1}-\rho_{2}}\left(\frac{d\rho_{1}}{d\xi}+\frac{d\rho_{2}}{d\xi}\right) (3.3a) \displaystyle J_{2}=-\frac{d\rho_{2}}{d\xi}+z\rho_{2}\frac{d\Psi}{d\xi}-\frac{\rho_{2}}{1-\rho_{1}-\rho_{2}}\left(\frac{d\rho_{1}}{d\xi}+\frac{d\rho_{2}}{d\xi}\right) (3.3b) \displaystyle\frac{dJ_{1}}{d\xi}=0 (3.3c) \displaystyle\frac{dJ_{2}}{d\xi}=0 (3.3d) \displaystyle\frac{d^{2}\Psi}{d\xi^{2}}=-z(\rho_{1}-\rho_{2})\,. (3.3e) 3.3 The self-consistent SHDL model (P-SHDL) Taking inspiration from the mPNP model discussed above, we aim at developing a version of the SHDL model where particles possess an electrical charge. Charges respond to electric fields, and the field, described by the normalized electrostatic potential \Psi(x) , must act with opposite sign on particles of opposite charge. In the SHDL model, we can achieve this by setting \Psi_{2}(\xi)=-\Psi_{1}(\xi)=\Psi(\xi)\qquad\forall\xi\in[0,1]\,. (3.4) Moreover, the potential cannot be chosen arbitrarily but has to satisfy the Poisson equation ( 3.3e ). We thus obtain a self-consistent version of the SHDL model, hereafter denoted Poisson-SHDL (P-SHDL) defined by the equations \displaystyle J_{1}=-\frac{d\rho_{1}}{d\xi}-z\rho_{1}\frac{d\Psi}{d\xi}-z\rho_{1}(\rho_{2}-\rho_{1})\frac{d\Psi}{d\xi} (3.5a) \displaystyle J_{2}=-\frac{d\rho_{2}}{d\xi}+z\rho_{2}\frac{d\Psi}{d\xi}-z\rho_{2}(\rho_{2}-\rho_{1})\frac{d\Psi}{d\xi} (3.5b) \displaystyle\frac{dJ_{1}}{d\xi}=0 (3.5c) \displaystyle\frac{dJ_{2}}{d\xi}=0 (3.5d) \displaystyle\frac{d^{2}\Psi}{d\xi^{2}}=-z(\rho_{1}-\rho_{2})\,. (3.5e) We observe that for z=2 , the above equations may be viewed as the SHDL model ( 2.17 ) where the potentials are chosen as in ( 3.4 ) and where the Poisson equation has been added. Given the density profiles \rho_{1}(\xi) and \rho_{2}(\xi) , and the Dirichlet boundary conditions \begin{split}\Psi^{L}&=0\quad\text{and}\quad\Psi^{R}\in\mathbb{R}\,,\end{split} (3.6) the solution of the second-order Poisson equation ( 3.3e ) uniquely determines the potential. Indeed, based on the Leibnitz integral rule, straightforward calculations lead to the expression: \Psi(\xi)=\frac{\xi}{\xi^{R}}\left[\Psi^{R}-z\int_{0}^{\xi^{R}}(\xi^{R}-y)\,[\rho_{2}(y)-\rho_{1}(y)]\,dy\right]+z\int_{0}^{\xi}(\xi-y)\,[\rho_{2}(y)-\rho_{1}(y)]\,dy\ \ . (3.7) Equation ( 3.7 ) puts in evidence that \Psi(\xi) is nonlinear in \xi due to the last integral on the RHS. However, for sufficiently short domains on the scale of the normalization length ( 3.2 ), or for small density values (the so-called dilute species regime), or for small total charge density (\rho_{2}(y)-\rho_{1}(y)) , the integral is very small, so that deviations from linearity remain negligible, the potential can be well approximated by the first (linear) term on the RHS only, and the field is constant (as assumed in the SHDL). 3.4 The P-SHDL model as near-equilibrium approximation of the mPNP. If we impose equilibrium, the mPNP system ( 3.3 ) reduces to the so called modified Poisson-Boltzmann model (mPB) derived in [ 5 ] both from a discrete-lattice approach, and from a continuum approach, minimizing the total energy of the system. In the literature the use of the mPB model is widespread [ 2 ] [ 1 ] [ 15 ] to describe a variety of physical systems as the one in Figure 4 . The mPB yields explicit expressions for the concentrations as a function of potential in exclusion conditions (Equation (18) in [ 5 ] ), here reported for convenience c_{1}=\frac{c_{1}^{*}\exp\big(-\frac{zF(\varphi-\varphi^{*})}{RT}\big)}{1-2N_{A}c_{1}^{*}d^{3}+2N_{A}d^{3}c_{1}^{*}\cosh\big(\frac{zF(\varphi-\varphi^{*})}{RT}\big)} (3.8) c_{2}=\frac{c_{2}^{*}\exp\big(\frac{zF(\varphi-\varphi^{*})}{RT}\big)}{1-2N_{A}c_{2}^{*}d^{3}+2N_{A}d^{3}c_{2}^{*}\cosh\big(\frac{zF(\varphi-\varphi^{*})}{RT}\big)}, (3.9) where c_{1}^{*} , c_{2}^{*} , and \varphi^{*} are the species’ concentrations and electrostatic potential at a reference location. If we impose charge neutrality and \varphi^{*}=0\, V at the reference location, then the reference concentrations coincide, and we find c_{1}=\frac{c^{*}\exp\big(-\frac{zF\varphi}{RT}\big)}{1-2N_{A}c^{*}d^{3}+2N_{A}d^{3}c^{*}\cosh\big(\frac{zF\varphi}{RT}\big)} (3.10) c_{2}=\frac{c^{*}\exp\big(\frac{zF\varphi}{RT}\big)}{1-2N_{A}c^{*}d^{3}+2N_{A}d^{3}c^{*}\cosh\big(\frac{zF\varphi}{RT}\big)}. (3.11) Upon normalization according to Equations ( 3.2 ), and provided \rho_{1}^{L}=\rho_{2}^{L}=\rho^{*}\leq 1/2\,, (3.12) so that \rho^{L}\leq 1 , we obtain \rho_{1}(\xi)=\frac{\exp(-z\Psi(\xi))}{2\cosh(z\Psi(\xi))+(\frac{1}{\rho^{*}}-2)},\qquad\rho_{2}(\xi)=\frac{\exp(z\Psi(\xi))}{2\cosh(z\Psi(\xi))+(\frac{1}{\rho^{*}}-2)}\ \ \ \ . (3.13) A direct calculation shows that if we evaluate the sum of the concentration gradients with the equilibrium expressions ( 3.13 ) we get \displaystyle\frac{1}{1-\rho_{2}-\rho_{1}}\left(\frac{d\rho_{1}}{d\xi}+\frac{d\rho_{2}}{d\xi}\right) \displaystyle=\frac{1}{1-\rho_{2}-\rho_{1}}z\cdot\frac{(\frac{1}{\rho^{*}}-2)\left[\exp(z\Psi)-\exp(-z\Psi)\right]}{\big(2\cosh(z\Psi)+(\frac{1}{\rho^{*}}-2)\big)^{2}}\cdot\frac{d\Psi}{d\xi} \displaystyle=\frac{z(\rho_{2}-\rho_{1})(1-\rho_{2}-\rho_{1})}{1-\rho_{2}-\rho_{1}}\cdot\frac{d\Psi}{d\xi}=z(\rho_{2}-\rho_{1})\cdot\frac{d\Psi}{d\xi}\ \ \ \ . (3.14) By comparing the first and the last term of the above equations to the J^{C}_{i} terms of the expressions ( 3.3 ) and ( 3.5 ), respectively, we realize that the P-SHDL is an mPNP model in which the steric correction term has been estimated with the equilibrium expressions of the charge density profiles, Equations ( 3.13 ). This result clarifies the physical grounds of the SHDL model and relates it to the mPNP and mPB models in use in the engineering community. 4 Models’ comparison In this section, we compare via numerical simulations the three models introduced so far: SHDL, mPNP, and P-SHDL. The comparison is carried out in general, out-of-equilibrium setups, achieved by imposing Dirichlet boundary conditions on the right edge of the domain to generate non-vanishing fluxes. Namely, we freely chose \rho_{1}^{R} and \rho_{2}^{R} with the only constraint that 0\leq\rho_{1}^{R}+\rho_{2}^{R}=\rho^{R}\leq 1\ \ . (4.1) To ensure a consistent comparison in view of the uphill transport studies in Section 5 , we also impose the boundary conditions ( 3.6 ) and ( 3.12 ) on the model equations, and the field is constant in SHDL calculations. Numerical experiments were conducted assuming z=2 , d=0.72 nm, consistently with [ 23 ] , i.e., 1/N_{A}d^{3}\simeq 4.5 mol/l, D_{1}=D_{2}=1\cdot 10^{-9} m 2 /s for a domain length x^{R}=10\, nm equal to \xi^{R}\simeq 48 normalization lengths according to Equation ( 3.2 )). We distinguish low- and high-voltage regimes, according to \varphi^{R} being in the few tens and few hundreds of millivolts, respectively. These voltages correspond to electric fields ranging from tens to hundreds of kV/cm, respectively. These field values approach the limits at which the viscoelectric effect [ 16 ] and the dielectric saturation of water [ 4 ] become important. In addition, we explored both low- and high-concentration regimes, corresponding to normalized boundary density values of order 10^{-2} and 10^{-1} , respectively, as detailed in the figures and captions. Figure 5 : Comparison of the mPNP, P-SHDL, and SHDL models at high voltage and high boundary densities. The mPNP and P-SHDL profiles nearly coincide, confirming the validity of the P-SHDL equilibrium approximation in this parameters’ range. The SHDL model deviates from the other two models, reflecting the violation from the Poisson equation and the linear potential profile. Nonetheless, the fluxes of species 1 and 2 have the same sign for the three models. Boundary conditions: \Psi^{R}=19.34 , \Psi^{L}=0 , \rho_{1}^{R}=0.45 , \rho_{2}^{R}=0.11 , \rho_{1}^{L}=\rho_{2}^{L}=0.22 , corresponding to \varphi^{R}=500\, mV, \varphi^{L}=0\, mV, c_{1}^{R}=2000\, mM, c_{2}^{R}=500\, mM, c_{1}^{L}=c_{2}^{L}=1000\, mM respectively. Figure 6 : Comparison of the mPNP, P-SHDL, and SHDL models at low voltage and low boundary densities. The mPNP and P-SHDL profiles overlap closely, while the SHDL model shows divergence in \rho_{2}(\xi) , but a good match with mPNP and P-SHDL for the profile \rho_{1}(\xi) . Nevertheless, the potential deviates from linearity, illustrating the residual effect of the Poisson equation. Nonetheless, the fluxes of species 1 and 2 have the same sign for the three models. Boundary conditions: \Psi^{R}=1.934 , \Psi^{L}=0 , \rho_{1}^{R}=0.045 , \rho_{2}^{R}=0.011 , \rho_{1}^{L}=\rho_{2}^{L}=0.022 , corresponding to \varphi^{R}=50\, mV, \varphi^{L}=0\, mV, c_{1}^{R}=200\, mM, c_{2}^{R}=50\, mM, c_{1}^{L}=c_{2}^{L}=100\, mM respectively. Figures 5 (high-voltage, high-concentration) and 6 (low-voltage, low-concentration) present a systematic comparison among the mPNP, P-SHDL, and SHDL models across the voltage and boundary density regimes above. All quantities are given in both physical (left y-axis/bottom x-axis) and normalized units (right y-axis/top \xi -axis). We highlight the following observations. 1. In both cases, the mPNP and P-SHDL potential (top left graphs), and density (top right graphs) are nearly coincident. This suggests that in the explored parameter range, near-equilibrium conditions hold. 2. In both cases and for the mPNP and P-SHDL models, the difference between the partial density profiles (top right graphs) starts from zero at the left boundary, as per the boundary condition, and stays very small across the domain, except near the right contact where a net charge ( \rho_{1}(\xi)-\rho_{2}(\xi) ) buildup is needed to satisfy the boundary condition consistently with the Poisson equation. For the SHDL model, where the Poisson equation is not solved, the particle density is remarkably different from the other models (except at the left boundary), although still within about a factor of two from it. This suggests that the electrostatic interaction between potential and charges expressed by the Poisson equation tends to maintain a zero net charge across most of the domain, whose absence in the SHDL model impacts the potential profile as discussed below. 3. For the SHDL model the potential is linear by hypothesis. For the mPNP and P-SHDL models, as a consequence of the small net charge density, \rho_{1}(\xi)-\rho_{2}(\xi) , and the Poisson equation, the potential profiles (top left graphs) are nearly linear, with modest deviations from the SHDL profile, only visible at low voltage due to the expanded graph scales. This justifies the limited discrepancy among the models observed above in the charge density profiles. 4. In both figures and for all models, the domain is not globally charge neutral; that is, the integral of the RHS of the Poisson equation over the domain is not zero. This is due to the non-zero net charge and fluxes imposed at the right boundary. 5. In both cases and for all models, the flux profiles are constant in space (bottom left graphs), as expected in the absence of reaction or other generation/annihilation terms, equations ( 3.3c ), ( 3.3d ), ( 2.17c ), and ( 2.17d ). 6. In both cases, the flux profiles for the mPNP and P-SHDL models (bottom graphs) are nearly coincident, consistent with the agreement among the potential and density profiles, point 1 of this list. 7. The amplitude of the partial and global fluxes is quite small in the mPNP and P-SHDL models (bottom right graphs) where electrostatic coupling tends to minimize the perturbation due to the flux. It is much larger in the SHDL model (bottom left graphs). However, the sign of all the SHDL fluxes is the same as for the mPNP and P-SHDL models. Following the definitions in Section 2.5 , this means that all models lead to the same predictions of uphill transport regimes in the explored parameter ranges (see Section 5.1 ). These results highlight that the approximate solution provided by the P-SHDL model, where the corrective flux J^{C}_{i} s are estimated with the analytical equilibrium expression ( 3.13 ), is quite accurate in predicting the potential, charge, and flux profiles. Self-consistency of the electrostatics plays a major role in shaping the solution of these Poisson drift diffusion models with volume exclusion phenomena. However, as seen in Figure 7 , the agreement between the mPNP and P-SHDL models breaks down when the right boundary conditions are even closer to saturation than in Figure 5 ; namely, when \rho_{1}^{R}+\rho_{2}^{R}\simeq 1 , and when the difference between boundary values |\rho_{i}^{R}-\rho_{i}^{L}| , i=1,2 , increases. Indeed, under these circumstances, the system is too far from the equilibrium assumption that yields the same expression for the corrective flux of P-SHDL and mPNP models (cf. ( 3.4 )). Figure 7 : Potential, concentration and fluxes profiles computed with the mPNP and P-SHDL models when \rho^{R}\simeq 1 and the difference between the boundary densities of each species is large. In this setting, the two profiles display a noticeable mismatch, showing that the equilibrium approximation is not valid anymore. Boundary conditions: \Psi^{R}=19.34 , \Psi^{L}=0 , \rho_{1}^{R}=0.7867 , \rho_{2}^{R}=0.1349 , \rho_{1}^{L}=\rho_{2}^{L}=0.022 , corresponding to \varphi^{R}=500\, mV, \varphi^{L}=0\, mV, c_{1}^{R}=3500\, mM, c_{2}^{R}=600\, mM, c_{1}^{L}=c_{2}^{L}=100\, mM, respectively. 5 Uphill transport for charged particle models In this Section, we focus on the onset of uphill transport regimes in the context of the SHDL, mPNP, P-SHDL, and PNP models previously introduced. In particular, we discuss the roles played by steric (volume) exclusion, the Poisson equation, and the equilibrium assumption. Firstly, we look at the appearance of uphill transport in conditions as for the phase diagrams of Section 2.5 and for the results in Section 4 , see Figure 8 . Then, we analyze the physical case study, depicted in Fig. 9 , which represents an embodiment of the general system in Fig. 4 whose essential physics can be modeled with the SDHL, mPNP and P-SHDL. 5.1 Uphill regimes in the SHDL, mPNP, P-SHDL and PNP models We have seen in Section 4 that the non-self-consistent, non-equilibrium solution provided by the SHDL model is still useful since the signs of the partial fluxes coincide with the ones of the mPNP model. Here, we expand the analysis comparing the uphill phase diagram for the SHDL model reported in Figure 2(a) with the predictions of the P-SHDL and mPNP models, where the Poisson equation is included, under identical density boundary conditions and for a domain of unitary normalized length. Given ( 3.4 ) (used to reduce the SHDL transport equations to the P-SHDL ones), this comparison spans the anti-diagonal of the phase diagrams shown in Section 2.5 (i.e., a=-b ), where the right-boundary potential \Psi(\xi^{R})\in[-2,2] . Figure 8 demonstrates a good quantitative agreement between the \Psi^{R} ranges where uphill transport takes place according to the SHDL and the P-SHDL model (panel (b)), while the correspondence with the mPNP model is comparatively weaker (panel (c)). (a) Uphill diagram for the SHDL model (same as in Figure 2(a) ). (b) Parameter ranges where uphill transport is present according to the P-SHDL and SHDL models. (c) Parameter ranges where uphill transport is present according to the mPNP and SHDL models. Figure 8 : Left: Uphill transport phase diagram with the SHDL model as in Figure 2(a) . The black diagonal scans the parameter line b=-a on which direct comparison with the P-SHDL and mPNP models is carried out. Center and right: Parameter ranges where uphill transport exists according to the P-SHDL model (center) and the mPNP model (right). Same conditions as in Fig. 2(a) . ; \xi^{R}=1 , \Psi(\xi^{R})\in [-2,2] ; hence, a=-b\in [-2,2] , \rho_{1}^{L}=0.1 , \rho_{1}^{R}=0.6 , \rho_{2}^{L}=0.6 and \rho_{2}^{R}=0.3 as in Figure 8(a) . This result is not surprising. The chosen simulation parameters, \rho^{L} =0.7 and \rho^{R} =0.9, correspond to strong exclusion phenomena. Furthermore, the concentration gradients are very large, but the total space charge density is small due to the small length of the domain. As a result, the RHS of the Poisson equation is nearly zero and solving the Poisson equation is not so important because the field is anyhow almost constant. This explains why the P-SHDL and the SHDL yield similar predictions in Figure 8(b) . However, the system is very far from equilibrium due to large concentration gradients and fields. Consequently, the mPNP model, which does not assume equilibrium, departs from the P-SHDL (and SHDL, Figure 8(c) ) models. 5.2 Physical case study: ion permeable membrane Figure 9 : Sketch of the system for the physical case study: an ion-permeable membrane is contacted by two thin, porous, and ideally polarizable electrodes in contact with two electrolytes, each with its own reference electrode. Figure 9 represents an ion-permeable membrane (in brown) between two bulk regions of symmetric electrolytes biased at constant voltages by suitable power supplies and reference electrodes. The potential at the electrolyte/membrane interface is set by thin, porous, and ideally polarizable electrodes, allowing ionic flow across them. The electrolyte region on the left is grounded to maintain electroneutrality; i.e., a constant c_{1}^{LL}=c_{2}^{LL} which sets the left boundary condition \rho^{L} for the membrane domain. To focus on the essentials of the physical problem, the membrane space charge density is neglected, and the partition factor to the nearby electrolytes is set to 1 . The membrane is biased at the voltage V_{app} by the ideally polarizable electrodes. The voltage drop (V_{app}-V_{el}) , applied across the electrolyte region on the right, unbalances the ions’ concentration from the charge neutrality value c_{1}^{RR}=c_{2}^{RR} at the location of the reference electrode to the values c_{1}^{R}\neq c_{2}^{R} at the interface with the membrane. Therefore, by properly choosing the electrolytes’ salinity, c_{1}^{LL}=c_{2}^{LL} and c_{1}^{RR}=c_{2}^{RR} and voltages, (V_{app} and V_{el}) , it is then possible to set the concentrations and potentials at the membrane boundaries, with the only constraint that c_{1}^{R} and c_{2}^{R} are not independent, since they must obey equations ( 3.8 ) and ( 3.9 ) for the same \varphi^{R}=(V_{app}-V_{el}) . The membrane domain resembles the one in Fig. 4 and can be described by the mPNP, P-SHDL or SHDL equations, with the electrolyte regions imposing the boundary conditions. Figure 10 shows the results of mPNP and P-SHDL simulations at low voltage and low concentration, where self-consistency with the Poisson equation, exclusion phenomena, and saturation have modest impacts. The space dependence of the relevant physical quantities is similar to those observed in Figures 5 and 6 . The fluxes are constant, as expected. The excellent agreement between mPNP and P-SHDL models is consistent with previous results. Comparing the sign of the concentration gradients and the fluxes, we find global uphill transport and partial uphill for species 1 above \xi\simeq 30 , and no uphill for species 2. These results suggest a deeper investigation. Figure 10 : Potential, concentrations, and fluxes in the domain of the membrane computed with the P-SHDL and mPNP models. c_{1}^{LL}=c_{2}^{LL}=c^{LL}=15\, mM and c_{1}^{RR}=c_{2}^{RR}=10\, mM. V_{app}=-20\, mV; V_{el}=0 V. \xi^{R}=10\, nm. The concentrations at \xi^{R} are computed according to equations ( 3.8 ) and ( 3.9 ). To this end, the segments in Figure 11 show the \Psi^{R} ranges where partial and global uphill transport is present according to the different models. The top panels refer to low electrolytes’ salinity with the same concentrations as in Figure 10 (i.e., diluted system); the bottom panels are for high concentrations and electrolytes’ salinity. For the SHDL case, \Psi^{R} spans the antidiagonal of the uphill maps as done in figure 8(a) . We observe, as expected, that species 1 and 2 exhibit uphill transport in opposite ranges of \Psi^{R} values. Figure 11 : \Psi^{R} where uphill transport exists in the system in Figure 9 according to the P-SHDL, mPNP, SHDL, and PNP models. Top panel: low salinity (diluted electrolyte, c^{LL} =15 mM, c^{RR} =10 mM, same as Fig. 10 ). Bottom panel: high salinity (concentrated electrolyte, c^{LL} =1500 mM, c^{RR} =1000 mM). The PNP model is the only one that does not account for steric effects. The SHDL model is the only one that does not solve the Poisson equation. At low concentrations and fluxes (top panels), all models (including the common PNP where exclusion is neglected in the domain and at the boundary) are in excellent agreement in predicting the \Psi^{R} ranges where uphill transport exists. This comes as no surprise, because at low concentrations the potential is essentially linear; hence, the coincidence of results for the P-SHDL and SHDL models. Moreover, quasi-equilibrium holds, which yields coincidence between the mPNP and P-SHDL models; finally, exclusion phenomena are negligible, hence, the agreement between the mPNP and the common PNP model. If, instead, the concentrations increase by, e.g., two orders of magnitude (bottom panel of Figure 11 ), the remarkable impact of exclusion phenomena causes the failure of the PNP model (compare the bottom center and bottom right graphs), also because without exclusion the boundary values of the \rho_{i} are quite different for the PNP from those of the mPNP. The remarkable difference in global uphill region predictions of simulations at low and high concentration can be better understood by scrutinizing the diffusive ( J^{F} ), drift ( J^{D} ), and corrective ( J^{C} ) contributions to the total flux. Fig. 12 shows the profiles of the global flux components next to the right boundary of the domain, computed with the mPNP model for the low and high concentration cases in Fig. 11 and \varphi^{R}=-20 mV, i.e. \Psi^{R} =-0.77. In addition, Table 1 reports the magnitude of all flux components and the concentration boundary driving \Delta at \xi^{R} . (a) High concentrations (b) Low concentrations Figure 12 : Contribution of the Fick, drift, and steric exclusion corrective fluxes to the total global ion flux for the mPNP model in arcsinh scales. The left and right plots refer to the high boundary concentration and low boundary concentration cases in Fig. 11 , respectively. \varphi^{R}= -20 mV, i.e. \Psi^{R} =-0.77 corresponding to the leftmost boundary of all the plots in 11 . If we focus on the total global fluxes (Table 1 ), we see that at low concentrations (Fig. 12(b) ) the J^{C} s are smaller in absolute value than all other components by about two orders of magnitude. At high concentrations (Fig. 12(a) ), the magnitude of the correction term is comparable with the other components. When the concentration of the electrolyte rises, the global total flux maintains the same sign while the boundary driving \Delta changes sign, thus causing the absence of global uphill transport. In the high concentration case, the saturation of the rightmost electrolyte causes the global concentration to be lower than at the leftmost electrolyte, so \Delta becomes negative. Instead, in the PNP case, concentrations have no upper bound, so \rho^{R} can grow to a level higher than \rho^{L} and ensure \Delta>0 and uphill transport. If we now observe the partial fluxes’ magnitude in Table 1 , we see that at low concentration, and for both species, the J^{C}_{i} s are smaller in absolute value than any other component and are negative, while J^{F}_{i} and J^{D}_{i} have opposite signs. In particular, J^{C}_{2} has the same sign as J^{D}_{2} , thus favoring the creation of partial uphill transport conditions for species 2, while the opposite is found for species 1. At high concentration, instead, the corrective terms related to exclusion phenomena are of the same order or even larger than the Fick ones but the |J^{D}_{i}| is still very relevant in determining the presence of partial uphill. These observations lead to the conclusion that, for charged species, self-consistency between the electrostatics is a mandatory ingredient, without which the density and potential profiles are highly inaccurate; although, if the concentration gradients of all species are imposed, then the qualitative presence of uphill transport may still be correctly predicted. In all cases of charge transport, neglecting exclusion at high concentrations can completely miss the presence or absence of partial or global uphill, as well as the actual intensities of the fluxes. A detailed study of all these situations would be very interesting; however, it goes beyond the scope of the present contribution and will be the subject of a future work. Table 1 : Partial and global unitless flux components at \xi^{R} for the simulations in Figure 12 . Low conc. \Delta=\rho^{R}-\rho^{L} J^{F} J^{D} J^{C} J Uphill species 1 0.007 -2.267\cdot 10^{-3} 2.318\cdot 10^{-3} -2.234\cdot 10^{-5} 2.850\cdot 10^{-5} Yes species 2 -0.003 1.267\cdot 10^{-4} -1.087\cdot 10^{-4} -1.048\cdot 10^{-6} 1.693\cdot 10^{-5} No global 0.004 -2.140\cdot 10^{-3} 2.209\cdot 10^{-3} -2.339\cdot 10^{-5} 4.543\cdot 10^{-5} Yes High conc. \Delta=\rho^{R}-\rho^{L} J^{F} J^{D} J^{C} J Uphill species 1 0.266 -0.476 1.098 -0.617 0.005 Yes species 2 -0.301 0.108 -0.066 -0.037 0.005 No global -0.035 -0.368 1.032 -0.654 0.010 No 6 Conclusions In this work, we have examined uphill transport in systems where drift–diffusion dynamics are strongly shaped by finite-size exclusion, a regime particularly relevant for nanoscale electrochemical environments. Starting from the hydrodynamic limit of a multispecies weakly asymmetric exclusion process (HDL), we have shown that the resulting stationary model (SHDL) naturally predicts regimes in which particle fluxes invert their direction and flow according to the imposed density gradient, and not the opposite . These inversion regimes arise from the nonlinear interplay of diffusion with the field-driven drift and steric pressure fluxes, and admit a clear characterization in terms of phase diagrams in the space of external drivings. We then focus on systems of charged particles and identify well-defined hypotheses under which the SHDL model, further endowed with the Poisson equation (P-SHDL), converges to the modified Poisson-Nernst-Planck model adopted in several fields of physics. In particular, we have shown that the mPNP and the P-SHDL are equivalent sets of equations if the corrective terms generated by volume exclusion are estimated using charge density expressions valid at equilibrium. This approximation of the mPNP clarifies the validity limits of the P-SHDL and entails the possibility to express the corrective terms as a function of the density gradients (Equations ( 3.3 )), instead of the fields (Equation ( 2.13 )). By comparing the SHDL predictions with those obtained from the modified Poisson–Nernst–Planck (mPNP) equations, the self-consistent SHDL model (P-SHDL), and the bare PNP model where exclusion is neglected, we have demonstrated that the essential mechanisms behind exclusion-driven uphill transport are preserved across models. In particular, the agreement between SHDL and P-SHDL uphill predictions is remarkably strong. At the same time, the general mPNP model reveals how non-equilibrium drift and exclusion reshape flux inversion, especially in dense or highly saturated regimes. The analysis of a representative template nanoscale system involving charged particles, where the electric field and average concentration gradients can be set separately (an ion-selective membrane between two electrolytes), illustrates how electrostatic interactions and exclusion processes control the onset, amplitude, and suppression of uphill transport in practical settings. In both cases, crowding modulates global density, alters local electric fields, and can either favor or reduce partial or global flux inversion and uphill transport when saturation is approached. Overall, our results clarify the microscopic origin, mathematical structure, and range where there is physical relevance of uphill transport in crowded environments, and bridge the gap between exclusion-based particle models and continuum electrochemical descriptions. They also suggest that uphill transport may play a significant role in nanoscale electrolytes, confined ionic and iontronic devices, and membrane-based technologies. Appendix Appendix A Uphill transport with zero boundary driving In this appendix, we report simulation results for the special setup in which the difference of the global boundary densities is zero as a consequence of \Delta_{1}=-\Delta_{2} . In this case, we may define uphill transport as every setup exhibiting a non-zero global current. (a) Case without saturation at the boundaries. \rho_{1}^{L}=0.1 , \rho_{1}^{R}=0.6 , \rho_{2}^{L}=0.6 , \rho_{2}^{R}=0.1 , \Delta_{1}=0.5 , \Delta_{2}=-0.5 , \Delta=0 . (b) Case with saturation at the right boundary. \rho_{1}^{L}=0.1 , \rho_{1}^{R}=0.9 , \rho_{2}^{L}=0.9 , \rho_{2}^{R}=0.1 , \Delta_{1}=0.8 , \Delta_{2}=-0.8 , \Delta=0 Figure 13 : The plots represent the lines of sign change (symbols), and the regions of uphill transport (shaded areas) for the flux of species 1 (red), species 2 (blue), and for the global flux (green), in the space of parameters a,b (external fields). The insets show the qualitative trend of the partial and global densities. Simulation set #3: \Delta=0 , \Delta_{1}>0 , \Delta_{2}<0 and \Delta_{1}=-\Delta_{2} . Here, we look for the following types of uphill transport: • Partial uphill for the species 1: since \Delta_{1}>0 , we have uphill transport if J_{1}>0 ; • Partial uphill for the species 2: since \Delta_{2}<0 , we have uphill transport if J_{2}<0 ; • Global uphill: since \Delta=0 , we have uphill transport if J\neq 0 . Figure 13(a) shows the results of the numerical simulations in the form of phase diagrams for a set of boundary densities such that \rho^{L}=\rho^{R}<1 . In this case, we identify regions of the graph where more than one uphill regime (partial or global) coexist. Furthermore, global uphill (green shaded area) is present everywhere up to the anti-diagonal of the plane, that is, except along the green line where the global flux is zero. Figure 13(b) shows the results of the numerical simulations for the set of boundary conditions in which \rho^{L}=\rho^{R}=1 . Here, the phase diagram shows only two regions: a region where both the partial uphill for species 1 and 2 are possible; a region where no uphill is present. No global uphill is visible due to a vanishing global mobility (saturation).