Evaluation of the Economic and Environmental Performance of Low-Temperature Heat to Power Conversion using a Reverse Electrodialysis – Multi-E ﬀ ect Distillation System

: In the examined heat engine, reverse electrodialysis (RED) is used to generate electricity from the salinity di ﬀ erence between two artiﬁcial solutions. The salinity gradient is restored through a multi-e ﬀ ect distillation system (MED) powered by low-temperature waste heat at 100 ◦ C. The current work presents the ﬁrst comprehensive economic and environmental analysis of this advanced concept, when varying the number of MED e ﬀ ects, the system sizing, the salt of the solutions, and other key parameters. The levelized cost of electricity (LCOE) has been calculated, showing that competitive solutions can be reached only when the system is at least medium to large scale. The lowest LCOE, at about 0.03 € / kWh, is achieved using potassium acetate salt and six MED e ﬀ ects while reheating the solutions. A similar analysis has been conducted when using the system in energy storage mode, where the two regenerated solutions are stored in reservoir tanks and the RED is operating for a few hours per day, supplying valuable peak power, resulting in a LCOE just below 0.10 € / kWh. A life-cycle assessment has been also carried out, showing that the case with the lowest environmental impact is the same as the one with the most attractive economic performance. Results indicate that the material manufacturing has the main impact; primarily the metallic parts of the MED. Overall, this study highlights the development e ﬀ orts required in terms of both membrane performance and cost reduction, in order to make this technology cost e ﬀ ective in the future.


Introduction
There are very large amounts of waste heat that remain unexploited all over the world. It is estimated that in the EU industries alone, the recoverable part of that heat is about 300 TWh/year [1]. The main focus is on industrial waste heat that is mostly available at a temperature of over 100 • C and represents a significant fraction of the total. Various technologies are developed to exploit this heat and convert it into useful energy, with the main concepts dealing with the production of power/electricity [2] or upgraded heat [3]. Especially, the heat-to-power concept has attracted most of the attention [4], with

RED-MED Configurations and Performance Analysis
The initial performance calculations assume that the system uses commercially available IEMs. The permselectivity, electrical resistance, salt permeability, and water permeability of the specific membranes considered (reference values) have been presented as a function of the temperature in Ref. [21]. In this initial calculation, a large number of MED effects is considered, since the aim was to maximize the thermal efficiency of the heat engine.
In order to examine different cases that affect the financial and environmental impacts, a variety of configurations have been considered, as follows: • The use of improved IEMs in the RED stack, referred to as "high-performing" membranes, whose properties are reported in Table 1 and are in line with several high-performing IEMs available in the market [16].

•
The use of a lower number of effects in the MED process, reducing from 24 (best performing case for NaCl salt and reference IEMs presented in Ref. [21]) to six (lowest LCOE achieved). This decreases the thermal efficiency, requiring more heat for generating the same amount of electricity. At the same time, it also reduces the surface of the heat exchangers (HEX) of the MED for producing the same amount of electricity. This is beneficial for both the system cost [14] and the environmental performance, by using less metallic materials (e.g., copper and nickel) that have significant environmental impact. Reducing the number of effects below six has been considered in the simulations, but it was observed that for an even lower number of effects, the LCOE starts increasing again. This is because after a certain point the loss of efficiency starts counterbalancing the saving on material cost, leading to an optimum at around six effects (depending on the size of the system, but usually in the range of 5-7).

•
The use of KAc-water solutions as an alternative working fluid to NaCl-water solutions.

•
The operation of the RED stack at elevated temperature (reheating option) up to 80 • C, for improving the system efficiency [8]. Table 1. Properties of the high-performing membranes.

Property Value
Electrical resistance, R av (Ω·cm 2 ) 1/8 of reference value Permselectivity, α av (-) 98% Salt permeability, P s (m 2 /s) 1/4 of reference value Water permeability, P w (m/(Pa·s)) 1/4 of reference value The combination of these alternative options together with the initial reference case add up to a total of six RED-MED configurations considered in this work. An overview is provided in Table 2, all supplied with waste heat at a temperature of 100 • C. Further details of the IEM types with their properties are provided in Ref. [21]. High-performing 6 NaCl 25 4 High-performing 6 KAc 25 5 High-performing 6 KAc 50 6 High-performing 6 KAc 80 For each of these configurations, the system performance has been calculated for a single RED stack, with 1000 cell pairs and a surface of 0.25 m 2 per membrane. The full technical analysis, description of the model used, and results are provided in Ref. [21]. An overview of the system's performance parameters with one stack for each configuration/case are provided in Table 3. These results are used as input in the cost analysis model to perform the LCOE calculations. The thermal efficiency is defined as the ratio of net power production to the heat input, including the heating of the solutions entering the stacks for cases 5 and 6. Table 3. Performance parameters of all configurations/cases with one RED stack [21]. The high-performing membranes bring more than a three-fold power production increase, and the use of KAc instead of NaCl accompanied by the reheating option greatly increases the thermal efficiency, reaching a value of 5.5%. This value is similar or even slightly higher compared to the ORC technology for the same heat source temperature of 100 • C [29][30][31]. The thermal efficiency of the RED-MED system under cases 5 and 6 can be increased further, reaching values of about 10%, as presented in Ref. [21], for a high number of MED effects. This high-efficiency option is examined further in Section 5.4. For comparison, the Carnot efficiency for these temperatures is 20.1%.

Configuration/Case
For all configurations examined, a thorough cost analysis has been conducted based on the methodology presented in Section 3. These results are presented in Section 5 and are supported with an LCA described in Section 4, in order to evaluate this technology from an environmental impact perspective.

