1 Introduction

Rising energy demand and great dependence on fossil fuels have led to severe environmental and social problems. It is imperative to exploit and develop renewable and pollution-free energy substitutes. Salinity gradient energy (SGE) is a kind of sustainable and clean energy resource generated from the reversible mixing of two solutions with different concentrations, also known as “blue energy” [1-3]. It is estimated that the global theoretical potential based on the annual river and ocean flows is 1.4–2.6 TW [4], and approximately 1 TW is technically available [5, 6], indicating that SGE has great development potential and application prospects. Reverse electrodialysis (RED) can serve as a promising technique to effectively harvest SGE due to its relatively high efficiency and low operating requirements [7, 8]. The RED system mainly consists of ion exchange membranes (IEMs) and electrodes. IEMs are classified as cation exchange membranes (CEMs) and anion exchange membranes (AEMs). The alternately stacked IEMs and the mesh spacers between the membranes form RED cell pairs, where the high and low concentration solution (HC, LC) compartments are constructed by spacers.

With advances in stack configuration design and membrane materials [9-13], RED has gradually matured and some pilot-scale plants have been established [14, 15]. Despite the huge potential of global natural SGE for power generation, the application and promotion of RED are still limited. The adverse effects of multivalent ions and the lower salinity gradient between natural seawater and river water lead to a relatively low power generation performance of the RED system [16, 17]. The high pretreatment and anti-fouling costs of natural flows further reduce the economics of the RED stack [18]. In addition, the uneven distribution of natural salinity gradient sources also hinders the system implementation [19].

Recently, attention has been attracted to the multi-stage RED (MSRED). The application of MSRED systems is not limited to natural salinity gradient sources. High salinity solutions such as brine discharged from salt fields and desalination plants as well as treated domestic wastewater can be applied [20]. Compared to single-stage RED stacks, MSRED systems can extract SGE of high salinity gradient sources more completely while maintaining higher output power density [21]. The concept of MSRED was first introduced as a cascade operation by Veerman et al. [22]. Compared to the single-stage stack, the energy efficiency of a three-stage RED system was relatively improved by over 50%. Tedesco et al. [23] investigated the performance of different three-stage configurations, revealing the layout of MSRED worked best with more than 1.1 kW output power obtained. Catarina et al. [24] tested a two-stage RED configuration experimentally and found that MSRED is a viable concept to enhance power and energy efficiency, and the gross overall performance of the two-stage system is improved by 17%. Wang et al. [25] conducted an experiment based on SGE extraction between brine and seawater, and found that the energy conversion efficiency of the MSRED system increased from 2 to 18% at a stage number of 22. There are two main strategies to harvest SGE by MSRED: independent control for each RED stack and series control with equal electric current. Hu et al. [26] compared the two strategies by mathematical modeling and found that the serial control strategy is more feasible in practice and easier to manage the output power.

The assessment of cost and economic aspects is pivotal for the practical application and promotion of the MSRED system. Turek et al. [27] conducted the cost estimation for a RED stack with an experimental power density of 0.92 W·m−2 with an investment cost of 100 $·m−2 for installing membranes. Post et al. [5] designed a 200 kW RED system, which reduced the installed membrane price to 2 €·m−2, resulting in a very low prospective cost of 0.08 €·kWh−1. However, these estimates were either based on obsolete experimental data before RED performance improvements or made overly idealized power and cost assumptions [28]. Giacalone et al. [29] contributed to the field by presenting an improved techno-economic analysis of the RED system. The levelized cost of electricity (LCOE) based on natural and artificial salinity gradient scenarios is estimated, revealing that the RED system demonstrates commercial potential in specific scenarios owing to competitive LCOE values.

In this paper, an enhanced mathematical model for the MSRED system employing the serial control strategy is proposed. This model takes into account variations in volume flow rate and concentration-dependent density along the flow direction. Unlike in previous models where the maximum power of each calculation interval was considered to calculate the overall electric power, here output voltage and electric current are introduced as variables to describe the RED stack more practically. Particle Swarm Optimization (PSO) is applied to identify optimal conditions for maximum output power under different serial stages and salinity gradient sources. Subsequently, a comprehensive technical–economic analysis model of the MSRED system is developed with considering discount, depreciation and different regional tax and electricity price levels. The levelized cost of electricity and net present value (NPV) of the MSRED system are systematically analyzed and discussed, thus evaluating the commercialization potential and feasibility of the serial control MSRED power plant.

2 Model development

2.1 Serial control MSRED system

As shown in Fig. 1, an improved mathematical model of the RED stack is developed to describe transmembrane ion and water transportation characteristics with the following assumptions employed: 1) Only changes of properties (e.g., voltage, concentration, flux, and resistance) along the flow direction are considered; 2) Ideal flow distribution and composition are assumed; 3) The concentration polarization and the parasitic current are ignored [30].

Fig. 1
figure 1

Transmembrane ion and water transportation in the RED process

