1. Introduction
The transport sector is one of several sectors driving electrification as an important part of the transition to a fossil-free society. A lack of capacity in the electric distribution grid and an increasing penetration of non-dispatchable electricity generation are two challenges that threaten to slow down the transition to a more sustainable energy system. Moreover, the increasing use of electric vehicles (EVs) impacts demand peaks, reduces reserve margins, and increases electricity prices [
1]. The transition to a fossil-free transport sector is also dependent on the charging infrastructure being expanded at a similar rate as the increase of EVs on the market. The electricity production and distribution capacity will thus come to be of crucial importance for the successful electrification of the vehicle fleet. However, unlike national grid-scale solutions which can be challenging to rapidly implement, there are potential local solutions that may help flatten the electricity demand and that can free up grid capacity in high load hours. Among these are the integration of renewable energy sources, together with energy storage technologies, as well as user-focused strategies for demand side flexibility and load shifting.
Higher flexibility on the demand side implies moving consumption to hours of lower demand, thus making better use of the existing grid capacity or better matching the consumption of electricity with the production from renewable sources. In terms of charging infrastructure, this can be achieved through smart charging strategies in combination with local energy storage and electricity production.
Previous studies have examined how different technologies and policies interact with each other and affect transport emissions [
2,
3], and how to implement a larger electric vehicle fleet in the energy system [
4,
5]. The potential for load shifting, i.e., moving the demand from peak hours to off-peak hours of the day, through controlled charging is demonstrated to be high [
6]. The load shifting potential of electric vehicles in energy systems has been extensively studied: models, as in [
7], and smart charging schemes, e.g., [
8,
9], have been proposed. The coordination of renewables and energy storage systems to optimize EV charging scheduling and management have been widely studied. For example, a smart charging management system for EV fleets integrating photovoltaic (PV) electricity production and energy storage (ES) systems have been designed in [
10]. A charging model for a public infrastructure with PV and ES systems, which takes into consideration the charging prices, was developed in [
11].
At present, there is a need for research based on models and data that are realistic from a power system perspective, as well as a facility-, technology-, and a vehicle-owner perspective. Moreover, there is a need for studies with experimental verifications. Efficient data collection, investigation of technical possibilities and challenges with smart charging (among others V2G [
12]), as well as tests and analyses of smart charging strategies in real environments [
13] are examples of issues that need to be explored. Smart algorithms that can control the system power flows need to be investigated as in [
14] while always keeping in mind the needs of the electric vehicle users, the car’s battery pack requirements and, at the same time, the support to the local grid. Moreover, the co-creation of research and collaboration between partners from academia, the private and public sectors is vital to understand the challenges of real implementation and identify potential solutions, as well as to produce research that can more effectively support and speed up the transition to a more sustainable energy system.
In Uppsala and other big cities in Sweden, it is the capacity of the electricity grid that constitutes the biggest bottleneck. In Uppsala, the Swedish TSO Svenska Kraftnät (SvK) is planning to increase the grid capacity starting in 2024 [
15]. However, extending the grid is expensive. Thus, traditional grid reinforcements should be accompanied by smarter use of the resources available, making the grid as a whole more cost-effective. EV batteries and chargers can be part of the solution to this challenge because they can be used as flexible resources thanks to the implementation of smart charging strategies. In the best case, they might even reduce the need for grid expansion.
The idea of this paper is to provide research on a real-world example of smart charging infrastructure. Its main contribution is to provide a case study—based on an existing and newly built parking garage with an advanced electricity infrastructure—that shows how PV, battery ES, and smart charging of EVs can smooth out and reduce load peaks, hence, lower a parking garage impact and dependence on the grid. This is achieved by developing an energy flow model and simulating different scenarios, each one with a different goal. First of all, the aim is to describe the energy flow during operation without control strategies, i.e., the current situation at the car park. Secondly, the goal is to investigate the potential benefit of implementing smart charging strategies. In these new scenarios, the aim is to show when and how the smart charging strategy and the energy storage system reduce the high consumption loads at the parking garage, lowering the costs of the parking garage owner. Moreover, the goal is to show how to minimize the consumption of the garage during hours of peak demand for the Uppsala distribution grid, by being self-sufficient during hours of high demand.
Although there is much good research available on the potential for smart charging, there is a lot that happens between theory and practical implementation. There is a risk that research does not provide answers that are realistic for stakeholders and that research, therefore, is not efficiently disseminated into practice. Hence, there is a need for co-created research and research questions with non-academic stakeholders, and for the scientific community to get examples of realistic scenarios. Even for a city like Uppsala with high ambitions towards sustainability and for its municipality-owned parking garages, many other factors that are economical, practical, and regulatory in nature affect what is built in the end. A better understanding of the potential of this parking garage will help to increase knowledge on how a public infrastructure can contribute to a more sustainable city, as it enables an increased share of renewable energy sources in the production mix and wisely uses the electricity from the distribution grid.
1.1. Background
The Division of Electricity at Uppsala University (UU) and The foundation for collaboration between the universities in Uppsala, business and society (STUNS) have developed a collaboration with Uppsala Parkerings AB (UPAB). UPAB, owned by the municipality of Uppsala, operates a parking garage at Dansmästaren, also known as mobility house [
16], a building that includes a parking garage, 133 student apartments, and one grocery store. UPAB, together with STUNS and UU, has developed Dansmästaren to be simultaneously a commercial parking garage and test bed for research. The collaboration began at an early stage and led the researchers to influence the building’s electrical infrastructure and measurement system. This enables Dansmästaren to be a flexible test bed where different energy storage technologies, electricity generation units, and different strategies for smart charging have an opportunity to be tested in a real environment for many years to come.
Today, the parking garage is equipped with a solar park (50 kW/62 kW
P), 30 charging stations from Charge Amps, each of them having two 22 kW charging points, a Li-ion battery storage (60 kW/137 kWh), a comprehensive measurement system, and hardware and software for the development of a smart energy management system (EMS). More detailed information will be given in
Section 2.
Dansmästaren was inaugurated in the fall of 2020 and preliminary data were collected for about one year of service, enabling the validation of the energy flow model which is presented in
Section 2. The results are discussed in
Section 3 and the limitations of the model are included in the article. The major findings and conclusions are summarized in
Section 4.
2. Materials and Methods
The aim of the model here presented is to simulate the energy flow in the mobility house for one year and with hourly resolution. Given the fact that a hourly time step is chosen for the simulations, the data are referred to as energy rather than power or average power per hour.
The available energy at the mobility house is given by the production of the PV farm, the available energy in the battery energy storage system, and the energy delivered by the grid. The PV delivers energy directly to the car park and charges the ES, while the solar overproduction is sold to the utility grid. The use of PV and ES as energy supply to the mobility house is prioritized over the use of the energy coming from the grid. The available energy that can supply the car park is limited by the rating of the transformer.
The model has been developed using the MATLAB calculation tool and it is organized in different blocks which are described below and schematically shown in
Figure 1. The blue blocks are described in more detail in
Section 2.1,
Section 2.2,
Section 2.3,
Section 2.4 and
Section 2.5 and they generate the inputs to the energy flow model. The model operates with smart charging of the EVs (Smart Charge) or without it (No Control). Each block is built on one or a series of MATLAB functions nested into each other.
2.1. PV Production
2.1.1. Set Up at the Mobility House
This block of code outputs the energy produced by the solar power plant installed on the roof of the parking garage. The PV plant is built by alternating rows of mono-facial solar panels [
17] and bifacial panels [
18]. The advantage of using bifacial panels is that they can absorb irradiation on the back side of the panel as well. The rated power of the plant is 50 kW (62 kW
P), and consists of a total of 160 panels, 80 mono- and 80 bifacial panels. Each set of panels is connected to a 25-kW inverter and an energy meter. The latter, together with an ambient temperature and two irradiation sensors installed on Dansmästaren’s rooftop, will provide data to validate the PV model. For what concerns the irradiation sensors, one is installed measuring irradiation upwards and one downwards. The upward sensor measures the irradiation on the monocrystalline panels and the top side of the bifacial panels, while the sensor installed looking downwards measures the reflected irradiation hitting the bottom side of the bifacial panels. The PV data from SMA Solar Technology were collected from the web service called Sunny Portal [
19].
2.1.2. Modeling
The model receives as input historical irradiation and temperature data downloaded from the Swedish Meteorological and Hydrological Institute (SMHI) website [
20]. The coordinates are set to 59.838960 latitude and 17.639778 longitude. The missing data points have been replaced by linear interpolation of the existing data. The data, generated with SMHI’s models, have an error that is up to 42% for the direct normal irradiance from April to September 2021, the relevant time window for the validation. This value was provided by direct communication with SMHI meteorologists. In order to calculate the solar energy absorbed by the two sets of panels, the solar irradiation theory has been applied [
21]. To calculate the efficiency of the panels, Equation (1) was used:
where η is the efficiency of the solar panels, η
r is the efficiency of the panels at standard operating conditions,
β is the cell temperature coefficient,
Tc is the cell temperature, and
Tr is the cell temperature at standard operating conditions [
22]. η
r,
β, and
Tr are values reported on the panels’ data sheets [
17,
18], while
Tc is calculated as:
where
Ta is the ambient temperature,
GT is the solar irradiation striking the solar panels,
Tc,NOTC is the nominal operating cell temperature,
Ta,NOTC (20°) is the nominal operating ambient temperature, and
GT,NOTC is the nominal operating irradiance (800 W/m
2).
η differs between the mono- and bifacial panels, hence, the PV efficiency of the entire PV plant is calculated as in Equation (3):
where
A is the surface area covered by the cells of the solar panels, and the subscription
m and
b refer to the mono- and bifacial panels respectively.
Using a constant inverter efficiency from the datasheets, the solar energy production was then calculated for the entire plant. This energy is available to balance the consumption of the parking garage, e.g., by charging EVs and the ES, and the excess is sold to the grid.
2.2. Energy Storage (ES)
2.2.1. Set Up at the Mobility House
The parking garage has a dedicated technical room where several power and energy storage systems can be installed. So far, a lithium-ion battery energy storage system has been connected and it is generically referred to as ES throughout the article. It consists of two battery racks of 9 modules each for a total capacity of 137 kWh (see
Figure 2). The modularity makes this system suitable for scaling it up in the future. Each rack is connected to a battery management system and the inverters allow a charge/discharge limit of 60 kW in total. Safety features are currently being integrated into the system and the ES is not yet in operation.
2.2.2. Modeling
Within the model, the ES can be used to store solar energy and to lower the energy consumption from the grid during peak hours, contributing to peak shaving. During the simulations, a function updates the state of charge (SOC) of the energy storage depending on the charge or discharge during the previous time step. Moreover, the degradation of the batteries is taken into consideration, and it is based on the number of cycles of charge-discharge. The capacity fade is calculated using Equation (4) [
23].
where
Bc,t is the battery capacity at a given time step of the simulation;
Bc,t−1 is the energy storage capacity at the previous time step,
drate is the degradation rate, assumed to be 70%;
Nc is the number of cycles (or charging fraction) at the previous time step; and
Nc,life is the lifetime of the batteries, set to 2000 cycles.
2.3. Electric Vehicles
2.3.1. Set Up at the Mobility House
The parking garage was inaugurated in the fall of 2020, during the COVID-19 pandemic. This influenced the number of vehicles parking at the garage and the EVs’ charging patterns. In 2021, the garage had 32 charging points intended for EV owners living in the residential area of Rosendal, some stations for short-time parking typically used by EV owners working in the area or visitors, and some charging stations for food delivery service cars. At the moment, the cars start to charge as soon as they are connected to the charging point, while smart charging will be implemented in the future. The data available on EV charging sessions at the mobility house were collected during 2021 and were supplied by the charging station manufacturer, ChargeAmps. The first months of data have been discarded because the number of EVs parking at the garage was negligible: the data collected consist of a few charging sessions. From May onwards, the data become more interesting to analyze, even though the number of cars parked daily is very limited, up to a maximum of 8 cars parking at the same time during evening charging sessions.
2.3.2. Modeling of EV Patterns
The block which models the EV charging patterns is built on different MATLAB functions. To represent reality in the best possible way, some hypotheses based on statistical data were made (
Table 1). Note that the rating of the charging point has been given in
Section 1.1 as 22 kW, but the power delivered by the charging point to the car was assumed to be 11 kW. The reason why this value was chosen is explained in
Section 3.1.2.
The EVs’ consumption changes during the year, e.g., due to temperature differences and traffic intensity. Those fluctuations are taken into account and the EV profiles experience a variation during the simulated year. Moreover, the time of arrival and departure of each car is estimated depending on the user type: EVs owned by people living in the residential area of Rosendal and working during the day (charging during the night), EVs owned by residents working during the night (charging during the day), and EVs owned by people visiting or working in the area, hence, charging during the day. Statistical data on new registrations of EVs [
24] and energy consumption of EVs [
25] has been collected and analyzed to make those assumptions as close as possible to reality and to make predictions for the years to come. A reasonable future scenario identified for this study is when 60 cars a day will access the car park. In this case, we assume that 20 EV owners visiting or working in the area will park at Dansmästaren, that 34 residents will charge at night and 6 residents during the day (
Table 2).
The vehicle parking simultaneously at the garage changes at every simulation because of the degree of randomness given by the variance applied to the arrival and departure times. An example is illustrated in
Figure 3, which shows the occurrence of EVs parking simultaneously during one year.
2.3.3. Modeling of EVs Smart Charge
The simulations run in two different modes. The first mode allows the EVs to charge at maximum power as they arrive and plug in their cars to the charging point (so-called, No Control strategy). The second mode, called Smart Charge, is based on a priority charging strategy.
The No Control strategy reflects what happens at the mobility house nowadays: the cars plug in and start charging directly. On the other hand, the Smart Charge strategy consists in defining an urgency factor (
UF) that is used to rank which EV charging needs to be prioritized at each hourly time step. In particular, the EV pattern block outputs a three-dimensional tensor, that for every time step and every new EV parking at the mobility house gives information on the maximum battery capacity of the EV, its updated SOC, the time steps left until departure, how many time steps are needed to reach the EV full charge (SOC = 100%), how much energy from the grid is available, and what the EV
UF is. The
UF is based on the time left until departure and the SOC of the vehicle at each time step.
UF is calculated as the ratio between the minimum hours needed to get a fully charged EV (
TSOC100%) and the time left until the vehicle departs (
Tleft), as shown in Equation (5).
The higher the vehicle’s UF, the higher the priority given to that EV to charge. The Smart Charge algorithm is triggered every time the available energy from the grid, the PV, and the ES is not enough to charge simultaneously all EVs at the maximum possible rate. As will be discussed later, the available energy from the grid can be limited to a chosen value when running the Smart Charge algorithm: the grid maximum available energy (Eg,max) is a parameter that can be initialized in the Smart Charging algorithm and represents the chosen energy threshold that should not be exceeded at any time step.
2.4. Base Load
2.4.1. Set Up at the Mobility House
The sum of the peripheral loads consumed at the mobility house, independent from the EV charging, is here called base load (BL). The BL at the parking garage mainly consists of lighting the facility. A water pump, a ventilation system, a heated staircase, and elevators also contribute to the base load profile.
2.4.2. Modeling
To model this consumption curve, Equation (6) was developed. It shows the dependence of the BL on the average base load in 2021 (
BLmean) and the angle of the sun above the horizon, α, where α = 90° − θ, with θ being the zenith angle.
Currently, at Dansmästaren, the BLmean is 17.25 kWh approximately.
2.5. Electrical Grid
2.5.1. Set Up at the Mobility House and Challenges in Uppsala
From Dansmästaren’s perspective, the garage has a grid-connected three-phase transformer with a power rating of 345 kW. 276 kW are allocated for the EVs and the rest for peripheral loads.
From the city perspective, the two transmission system operator (TSO) substations connected to Uppsala’s distribution grid have a combined subscription limit of 293 MW. During 2015–2019 their limit was exceeded approximately 2% of the time during 112 days for a total of 802 h, 160 h per year approximately. Those peaks occurred during wintertime with 16 consecutive hours being the longest session, according to the results presented by the European project CoordiNet [
26]. Data collected by SvK from the network area of Uppsala (UPP) for the time window 2018–2021 were used to find the 150 highest load hours per year in a more conservative scenario.
Figure 4 shows where and when those load hours occurred, cumulating them over the four-year period. As illustrated in
Figure 4, the majority of the high load hours take place in the afternoon between 4 p.m. and 6 p.m. Furthermore, the highest load hours occur mostly in December to February and during weekdays.
2.5.2. Modeling
As mentioned in
Section 1, the energy flow model has multiple goals. The aim is to show (a) when and how the smart charge strategy and the ES contribute to shifting the load at Dansmästaren, and (b) how the mobility house can stress the grid the least during peak hours. From a modeling viewpoint, the consumption of the mobility house will be forced to decrease a few minutes before the critical time window when the peak occurs and start to slowly increase after it, to take into account a smoother transition during grid coupling and decoupling.
The former goal (a), focusing mainly on the parking garage owner’s perspective, is achieved by smoothing out the load curve and avoiding consumption peaks. Moreover, the contribution of the energy from the grid is limited to a certain threshold, E
g,max. The latter goal (b), focusing mainly on the city perspective, is achieved by reducing the contribution of the energy from the grid up to zero during peak hours. From
Figure 4, it can be concluded that a smart control system, if statically modeled, should avoid charging the cars at least between 4 p.m. and 6 p.m. from December to February. This can reduce the contribution of Dansmästaren to grid peak load hours that violate the subscription limit. For ease, this interval will be set from January to December, i.e. the entire year, in the simulations.
2.6. Simulation Scenarios
Based on the goals set in
Section 2.5.2, several scenarios have been simulated.
Table 3 summarizes them, and
Section 3 will present and discuss the results from each scenario.
Scenario 1.a reflects the current situation at Dansmästaren. Scenario 1.b shows what might happen once the ES will be operational. Scenarios 2.a and 2.b take into consideration the needs of UPAB to avoid energy peaks during the day. Scenarios 3.a and 3.b take into consideration the peak hours for the grid in Uppsala, aiming at running the garage in island mode between 4 and 6 p.m.
The current situation at the parking garage sees a limited number of EVs charging per day. In the future, the number of EVs on the market will increase, as well as the number of electric cars parked at Dansmästaren. Based on the new registrations of EVs in Uppsala County [
27], 53% of EVs are hybrid and about 47% are electric. To simplify the analyses, we assume that in the future the hybrid vehicles will charge at a higher rate than today, but still keep a battery capacity smaller than that of battery electric vehicles.
4. Conclusions
This study aims to model the energy flow in a real parking garage in Uppsala (scenario 1.a) and shows how renewable energy sources, energy storage, and smart charging of EVs can help a parking garage to smooth out its load curve (scenarios 1.b, 2.a, and 2.b). Additionally, it illustrates how the grid energy demand of the mobility house can be uncorrelated to the Uppsala utility grid load curve (scenarios 3.a and 3.b).
The study is conducted after partial validation of the model with measured data from the parking garage. The validation was presented in
Section 3.1 and the limitations connected to the EV pattern validation were described.
For the reasons discussed within the article, the energy flow model presented does not claim to provide quantitative results, but rather qualitative ones. It shows the benefits that Dansmästaren could potentially have if smart strategies for load shifting could be implemented and, as such, it provides a tool that will be used to investigate future scenarios and the potential of other parking garages planned to be built in Uppsala.
The energy flow model is used to describe the different scenarios presented in
Table 3. The current scenario is shown to be suboptimal. By connecting the battery ES to the energy system, the grid usage decreases by approximately 11%, also contributing to better in-house use of solar energy, which increases by 34%. By activating a smart starting strategy based on priority charging, the power peaks (kWh/h) are shown to be reduced by more than 60% without compromising the SOC of the cars at departure. In the future, when more vehicles will park at the mobility house, the need for a smart charging strategy will become even more important. The simulations show that peaks (kWh/h) can be reduced by 79% when a smart charging strategy together with renewable energy production and energy storage is implemented. Moreover, the study shows that the mobility house could be self-sufficient during some hours per day while still delivering a high SOC for departing EVs. Finally, as mentioned in the article, the limitations of the study allow the results to be valid on a qualitative level. The analysis is based on hourly data, which were available at the time of the study. In order to give a clear picture of the peak power demand of the mobility house, higher resolution data would be necessary.
In conclusion, Dansmästaren shows great potential to contribute to a more sustainable energy system and strengthen the electrification of the local transport in Uppsala.