Overview of the Methodology
The economic analysis of the RED heat engine is based on the calculation of the levelized cost of electricity, which provides a reliable way of estimating the potential of various power production technologies [32]. The LCOE is calculated from Equation (1).
where t refers to the year, with t = 0 representing the start of the plant construction requiring one whole year, n is the plant lifetime, I t are the investment expenditures (capital costs) in the year "t", M t are the running costs (fixed and variable) in the year "t", r is the discount rate, and E t is the electricity generation (in kWh) in the year "t", calculated according to the capacity factor and the net power production.
The parameters considered for the cost analysis and included in Equation (1) are given in Table 4, according to assumed financial conditions for discount rate and cost factors of power plants. A capacity factor of 90% (percentage of operating hours during a year) was considered for the calculation of the electric energy generation of the RED unit. A variable IEM specific cost is used, with its upper limit (30 €/m 2 ) corresponding to current prices, and its lowest value is 1 €/m 2 . This extremely low value is used in order to examine the complete potential, although a more realistic target would be to expect the IEM costs to fall in the range of 5-10 €/m 2 when the technology further develops and the full benefit of economies of scale can be achieved at industrial membrane production sites. The MED specific cost reduction is a parameter that is added for taking into account possible future cost reductions of this technology, as explained later in Section 3.2.2. Finally, the IEM lifetime is considered in all cases to be 10 years. This is a reasonable assumption, based on the fact that artificial (clean) solutions are used in a closed loop configuration. In any case, reducing the lifetime of the IEMs to 5 years (50% reduction) would increase the LCOE by less than 10% for the highest IEM specific cost. For the lowest IEM specific cost, this LCOE increase is negligible.

Capital Costs
The capital costs of the system include (i) the RED stacks capital cost, (ii) the MED capital cost, and (iii) other capital costs required to operate the system. The main contributions to the total capital cost (CAPEX) derive from the RED stacks and the MED unit. These costs are presented next, together with the other (minor) costs, leading to the specific capital cost expressed in €/kW e of net capacity.

RED Stack Capital Cost
A variable IEM specific cost is introduced in the calculations (see Table 4) in order to identify the cost ranges, which can make this technology financially viable. These ranges are very wide, in order to identify the targeted future specific costs.
In addition to the IEMs, the cost of the stacks and the electrodes are taken into account. Their current specific cost has been considered to be 15.5 €/m 2 of membrane surface, equal to 51.7% of the current membrane cost (assuming a stack size of 1000 cell pairs with 0.25 m 2 membrane surface). This fraction is kept constant in this work, since the cost reduction of the stacks and electrodes is expected to follow a similar trend to the cost reduction of the IEMs.

MED Capital Cost
The MED specific capital cost (C MED ) is calculated based on a detailed correlation that has been developed by some of the authors recently [14], and takes into account the heat source temperature, number of effects, and scale. Its simplified expression is given by Equation (2).
where D is the distillate flow rate in m 3 /day, f HEX is the cost contribution of the heat exchangers to the MED cost equal to 40% [33], N and T are the number of effects and the temperature of the external heat source of the MED, while N ref and T ref are the reference number of effects equal to 8 and the reference temperature of the heat source equal to 70 • C respectively. This correlation provides the MED capital cost for desalination applications. However, some components of the desalination plants are not used in the current configuration, such as the intake and outfall infrastructure (the RED-MED system operates in a closed-loop), reducing the MED cost by 35%, according to Sommariva [33].
A cost reduction of MED units is possible in the future because of technology developments, such as the use of advanced manufacturing process for the heat exchangers and the possible use of polymeric composite materials for the tubes [34]. In order to introduce all the above in the calculations, a (variable) cost reduction fraction of MED is included in the methodology, which decreases its current capital cost by values of up to 50%.

Other Capital Costs
Other relevant costs include the capital expenditure for pumps, inverter, piping, civil & electrical infrastructure, and other minor costs (e.g., salt cost). The pump and piping costs are calculated according to Ref. [2], while the inverter specific cost (C inv ) is given as a function of gross power production (P g ) according to a market research for both single-phase and three-phase inverters, using Equation (3).
The civil and electrical infrastructure costs are calculated using a specific value of 250 €/kW e of net power production [35].

Operating and Maintenance Costs
The operating costs (O t ) are estimated as a function of the net power production (in €/kW/year), equal to: O t = 4000(P net ) −0.5 , after processing the reported (fixed) operating costs of renewable energy and waste heat recovery power systems [36,37]. The maintenance costs include the IEM's replacement for materials (using the same IEM specific cost and a lifetime of 10 years, see Table 1) and the associated labor cost. The sum of these three costs is considered as the OPEX of the plant. The RED heat engine exploits waste heat; therefore, no additional cost exists relevant to the heat/fuel supply.

Additional Capital Costs in Energy Storage Mode
The system configuration can be adjusted to operate in an energy storage mode for supplying peak power. This is possible by including two reservoir tanks for storing the two solutions of low and high concentration after they are regenerated in the MED unit, and another two for the return, as shown in Figure 1. The size of these tanks is varied to store the necessary quantities, according to a parameter that expresses the time fraction that the RED stacks operate and produce power (100% at continuous operation, less than 100% at energy storage mode). Therefore, the capacity of the RED stacks is increased proportionally in this mode, while the MED unit operates continuously (as long as waste heat is available). A very important feature of this technology is that it shows no losses of its storage efficiency, as with many other storage systems, since the potential energy is stored in the form of salinity difference between the two solutions in the tanks.