The equivalent circuit of a single RED stack is presented in Fig. 2. The stack is divided into several calculation intervals through the numerical discretization of the flow domain along the channel length. Figure 3 shows the serial control strategy of the MSRED system with n identical RED stacks. The total output voltage of the stack is a summation of each stack’s voltage, and the current of each stack is the same to form a serial configuration. The concentration difference of the solutions gradually decreases with the flow and mass transfer proceeding. In the downstream stacks, electrodialysis may occur due to the electromotive force [31].

Fig. 2
figure 2

The equivalent circuit of a single RED stack

Fig. 3
figure 3

The serial control strategy of MSRED

In a RED cell pair, the electric potential is the sum of the Nernst potential difference across the CEM and AEM [32]:

$${E}_{cell}(x)={\alpha }_{CEM}\frac{RT}{F}{\text{ln}}\frac{{\gamma }_{HC}^{Na}(x){C}_{HC}(x)}{{{\gamma }_{LC}^{Na}(x)C}_{LC}(x)}+{\alpha }_{AEM}\frac{RT}{F}{\text{ln}}\frac{{\gamma }_{HC}^{Cl}(x){C}_{HC}(x)}{{{\gamma }_{LC}^{Cl}(x)C}_{LC}(x)}$$
(1)

where α is the permselectivity of the IEM. R is the universal gas constant, 8.314 J·mol−1·K−1. T is the temperature (K). F is the Faraday constant, 96,485 C·mol−1. C is the concentration (mol·m−3). γ is the activity coefficient used in thermodynamics to account for deviations from ideal behavior, which can be determined by Pitzer’s virial equation [33]:

$${\text{ln}}\,{\gamma }_{\pm }\left(x\right)=-A\left[\frac{\sqrt{I\left(x\right)}}{1+b\sqrt{I\left(x\right)}}+\frac{2}{b}{\text{ln}}\left(1+b\sqrt{I\left(x\right)}\right)\right]+M{B}^{\gamma }+{M}^{2}{C}^{\gamma }$$
(2)

where M is the molality of the electrolyte (mol·kg−1). A is the modified Debye-Hückel slope, A = 0.3915 at 25 ℃. b is a constant, b = 1.2 for NaCl. Bγ and Cγ are functions of the electrolyte nature which can be found in Ref. [33]. I is the ionic strength (mol·L−1), which can be calculated based on pure NaCl solutions:

$$I\left(x\right)=\frac{1}{2}\sum\limits_{i}{{z}_{i}}^{2}\frac{{C}_{i}(x)}{1000}=\frac{C(x)}{1000}$$
(3)

The RED cell resistance is the sum of the solution compartment resistances and the membrane area resistances [32]:

$${R}_{cell}\left(x\right)={R}_{HC}\left(x\right)+{R}_{LC}\left(x\right)+{R}_{CEM}+{R}_{AEM}$$
(4)

where RCEM and RAEM are the membrane area resistances (Ω·m2).

The solution compartment resistances vary along the flow direction, which can be calculated as:

$${R}_{HC}\left(x\right)=f\frac{{\delta }_{HC}}{{\Lambda }_{m}{C}_{HC}(x)}$$
(5)
$${R}_{LC}\left(x\right)=f\frac{{\delta }_{LC}}{{\Lambda }_{m}{C}_{LC}(x)}$$
(6)

where f is the obstruction factor, which illustrates the increase of the electrical resistance due to the negative effects of the spacer. δ is the thickness of the solution compartment (m). Λm is the molar conductivity of the electrolyte solution (S·m2·mol−1).

According to Ohm's law, the current density of each RED stack is calculated as:

$$j\left(x\right)=\frac{N{E}_{cell}\left(x\right)-U}{{NR}_{cell}\left(x\right)+{R}_{el}(x)}$$
(7)

where N is the number of cell pairs in each RED stack. U is the output voltage (V). Rel is the area resistance of the electrodes and their compartment (Ω·m2), which can be ignored when a large number of cell pairs are adopted [34].

The electric current can be calculated as:

$$I=W\int\nolimits_{0}^{L}j\left(x\right)dx$$
(8)

where W and L are the width and length of the IEM (m), respectively.

The gross output power of the RED stack is:

$${P}_{gross}=UI$$
(9)

The pumping energy cannot be ignored and the pressure drop over each solution channel is calculated as [35]:

$${dp}_{HC}=\frac{12{\mu }_{HC}{Q}_{HC}dx}{W{{\delta }_{HC}}^{3}}$$
(10)
$${dp}_{LC}=\frac{12{\mu }_{LC}{Q}_{LC}dx}{W{{\delta }_{LC}}^{3}}$$
(11)

where μ is the solution viscosity (Pa·s) [36]; Q is the volume flow rate (m3·s−1).

The total hydraulic loss of the RED stack is:

$${P}_{hydraulic}=\int\nolimits_{0}^{L}N\zeta \left(\frac{6{\mu }_{HC}{{Q}_{HC}}^{2}}{W{{\delta }_{HC}}^{3}}+\frac{6{\mu }_{LC}{{Q}_{LC}}^{2}}{W{{\delta }_{LC}}^{3}}\right)dx$$
(12)

