1. Introduction
Electricity supply and demand management are becoming increasingly complex. This complexity arises from the increasing contribution of decentralized renewable energy source (RES), like solar and wind power, feeding into local distribution grids [
1]. Furthermore, the increase in electricity consumption types, such as electric vehicles, often resulting in high demand peaks, further adds to these challenges [
2]. As this trend advances, the integration of distributed RES through optimal energy management within smart buildings and neighborhoods is gaining heightened importance [
3,
4]. The feasibility of intermittent RES such as solar photovoltaic (PV) as standalone power sources is limited due to the inherent fluctuations in electricity generation [
5]. A straightforward solution to address RES intermittency is by using storage units. Co-generation units and (legacy) connections to electricity and heat grids may help balance generation peaks and ease the integration of RES. Dispatchable energy units such as storage units for heat and power, and Combined heat and power (CHP) are especially important in disconnected energy communities [
6]. The increased flexibility benefits all actors in the energy system at large; however, it comes at the expense of significant investment costs. Optimal use of storage capacity allows investing in smaller, cheaper units. Moreover, considering battery degradation allows trading off arbitrage opportunities with battery lifetime.
The increasing number of electric vehicles (EVs), most of which are idle over
of the time, may have role as a flexible source in terms of shiftable demand and storable supply. Managing charging schedules can be beneficial not only for the charging costs of the EVs but also the operational cost of the entire system. Within this landscape, two distinct paradigms come into focus:
passive, uncontrolled charging, and
active, flexible charging (e.g., [
7]. In uncontrolled strategies, vehicles are charged upon plugging in, charging at their maximum capacity until the battery is fully charged. Conversely, active strategies align with electricity price signals and broader system costs, potentially encompassing battery degradation considerations. Taking active charging a step further is the concept of Vehicle-to-Grid (V2G), which represents the most flexible utilization of EV batteries. V2G allows for discharges too, albeit at the cost of added stress and a reduction in battery lifetime [
7].
Battery lifetime consists of two distinct components: calendar life and cycle life, both of which contribute to capacity reduction through chemical and mechanical stresses [
8]. For batteries that are used frequently, cycle life is often the key factor affecting lifespan [
9]. In contrast, for EV batteries, which may only be charged a few times per week, calendar aging is usually the dominant factor. Avoiding battery degradation in techno-economic models of smart grids or energy systems is commonly achieved by imposing a cost per
throughput and establishing (often conservative) boundaries for state of charge (SOC) [
10,
11]. However, these models often overlook the non-linear increase in aging caused by cycle depth (CD) and other aging factors. This oversight typically results in relatively deep charge-discharge cycles and high resting SOC levels, leading to substantially higher battery degradation than the model predicts. Alternatively, excessively penalizing smaller cycles or setting overly tight SOC boundaries can hinder leveraging arbitrage opportunities due to inter-temporal price differences. Several studies focus specifically on modeling battery degradation. For instance, [
9,
12] analyzes the impact of degradation on electric vehicle batteries and its associated cost implications. Similarly, [
13] investigates the effects of battery degradation in electric vehicles and stationary batteries on the investment costs of distribution networks for renewable energy-based distributed generation, energy storage systems, and electric vehicle charging stations. This study only includes the impacts of depth of discharge on the degradation cost. However, many other studies examining the interplay between EVs and smart neighborhoods oversimplify degradation costs, often reducing them to a constant value [
14,
15,
16,
17].
Moreover, the challenge of (foreseeable) intermittency, as well as uncertainty arising from sources such as RES, market prices, and demand, impacts least-cost operation [
14,
15,
18,
19]. Uncertainty in electricity prices and demand impacts least-cost operation and is a key challenge in energy systems. For instance, virtual power plants have been proposed to aggregate small-scale battery energy storage systems for frequency regulation, demonstrating how managing uncertainties in market prices and storage degradation is crucial for their operational success [
20]. Despite the significant impact of uncertainty, most researchers deploy deterministic models (c.f., [
21,
22,
23]). An exception is [
24], who propose a two-stage stochastic model aimed at optimizing the operation of a RES-based micro grid (MG) equipped with an EV parking lot. However, in energy systems, uncertain events typically unfold across multiple temporal instances, making stochastic programs with multiple (more than two) stages more appropriate [
25,
26]. At present, the number of multi-stage models for operational scheduling in energy systems is relatively limited. Most smart grid literature focuses on deterministic or two-stage stochastic models to deal with optimal operational problems of smart energy neighborhoods [
16,
17,
27]. However, [
28] employ a multi-stage stochastic model to enhance energy-efficient scheduling of a CHP unit, PV, heat boiler, and energy storage systems within a building, addressing both electricity and thermal demands. [
29] apply stochastic dual dynamic programming and compare a two-stage and a multi-stage model to minimize the expected total cost of an IEEE 118-bus system with integrated RES. Additionally, many papers overlook or simplify the degradation costs associated with stationary storage and EV batteries. With this paper, we aim to contribute to the literature by developing a multi-stage stochastic model of a local energy system with a detailed battery degradation representation.
This paper investigates how electric vehicle charging strategies interact with behavioral and price uncertainties in a building complex equipped with various energy generation and storage options. We aim to minimize expected operational costs, including battery degradation costs. To achieve this, we adopt the improved battery degradation model as developed in [
30]. In [
30], a battery and a spot market for electricity are the two considered elements. The multi-stage operational model in the current paper considers a system with many more elements, and it provides a comprehensive framework for accommodating uncertainty in EV owners’ behavior (charging demand) and electricity prices.
This study is conducted to assess the impact of different charging strategies for EV on the operational energy costs while taking into account battery degradation. The method is applied to a neighborhood within an urban setting, representing a building complex in Pfreimd, Germany. It consists of four buildings with a total of 80 apartments and approximately 300 residents. The complex has its own energy resources and connections to the main energy grids for power, heat, and natural gas. The buildings are outfitted with PV modules. One of the buildings features a small-scale CHP, a TES, and a stationary battery. External electricity and district heating grids both supply energy to this community, and surplus electricity can be fed back into the grid, however, heat can not. In this analysis, we account for battery degradation in both the stationary battery and the EVs batteries with the representations developed in [
30]. We also consider uncertainty in electricity prices and demand. In this study, we consider Nickel Manganese Cobalt (NMC) batteries only due to their widespread usage in electric vehicles [
31]. Due to lacking data, other battery types, such as Lithium Iron Phosphate batteries, as promising as they may be in light of sustainability and ethical considerations [
32], are not in the scope of the current paper.
In summary, the key contributions of this paper are as follows:
The interaction between electric vehicle charging strategies, behavioral uncertainty, and price fluctuations in a building complex equipped with various energy generation and storage options is analyzed.
A comprehensive framework is provided for considering both electric vehicle and stationary battery degradation, based on calendar aging, cycle depth, and SOC levels, in the context of minimizing operational costs.
A multi-stage stochastic operational model is developed to minimize expected operational costs, including battery degradation costs, by accounting for uncertainty in EV charging demand and electricity prices.
Three charging strategies — passive charging, smart charging, and V2G charging — are considered to investigate the impact on degradation costs and evaluate the differences in operational energy costs for each strategy.
We show that smart charging achieves a significant reduction in energy cost and battery degradation, and that most benefits are obtainable just by optimized timing of charging itself; Vehicle-to-Grid delivery adds relatively little value.
The remainder of the paper is structured as follows. In
Section 2, we explain the scenario tree structure used to represent uncertainty and present the mathematical formulation of the proposed model, including the cost function, energy balances, and operational constraints of generation units as well as storage facilities.
Section 2.4 provides an electric battery degradation model used in the optimization, detailing three degradation mechanisms. Following this,
Section 3 discusses numerical results and findings of the conducted case study. Lastly,
Section 4 summarizes our findings and identifies future research directions.