251
For analyzing the cost effectiveness of this mode, the same approach is followed as presented in the results of a recent study [38], as shown in Figure 2.

259
These results have been fitted for the production of a correlation with R 2 approaching unity,  For analyzing the cost effectiveness of this mode, the same approach is followed as presented in the previous sections. The amount of working fluid and salt increase accordingly, having a negligible effect on the capital cost. The main additional cost introduced in this mode, apart from the increased RED cost because of its larger capacity, is the tanks' cost (four tanks in total). The specific cost of these storage (reservoir) tanks (C tank ) is estimated as a function of their storage capacity (Q c ) according to the results of a recent study [38], as shown in Figure 2.

251
For analyzing the cost effectiveness of this mode, the same approach is followed as presented in the results of a recent study [38], as shown in Figure 2.

259
These results have been fitted for the production of a correlation with R 2 approaching unity,

268
the presentation has been summarized for fitting the paper structure, including the scope of the study These results have been fitted for the production of a correlation with R 2 approaching unity, given by Equation (4).
This correlation is included in the cost analysis model for calculating the cost of the storage tanks of the solutions.

Overview of the Methodology
This part of the work has been carried out adhering to the International Standard EN ISO 14044:2006 [39] presenting the four standard phases: (i) definition of goal and scope; (ii) life cycle inventory analysis; (iii) life cycle impact Assessment; and (iv) life cycle interpretation. In this work, the presentation has been summarized for fitting the paper structure, including the scope of the study and main assumptions in Section 4.2 and the main results in Section 5.
The methodology proposed by Gerber et al. [40] was adopted here. The main improvement of that approach compared to standard LCAs is that the flows of the LCA model are expressed as functions of the technical parameters (e.g., number of MED effects, salt used) allowing us to easily study how the impacts when changing the system design or operating conditions. This approach has been implemented within a model developed in GaBi software [41].

Scope of the Study, Assumptions, and Limitations
The functional unit is the net electric energy generated by the RED-MED system equal to 1 kWh. Within the boundaries, all components of the RED-MED system are included. The industrial unit that provides the waste heat or any other equipment that is needed to provide the heat is outside the boundaries of this study. Similarly, the end-user of the generated electricity is outside the boundaries, as the purpose is to compare different design configurations of the RED-MED system and to identify the best configuration in terms of environmental impact.
According to Turconi et al. [42], the most important impact categories for electricity generation technologies are: global warming, eutrophication, and acidification. For this reason, these were the three impact categories selected to be included in the current study.
The company REDstack provided the bill of materials required for constructing one RED stack. Linear scaling was assumed, which is reasonable since these stacks are modular, i.e., for larger systems more stacks are used rather than larger stacks. The company FUJIFILM provided the bill of materials used for the Ion Exchange Membranes and the electricity required for their production. Literature references have been used to fill in some gaps in the bill of materials for the overall system, such as for the MED unit, using data from Raluy et al. [43]. The GaBi database was used for the resources and the emissions associated with the extraction and processing of the raw materials required as input for the components of the RED-MED system.
It is assumed that large amounts of waste heat at 100 • C are available and there are no environmental impacts associated with them (e.g., no additional fuel is used). There is no specific location or end-user defined. The following limitations/value choices were made in this study:

•
The energy required for the assembly of the MED unit was ignored because of lack of data, but the assembly is only a small fraction of the energy required to manufacture the materials.

•
The following materials were ignored, following a cut-off rule, because their mass is less than 0.3% of the total system mass: water (0.4 kg) and salt (0.07 kg) forming the working fluid, and the titanium (3.2 kg) used for the electrodes. These quantities are scaled per stack.

•
The mass of platinum used in the electrodes (0.04 kg) is very low compared to the total system mass. The cut-off rule cannot be applied as platinum is a critical and scarce resource. However, no data was available; therefore, it was ignored. This is a limitation that has to be addressed in future research.

•
The Poly(diallyldimethylammonium chloride) used for the cation exchange membrane (CEM) was ignored as no data was available for its manufacturing. But in most cases examined, the total mass was below the 1% of the total system mass, so the impact of ignoring it is negligible.
The different cases studied are discussed in Section 2. The resulting life cycle inventory analysis for each examined case was used in the RED-MED process, which is part of the GaBi model. The relevant figures are presented in Appendix A.
In addition to the main RED-MED process, a number of auxiliary processes were introduced in the GaBi model. For all pumps, the predefined GaBi processes were used, allowing to fully account for the material used for the pump construction (the energy used by the pumps during operation has been included as internal consumption in the RED-MED process). An inverter has also been included as a separate process; the data regarding the materials are taken from Ref. [44]. An "empty" process was also introduced for splitting the AC electricity that is provided by the inverter to the part that is used to power the internal requirements of the RED-MED system, while the rest is the net electricity generated that is provided to the end-user, which is scaled to the functional unit of 1 kWh.
In addition to these processes that are directly associated with the operational phase of the system, there are separate processes included that are associated with the production of the materials required for the construction of the system, their transportation to the site they are used, and then similarly, separate processes for their transportation after the heat engine's end-of-life and for their disposal. For all of these, standard processes have been selected from the GaBi software. All transportation processes (from production to use and from use to end-of-life) are was assumed to take place by trucks fueled by diesel and all distances were set as 600 km. Landfill disposal was assumed for all materials to account for the end of life phase.