where ζ is the correlation factor considering the geometric effect [31].

Therefore, the net power output of each RED stack is:

$${P}_{net}={P}_{gross}-{P}_{hydraulic}$$
(13)

The maximum power available is the variation of Gibbs free energy of the mixing process [37], which can be calculated as:

$$\Delta G=2RT\left({Q}_{HC}{C}_{HC}{\text{ln}}\frac{{C}_{HC}}{{C}_{M}}+{Q}_{LC}{C}_{LC}{\text{ln}}\frac{{C}_{LC}}{{C}_{M}}\right)$$
(14)
$${C}_{M}=\frac{{Q}_{HC}{C}_{HC}+{Q}_{LC}{C}_{LC}}{{Q}_{M}}$$
(15)

where CM is the concentration of the mixed HC and LC solutions.

The energy efficiency is the ratio of the net power generated by the RED stack relative to the maximum power:

$$\eta =\frac{{P}_{net}}{\Delta G}$$
(16)

For the transmembrane ion transportation, the total salt flux from the HC to the LC compartment consists of the Coulombic part and the Co-ion transport part [31]:

$${J}_{tot}\left(x\right)={J}_{coul}\left(x\right)+{J}_{cit}\left(x\right)=\frac{j(x)}{F}+\frac{2{D}_{NaCl}}{{\delta }_{m}}\left[{C}_{HC}\left(x\right)-{C}_{LC}(x)\right]$$
(17)

where DNaCl is the permeability coefficient of salt (m2·s−1). δm is the thickness of the membrane (m). “2” is a factor that indicates two membranes contained in a cell pair.

The total water flux consists of the Osmotic part and the Electro-osmotic part:

$${J}_{w}\left(x\right)=-2{L}_{p}mRT\left[{\varphi }_{HC}{C}_{HC}\left(x\right)-{\varphi }_{LC}{C}_{LC}\left(x\right)\right]+{n}_{h}{J}_{tot}\left(x\right)$$
(18)

where Lp is the average water permeability of the membrane (m·Pa−1·s−1). m is the number of ions produced by the ionization of the electrolyte. φ is the osmotic coefficient. nh is the total hydration number [30].

In the HC compartment, the total mass change arises from the decrease in the NaCl mass and the increase in water mass due to the osmosis effect. The equations of the mass balance are given by:

$$\frac{d\left[{Q}_{HC}(x){\rho }_{HC}(x)\right]}{dx}=-W{J}_{tot}\left(x\right){M}_{NaCl}+W{J}_{w}\left(x\right){M}_{{H}_{2}O}$$
(19)
$$\frac{d\left[{Q}_{HC}(x){C}_{HC}(x)\right]}{dx}=-W{J}_{tot}\left(x\right)$$
(20)

Similarly, the mass transfer process in the LC compartment follows the mass balance equation:

$$\frac{d\left[{Q}_{LC}(x){\rho }_{LC}(x)\right]}{dx}=W{J}_{tot}\left(x\right){M}_{NaCl}-W{J}_{w}\left(x\right){M}_{{H}_{2}O}$$
(21)
$$\frac{d\left[{Q}_{LC}(x){C}_{LC}(x)\right]}{dx}=W{J}_{tot}\left(x\right)$$
(22)

where M is the molar mass (kg·mol−1). ρ is the concentration-dependent density of the NaCl-water mixture (kg·m−3) [38]:

$$\rho =\frac{1}{\frac{{\omega }_{{H}_{2}O}}{{\rho }_{{H}_{2}O}}+\frac{{\omega }_{NaCl}}{{\rho }_{app,NaCl}}}$$
(23)
$${\rho }_{app,NaCl}=\frac{\left({c}_{0}{\omega }_{NaCl}+{c}_{1}\right)exp\left[0.000001{\left(t+{c}_{4}\right)}^{2}\right]}{{\omega }_{NaCl}+{c}_{2}+{c}_{3}t}$$
(24)

where ω is the mass fraction, ρapp,NaCl is the apparent density of NaCl. t is the temperature (℃). c0-c4 are the fitted parameters [38].

The boundary conditions of the numerical model are as follows (the inlet volume flow rate and concentration of the HC and LC solutions):

$${C}_{HC}\left(0\right)={C}_{HC,in}, { Q}_{HC}\left(0\right)={Q}_{HC,in}$$
(25)
$${C}_{LC}\left(0\right)={C}_{LC,in}, { Q}_{LC}\left(0\right)={Q}_{LC,in}$$
(26)

