Nomenclature
AbbreviationExpansionParameters and variables | |
Time interval [0.5 h – 30 min]. | |
Operation time slots of the controllable appliance | |
Self-discharge coefficient of the battery [%/hour]. | |
Efficiency of the AC/DC converter [%]. | |
Efficiency of the battery [%]. | |
Consumed life rate of the battery [p.u.]. | |
Ratio of operation and maintenance cost vs. initial investment cost for the | |
Normalized PV power in p.u. at a time period | |
Purchase (selling) price of the kWh at any time period k [€/kWh]. | |
Contracted power price at any time period k [€/kW]. | |
Rated depth-of-discharge of the battery [%]. | |
Daily electricity cost of the photovoltaic domestic installation ([€/day). | |
Cost from energy exchange of the photovoltaic domestic installation with the grid [€/day], (€/period). | |
Investment cost of the | |
Total cost of {initial investment} (operation and maintenance) for the photovoltaic domestic installation (€/year). | |
Nominal discount rate [%]. | |
DOD | Depth of discharge [%]. |
Expected inflation [%]. | |
Objective function [€/day]. | |
Lower band of allowable operation time slot of the controllable appliance | |
Beginning energy of the battery [kWh]. | |
End energy of the battery [kWh]. | |
Maximum energy of the battery in the year | |
Battery energy at any time period k [kWh]. | |
Calendar lifetime. | |
Number of sampling intervals in a month. | |
Number of sampling intervals in a year. | |
MBU lifetime according to maximum cumulated aging rate [year]. | |
Photovoltaic lifetime [years]. | |
Power of an AC/DC converter unit [kW]. | |
Maximum charge (discharge) power for the battery [kW]. | |
Contracted power from the electric mains [kW]. | |
Electric vehicle load at any time period | |
Grid power output (input) at any time period | |
Total load non-controllable at any time period | |
Power of the controllable appliance i [kW]. | |
Power of a photovoltaic panel [kWp]. | |
Photovoltaic power produced by the photovoltaic system at any period k [kW]. | |
Annual escalation rate of the operation and maintenance cost [%]. | |
Photovoltaic degradation rate [%]. | |
Set of time intervals. | |
Optimal charge (discharge) power for the battery at any period | |
Commitment status of the controllable load | |
Transition of the controllable load | |
Upper band of allowable operation time slot of the controllable appliance | |
Number of photovoltaic panels. | |
Number of units of the AC/DC converter. | |
Subscripts | |
d | Daily. |
ad | AC/DC converter. |
bt- (bt+) | To(from) the battery. |
EE | Energy exchange with the grid. |
g- (g+) | To(from) the utility grid. |
I | Initial investment. |
Index of time period. | |
max | Maximum. |
min | Minimum. |
O&M | Operation and maintenance. |
pv | Photovoltaic Generation. |
Superscripts | |
At the beginning. | |
At the end. | |
i | Index of component of the photovoltaic household-prosumer. |
max | Maximum. |
min | Minimum. |
Acronyms | |
DOD | Depth of discharge. |
DW | Dishwasher. |
EV | Electric vehicle. |
PV | Photovoltaic. |
RES | Renewable energy source. |
SD | Spin dryer. |
SFC | Self-consumption. |
SOC | State of charge. |
TOU | Time-of-use. |
TLBO | Teaching-learning-based optimization. |
WM | Washing machine. |
Introduction
A. Context and Motivation
The role of energy storage in future decarbonization of the electricity sector is clear and indisputable [1]. It is expected that storage systems increase their penetration in the near future, with the aim of increasing the efficiency of the system and help to increment the penetration and participation of renewable energy sources (RESs) [2]. In this context, storage systems appear in stationary or mobility applications. In the latter case, the overall system can benefit from on-board battery packs in electric vehicles (EVs) through vehicle-to-grid or vehicle-to-home features [3].
Despite their clear advantages, energy storage systems are still costly and based on damaging materials [4]. In this regard, there is a growing interest on incrementing the useful life of storage units, especially batteries. However, in mobility applications, it results difficult and conflictive with the interest of drivers, who are keen on obtaining a
high autonomy. This way, mobility batteries have a shorter lifecycle and need to be replaced after a predefined number of cycles [5]. Nevertheless, these batteries are useful yet for different applications in a practise known as second-life or second-purpose batteries [6]. Thereby, battery systems that are no longer useful for mobility applications can be still used with other aims such as renewable integration. This paper is focused on possible second-life application of mobility batteries in domestic installations.
B. Related Works
A growing interest in second-life applications for batteries has been observed in recent years, focusing on economic or environmental advantages/viability of such practise. In this regard, [7] develops an aggregator model for gridable vehicles and second-life batteries, in the way as they can be centralized managed for their participation on the distribution network. Likewise, [8] focuses on developing a proper energy management control for power converters interfacing second-life battery packs in stationary applications. Sáenz-de-Ibarra, et al [9] discussed an optimal sizing methodology for a second-life Li-ion battery bank with grid implications. In [10], second-life and fresh batteries are economically compared for wind farm applications. To this end, a model predictive control scheduler is developed for a wind farm owner, concluding that second-life batteries may outperform fresh packs if wind energy price decreases more rapidly than batteries cost in the future.
One of the most attractive application of batteries is frequency regulation due to their fast response. This is the main focus of [11], where the performance of second-life EV batteries in frequency regulation services is investigated. On the other hand, [12] studies the applicability of second-life batteries in reducing peak demand of charging stations for battery EVs, for which an optimal sizing method is proposed comparing the results obtained using fresh or repurposed battery packs. In the same line, [13] develops an optimal sizing methodology for centralized charging stations considering second-life batteries. In [14] it is pointed out that the high peak power offered by discarded mobility batteries will find a promising application in ancillary services. Keeping this on mind, an economic analysis is performed determining that frequency containment reserve service is the most prominent application of second-life batteries from mobility applications.
Chai et al. [15] propose a holistic framework to evaluate the feasibility of second-life batteries in grid applications. To this end, a multi-stage methodology is developed which evaluates the battery lifetime modelling in detail its capacity degradation. An energy management model considering uncertainties is developed in [16], being especially suitable for fast charging stations with photovoltaics (PVs) and second-life batteries. Lacap et al. [17] discuss the design and construction of a 262-kWh storage microgrid encompassing PVs and second-life batteries. In particular, the authors considered a retired Nissan leaf battery pack after reaching 71% state-of-health, demonstrating that repurposed batteries may find application in commercial installations. Applicability of second-life batteries in residential communities is studied in [18], for which a hierarchical energy management structure is developed encompassing community and load reshaping decisions within a multi-level framework.
Yang et al. [19] propose an integrated planning framework for power networks including fresh and retired batteries. Within this paradigm, a lifespan model is proposed based on the state-of-health of battery packs, which can be integrated in the network together with fresh units. Likewise, different scenarios are compared in [20] for microgrid planning based on either fresh or repurposed batteries, concluding that the use of second-life batteries can reduce the levelized cost of energy by 1%. In [21], a techno-economic evaluation procedure is developed for evaluating the viability of second-life batteries in stationary applications. The proposed methodology was applied to a local energy community in Italy, showing that second-life batteries may be attractive in such schemes helping to reduce bills and increase self-consumption levels. Different indicators and price models were developed in [22], with the aim of evaluating sustainability factors of second-life batteries. Results concluded that higher initial state-of-health and slower degradation rate normally yield better sustainability performance.
C. Contributions and Paper Organization
According to [23], about 11 million tons of retired batteries are expected to be produced globally by 2030, of which a huge percentage will proceed from individual owners who charge their vehicles at home. However, most of the studies above analyse the viability of second-life batteries on power networks, microgrids or similar, while very few studies are focused on residential installations. Only [18], [21] are focused on communities but, to the best of our knowledge, any reference has studied the viability of second-life batteries in individual dwellings. After a vehicle battery pack results useless for mobility, vehicle owners can choose whether returning the batteries to the manufacturer or using them at home to increase the energy efficiency and self-consumption rate. To evaluate this decision, we develop an optimal sizing methodology for PV domestic installations considering second-life batteries from individual EVs. In particular, the contributions of this paper are twofold:
Developing and optimal planning methodology for rooftop domestic PV systems. The new proposal allows to consider second-life batteries from EV so that different scenarios can be evaluated.
Evaluate and analyse different scenarios considering second-life batteries after completing their lifecycle for mobility or not, together with different tariffs and layouts. This contribution allows us to discern if the use of second-life batteries from mobility may be attractive for domestic applications and how their use affects to the optimal design of rooftop PV arrays.
In the rest of this paper, Section II describes the home installation under study together with the methodology adopted for evaluating the use of second-life mobility batteries in dwellings. Section III explains the mathematical foundations of the paper and the solution methodology adopted. Section IV presents a case study with results under different scenarios, providing a discussion and an in-depth analysis of the results obtained. Finally, the main conclusions are duly drawn in Section V.
Preliminaries
A. Description of the Home System
This paper focuses on smart homes equipped with a series of controllable and non-controllable devices, as shown in Fig. 1. Thus, we assume that a set of appliances (e.g. washing machine or dishwasher) can be centrally managed by a home energy management (HEM) system, with the purpose of improving the overall efficiency and economy of the system. In contrast, other appliances (e.g. TV or computers) are scheduled on the basis of human behaviour and therefore are inhibited of the action of the HEM scheduler. The home installation can be either supplied from the distribution system (which is owned by a retailer) under a previously agreed tariff mechanism (e.g. a time-of-use (TOU) tariff), or from on-site assets such as PV panels or storage systems. In this case, the on-site batteries are assumed to be formed by second-life units from an inhabitant-owned EV, which is charged at home. Thereby, such storage system may not be exploited in the domestic installation if second-purposed for EV batteries is not considered, as explained in the following section.
B. Overview of the Considered Problem
This paper focuses on optimal PV planning for domestic installations considering second-life batteries from EV. In this regard, we suppose that the system is optimized over a predefined project lifetime, for which the size of the PV array is determined. At the beginning of the time horizon, it is assumed that the batteries are only used for mobility and therefore they cannot supply the home. As shown in Fig. 2, when the vehicle batteries are no longer useful for mobility (normally when their state-of-health is below 80% [17]), the home inhabitants can decide whether the batteries are returned to the manufacturer (thus obtaining a compensatory payment) or used at home for supplying the domestic installation. Thus, this paper aims to evaluate both possibilities, determining the possible benefits obtained by EV owners from using second-life batteries, as well as their impact on determining the optimal sizing of PV panels.
Mathematical Modelling
A. Utility Grid Modeling
The power exchanges with the utility grid are upper bounded by either physical or contractual limits, as said (1) and (2). On the other hand, simultaneous exports and imports are avoided by declared these two variables complementary.\begin{align*}{p_{g+, k} \le P_{c},\forall k } \tag{1}\\ p_{g-, k} \le P_{c},\forall k \tag{2}\end{align*}
B. PV Modeling
The normalized PV power of a panel or unit, \begin{equation*} p_{pv, k} = \boldsymbol {\Omega }_{ \boldsymbol {pv}} \cdot \xi _{\textrm {pv}, k} \cdot P_{pv}, \forall k \tag{3}\end{equation*}
On the other hand, the total PV installed capacity may be upper bounded due to multiple factors (e.g. available surface), which is modelled by the following constraint:\begin{equation*}0\le \boldsymbol {\Omega }_{ \boldsymbol {pv}} \le \Omega _{pv}^{\max } \tag{4}\end{equation*}
C. Battery Modelling
The stored energy is modelled as the SOC at the previous time interval and the power exchanged with the home installation, as follows:\begin{align*} Le_{bt, k}& =Le_{bt, k-1} -\varepsilon _{bt} \cdot Le_{bt, k-1} \\ &\quad +\Delta _{t} \cdot \left ({ {\eta _{ad} \cdot \eta _{bt} \cdot \boldsymbol {p}_{ \boldsymbol {bt-, k}} -\frac { \boldsymbol {p}_{ \boldsymbol {bt{+}, k}}}{\eta _{ad} \cdot \eta _{bt}}} }\right),\forall k>1 \tag{5}\end{align*}
The battery model is completed by adding additional constraints. Thus, the energy stored in batteries is upper and lower limited by their nominal capacity and depth-of-discharge settings, as said (6). On the other hand, (7) and (8) impose limits on the power exchanged with the home. As customary, (5) is completed by (9), which establishes that the initial and final SOC are equal. Finally, (10) imposes positivity in the related variables.\begin{align*} Le_{bt,y}^{\max } \left ({ {1-\frac {\chi _{bt}^{rat}}{100}} }\right)&\le Le_{bt, k} \le Le_{bt,y}^{\max },\forall k \forall y \tag{6}\\ \boldsymbol {p}_{ \boldsymbol {bt-, k}} &\le P_{bt-}^{\max },\forall k \tag{7}\\ \boldsymbol {p}_{ \boldsymbol {bt{+}, k}} &\le P_{bt+}^{\max },\forall k \tag{8}\\ Le_{bt}^{t_{1}} &=Le_{bt}^{t_{N_{t}}} \tag{9}\\ \boldsymbol {p}_{ \boldsymbol {bt{-}, k}}, \boldsymbol {p}_{ \boldsymbol {bt{+}, k}},Le_{bt, k} &\ge 0,\forall k \tag{10}\end{align*}
In addition to (7) and (8), charging/discharging power of batteries is limited by the installed capacity of AC/DC converters, as said (11) and (12). Note that these two constraints are valid in the case of the batteries are used for mobility or at home in stationary applications. In such a case, the power is actually limited by the rated power of the bidirectional charger.\begin{align*} \boldsymbol {p}_{ \boldsymbol {bt-, k}} \le \Omega _{ad} \cdot P_{ad},\forall k \tag{11}\\ \boldsymbol {p}_{ \boldsymbol {bt{+}, k}} \le \Omega _{ad} \cdot P_{ad},\forall k \tag{12}\end{align*}
An analytic degradation model was not included for batteries. Instead, we consider that capacity losses are linear with the time. This assumption is based on the empirical results obtained in [25] and [26]. As seen in these references, for a normal use of batteries, capacity degradation can be easily assimilated to a linear function. Moreover, preliminary results obtained by the authors evidenced that a normal operation cycle of a battery pack in residential installations do not cover more than one charging-discharging cycle, regardless whether the batteries are used for mobility or at home. Note that similar models were considered in other related papers like [5]. By these reasons, we consider a linear degradation that achieves a state-of-health equal of 80% in seven years, being needed to be replaced after 15 years according to the data and results collected in [5].
D. Controllable Appliances
As commented in subsection II-A, in this work a smart home is equipped with a series of controllable and non-controllable devices. The controllable appliances (electric vehicle, dishwasher, spin drier and washing machine) are centrally managed by a HEM in order to improve the efficiency and economy of the system. Each controllable appliance must complete its duty cycle within established time windows, as said (13). Furthermore, these loads have to be operated continuously and can only be activated once in their time horizon, as expressed in (14) and (15), respectively.\begin{align*} &\sum \limits _{k=LB^{i}}^{UB^{i}} u_{k}^{i} =\delta ^{i}; \forall i\in \left \{{ {\textrm {EV,WM,}\,\textrm {DW,}\,\textrm {SD}} }\right \} \tag{13}\\ &\begin{array}{l} \bar {u}_{t}^{i} -u_{-k}^{i} =u_{k}^{i} -u_{k-1}^{i} \\ \forall k\in T\backslash k>1 \\ \forall i\in \left \{{{\textrm {EV,WM,}\,\textrm {DW,}\,\textrm {SD}} }\right \} \\ \end{array} \tag{14}\\ &\sum \limits _{k=LB^{i}}^{UB^{i}} {\bar {u}_{t}^{i}} =1; \forall i\in \left \{{ {\textrm {EV,WM,}\,\textrm {DW,}\,\textrm {SD}} }\right \} \tag{15}\end{align*}
According to other related references (e.g. [27]), the EV has been modelled as a controllable appliance. Note that this is a plausible assumption as smart chargers do not usually allow charging before 0:00 h its scheduling routine can be predefined.
E. Power Balance
During any time, the power balance in the home installation is ensured by imposing (16).\begin{align*}\begin{array}{l} p_{pv, k} -p_{hl, k} -\sum \limits _{i} {u_{k}^{i} \cdot p^{i}} +p_{g+, k} -p_{g-, k} \\ + \boldsymbol {p}_{ \boldsymbol {bt{+}, k}} - \boldsymbol {p}_{ \boldsymbol {bt-, k}} =0; \forall k\wedge i\in \left \{{ {\textrm {EV,WM,DW,SD}} }\right \} \\ \end{array} \tag{16}\end{align*}
F. Economic Model
In this study, the daily cost of energy is considered as the main indicator that determines the profitability of a domestic PV installation. This parameter encompasses various costs that account for capital, O&M and energy expenditures, as well as possible incomes from selling energy to the grid. Firstly, the investment cost \begin{equation*}C_{I,d} =\sum \limits _{i} {C_{I,d}^{i}},i\in \left \{{ {ad,pv,bt} }\right \} \tag{17}\end{equation*}
At the same time, the investment cost of each component depends on the installed power, capital costs and number of components, as said (18).\begin{equation*}C_{I,d}^{i} =\frac { \boldsymbol {\Omega }_{i} \cdot C_{I}^{i}}{365\cdot N_{i}}, i\in \left \{{ {pv,ad} }\right \} \tag{18}\end{equation*}
As stated in section II, when the state-of-health of the vehicle batteries is below 80%, the home inhabitants can decide whether the batteries are returned to the manufacturer or used at home for supplying the domestic installation. It is assumed that the vehicle manufacturer establishes some compensatory payment (\begin{equation*} C_{I,d}^{bt} =\frac {C_{cp}^{bt}}{365\cdot N_{bt}} \tag{19}\end{equation*}
In addition to investment costs described above, the home installation incurs in daily expenditures due to O&M, as follows:\begin{align*} C_{O\& M,d}^{i} &=\frac {1}{N_{p} \cdot 365}\cdot C_{O\& M}^{i} \cdot \frac {K_{p}^{i} \left ({ {1-\left ({ {K_{p}^{i}} }\right)^{N_{p}}} }\right)}{1-K_{p}^{i}} \\ &\quad i\in \left \{{ {pv,ad,bt} }\right \} \tag{20}\end{align*}
\begin{align*}K_{p}^{i} &=\frac {1+g}{1+d} \left ({ {1+r_{O\& M}^{i}} }\right) \tag{21}\\ C_{O\& M}^{i} &=\kappa _{i} \cdot C_{I}^{i}, i\in \left \{pv,{ {ad} }\right \} \tag{22}\end{align*}
This way, considering the O&M costs of each equipment, the total daily maintenance costs can be calculated, as follows:\begin{equation*}C_{O\& M,d} =\sum \limits _{i} {C_{O\& M,d}^{i}}, i\in \left \{{ {pv,ad,bt} }\right \} \tag{23}\end{equation*}
\begin{align*}C_{EE, k} &=\left \{{{{\begin{array}{cccccccccccccccccccc} {\rho _{\textrm {P,}k} \cdot \Delta _{t} \cdot p_{g+,k}} \\ {-\rho _{\textrm {S,}k} \cdot \Delta _{t} \cdot p_{g-,k}} \\ \end{array}}\left.{ {{\begin{array}{cccccccccccccccccccc} {p_{g,k} \ge 0} \\ {p_{g,k} < 0} \\ \end{array}}} }\right \}} }\right. \tag{24}\\ C_{EE,d} &=\frac {1}{365\cdot N_{p}}\cdot \sum \limits _{n=1}^{n=N_{p}} {\frac {\left ({ {1+g} }\right)^{n}}{\left ({ {1+d} }\right)^{n}}\cdot \sum \limits _{k=1}^{k=N_{t}} {C_{EE, k}}} \\ &=\frac {q\cdot \left ({ {1-q^{N_{p}}} }\right)}{N_{p} \cdot \left ({ {1-q} }\right)}\cdot \sum \limits _{k=1}^{k=N_{t}} {C_{EE, k}} \tag{25}\end{align*}
\begin{equation*} q=\frac {1+g}{1+d} \tag{26}\end{equation*}
In some countries like Spain, it is not realistic to assume that the total incomes from selling energy exceeds the total purchasing cost [28]. This restriction is ensured by imposing the constraint (27).\begin{equation*} \sum \limits _{k=1}^{k=N_{m}} {C_{EE, k}} \ge \textrm {0} \tag{27}\end{equation*}
Optimization Methodology
A. Problem Statement
This paper aims at developing a methodology for optimal design of domestic PV installations considering second-purpose batteries from mobility. In this regard, we develop an optimization model which seeks for the optimal sizing of PV units while optimizing power flows among the different home assets and the utility grid. The objective function of the proposed problem is to minimize the project cost, as follows:\begin{align*} &\sum \limits _{k=1}^{N_{t}} {F\left ({ {Le_{bt, k}, \boldsymbol {p}_{ \boldsymbol {bt-, k}}, \boldsymbol {p}_{ \boldsymbol {bt{+}, k}}, \boldsymbol {\Omega }_{ \boldsymbol {pv}},k} }\right)} \\ & =C_{I,d} +C_{O\& M,d} +C_{I,d}^{bt} +\frac {q\cdot \left ({ {1-q^{N_{p}}} }\right)}{N_{p} \cdot \left ({ {1-q} }\right)} \\ &\quad \cdot \sum \limits _{k=1}^{N_{t}} {C_{EE,k}} \tag{28}\end{align*}
Indeed, the objective function (28) encompasses investment expenditures, O&M costs, battery replacement and energy costs. On the other hand, the search space contains all the possible configurations and power exchanges, as follows:\begin{equation*} \boldsymbol {\Omega }_{ \boldsymbol {pv}} \in \left [{ {0, \Omega _{pv}^{\max }} }\right ] \text {and} \boldsymbol {p}_{ \boldsymbol {bt,k}} \in \left [{ {p_{bt}^{\min },p_{bt}^{\max }} }\right ] \tag{29}\end{equation*}
B. Proposed Optimization Algorithm
In the previous sections, a large number of restrictions have been seen that must be considered in the optimization of this research. Furthermore, the dimension of the problem must contemplate the number of days, number of intervals and years in which the maximum capacity of the battery varies. All of this leads to an extensive number of variables that the optimization problem must consider.
The non-linearity and complexity of the problem along with its high number of constraints proposes the resolution of a problem with high computational cost and a search space with multiple local optima. For this reason, this study has to use a robust optimization algorithm appropriate for a complex search with many input and output variables.
The chosen algorithm is the TLBO meta-heuristic which was based on [29]. A flowchart optimization algorithm is shown in Fig. 3. A difficult requirement that a good metaheuristic technique has to satisfy is to keep a strong compromise between exploration (diversification or global search) and exploitation (intensification or local search) [30]. In this sense, the TLBO algorithm has two phases, teacher phase and learner phase. The first guarantees intensification and the second diversification. Therefore, TLBO is consistent with both the exploration and exploitation, this is its main advantage over other metaheuristic techniques. In addition, TLBO is a very robust and efficient algorithm for solving complex high-dimensional optimization problems.
Nevertheless, it used a variant for improving its performance. Thus, in teaching phase, a perturbed scheme was applied to prevent that current best solution from being trapped in local minima. Whereas a global crossover strategy was incorporated into the learning phase, which aimed at balancing local and global searching effectively [31].
In this study, the learners are composed of the following state variables that influence the value of the objective function:\begin{align*} \left ({ {\begin{array}{l} \boldsymbol {\Omega }_{ \boldsymbol {pv}}, \boldsymbol {\Omega }_{ad},Le_{bt, k}, \boldsymbol {p}_{ \boldsymbol {bt-, k}}, \boldsymbol {p}_{ \boldsymbol {bt{+}, k}}, \\ p_{g+, k},p_{g-, k} \boldsymbol {,}u_{k}^{EV},u_{k}^{WM},u_{k}^{DW},u_{k}^{SD} \\ \end{array}} }\right)\,\, k \tag{30}\end{align*}
Case Study
A. Scenario Description
Throughout this section, we present several results obtained using the developed optimization algorithm on a benchmark smart prosumer environment such as that showed in Fig. 1. The developed optimization problem was coded under Matlab R2019b. The project lifetime was taken equal to 15 years, which is considered an acceptable lifetime for Li-ion batteries [32]. In order to check the viability of the proposed PV domestic installations with second-purpose batteries, four scenarios are tested, whose conditions are summarized in Table 1.
B. Input Data
As in other related papers, we only consider some representative profiles instead of the entire year. In this regard, we used clustering techniques [32] to determine which days can be considered the most representative of the whole input data. As result, Fig. 4 plots the 12 representative profiles used in simulations for PV potential and non-controllable demand. These input data were taken from [33] and correspond to real measurements for a household installation in Jaén, Spain.
In this paper, the Spanish retail market has been considered. Normally, the retail companies offer two types of tariffs, fixed tariffs and time-variable tariffs. Regarding the fixed tariff, a purchasing and selling price of 0.25 and 0.11 €/kWh, respectively, have been considered. On the other hand, Fig. 5 plots the profiles of a time-variable tariff corresponding to the 12 representative days considered in simulations, each one corresponds to a month of the year.
The different economic parameters are summarized in Table 2 and have been adapted from [34] and [35]. On the other hand, Table 3 collects the data referred to the controllable appliances. As in other papers [36], we considered a washing machine, dishwasher and spin dryer. Lastly, Table 4 summarizes the data regarded the EV. As commented in Section III, we consider a linear degradation of batteries by which their state-of-health falls to 80% in 7 years and 55% in 15 years, according to the model described in [5].
C. Results
Table 5 reports the main results obtained with the developed algorithm in the four considered scenarios. As seen, the most profitable results were obtained in the scenarios 3 and 4, i.e. when considering second-purpose batteries, reducing the total project cost by ~15%. It strengthens the idea that using second purpose batteries is a viable option and may result profitable in a variety of installations, as pointed out in [37]. From Table 5 it is also observed that PV size does not directly depend on the installation of second-purpose batteries rather than the tariff considered, resulting in a bigger PV array when fixed tariffs are contemplated. It is observed as the percentage of self-consumption with batteries is remarkably higher than without them, there is a difference of more than 20%.
From Table 5 is also deduced that the self-consumption rate (SCR) is notably higher in the scenarios 3 and 4 (~20%). This result was expected as stationary batteries allows a more efficient management of renewable energy. In this regard, when surplus PV generation is available, it can be stored in batteries in contrast to the scenarios 1 and 2, when stationary batteries are not considered. These results evidence that storage systems are beneficial in installations with high renewable penetration, enabling a more efficient use of renewable sources and thus improving economic and environmental indexes.
Table 6 summarizes the total energy exchanged with the grid as well as the total PV generation over the project lifetime. As expected, results obtained in scenarios 1 and 2 were similar for all the years considered, since in this case second-purpose batteries are not considered and therefore the system does not change at seventh year, when batteries are no longer valid for mobility. For these scenarios, the main differences were observed on the energy sold and PV generation, observing that both indicators were higher in the scenario 1 due to the higher PV size. In particular, the total energy sold and PV generation were a 20% and 15% higher, respectively, in the first scenario with respect to S2.
For scenarios S3 and S4, the energy generated by the photovoltaic system increases proportionally to the installed power of the PV array. In these scenarios, both imports and exports are significantly reduced in comparison with scenarios 1 and 2 (up to 28%). This fact is more evident when second-purpose batteries are installed. Indeed, it can be seen that beyond year 11, the purchasing and selling energies drop significantly.
From Table 6 it can be also observed that energy exchanged with the grid increases with the years, due to the battery degradations affects to its capacity, which forces to recur to the grid for both, importing energy for covering the home demand but also to sell energy when surplus renewable generation is observed. In this sense, when the battery is able to absorb the surplus renewable, the scheduling algorithm prioritizes storing energy for self-consumption. However, when the capacity of the battery is limited, surplus energy must be exported to the grid.
For the sake of example, Figs. 6 and 7 plot the scheduling results on day 4 in the scenarios 1 and 2. It can be seen that, in both cases, controllable appliances were mainly scheduled during midday, when PV generation is high. This way, these appliances can be partially supplied from renewable sources at low cost. Regarding the EV, it is charged at night. When considering a fixed tariff, it is scheduled almost at the beginning of its time window. However, when a variable tariff is assumed, its charging is delayed to coincide with the lowest energy price.
Figs. 8 and 9 are analogue to Figs. 6 and 7 but analysing the scenarios 3 and 4. In this case, different years are shown in order to analyse the effect of batteries in the scheduling result (from 0 to 7 years without batteries and beyond year 8 with second-purpose batteries installed at home). While the controllable appliances are scheduled during midday as in the scenarios 1 and 2, the behaviour of the vehicle is different and worth to be analysed. In year 8, the energy stored in the battery is almost enough to charge the EV but as the years progress, the capacity of the battery decreases due to its degradation and a certain amount of purchasing energy from the grid is required for the total EV charge. On the other hand, the behaviour is similar in S4, nevertheless, the difference lies largely in that the EV charging is delayed to coincide with the lowest energy price and during the EV charging time second-purpose batteries are discharged combining with the energy input from the grid since its price is variable.
D. Analyzing the Effect of Limited PV Size
So far, PV size was only limited by the available budget. However, the total PV installed capacity may be also bounded by other factors like the available surface. In this regard, we run different simulations limiting the PV size in the range 1–7 kWp, in order to analyse the effect of this parameter in final results. With these conditions, the most significant results (i.e., total project cost and SCR) are given in Fig. 10. As expected, the total project cost decreases while the SCR increases with the PV power limit (~33% and 50%, respectively). When comparing the different scenarios, it can be seen that the total project cost is lower when the system uses a second cycle battery (S3, S4). Likewise, the scenarios with fixed prices (S1, S3) showed worse results than those with variable prices (S2, S4). On the other hand, the percentage of self-consumption is always higher for scenarios with second cycle batteries (S3, S4) and more specifically for scenarios with a fixed tariff.
Conclusion
The effect of considering second-purpose batteries in smart homes installation has been analysed. In particular, the effect of using batteries from mobility for stationary supplying on the optimal design of PV installations has been profusely studied. To this end, an optimal planning methodology for smart homes has been proposed, including models for controllable appliances, PV array and EV. The resulting optimization problem has been solved using metaheuristics and is applicable for planning purposes where the data encompass various years.
The developed methodology has been applied to a benchmark prosumer environment and various scenarios were analysed. The results obtained allows us to concluded that:
The use of second-purpose batteries seems profitable in smart homes. Actually, the total project cost was reduced by 15% when using second-purpose batteries in comparison with those scenarios when this asset is not considered. These results are in concordance with other conclusions extracted in related studies.
However, the PV size does not depend on the use of second-purpose batteries rather on the tariff considered. In this regard, the lower project cost is more due to the reduced dependency of the grid. In fact, the SCR increased by 20% when second-purpose batteries were considered.
The degradation of batteries has a direct impact on the energy exchanged with the grid. Actually, it was observed that the dependency with the grid notably increases as the project evolves due to the limited capacity of batteries. In this regard, stationary batteries enable a more efficient use of surplus renewable generation.
ACKNOWLEDGMENT
This work was supported by the project entitled “Development of power-flow models for microgrid clusters” PID2021–123633OB-C31, Ministry of Science and Innovation, Knowledge Generation Projects 2021, Spain.