RED-MED Systems
The methodology takes into account the scale of the system. The system scale is sized to match the heat input of 0.5, 5, and 50 MW th (small, medium, and large respectively), resulting in a different net power production and number of RED stacks for each configuration, given in Table 5. The number of stacks is rounded to match as closely as possible the full use of the heat value to the reference ones. For each case, the relative contribution of the RED and MED costs on the LCOE are examined. This contribution is shown in Table 6 for a medium-scale system (heat input of 5 MW th ) when using an IEM specific cost of 30 €/m 2 and without any MED cost reduction.
The use of 24 MED effects for case 1 greatly increases the HEX surface, associated with a very high MED specific cost. This is beneficial for the thermal efficiency, but introduces a much larger MED unit, contributing to 64% of the total system capital cost. The other costs become important only for cases 5 and 6, partly due to the additional heat exchangers for reheating the two solutions (with surfaces of 6.2 and 29.3 m 2 for these two cases respectively). For these two cases, the large contribution of the MED cost is because the RED stacks work very effectively and each stack can process a large amount of heat input, increasing the thermal efficiency, as shown in Table 3. On the other hand, cases 2-4 show a similar break-down with all cases having six MED effects. The results for the first two cases (with reference membranes) are presented in Section 5.2 and the results with the high-performing membranes (cases 3-6) are presented in Section 5.3. The most promising configuration is selected and further detailed results are presented for this in Section 5.4, including the increase of the number of MED effects reaching maximum thermal efficiency of about 10%. In Section 5.5, the operation of the optimal configuration in storage mode is explored. Finally, the life cycle assessment of the six configurations is presented in Section 5.6.

LCOE with Reference Membranes
The LCOE values are evaluated for power plants operating in continuous mode and with a variable heat input. By considering an IEM specific cost of 30 €/m 2 and without any MED cost reduction, the resulting LCOE for cases 1-2 with reference membranes is given in Table 7. For a small system, the use of 24 MED effects (case 1) brings a lower LCOE than with a similar system with six MED effects (case 2). This is because with the 24 effects, a higher water flow is reached out of the same amount of heat, and hence a higher MED and RED capacity compared to case 2. For these small sized MED units, the effect on the cost of the higher capacity is stronger than the effect on the cost of the higher heat exchanger surface, leading to lower specific capital costs for the MED of case 1. However, this trend is reversed for the medium and large systems, in which the MED unit is large enough and the effect of the economies of scale is weaker, with the effect of the higher heat exchanger surface playing a decisive role. In any case, the use of reference membranes leads to high LCOE values of 1.36 €/kWh in the best case, with a specific capital cost exceeding 100,000 €/kW e . The next sections further examine cases 1-2, taking into account possible future reductions in the cost of membranes, stacks, and MED units.

Effect of IEM Specific Cost on the LCOE with Reference Membranes
The LCOE as a function of the IEM specific cost is presented in Figure 3 for the two configurations with reference membranes (cases 1-2) and for variable heat input.

377
The reduction of the IEM specific cost brings a lower LCOE value; however, reducing the RED 378 capital costs by a factor of 30 reduces the LCOE only by 2-3 times. As the scale of the system increases 379 from the small to the large system size, the LCOE rapidly decreases by 2-5 times. This is mostly 380 attributed to the MED cost, since its verified capital cost correlation [14] takes into account its size.  The reduction of the IEM specific cost brings a lower LCOE value; however, reducing the RED capital costs by a factor of 30 reduces the LCOE only by 2-3 times. As the scale of the system increases from the small to the large system size, the LCOE rapidly decreases by 2-5 times. This is mostly attributed to the MED cost, since its verified capital cost correlation [14] takes into account its size.
Still, even in the most favorable future cost scenarios, the LCOE remains at the levels of 0.45 €/kWh or higher, with the specific capital cost reducing to about 49,000 €/kW e . These values are far from being competitive, leading to payback periods longer than the plant's lifetime.

Effect of the MED Cost Reduction on the LCOE with Reference Membranes
Next, the effect of the MED capital cost reduction compared to current prices (from 0 up to 50%) on the LCOE is examined to account for future developments in this field, while keeping a constant IEM specific cost of 30 €/m 2 . This effect is presented in Figure 4 for the two configurations with reference membranes and for a variable heat input.

392
The effect of the MED cost reduction is more pronounced in the configuration with 24    The effect of the MED cost reduction is more pronounced in the configuration with 24 MED effects (case 1), for which the MED has a larger contribution on the total system capital cost, reducing the LCOE by up to 30%. For case 2 with six MED effects, this trend is weaker, limiting the LCOE reduction to levels between 10 and 15%. Moreover, the LCOE has very high values with the two configurations (cases 1 and 2) with reference membranes, showing that even with a large MED cost reduction, the LCOE is always over 1.20 €/kWh, with a specific capital cost of about 92,000 €/kW e .

Combined Effect of the IEM Specific Cost and MED Cost Reduction on the LCOE with Reference Membranes
Having identified the effect of each cost reduction measure separately, they are combined here. The resulting minimum LCOE for cases 1-2 considering both RED and MED cost variations within the whole range is presented in Table 8. By considering both effects, it is possible to reduce the LCOE to values as low as 0.26 €/kWh for the large-scale system for case 2 (specific capital cost of 26,000 €/kW e ). Even with the large cost reduction of the IEMs and the MED unit, this value is still not competitive in the current energy market, demonstrating that the performance of the IEMs should also be improved for reaching competitive solutions, as presented in the next section.