In our previous work [39, 40], the maximum power of each calculation interval was considered to simplify the calculation. In this study, the output voltage and electric current are introduced as variables to model the RED stack more practically. The calculation process is depicted in Fig. 4. The simulation is carried out via Matlab. The ordinary differential Eqs. (19) - (22) are solved by the 4th order five-level Runge–Kutta algorithm. The particle swarm optimization (PSO) is a population-based stochastic approach inspired by flocking birds or fishes representing particles that sail across the problem’s hyperspace [41]. The method starts with the selection of random particles and the generations update iteratively to seek optimization. PSO is generally applicable to optimization problems of multiple local extrema without very high precision, and has widespread applications due to its advantages of simplicity and rapid convergence. The PSO algorithm is adopted to search for the optimal assigned I in Fig. 4 that maximizes the net power output of the serial control MSRED system, and the solver parameters are set as: particle population size of NPSO = 20, personal learning coefficient and social learning coefficient of c1 = c2 = 2, inertia coefficient of w = 0.6, and iteration counter of nPSO = 50.

Fig. 4
figure 4

The programming flow chart of MSRED

The validation of the present model is conducted under various concentration ratios. As shown in the Supplementary Information, a good agreement between the model calculation results and experimental data can be observed. In the studied MSRED system, each RED stack is equipped with 1000 cell pairs to simulate actual commercial applications. The effective size of a single IEM is 1 m × 0.1 m, where the flow channel length is 0.1 m [19, 26]. The operating flow rate across IEM has a significant effect on RED performance and is fixed to 1 cm·s−1, which was widely chosen in previous studies on RED [19, 21, 26, 42, 43] and showed great performance with a similar stack size. In addition, The low concentration is fixed at 50 mM according to relevant investigations [19, 25, 26, 42, 43]. The detailed input parameters of the MSRED system are shown in Table 1, and a wide range of concentration ratios (100, 80, 60, 40) are chosen to simulate different brine/freshwater pairs. Relevant membrane properties are listed in Table 2 [26].

Table 1 Parameters of the MSRED system
Table 2 Membrane properties [26]

2.2 Economic analysis

To assess the commercialization potential and feasibility of the serial control MSRED power plant, a complete technical–economic analysis model is developed to compute capital and operational expenditures and evaluate the LCOE and NPV, considering discount, depreciation and different regional tax and electricity price levels. The relevant factory capacity factors and financial parameters are given in Table 3 [29, 44].

Table 3 Financial parameters [29, 44]

2.2.1 Economic criteria

The net present value (NPV) and the levelized cost of electricity (LCOE) are the two main economic indicators to assess commercial viability [45]. NPV (€) is the difference between the discounted value of net cash flow generated by the plant and the present value of the original investment [44]. A larger NPV indicates a higher benefit for the plant. NPV can be calculated as follows:

$$NPV={\sum }_{i=1}^{t}\frac{{CFL}_{i}}{{(1+r)}^{i}}-CAPEX-{C}_{rep}+\frac{{(1-\beta )C}_{res}}{{(1+r)}^{t}}$$
(27)

where Crep is the total levelized cost of membrane replacement over the plant lifecycle (€) which can be calculated by Eq. (28), and the membrane replacement occurs at i = 10 and 20. CAPEX is the capital expenditure (€). i and t denote year and plant lifetime (y), respectively. r is the discount rate. Cres is the product of capital cost and the residual rate i.e., the fixed asset residual value (€). CFLi is the annual after-tax cash flow (€) computed by Eq. (29).

$${C}_{rep, i}=\frac{2nA{C}_{mem}N}{{\left(1+r\right)}^{i}}$$
(28)

where n is the number of stages of the MSRED system. A is the area of each membrane and electrode (m2). Cmem is the price of the membrane (€·m−2).

$${CFL}_{i}={CFL}_{i}^{0}-\beta {I}_{i}$$
(29)

where β is the corporate income tax rate. CFL0i and Ii are the pre-tax cash flow per year (€) and the taxable income per year (€), Which can be calculated by the following equations:

$${CFL}_{i}^{0}={C}_{e}{E}_{i}-OPEX$$
(30)
$${I}_{i}={CFL}_{i}^{0}-{C}_{dep}$$
(31)

where Ei is annual power generation (kWh), which can be calculated based on plant capacity factor and net power generation. OPEX is the operational expenditure (€). Cdep is the product of capital cost and the depreciation rate i.e., the annual depreciation value (€·y−1), representing tax-deductible gains. Ce is the selling price of electricity (€·kWh−1).

LCOE (€·kWh−1) represents the lowest electricity price at which a power plant can break even over its lifecycle. LCOE is the specific cost calculated after discounting the total investment and power generation during the plant lifecycle at a certain discount rate, i.e., the ratio of the present value of total costs to the present value of total power generation over the plant lifecycle [46], which can be calculated as:

$$LCOE=\frac{CAPEX+{C}_{rep}-\sum_{i=1}^{t}\frac{{C}_{dep}\beta }{{(1+r)}^{i}}+\sum_{i=1}^{t}\frac{OPEX(1-\beta )}{{(1+r)}^{i}}-\frac{{(1-\beta )C}_{res}}{{(1+r)}^{t}}}{\sum_{i=1}^{t}\frac{(1-\beta ){E}_{i}}{{(1+r)}^{i}}}$$
(32)

2.2.2 Capital expenditure

The capital expenditure (CAPEX) mainly includes the following components: 1) RED stack cost, 2) intake and outfall infrastructure cost, 3) pretreatment cost, and 4) other costs.

RED stack cost (€) is the main part of the capital expenditure and consists of membrane cost, electrode cost and spacer cost, which can be calculated as:

$${C}_{RED}=2nA({C}_{mem}N+{C}_{ele}+{C}_{spa}N)$$
(33)

where Cele and Cspa are the prices of electrode and spacer, respectively (€·m−2).

The intake and outfall cost depends on the actual application conditions, and different operating scenarios (e.g., seawater/river water, brine/brackish water) have different requirements for the intake and outfall infrastructure. Considering the high salinity gradient feed of the MSRED system, a factor equal to 0.35 is introduced to estimate the intake and outfall infrastructure cost (€) of the MSRED plant according to that of the reverse osmosis (RO) desalination plant [29, 47], which can be calculated as:

$${C}_{in/out}=0.35\times \frac{996}{2}{({Q}_{d})}^{0.8}$$
(34)

where Qd is the total inlet flow of the plant per day (m3·d−1).

The pretreatment cost (€) can be estimated as Ref. [5]:

$${C}_{pre}=1850{P}_{net}$$
(35)

where Pnet is the rated net power (kW).

The other costs include: 1) pump and piping costs, 2) inverter cost, and 3) civil and electrical infrastructure cost. The pump and piping costs (€) can be calculated based on the market prices of components with different specifications and capacities according to the following equations [48]:

$${C}_{pump}=900{\left({P}_{pump}/300\right)}^{0.25}$$
(36)
$${C}_{pip}=(0.897+0.21{d}_{pip}){L}_{pip}$$
(37)

where Ppump is the pumping power (W). dpip and Lpip are the pipe diameter and length (mm) based on the specific flow rate and stage number.

According to the market research for both single-phase and three-phase inverters [29], the inverter cost (€) is given as a function of gross power (kW):

$${C}_{inv}=536.96{({P}_{gross})}^{-0.408}$$
(38)

The civil and electrical infrastructure cost is fixed at 250 €·kW−1 referring to the gross power output [29].

2.2.3 Operational expenditure

The operational expenditure (OPEX) includes the operational and maintenance cost, the pumping cost, and the membrane replacement cost. The annual fixed operating cost (€·y−1) is assumed to be 4% of the capital cost for the MSRED plant based on the economic structure of the reverse osmosis desalination plants [49]. The membrane replacement cost depends on the lifetime, quantity, and area of the membranes, where the membrane lifetime is assumed to be 10 years and the related cost is described in the previous section.

Here the economic indicators and the cost of power generation at different regional tax and electricity price levels are analyzed to assess the commercialization potential and feasibility of the MSRED plant. The relevant parameters of different regions are listed in Table 4, the electricity price is collected in the ENTSO-E transparency platform [50] and the average historical electricity price throughout the year is used, and the corporate income tax rate is available in the Trading Economics platform [51].

Table 4 Regional parameters [50, 51]

3 Results and discussion

In this section, the performance of serial control MSRED is first investigated, and the optimal serial stages rendering to the optimal maximum net power operation condition are identified by the PSO method. Then a complete technical–economic analysis model is adopted to analyze the power generation performance, LCOE, and NPV of the serial control MSRED system. The influences of stage count, salinity gradient, regional tax, and electricity price are systematically analyzed.

3.1 Performance of serial control MSRED

To assess the influence of variable flow channel lengths, the performance under different system configurations is systematically investigated. As shown in Fig. 5A, Cases 1–4 are serial control MSRED systems with various effective IEM sizes, while Case 5 is a system of 10 separate stacks with parallel flow distribution. Each stack is equipped with 1000 cell pairs with the same total membrane area and total volume flow rate. For each case, 4 M/0.05 M solution pairs are applied and the optimal net power is obtained by the PSO method. Figure 5B shows the net power and energy efficiency of different systems and the contribution of each RED stack. The current and total voltage for each case is listed in Table 5. Figure 5B indicates that multiple shorter stacks can generate more power than a single stack with the same equivalent membrane area, showing great accordance with Ref. [31]. The greatest net power output and energy efficiency are obtained in Case 4. The contribution of each RED pair regarding net power output decreases with increasing stage numbers. Therefore, the RED stack of 1 m × 0.1 m is adopted for further analysis in the performance and economics of the serial control MSRED system, and the corresponding solution concentration of each stage in Case 4 is reported in Supplementary Information.

Fig. 5
figure 5

A Different system configurations; B Net power and energy efficiency under different cases

Table 5 The current and total voltage for each case