Combined Effect of the IEM Specific Cost and MED Cost Reduction on the LCOE with High-Performing Membranes
The thermal efficiency greatly improves with the use of the high-performing membranes, which has an important effect on the system costs, as can be seen by the results presented in Table 9. These have been calculated with the standard (highest) cost values considered for the RED (IEMs and stack/electrodes) and the MED components. The use of KAc (case 4) shows slightly better cost results compared to NaCl (case 3), indicating that the replacement of the salt alone is not adequate to reach low LCOE values. This should be accompanied with the reheating option, in order to utilize the larger potential of this technology. For the two cases with KAc and reheating (cases 5-6), a small variation of the LCOE is observed between them of less than 10%.
Introducing the combined contribution of the IEMs specific cost reduction potential and the MED cost reduction potential on LCOE, the results are presented in Figure 5 for cases 3-4 for the medium-scale system with heat input of 5 MW th . the two cases with KAc and reheating (cases 5-6), a small variation of the LCOE is observed between medium-scale system with heat input of 5 MWth.  The trend of the results is similar to the cases with the reference membranes. The LCOE rapidly decreases by about 50% as the IEMs specific cost is reduced The results for cases 5-6, where the reheating of the solution is also used, are provided in Figure 6 for the medium-scale system.
For these two cases, the high cost contribution of the MED unit makes the LCOE very sensitive to the MED cost reduction effect, supported by the fact that they require less RED stacks for utilizing the heat input, as shown in Table 5. This makes it possible to reach a low LCOE of 0.08 €/kWh, even relying on current IEMs prices of 30 €/m 2 , corresponding to a specific capital cost of about 4000 €/kW e . In fact, for both cases 5 and 6, when using current commercial prices and without relying on any future cost reductions either for the RED or for the MED components, a LCOE of 0.09 to 0.10 €/kWh can be reached. As shown in Table 9, this reduces further to values of 0.06 €/kWh for large systems. These results indicate that future improvements in membrane performance are much more critical in the aim of reaching competitive LCOE compared to the cost of the components.
When considering both the larger system scales and the potential future cost reduction, the system cost-effectiveness is improved further, as shown in Figure 7, where the minimum calculated LCOE (considering the lowest IEM specific cost and the highest MED cost reduction) is shown for cases 3-6 for the three typical system scales. The trend of the results is similar to the cases with the reference membranes. The LCOE rapidly 429 decreases by about 50% as the IEMs specific cost is reduced (a) (b) Figure 6. LCOE of the configurations with high-performing membranes including reheating (cases For these two cases, the high cost contribution of the MED unit makes the LCOE very sensitive 436 to the MED cost reduction effect, supported by the fact that they require less RED stacks for utilizing 437 the heat input, as shown in Table 5. This makes it possible to reach a low LCOE of 0.08 €/kWh, even relying on current IEMs prices of 30 €/m 2 , corresponding to a specific capital cost of about 4000 €/kWe.

439
In fact, for both cases 5 and 6, when using current commercial prices and without relying on any 440 future cost reductions either for the RED or for the MED components, a LCOE of 0.09 to 0.10 €/kWh 441 can be reached. As shown in Table 9, this reduces further to values of 0.06 €/kWh for large systems.

442
These results indicate that future improvements in membrane performance are much more critical in 443 the aim of reaching competitive LCOE compared to the cost of the components.

444
When considering both the larger system scales and the potential future cost reduction, the  The LCOE for the large-scale system can be reduced to half when the IEMs and MED costs are decreased to the maximum possible extent. This reduction is even adequate for case 3 to become cost-competitive, achieving a LCOE of 0.05 €/kWh, with the other three cases (cases 4-6) even lower than that, and securing a short payback period of 4-5 years when considering an electricity price of 0.10 €/kWh. The specific capital cost is then reduced to 2180 €/kW e , similar or even lower than the main competing technology of the ORC [45]. For the medium system, only cases 5 and 6 seem to have some potential. Even if the other two cases show a minimum LCOE of about 0.10 €/kWh, this involves a very large cost reduction, especially for the IEMs, which is not expected to be reached in the long-term. Therefore, for this system scale, a competitive (future) LCOE of about 0.07-0.09 €/kWh can be obtained only by cases 5 and 6 with a resulting payback period of about 10 years, which is attractive considering the system (net) capacity of 230-250 kW e and a specific capital cost of 4000-4500 €/kW e . For the small system, no possible combination of cost reduction measures can lead to a low LCOE, which always stays above 0.33 €/kWh.
The safe conclusion reached here is that the RED-MED system is suitable only for at least medium-scale systems (as defined in this study), revealing the full technology potential as the capacity increases. For smaller systems, the RED-MD combination seems to be more suitable [16].

Screening of the Most Promising Case
The two best performing configurations in terms of cost-effectiveness are the ones with solution reheating (cases 5 and 6). However, the reheating at the high temperature of 80 • C is marginally beneficial for the economic performance of the system, especially at large scales. Having in mind that the increase of the reheating temperature could accelerate the ageing of the IEMs and lead to more frequent replacement, increasing the operating costs (the same lifetime of 10 years is considered for all cases). Therefore, the use of a more relaxed reheating temperature of 50 • C is favored, leading to the final screening of case 5 as the most suitable/promising configuration. Only this case will be examined in the next sections of this work.

Detailed Cost Analysis for Various System Scales and Number of MED Effects
The further investigation of case 5 includes the more detailed assessment of the system costs for different scales and higher numbers of MED effects. Figure 8 shows the resulting LCOE range (minimum/maximum) for a higher variety of system scales, in order to identify the minimum system size for which the system can still be financially viable. The maximum LCOE corresponds to the case with no cost reduction of the MED and an IEM specific cost of 30 €/m 2 , while the minimum one has 50% cost reduction of the MED and an IEM specific cost of 1 €/m 2 . It is clear that the system size should always correspond to a heat input of at least 2 MW th , and preferably over 5 MW th . This corresponds to a maximum LCOE of 0.15 €/kWh, reducing to below 0.07 €/kWh for larger systems, even without any future cost reduction. For heat input over 50 MW, the LCOE shows a minor reduction, since the system is already large enough, with a net power production capacity over 2.3 MW e .
A higher number of MED effects is examined next. This effect has been identified in the beginning of this work when comparing cases 1 and 2 with reference membranes. This trend is verified for case 5 as well, as shown in Figure 9 for 12 MED effects, which is the upper limit to maintain a reasonable temperature driving force in the heat exchangers of each effect. Figure 8. LCOE range of case 5 for variable heat input as a function of the IEM specific cost and 487 MED cost reduction for various system scales.

488
It is clear that the system size should always correspond to a heat input of at least 2 MWth, and 489 preferably over 5 MWth. This corresponds to a maximum LCOE of 0.15 €/kWh, reducing to below 490 0.07 €/kWh for larger systems, even without any future cost reduction. For heat input over 50 MW, 491 the LCOE shows a minor reduction, since the system is already large enough, with a net power 492 production capacity over 2.3 MWe.

493
A higher number of MED effects is examined next. This effect has been identified in the 494 beginning of this work when comparing cases 1 and 2 with reference membranes. This trend is 495 verified for case 5 as well, as shown in Figure 9 for 12 MED effects, which is the upper limit to 496 maintain a reasonable temperature driving force in the heat exchangers of each effect.    At low scales, the variant with 12 MED effects performs better, due to the larger MED unit count lowering its specific cost. For the medium-scale system, the results are comparable (especially the minimum LCOE value), showing that the LCOE is not that sensitive to the number of effects as cases 1 and 2. However, for large systems, the use of six MED effects is preferred for reaching an even lower LCOE.

LCOE Comparison of Case 5 with Other Heat Engines
An alternative RED heat engine relying on a membrane distillation unit for the regeneration process was examined. For this heat engine, cost analysis has been conducted [16], resulting in LCOE values in the range of 0.10 to 0.25 €/kWh, assuming important reductions in IMEs and MD costs in the future. The RED-MED combination examined here is characterized by a superior economic performance. However, the main advantage of the RED-MD unit is the small variation of the MD unit at small scales, in which the RED-MED has very high LCOE values.
Another membrane-based heat engine is the osmotic heat engine [28]. This uses an MD unit to operate in a closed loop. Although the current LCOE of the osmotic heat engine of very large scale is about 0.48 €/kWh [46], this could be reduced to values as low as 0.10 €/kWh. Still, this value is almost double that of the LCOE of the best performing case 5 setup at similar scales.
Finally, the main competing technology is the ORC, which is capable of few kW up to several MW of power production. For the same waste heat temperature of 100 • C, the specific cost and LCOE decrease for medium-scale systems [45], reaching a specific cost of 3000 €/kW e and a LCOE of about 0.08 €/kWh [47], while for large-scale systems, the LCOE is in the range of 0.04-0.05 €/kWh [48]. The RED-MED system of case 5 has the potential to directly compete with ORC systems once the performance and cost targets are reached.

RED-MED System in Storage Mode
Having identified case 5 as the most promising configuration, the final part of the work focuses on its operation in storage mode. This mode is realized by adding two reservoir tanks to store the two solutions once they are regenerated by the MED unit, and another two for the return from the RED before entering the MED unit. Therefore, the MED continually operates, whereas the RED stacks run only when required for peak power production. The main difference with the continuous operation, except for the reservoir tanks, is that for the same MED size, more RED stacks are used to provide peak power.
The LCOE for the system in storage mode has been calculated for the medium and large-scale systems and is shown in Figure 10 as a function of the time that the RED operates (i.e., a 50% time fraction corresponds to 12 hours of power production per day, while the MED unit regenerates the solutions continually). The peak power produced by the RED stacks is also indicated in Figure 10.
Finally, the main competing technology is the ORC, which is capable of few kW up to several 516 MW of power production. For the same waste heat temperature of 100 °C, the specific cost and LCOE 517 decrease for medium-scale systems [45], reaching a specific cost of 3000 €/kWe and a LCOE of about 518 0.08 €/kWh [47], while for large-scale systems, the LCOE is in the range of 0.04-0.05 €/kWh [48]. The 519 RED-MED system of case 5 has the potential to directly compete with ORC systems once the 520 performance and cost targets are reached.

522
Having identified case 5 as the most promising configuration, the final part of the work focuses 523 on its operation in storage mode. This mode is realized by adding two reservoir tanks to store the 524 two solutions once they are regenerated by the MED unit, and another two for the return from the 525 RED before entering the MED unit. Therefore, the MED continually operates, whereas the RED stacks 526 run only when required for peak power production. The main difference with the continuous 527 operation, except for the reservoir tanks, is that for the same MED size, more RED stacks are used to 528 provide peak power.

529
The LCOE for the system in storage mode has been calculated for the medium and large-scale 530 systems and is shown in Figure 10 as a function of the time that the RED operates (i.e., a 50% time 531 fraction corresponds to 12 hours of power production per day, while the MED unit regenerates the 532 solutions continually). The peak power produced by the RED stacks is also indicated in Figure 10.  For the medium-scale system, the LCOE increases as the time fraction is reduced, highlighting the cost effect of the storage tanks (their size is increased for low time fractions to store larger quantities of solutions). For a time fraction of 50%, the LCOE is within the range of 0.10-0.16 €/kWh, which can be cost competitive under specific conditions, such as high electricity prices at peak hours. These figures are improved for the large-scale system, reducing the LCOE to 0.03-0.04 €/kWh, with the minimum value being practically the same for all time fractions. The upper limit reaches 0.13 €/kWh for a 25% time fraction and remains below 0.09 €/kWh for the other time fractions. This is a very promising result-even without any expected future cost reductions for the RED and the MED components, values around 0.9 to 0.13 €/kWh for peak power can be very competitive.
Finally, the peak power production can be as high as 1 MW for the medium-scale system, increasing to 11 MW for the large one. This power production is very high compared to the available heat input (about 20%), offering important opportunities for industrial plant operators for storing their heat as a salinity gradient and releasing in the form of electricity to cover the peak demand at moments with high electricity prices [49].

Main LCA Results
By running the GaBi model for all cases and based on the methodology and input data presented previously, the results for the main impact categories are shown in Table 10 per one kWh of electricity produced (net). The full results, including the breakdown of the relative contributions from the various materials and processes, are provided in Appendix B. All cases give much lower impacts than case 1, with every improvement introduced in each case bringing extra environmental benefits. By reducing the number of MED effects from 24 to six (moving from case 1 to case 2), the GWP and eutrophication potential are reduced by a factor of about four, while the acidification potential is reduced by a factor of six. These reductions are directly associated to the 5.5-fold decrease in the mass of copper, nickel, and stainless steel between the two cases. The replacement of the commercial IEMs with the optimized membranes for the RED-MED system (moving from case 2 to case 3) brings a reduction by a factor of about 6.3 for all impact categories; a result of the six-fold increase of the system's power. When moving from case 3 to case 4, i.e., replacing NaCl with KAc, the impact reduction across all categories is about 1.2, again aligned with the power increase between these two cases. By increasing the temperature of the RED solution from 25 to 50 • C (from case 4 to case 5), the GWP and eutrophication potential are reduced by a factor of about two, while the acidification potential is reduced by a factor of about 1.5. These improvements are much lower than the five-fold increase in power output, because the total mass of the metals (for the MED and for the reheaters to increase the solution temperature) increases by a factor of over three between these two cases. Increasing the reheating temperature from 50 to 80 • C (from case 5 to 6) does not affect the environmental impacts, since, while the power output increases by 10%, the heat exchanger area required to increase the temperature adds more impacts. The environmental improvement when going from case 1 to case 5 is associated with a 68-fold reduction for all impact categories.
The best environmental performance is achieved for cases 5 and 6. However, the operating temperature for case 6 might pose challenges to the stability of the IEMs, as explained previously. Therefore, case 5 is selected to examine the breakdown of the results in order to identify the main contributors to the impacts. Figure 11 illustrates the relative contributions of each material to the three main impact categories for case 5. The operation phase has negligible impact, as the heat engine operates in a closed loop. Practically all impact is associated with the manufacturing phase of the heat exchanger's components; therefore, it has been broken down into the relative contributions of the main materials and processes used.

585
The major part of the impacts is attributed to the production processes of the metals used in the  factor, the frequency of replacing the IEMs, and the distance for transporting the required materials 594 from their production location to the installation site. Table 11 provides the "low" and the "high" 595 values used for each parameter, in order to examine its effect on the LCA results, which is illustrated 596 in Figure 12 for each impact considered.   The major part of the impacts is attributed to the production processes of the metals used in the heat engine (primarily for the heat exchangers). It is only in the global warming and the eutrophication categories where the plastic production and transportation processes have a more noticeable role (shown in the figure under "other"), but even there, the metal production processes account for more than 90% of the total impact. These results put a clear focus on the MED unit and more specifically on its commonly used copper-nickel 90:10 heat exchangers.

LCA Sensitivity Analysis of Case 5
Case 5 was further examined by sensitivity analysis. The parameters examined are the capacity factor, the frequency of replacing the IEMs, and the distance for transporting the required materials from their production location to the installation site. Table 11 provides the "low" and the "high" values used for each parameter, in order to examine its effect on the LCA results, which is illustrated in Figure 12 for each impact considered.

585
The major part of the impacts is attributed to the production processes of the metals used in the  factor, the frequency of replacing the IEMs, and the distance for transporting the required materials 594 from their production location to the installation site. Table 11 provides the "low" and the "high" 595 values used for each parameter, in order to examine its effect on the LCA results, which is illustrated 596 in Figure 12 for each impact considered.     Membrane replacement frequency: This parameter does not affect the results much because the contribution of the plastic materials (where membrane materials are classified) to the impacts is very small, as shown in Figure 11.

597
Capacity factor: The capacity factor directly affects the amount of electricity generated. A capacity factor of 90% is used as the base case, assuming industrial application, which is working around the clock, making waste heat available all the time. The 10% of the time was allowed for maintenance and other unforeseen stoppages. The results confirm that the effect is proportional-a 50% decrease of the capacity factor leads to a 50% increase in environmental impacts in all categories.
Transportation distance: Even though the distance changes significantly, the results did not change more than 3-5%; the only exception is the eutrophication category, where the impact increased by about 13% because of the diesel fuel used by the trucks.

Comparison with other Sustainable Energy Technologies
As a final step, the results for all cases are compared with the results of Hickenbottom et al. [28] for the osmotic heat engine (OHE). The OHE uses a very similar principle to the RED heat engine, with pressure-retarded osmosis to generate electricity and MD to regenerate the salinity difference. The results are also compared to the "environmental performances" of commercially available ORC systems, which convert waste heat to electricity. The results from Bai [50] are used for the ORC systems. Moreover, average impact values for some renewable energy technologies have been taken from the review work of Turconi et al. [42] to expand this comparison to include other sustainable energy technologies. Focus is given only to the two impact categories (acidification potential and global warming potential), for which results are available from all studies. The comparison of these two impacts is presented in Table 12 for a descending acidification impact.  [50] When comparing the acidification impact, the OHE base case gives similar results to case 2 and to Solar PV, while cases 3-4 have similar impacts to wind energy. The improved OHE case is at similar levels to case 5 of the current study, while hydropower and ORC present the lowest impacts.
Comparing global warming impact, solar PV and the base case OHE, together with case 1 have the highest emissions, followed by wind and case 2, which are at a similar level. Cases 3-4 show much better results compared to all previous cases, but also compared to hydropower and the improved case OHE. Finally, cases 5-6 show the lowest global warming impact, even compared to the ORC.
It should be highlighted that this comparison is indicative of the overall impact trends, since the specific conditions are not the same for each technology. However, it clearly shows the low impacts of some cases of the RED-MED system and the environmental potential of this technology.

Conclusions
The potential of different configurations of the RED-MED heat engine is presented by using a detailed economic analysis accompanied by a life-cycle environmental assessment. Various RED-MED configurations have been examined using both reference and high-performing membranes, introducing the system scale, and exploring a wide range of the main cost figures of the RED and MED parts.
The economic analysis showed that the RED-MED system can become a promising and cost-competitive heat-to-power technology (reaching a LCOE of 0.06 €/kWh) for exploiting low-temperature waste heat when using high-performing IEMs, indicating that research in improving their performance should be a priority. When taking into account possible future reduction of the specific costs of the IEMs and MED equipment, while using preferably the KAc salt instead of NaCl, the resulting LCOE can be as low as 0.03 €/kWh for large-scale systems. However, there are many other cases that could offer very low LCOE values in the range of 0.04-0.10 €/kWh, even for medium-scale systems with a heat input of 5 MW, and without relying on drastic cost reductions of the RED and MED components. For small-scale systems with a heat input of 0.5 MW, the LCOE is much higher (the lowest possible value in the most optimistic scenario is 0.33 €/kWh), due to the high specific capital cost of the MED. The best performing case has been identified (case 5) that uses a low number of MED effects to reduce the specific cost of the regeneration process, while the use of KAc instead of NaCl has positive effects on both the performance and the cost. Finally, the reheating option to a reasonable temperature of 50 • C is necessary to improve the cost-effectiveness without imposing too much thermal stress on the membranes.
This best-performing case was then examined in storage mode, where the MED unit operates continuously to regenerate two solutions which are then stored in large reservoir tanks. A parameter that expresses the time fraction that the RED operates has been introduced, showing that the resulting LCOE increases for higher peak power production, but it can be kept below 0.10 €/kWh for large systems, even without relying on important future cost reductions of the RED and MED components, thus offering significant opportunities to industrial unit operators for peak power management and shifting.
The conclusions of the life-cycle environmental analysis point to the same solution (case 5), since the lower number of MED effects reduces the amount of metals used in the construction, which are the materials responsible for most of the environmental impacts.
The overall conclusion of the RED-MED system in both continuous and storage modes is that it can be more cost-competitive than other membrane-based heat engines, as well as to standard ORC technology. Also, the environmental impacts of the RED-MED system are low; lower than most other sustainable energy technologies and similar to ORC systems. In order to exploit this potential and to bring the RED-MED system closer to the market, the membranes' performance would need to approach the performance of the high-performing membranes, preferably accompanied by a cost reduction, which is a direct effect of the economy of scale and large-scale market uptake.
Funding: This work has been performed within the RED-Heat-to-Power project (Conversion of Low Grade Heat to Power through closed loop Reverse Electro-Dialysis) -Horizon 2020 programme, Grant Agreement nr. 640667.

Conflicts of Interest:
The authors declare no conflict of interest.

Appendix A. Life Cycle Inventory Analysis
The model assumes that there is one RED stack available. Each membrane has a surface of 0.25 m 2 and the stack consists of 1000 cell pairs. The size of the RED is kept constant between all the cases and within the sensitivity analysis. The amount of heat and the size of the regeneration system change between cases to adapt to the performance of the system, thus making full use of the specific stack that was considered. For that reason, the amount of material associated with a RED stack is constant and provided in Table A1. This is the bill of materials for one stack, based on the available stack design during the implementation of this work. However, there is continuous progress in improving the industrial design, resulting in significant weight reduction and thus impact decrease.  Table A2 gives the calculated amount of the materials of the MED unit, which vary between the different design options. Finally, based on all input data, the results of the model include: the total material used over the lifetime of the system, the total electricity produced, the resources used within the system, and the materials that go to waste.

Appendix B. Full Results of the LCA
The detailed results of the LCA for the six different cases are presented in Table A3, showing the contribution of each material and process to the total of the impact categories. The units used in all tables of this appendix are provided below: GWP potential: kg CO 2 eq. Eutrophication Potential: kg Phosphate eq. Acidification Potential: kg SO 2 eq. Terrestric Ecotoxicity Potential: kg DCB eq. Ozone Layer Depletion Potential: kg R11 eq.