Subsequently, the performance of the MSRED system with different serial stages for harvesting various salinity gradient sources is investigated. Figure 6 shows the variations of the net power output and hydraulic loss of the MSRED system with the number of serial stages under the maximum net power output conditions. The gross power increases rapidly with the increasing stage numbers as a larger stage number means a larger area of IEMs, which contributes to the transmembrane ion transportation and more completed extraction of the SGE. The transmembrane concentration difference decreases along the flow direction, leading to decreased inlet salinity gradient of downstream RED stacks, thus weakening the increased magnitude of the gross power at larger stage numbers. During the RED process, the transmembrane ion and water fluxes present no obvious effect on the solution volumes in the HC and LC compartments. Therefore, the hydraulic loss of each stack keeps almost the same and the total pump power of the system increases linearly with stage numbers. The net power output of the MSRED system increases first with increasing stage numbers, reaches the maximum value, then decreases. This phenomenon was also reported in Refs. [26, 43]. The optimal stage number increases with increasing feed solution concentrations since more RED stacks are required for efficient energy conversion with larger concentration gradients available. For 5 M/0.05 M solutions, the system generates a maximum net power of 4.98 kW and consumes a pump power of 2.10 kW at n = 12; For 4 M/0.05 M solutions, the system generates a maximum net power of 4.14 kW and consumes a pump power of 1.77 kW at n = 11; For 3 M/0.05 M solutions, the system generates a maximum net power of 3.15 kW and consumes a pump power of 1.34 kW at n = 9; For 2 M/0.05 M solutions, the system generates a maximum net power of 2.04 kW and consumes a pump power of 0.98 kW at n = 7.

Fig. 6
figure 6

Variations of the net power output and hydraulic loss of serial control MSRED system with stage numbers under the maximum net power output conditions. A CHC/CLC = 5 M/0.05 M; B CHC/CLC = 4 M/0.05 M; C CHC/CLC = 3 M/0.05 M; D CHC/CLC = 2 M/0.05 M

Figure 7 shows the variations of the energy efficiency of the MSRED system with the number of serial stages when operating at the maximum net power output conditions. At the given solution concentration and flow rate, the Gibbs free energy is certain. Thus, the total energy efficiency presents the same trend as the net power output under various stage numbers. As shown in Fig. 8, the energy efficiency increases first with increasing stage numbers, reaches the maximum value, and then decreases. At small stage numbers, lower feed solution concentration renders higher energy efficiency due to less Gibbs free energy of mixing consumed. At larger stage numbers, due to significantly decreased net power output at lower feed solution concentration, the energy efficiency is significantly hindered. The optimal stage number of the serial control MSRED system increases with increasing feed solution concentrations. For 5 M/0.05 M solutions, the maximum system energy efficiency of 31.36% is achieved at n = 12; For 4 M/0.05 M solutions, the maximum energy efficiency of 32.99% is achieved at n = 11; For 3 M/0.05 M solutions, the maximum energy efficiency of 34.27% is achieved at n = 9; For 2 M/0.05 M solutions, the maximum energy efficiency of 34.73% is achieved at n = 7. Although lower feed solution concentration leads to higher energy conversion efficiency, it results in decreased maximum net power output. Energy efficiency is associated with various factors such as flow rate, RED stack configuration, and IEMs performance. Adjusting operational conditions and utilizing alternative upgraded IEMs may enhance the efficiency of the MSRED system in extracting salinity gradients from high salinity feed scenarios.

Fig. 7
figure 7

Variations of energy efficiency of serial control MSRED system with stage numbers under the maximum net power output conditions

Fig. 8
figure 8

Variations of output voltage and power of serial control MSRED system with electric current. A CHC/CLC = 5 M/0.05 M, n = 12; B CHC/CLC = 4 M/0.05 M, n = 11; C CHC/CLC = 3 M/0.05 M, n = 9; D CHC/CLC = 2 M/0.05 M, n = 7

Figure 8 shows the polarization and power curves of the MSRED system under the maximum net power condition for each evaluated high-salinity concentration. The output voltage of the MSRED system decreases as the load current increases in a nonlinear trend since the variation of the solution concentration in HC and LC compartments is significantly impacted by the external electrical current, which can result in subtle changes in the internal resistance of the MSRED system. The LC compartment resistance accounts for a large proportion of the total stack resistance. According to Eqs. (17)- (18), the ionic and water fluxes across membranes increase as the current increases, promoting the solution concentration balance and enhancing the conductivity of the LC solution, thus leading to a gradual decrease in the total stack resistance and the slope of the polarization curve. The gross and net power of the MSRED system increase with increasing current, reach their maximum values, then decrease, which has also been reported in Refs. [21, 24, 25]. The larger current will lead to a rapid decrease in the salinity gradient, thus weakening the output performance of downstream stacks and even resulting in energy loss due to the phenomenon of electrodialysis. There exists an optimal output current leading to the maximum net power output. Figure 9 shows the variations of output voltage and load current with the number of RED stacks for each high salinity concentration under maximum net power conditions. As the stage number increases, the optimal current decreases meanwhile the corresponding total voltage increases. Higher feeding concentration renders larger output voltage and current due to more salinity gradient available.

Fig. 9
figure 9

Variations of output voltage and load current with stage numbers under maximum net power conditions. A CHC/CLC = 5 M/0.05 M; B CHC/CLC = 4 M/0.05 M; C CHC/CLC = 3 M/0.05 M; D CHC/CLC = 2 M/0.05 M

3.2 Economic analysis

3.2.1 Levelized cost of electricity

The LCOE is typically used in cross-comparison with established conventional and renewable energy to assess the power generation potential and market competitiveness. LCOE of the MSRED system is influenced by the system scale and feed solutions at a given membrane unit price and discount rate level. A larger stage number augments the effective membrane area thus enhancing energy production and energy efficiency. However, it leads to higher equipment costs. Figure 10 shows the variations of LCOE of the serial control MSRED system with stage numbers at different regional tax and electricity price levels under the maximum net power output conditions. Higher feed solution concentration can significantly decrease the system LCOE. The LCOE first decreases with increasing stage numbers, reaches its minimum value, then increases. At small stage numbers, lower net power generation hinders the LCOE. Increasing the stage numbers significantly improves the annual power generation, which decreases the LCOE. At larger stage numbers, augmenting stage numbers induces a significant increase in capital cost. The marginal growth in annual production is insufficient to cover the capital expenditure, resulting in increased LCOE. The lowest LCOE occurs at n = 3 due to the compromise between net power generation and capital cost, while the corporate tax rate and high-salinity concentration present no obvious contribution to the optimal stage number. The LCOE decreases with increasing feed solution concentrations due to augmented net power generation, which is in accordance with Ref. [29]. This decreasing trend weakens at higher concentrations since LCOE is mainly influenced by power generation when the stage number is fixed according to Eq. (32). Larger power generation leads to a smaller value of LCOE. Therefore, the differences in LCOE become less significant as the concentration increases. As shown in Fig. 10A, in Germany, for 5 M/0.05 M solutions, the lowest system LCOE is 0.061 €·kWh−1; For 4 M/0.05 M solutions, the lowest system LCOE is 0.067 €·kWh−1; For 3 M/0.05 M solutions, the lowest system LCOE is 0.076 €·kWh−1; For 2 M/0.05 M solutions, the lowest system LCOE is 0.097 €·kWh−1. The lowest LCOEs under the studied solution concentrations are all lower than the actual electricity price benchmark, which indicates that the serial control MSRED plant presents considerable commercial competitiveness when determining reasonable construction scale and operating conditions.

Fig. 10
figure 10

Variations of LCOE of serial control MSRED system with stage numbers at different regional tax and electricity price levels under the maximum net power output conditions. A Germany; B France; C Italy; D Spain

3.2.2 Net present value

The NPV is an economic indicator that reflects the profitability of the MSRED system, containing funds and net cash flow over the plant lifecycle thus evaluating the economic feasibility. At a specific discount rate, NPV depends on multiple factors such as the corporate income tax rate, electricity price, MSRED plant scale, and annual power generation. Figure 11 shows the variations of NPV of the serial control MSRED system with stage numbers at different regional tax and electricity price levels under the maximum net power output conditions. The NPV over the system lifecycle is positively correlated with the feed solution concentration. With the increase of stage numbers, the NPV increases first as enlarging the scale of the MSRED system can significantly increase the electricity sales revenue despite the higher corresponding investment cost. Large stage numbers lead to decreased NPV as the slight growth in annual production is insufficient to offset the increased capital expenditure, especially at lower feed solution concentrations. Negative NPVs exist at larger stage numbers, indicating that the system cannot achieve the expected revenue. The peak value of NPV is significantly affected by the selling price of electricity. As shown in Fig. 11, for 5 M/0.05 M solutions, the highest NPV over the system lifecycle of 52,005 € is obtained at n = 8 in Germany; the highest NPV over the system lifecycle of 73,413 € is obtained at n = 8 in France; the highest NPV over the system lifecycle of 90,487 € is obtained at n = 9 in Italy; the highest NPV over the system lifecycle of 34,256 € is obtained at n = 7 in Spain. Figure 11 also shows that the NPV increases with increasing feed solution concentrations due to augmented net power generation. For example, in Germany, the optimal stage numbers are 4, 5, 7, and 8, respectively, under the involved concentration ratios.

Fig. 11
figure 11

Variations of NPV of serial control MSRED system with stage numbers at different regional tax and electricity price levels under the maximum net power output conditions. A Germany; B France; C Italy; D Spain

Figure 12 shows the variations of the annual revenue of serial control MSRED system at the minimum LCOE and maximum NPV conditions. There is a slight decline in the net revenue in years 11 and 21 since the membrane lifetime has been reached and the membrane replacement cost computed by Eq. (27) raises the maintenance cost. This phenomenon is more prevailing under the maximum NPV condition. The turning point for a positive NPV increases with decreasing feed solution concentrations. At the maximum NPV condition, the earnings over the system lifecycle are higher than that at the minimum LCOE condition. However, this difference gradually narrows as the feed solution concentration decreases since the stage numbers corresponding to the optimal NPV and optimal LCOE are the same.

Fig. 12
figure 12

Variations of the annual revenue of serial control MSRED system at the minimum LCOE and maximum NPV conditions under the maximum net power output conditions. A Germany; B France; C Italy; D Spain

3.2.3 Impacts of regional tax and electricity price

Here the serial control MSRED system is fed with 4 M/0.05 M solutions. Figure 13 illustrates the variations of LCOE of the serial control MSRED system with stage numbers at different regional tax levels and tax uncertainty range. The tax has relatively little impact on LCOE at a single stage. However, the effect of the tax variation on LCOE gradually strengthens as the scale of the MSRED system extends. Figure 14 shows the variations of NPV of the serial control MSRED system with stage numbers at the tax rate uncertainty interval of different regions. The effect of the tax variation on NPV over the system lifecycle becomes more significant when the scale of the MSRED system is closer to that at the maximum NPV. The fluctuation of NPV is more obvious at a higher tax rate. Figure 15 shows the variations of NPV of the serial control MSRED system with stage numbers at the electricity price uncertainty interval of different regions. The electricity price has a significant impact on NPV over the system lifecycle. The effect of the electricity price change on NPV gradually strengthens as the scale of the MSRED system is enlarged. The fluctuation of NPV is more remarkable at a higher electricity price level. Lower tax and higher electricity price can significantly accelerate the commercial competitiveness of the MSRED systems.

Fig. 13
figure 13

LCOE at different regional tax levels and tax uncertainty range under maximum net power output conditions: Germany: β = 0.3; France: β = 0.265; Italy: β = 0.24; Spain: β = 0.25

Fig. 14
figure 14

NPV at different regional tax levels under the maximum net power output conditions. A Germany; B France; C Italy; D Spain

Fig. 15
figure 15

NPV at different regional electricity price levels under the maximum net power output conditions. A Germany; B France; C Italy; D Spain

4 Conclusions

In this study, an improved mathematical model of the MSRED system under serial control strategy is proposed, which considered the changes of volume flow rate and concentration-depended density along the flow direction. Based on the proposed model, particle swarm optimization is adopted to identify the maximum output power situations under various serial stages and salinity gradient sources. And a complete technical–economic analysis is conducted with considering discount, depreciation and different regional tax and electricity price levels. The main findings are listed below:

  1. (1)

    The serial control MSRED system presents much greater output power and energy efficiency compared to a single-stage RED stack. The net power output and energy efficiency of the MSRED system increase first with increasing stage numbers, reach their maximum values, then decrease. The optimal stage number corresponding to maximum net power output increases with increasing feed solution concentrations. For 5 M/0.05 M solutions, the optimal net power output of 4.98 kW is available at n = 12; For 2 M/0.05 M solutions, the optimal net power output of 2.04 kW is available at n = 7.

  2. (2)

    Higher feed solution concentration can significantly decrease the system LCOE. The LCOE first decreases with increasing stage numbers, reaches its minimum value, then increases. Due to the compromise between net power generation and capital cost, the lowest LCOE occurs at n = 3. For 5 M/0.05 M solutions, the lowest system LCOE of 0.061 €·kWh−1 is obtained in Germany.

  3. (3)

    The NPV increases first with increasing stage numbers, reaches the maximum value, and then decreases. The optimal stage number corresponding to the maximum NPV increases with increasing feed solution concentrations. In Germany, for 5 M/0.05 M solutions, the highest NPV over the system lifecycle of 52,005 € is obtained at n = 8; For 2 M/0.05 M solutions, the highest NPV over the system lifecycle of 13,463 € is obtained at n = 4.

  4. (4)

    Lower tax, higher electricity price, appropriate membrane price (lower than 4 €·m−2) and high salinity gradient sources (e.g., brine/freshwater) can significantly accelerate the commercial competitiveness of the MSRED systems. For 5 M/0.05 M solutions, with the reduction in tax rate from 0.3 to 0.24 and the increase in electricity price from 228.131 €·kWh−1 to 302.653 €·kWh−1, the optimal LCOE and NPV are increased by 5.3% and 74.0%, respectively.

This paper could serve as guidance for the design and operation of the MSRED system for actual applications. It should be also addressed that there is room for further improvement in many aspects. As membrane-base technologies, Membranes are crucial items in the MSRED system, further efforts by researchers and manufacturers are needed to enhance their performance at an affordable cost. Improving membrane lifespan and system maintenance deserves in-depth research. Stable and reliable SGE sources are also important for the operation of the MSRED system. Employing the MSRED system for efficient SGE extraction could contribute to the transformation of the global energy structure and facilitate the replacement of traditional fossil fuels with “blue energy”, thus to reduce greenhouse gas emission and alleviate the induced environmental issues in the fossil energy utilization process. In addition, coupled technological, economic and environmental assessments should be conducted to evaluate the commercial competitiveness of the MSRED system under different scenarios.