Keywords

1 Introduction

All the EV utilizing rotational motors for producing the tractive effort, display similar configurations of their power systems responsible for torque production and its conversion into the traction force applied at the wheel. Such systems consist of a primary energy source, converter(s), and rotational electric motors, eventually a gearbox and traction wheels. In the latest applications, one can observe a trend to integrate the assembly motor–traction wheel in a subcomponent eliminating the need for the differential gearbox. The autonomous electric vehicles, presented in the first section of this chapter, operate based on a primary source of energy, including a system of rechargeable batteries. Their connection to the power grid generally occurs during their parking time. Purely electric vehicles rely on batteries exclusively, whereas plug-in hybrid vehicles (PHEV) contain a fossil fuel-based primary energy source as well.

The implementation in the last decade of newly restrictive norms regarding the pollution reduction and climate change mitigation, targeting agglomerated metropoles from several developed countries, determined a significant increase in the percentage of EV from the total number of vehicles on the road.

Consequently, the autonomous EV fleet became a direct and essential player regarding the processes of energy conversion, transfer and distribution, working within SGPS which includes renewable energy sources (RES) as well. Ignoring the interaction between the electric vehicles and the SGPS became practically impossible, given the bi-directional character of the energy transfer. The electric energy flows from the grid to the vehicles during the battery recharging process, and conversely from the vehicles to the grid, mostly during the hours of highly local power demand. In the last case the electric vehicles, having their batteries charged enough, act as generators whereas the grid absorbs the electrical energy.

Section 2 of this chapter provides details regarding the bi-directional transfer of electric energy. The inherent involvement of the power electronic converters in the process of the electric energy transmission, no matter their location, inside the grid or belonging to the electric vehicles, may result in the generation of current harmonics. These harmonics can circulate through the power system, influencing the operation of its components through the production of further losses, heating, and determining an overall efficiency decrease. Some components of the SGPS may become victims of this phenomenon, which overall affects the power quality of the system. This section includes details regarding the classification of components interacting within an SGPS. It delivers insight regarding the ancillary services provided by the EVs, and their implications in terms of battery lifespan. There is a presentation of standards and norms concerning both the EVs and SGPS reflecting the complexity of the interaction level, including economical aspect as well as energy management.

Section 3 focuses on the charger’s classification and performances, as well as on solutions regarding the charging stations and the correlation between the driving habits and the status of the battery.

The main objective of Sect. 4 is the analysis of the optimal integration of electric vehicles into the smart grid. Such a problem is very complex presenting significant considerations related to the distribution of the parking areas and their types of charging stations, the locations assigned to the power regulators and power system stabilizers (PSS) and the performances of such devices, the types of vehicles in the system, the demand in recharging power at the moment or conversely the power delivered by the vehicles and consumed by the grid, the minimization of the losses and costs required by the bi-directional energy transfer through the ongoing efficiency maximization. The case of study and the adjacent simulations performed utilizing the well-known MATLAB program answers to the requirements highlighted above.

The final section contains the conclusions of this work, and the chapter ends with numerous and consistent list of up-to-date bibliographical references.

2 Electric Vehicles, Smart Grid Power System and Bi-directional Energy Flow

The understanding of EV integration into SGPS, nowadays, requires familiarity with the vehicle to grid (V2G) concept, firstly introduced by Kempton [1], in 1997, which proposes the utilization of EVs as sources for the SGPS. An SGPS includes RES, storage units, and eventually, classical energy sources, based on fossil fuel (see Fig. 1) [2]. The structure of an SGPS, according to the National Institute of Standards and Technology (US) contains the following divisions [3]:

Fig. 1
figure 1

One smart grid configuration

  • Generation

  • Transmission

  • Distribution

  • Service Providers

  • Consumers (customers)

  • Energy Market

  • Operations

At this point, there is no direct reference to the terms such as V2G, aggregator, whereas the customers are not candidates for energy storage, suitable for involvement in V2G action.

The storage units can include or be exclusively EVs, whereas small scale applications may not contain classical sources. Continuously increasing EV fleet around the globe comes with the drawback of the massive charging demand, which strongly impacts the power grid components such as generators, transformers, distribution cables. Interconnection between the local power system, RES and charging stations may represent the critical solution for the mitigation of the drawbacks mentioned above. Moreover, it can lead to a decrease in the amount of greenhouse gases released into the atmosphere and in the EVs charging cost, as well [2,3,4,5,6].

Assuming substantial scale participation of RES, one must account for their significant dependence on weather conditions, generally resulting in either surplus or deficit of delivered energy and, consequently, hardship concerning dispatching it. Participation of the EVs considered working under the V2G technology, can significantly improve the overall SGPS stability by smoothing the power and voltage profiles versus the time, whereas playing the character of storage system for the energy delivered by RES or being an intelligent consumer through an intelligently planned and coordinated EVs battery charging process.

The interaction between the SGPS, RES, and EVs follows three distinct directions [2]:

  • SGPS efficiency improvement, utilizing the EVs batteries as energy buffers; EVs charging takes place when the RES energy is in excess to the grid absorption availability, whereas EVs batteries deliver electric power to the supply when an SGPS experiences power deficit.

  • Cost-effectiveness, results in preoccupation for minimization of electricity generation, charging and operation and maximization of the provider’s profit.

  • Reduction in greenhouse gas emissions.

The main difference between EVs and the vehicles utilizing engines with internal combustion resides in the nature of the engine itself. The autonomous EVs primary’s source is either a power generator (e.g., diesel-electric or gas-turbine based locomotives, in which cases the prime mover of the generator is an internal combustion engine) or a storage system existing on-board, mostly batteries. Most of the current EV employs the last type of source. There are two main categories of EVs [2]:

Battery Electric Vehicles: The power plant of EVs compatible to V2G technology consists of a rechargeable battery storage system, an electric motor (permanent magnet synchronous, induction or switched reluctance), and a four-quadrant fully-controlled power converter (i.e. composed from two fully-controlled rectifiers, the one ‘s positive output rail being the negative for the other, and conversely).

Plug-in Hybrid Electric Vehicles: Relying on a battery storage system and a fuel tank as well, the power plant contains two motors for a combined propulsion system, one electric and another one with internal combustion, although they don’t operate simultaneously. With the vehicle in the charge depleting mode, the electric motor drives the vehicle, getting its input electric power from the batteries, until the battery reaches the lowest charge threshold. At this point, the control system switches the traction responsibility to the internal combustion motor, which carries the extra responsibility of charging the battery system to the highest state of charge threshold limit, giving the possibility to the controller to switch back to the electric motor. Such an operation is called parallel-hybrid [2]. Lithium-ion batteries, the main elements fulfilling the energy storage function of the duality SGPS–EVs, possess a high density of energy, long life span, and minimal environmental impact. However, they require special attention from the control systems apropos the charging/discharging process, improper voltage/current variations resulting in battery damage. RES is the main component of an SGPS, and the most known types are the wind energy and solar energy, yet both are highly weather dependent.

2.1 Wind Energy Based RES

The appropriate placement of wind farms improves the efficiency of energy conversion from wind to electrical and increases the output of electrical energy. The wind speed determines the amount and the quality of wind energy, and there are several proposed methods for the evaluation of the wind speed and power summarized in [2], using the approach of Peterson and Hennessey:

$$\left( {{v \mathord{\left/ {\vphantom {v {v_{r} }}} \right. \kern-0pt} {v_{r} }}} \right) = \left( {{h \mathord{\left/ {\vphantom {h {h_{r} }}} \right. \kern-0pt} {h_{r} }}} \right)^{a}$$
(1)

In (1), v is the wind speed at height h, whereas the wind speed vr is known for the reference height hr, and the coefficient a belongs to the interval 0.1–0.4.

The amount of wind energy with the potential of conversion into electrical energy, for the wind speed (1), strongly depends on atmospheric conditions such as wind speed and air density [2]:

$$P = 0.5\varepsilon \rho Av^{3}$$
(2)

The coefficient α designates the constant of Albert Betz, ρ (kg/m3) is the air density, A (m2) is the cleared area by the wind turbine, whereas v (m/s) is the wind speed. The employment of several available expressions may correlate the wind power to the wind generator rated value, as in (3a3c) [2]:

$$P_{wind} = 0,\,{\text{if}}\,\,v < v_{\hbox{min} ,w} \,\,{\text{or}}\,\,v > v_{\hbox{max} ,w}$$
(3a)
$$P_{wind} = P_{rated} \left( {\frac{{v^{3} - v_{\hbox{min} ,w}^{3} }}{{v_{rated,w}^{3} - v_{\hbox{min} ,w}^{3} }}} \right),\,\,\,{\text{if}}\,\,\,v_{\hbox{min} ,w} < v < v_{rated,w}$$
(3b)
$$P_{wind} = P_{rated} ,\,\,{\text{if}}\,\,v_{rated,w} < v < v_{\hbox{max} ,w}$$
(3c)

In (3a3c), v is the wind speed, vmin,w represents the minimum speed of the wind for which the wind turbine is capable to produce electric power, vmax,w the maximum wind speed at the wind turbine can safely operate, Pwind is the wind power, Prated is the rated power of the wind generator, vrated,w is the rated wind speed.

2.2 Solar Energy Based RES

Representing the primary energy for the other principal RES, solar energy conversion into electrical energy occurs directly through photovoltaic panels (PV) or indirectly from solar to thermal, then into electrical. In the second case, specialized installations, utilizing mirrors and lenses to focus sunlight, target water tanks placed on tall reinforced mechanical structures. By concentrating the solar power on the radiation absorbent surface of the water tank, the water is transformed into steam, reaching the appropriate parameters for driving a steam turbine as a prime mover for a generator.

PVs are constructed with solar cells (SC), and display an efficiency which slightly varies with the temperature, practically decreasing with 0.2–0.5% for every 10 °C increase [2].

In addition to the SC efficiency ηSC, the electrical power output PSC for an aggregated area of SC depends on the surface of its area ASC (m2), respectively by the solar irradiation s (W/m2) (4), which is practically the only variable parameter [2]:

$$P_{SC} \left( s \right) = \eta_{SC} sA_{SC}$$
(4)

The output electric power of a PV solar panel depends on its area APV (m2), its efficiency ηPV, respectively on its solar insolation μ(t) [2] (5):

$$P_{PV} \left( t \right) = \eta_{PV} \mu \left( t \right)A_{PV}$$
(5)

Modeling of wind and solar energy to improve the quality of feasibility studies regarding this RES placement, integration, and utilization, required linear, nonlinear and artificial intelligence to predict the wind and solar energy in specific locations [2,3,4,5,6]. The integration of the EVs into the SGPS occurs under the surveillance of a third party, called aggregator. Even though the main feature of the V2G technology is the bi-directional power flow between EVs and SGPS, meaning that the EVs are electrical energy buffers utilized to compensate for the RES intermittency and weather determined irregularities in energy delivery, shaving the peaks and leveling the load “seen” by SGPS, there are ancillary services requested from EVs [4]:

  • Power regulation, which means the frequency regulation, matching the energy generation with the load demand.

  • Warm or Spinning reserve, representing the short term (less than 10 min) fast response additional generation capacity to act in case of outage rapidly.

  • Reactive power compensation, utilizing the reactive power delivered by the capacitor present in the DC link of the fully controlled four-quadrant drive.

The owners of the EVs integrated into the SGPS must have the acknowledgment for the battery lifespan reduction due to a continuously variable charging-discharging cycle, in the form of proper compensation. The integration of EVs into SGPS has a multitude of impacts on the SGPS. Many authors agree [3, 7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28] on the EVs presence impacting the operation of the distribution systemssystem’s equipmentload capacitypower qualityeconomy, social life and nevertheless, the environment.

The impact of the EVs penetration on distribution system reliability, presented in [11] assumes different levels of EVs penetration in the SGPS, in the presence of V2G technology.

The factor named Expected Energy Not Charged (EENC), measures the reliability of the system from the viewpoint of EVs integrated with the SGPS, and requires the addition of the energy loss during charging to the energy loss because of unscheduled V2G. The authors signal better reliability of the SGPS with distributed generation in the presence of EVs.

For example, whereas applying a stochastic model of the EVs energy needs and starting from a load flow study, Anastasiadis et al. [12] concluded that the voltage levels at the nodes where EVs are present fluctuate in a prescribed range, with the application of a smart charging strategy within V2G.

In [13], there is an assessment of the transformers aging due to the penetration of the EVs, using a stochastic method modeling of the transformer’s life consumption. Here, the load model applied to EVs, originated from an analytical solution used for predicting a cluster of EV chargers. The authors disclosed results that show a severe 44.1 h of the loss of life for every 24 h of operation, during the summer and with an EV penetration of 50%, whereas a penetration of 10% or less does not decrease transformer’s life. However, the transformer’s life loss depends on the load level and its temperature at each moment. High EVs penetration level unfavorably impacts the power transformer lifespan, following a study involving the calculation and analysis of the dielectric oil deterioration [14], showing consistency with [13].

Furthermore, there are economic and social aspects of the EVs integration debated in [15,16,17,18]. For example, in [15], a study targeting EV users in Germany concluded the presence of substantial concern, especially for high mileage drivers, regarding the range decreasing and loss of availability to drive the vehicle during the long hours of connection to the SGPS. The authors found that a promising remuneration for participating in V2G couldn’t mitigate the concern. The costs regarding infrastructure, electricity sale by the vehicles and the battery degradation appeared the most important factors regarding the feasibility of the V2G implementation, to obtain income from the energy supplied to a commercial building [16].

The cost of EVs operation, together with the rules governing the energy market, have an influence on the participation of the EVs into a centralized V2G system [17]. This study indicates a profitable grid (here called virtual power plant), a system operator with fulfilled services and EVs being on the money-losing side. Cost elements face the revenue element in a study focused on determining the critical economic factors of the V2G technology implementation [18]. The factors considered in the cost side are the battery lifespan reduction and replacement, the V2G capable power electronic converters (i.e., many vehicles need retrofitting and installation of such converters), the infrastructure of charging stations, nonresidential and residential, the hardware equipment and its specialized software required for communication and the aggregator as network manager. An aggregator has proven to be costly (i.e., may necessitate up to 50% revenue for covering its expenses and obtaining some profit) as well, directly associated to its main tasks of EVs control, networking services, contract management with EV owners, activity on energy markets and availability for unexpected services. The elements offering potential revenues are the pool of aggregated EVs, daily number plug-in hours, the power availability (kW) for transfer from EV fleet to SGPS, the level of available energy (kWh) for specific conditions of demand and price.

One can perceive the EVs as receptive loads, whereas integrated into SGPS provide ancillary services and reserve power under proper scheduling from the aggregator, responding to the energy and reserve requirements. Such scheduling positively influences the load profile by flattening it through charging/discharging time allocation [19]. However, in [20] the authors extrapolate the aggregator’s role from the business controller into the highly bonded interface between the EVs and SGPS, meant to implement and monitor the EVs function of providing ancillary services.

The EVs integration into SGPS displays not only potential benefits but very many challenges, as well. The overall interaction between the EVS and SGPS under the V2G technology requires proper scheduling mechanisms, to address the challenges, fact which turns the need for optimal scheduling into a priority [21,22,23,24,25,26,27,28]. There are many objective functions possible to define and undertaken by scientists, very much trying to answer to individual objectives, associated with real applications. In [21, 22], the authors raise the problem of dimensioning and placement for a distributed generation system, built with small power units, issues followed by the bi-directional power flow investigation. In [21], the debated problem has the first stage, while the clear objectives are the power loss minimization and voltage regulation. In the second stage, the objective function represents the amount of RES, including the EVs, followed by the optimization of the rate of charge. Consequently, to the application of a genetic algorithm to a system with 30 buses, the authors found the optimum power ratings of the distributed generators as 450 kW and 550 kW, respectively. Moreover, the minimization of the power loss indicated the placement for EV chargers.

In [22], there is an inclusion of RES (i.e., 10 wind turbines and 117 photovoltaic panels) in a distributed generation system, which becomes capable of sophisticated control of the EV batteries charging and discharging, minimizing the power loss and regulating the voltage as well. Intelligent scheduling considering the EV batteries charging and discharging process in conditions of energy price constrains, initiated a study focused on maximum profit demanded by the EV owners through a proper charging/discharging time rate [23].

Although the applications from [21,22,23] addressed common parking lot facilities for EVs, in [24], the authors proposed a study aiming to solve the optimal control of smart buildings with EV charging capabilities, with the objectives of minimizing the power loss and maximizing the comfort for customers. The optimizing technique is a combination between the particle swarm algorithm and the multi-agent technology. Then, a carried-out simulation employed an extended system with 500 wind generators and 400 photovoltaic panels in a time frame of 24 h. Simulation has proven the possibility to acquire a high level of comfort, even during periods with energy deficit recorded for isolated buildings.

A solution to the energy concern in a small-scale system, including aggregated EVs and working within V2G technology, exists in the form of a robust optimization model based on linear programming [25]. In such a model, the authors suggest an assessment of the V2G impact on the system’s energy management. In the case of EVs presence in large numbers, there is a demand for coordination between the EV fleets given their role as renewable sources as well as storage units within the bi-directional power flow under V2G technology. Simulation results from [26], recommend an optimal scheduling power flow inside the SGPS, whereas the EV fleets are stationary. Frequency regulation is one of the primary ancillary services potentially provided by EVs, together with their role as load leveling and on-waiting (i.e., instant readiness) reserves. However, SGPS frequency regulation may result in Li-ion battery degradation [27]. The mitigation of such a drawback became possible with the application of a smart algorithm pointing to the maximization of the battery life span. More precisely, the battery of an EV connected to the grid can deliver energy only if it is fading, evaluated through a proper forecast model about reaching its lowest acceptable level. If did, the respective battery can only receive electrical energy from the supply.

Frequency regulation with the participation of EVs is the main topic in [28] as well. This time the deciding factor being the battery state-of-charge (SOC), assessed by calculating the owner’s driving demand with a specially designated module. Financial aspects of the EVs integration into SGPS are essential for the EV owners, willing to allow their cars to provide auxiliary services to the grid, as well as a stand-by reserve to the grid. However, two studies from 2016, [29, 30] recognized that the revenues from aggregators are by far insufficient to make the V2G technology attractive (i.e., from 20 times less to 27,500 less) under the present-day market and regulations in place. The EV battery in V2G is facing a permanent cycle of charging-discharging if stays connected to the power system, and consequently, its life span shortens, and there is no mechanism in place to encourage the owners to participate in V2G other than potential government subsidies. Moreover, the relatively reduced number of EVs didn’t assure the stand by (aka fast) firm reserve for more than a few hours. The most optimistic prediction regarding V2G cost-effectiveness mentions the year 2030. Consequently, one must address the amount of annual profit to satisfy all, the aggregator and the EVs owners into a joint venture towards V2G. The integration of EVs into SGPS, under several business models, resulting in contracts between the SGPS owners and the aggregators, must consider the EVs battery charging stations, containing data centers, as essential participants in SGPS regulations [3]. The National Institute for Standards and Technology (NIST, US) decides the standardization direction for security and reliability on the smart grid. For example, the guidelines for SGPS cybersecurity have its place into NISTIR 7628. To be feasible, an actual SGPS must fulfill many conditions, such as [3]:

  1. (1)

    Participation of RES with possibility of increasing it

  2. (2)

    High power quality

  3. (3)

    High resilience to disruptive events

  4. (4)

    Increased operational efficiency of its components and overall

  5. (5)

    Robustness to disturbances and self-healing

  6. (6)

    Capability to accommodate drive storage units

  7. (7)

    High level of cyber security and capability of ongoing improving it

  8. (8)

    Flexibility in terms of consumer’s selections

  9. (9)

    Smart revenue metering

  10. (10)

    Reduced amount of greenhouse gases by encouraging the progressively larger participation of EVs, actively working under V2G technology: bi-directional electric power flow.

Subsequently, understanding the actual standards applicable to EV and SGPS becomes vital. Whereas Table 1 presents the standards for EVs elaborated by the Society of Automation Engineers (SAEJ), in the Table 2 (IEC), respectively Table 3 (IEEE) one can find the most critical standards in place, referring SGPS, from all over the world [3], and their development responded in essence to six directions: operation, power quality, metering, communication, protection & control, and cybersecurity.

Table 1 Most important SAEJ standards for EV, US [3]
Table 2 Most important IEC standards for SGPS [3]
Table 3 Most important IEEE standards for SGPS [3]

3 Requirements for PEV Charging Stations and Smart Grid Power System

A station used for charging EVs is a system consisting on four main subsystems (see Fig. 2), namely:

Fig. 2
figure 2

The structure of a station used for charging EV

  • Charging subsystem (CS)

  • Energy Storage System (ESS)

  • Electric Power Distribution subsystem (EPDS)

  • Auxiliary Energy subsystem (AES)

The duty cycle of a charging station for EVs can have a duration of 24 h. Such a duty cycle strongly depends on the user’s daily schedules, with the highest demand recorded during the daytime because of the heavy traffic. Consequently, the modeling of the EV charging process considers three periods:

  • Model 1, called of high energy consumption, with a duration denoted with Tr between 7.00 am and 3.00 pm

  • Model 2, called of medium energy consumption, with a duration Tm, between 3.00 pm and 11.00 pm

  • Model 3, called of low energy consumption, with a duration Ts, between 11.00 pm and 7.00 am next day

Using the previous notations becomes obvious that Tr + Tm + Ts  =  24 h. The demand for efficiency in conditions of lowest possible electrical energy market price encouraged the EVs users to proceed for battery charging only during night time, between 11.00 pm and 7.00 am. There are several charging possibilities available for  EV users, whereas the Standard IEC 61851 defines four charging modes [3]:

Charging mode 1. In this mode, the charging location represents a standard outlet, generally used for domestic appliances at 120 or 230 V AC.

Whereas the EV is in charging mode 2, the electrical connection of the EV battery to an AC outlet for general-purpose requires a standard cable that incorporates a control device, capable of interacting with the outlet. Such a control device keeps the battery charging current below its maximum threshold, monitoring the outlet quality as well, more precisely the voltage drop level as a good indicator for an over temperature condition. Automatically, the battery charger turns-off in case of a fault.

In the charging mode, 3 the outlet comes connected to a specially designated circuit; this fact assures the real-time communication between the EV and the electric installation. There is a need for the installation of a specialized electronic device at the location.

Charging Mode 4 refers to the fast charge using a DC outlet, utilizing an external charger which includes the charging cable as well. The DC charger delivers the charging voltage itself. Characteristics of such a charging type are the elevated values for the voltage and current. Whereas the DC charging is in place, the connection cable doesn’t separate from the charger itself and, consequently doesn’t exist any connection to the battery terminals. One can find this type of outlet only on the fast charging terminals. Such an assembly must comply with the world standard CHAdeMO.

The AC charging of type E matches the domestic outlets becoming suitable for charging modes 1 and 2. The so-called plugs of type 1 or type 2 have a clear designation for EVs and belong to the charging stations or the domestic chargers such as Walbox. The domestic or “at home” charging comprises 95% of the total EV battery charging. For single-family homes, the whole process becomes quite simple and relatively easy to monitor. However, not every EV user lives in such a home, a fact which complicates the charging issue.

Moreover, for certain EV brands, the Walbox Mode 3 is a must, as their connection to the standard outlet is not possible, excluding the charging Mode 1 as an option. The Walbox, operating in charging Mode 3, comes highly recommended by its security features, yet financial reasons make many users reluctant to it. Several hours of charging, absorbing 8–10 A of current can potentially overheat the electric cables existing on and involved in the process. Consequently, the whole charging process requires careful monitoring and control. Walbox Mode 3 presents the advantage of the highly safe operation, practically eliminating any electric hazard and providing elevated protection to people and livelihood. For such a solution, the internal microprocessor can permanently control the voltage, current, the charge duration, and its cost, data that becomes accessible to users due to the communication with the EV.

The regular charging outlets from public spaces assure 1–3 h of charging, depending on their power rating and the type of EV as well. Furthermore, the DC fast charging outlets impress the direct current into the batteries, through their rectifiers. The DC charger communicates the same essential information (current, voltage, power, and cost) to the EV through the charging cable.

One classifies the DC outlets as intelligent due  to their ability to communicate directly with the EV, delivering data regarding the energy consumed for charging, optimally, and safely. First-generation EV batteries allow the recharging to 80% state of charge from a DC charger in about 20–30 min. Nowadays, the lithium-ion technology made possible manufacturing new batteries with a reduced charging time of 5–15 min to the same 80% state of charge. A typical DC charger can deliver a voltage of 400–500 V, a current of 100–250 A, for a total power of approx. 50 kW. Battery replacement gains terrain at the level of small EV, after proven effective for electric buses used for public transportation. The replacement process takes place in about 3 min (i.e., duration similar to the filling of a full tank) inside of special fully automated dedicated stations. According to SAEJ1772, each type of chargers has three levels, whereas fulfilling the recommended following specifications [3]:

  • The AC type charger, Level 1 has single phase voltage, rated at 120 V, current ratings of 12 A or 16 A and consequently the power ratings of 1.4 kW, respectively 1.9 kW. The charging time assigned for the EV is 17 h and for PHEV 7 h.

  • The AC type charger, Level 2 has either single phase or three-phase voltage rated at 240 V, a current rating of 80 A, and consequently the power rating of 19.2 kW. The charging time assigned for the EV is 7 h and for PHEV 3 h.

  • The AC charger, Level 3 must assure more than 20 kW, without specifying any other characteristics for the present day.

  • The DC type charger Level 1 comes with a voltage rating between 200 and 500 V, a current rating less than 80 A, a power rated at 40 kW, a three phase supply connected to the input of the rectifier. The charging time assigned for the EV is 72 min and for PHEV 22 min.

  • The DC type charger Level 2 comes with a voltage rating between 200 and 500 V, a current rating less than 200 A, a power rated at 100 kW, a three-phase supply connected to the input of the rectifier. The charging time assigned for the EV is 20 min and for PHEV 10 min.

  • The DC type charger Level 3 comes with a voltage rating between 200 and 600 V, a current rating less than 400 A, and a power rated at 240 kW. There are no other specifications for the present time.

Wireless charging requires the presence of two coils. The first one, called the emitter, installed in a box fixed at the ground level and connected to a power supply, produces a magnetic field. The magnetic coupling between the emitter and second coil called receiver placed below the EV allows the magnetic field to induce a voltage across the second coil. The output of the receiver which is directly connected to the input of a rectifier, converts the induced voltage into DC voltage. Furthermore, a filter flattens the voltage shape, which is then applied to the battery terminals, charging it. High losses and low efficiency of about 20%, maintain this charging mode at the level of work in progress, necessitating future research work.

Presently the EV user especially counts on public charging stations, whereas most of the owners depend on home chargers, fast-charging stations or battery replacement stations. Nowadays, there are not enough fast-charging stations nor battery replacement stations: the public charging infrastructure satisfies only 75% of the “100 km/day” EV users. This lack of enough fast charging and or replacement facilities, forces the EV users towards home charging solutions, triggering a significant impact on the energy market. Such a standpoint makes the charging stations to look like completion to home charging outlets. However, current limitation makes the fast charging impossible at home level.

For home charging, one can count for maximum 1/3 of battery charging capacity in three hours; if this is not enough, then highly demanded public fast-charging stations can bring the EV batteries to full charging state in less than 1 h. Although, the large-scale deployment of solar cells, integrated into SGPS under continuous development, may result in the opportunity to provide homes with solar panels enhancing performances of the home chargers. The power and energy densities are the two critical factors concerning the battery fabrication technologies which face rapid development. One can expect an increase in these two factors predicting an upturn in the EV autonomy, as well.

The integrated power stations represent a new concept, and the construction of such a station must fulfill specific rules, for risk mitigation. Integrated charging stations may be candidates for “safe distance” like requirements, presently applied to infrastructure adjacent to gas stations.

In one suggestive example, one affirms that the safe distance between the charging equipment and the electric power station must be at least 18 m. Moreover, the electrodes from inside the lithium-ion batteries according to their fabrication material belong either to class C (i.e., solid combustible) or class D. In this way the battery represents a synthesis of different materials, possibly assessed as depletion of class C materials.

In another example, one aims the safe distance between the supplied equipment and the warehousing area for batteries: such a distance should be more than 15 m. Following numerous standards and experiences, one can choose the appropriate placement of the charging stations for EVs, mitigating the risks associated with technologies of operation when integrating the chargers into gas stations. A safe distance of 18 m between the gasoline tank and charger’s equipment allows the addition of chargers to the gas station, as shown in Fig. 3.

Fig. 3
figure 3

Gasoline station with integrated chargers for EVs

There are two solutions regarding battery charging management, suitable for integrated charging stations:

  1. (1)

    The first solution requires the battery charging to take place inside the charging stations, with the following advantages and drawbacks:

    1. (1a)

      one can replace the fading batteries at the right time; there can be an improvement in the EV battery utilization

    2. (1b)

      integrated charging stations demand a more performant energy distribution capability, to assure enough energy for battery charging

    3. (1c)

      more electric equipment in operation during the battery charging process requires a higher level of safety

  2. (2)

    The second solution considers the battery charging done inside of special stations built with this purpose in mind, followed by the battery distribution to integrated stations in need. This solution has some advantages and drawbacks, such as:

    1. (2a)

      requires a distribution system

    2. (2b)

      both special and integrated stations require a larger battery depositing space, a fact which results in improperly low utilization of space

    3. (2c)

      the delay of battery replacement requires more batteries available for exchange to satisfy EVs necessities.

4 Case Study: Modelling Individual and Compounded V2G

This section contains a study regarding the integration of the EVs into the SGPS, addressing the processes of PEV battery charging and discharging.

4.1 Battery Charging Modelling

In the model representing the charging process, the location of the battery is always at the output of the power electronic converter which operates as a rectifier [11, 31]. The battery described by an equivalent capacitor C (see Fig. 4) represents a fair alternative regarding the analysis of the charging and discharging processes. However, the charging circuit is not a 100% efficient one, fact which explains the presence of a resistor R that characterizes the losses accounted for the charger. The rectifier, being the intermediate circuit between the charger’s power supply and its output is stiff enough to provide a constant DC (rectified voltage) Vint,rec voltage. The switch meant to close the battery charging circuit turns on at the instant t1, triggering the appearance of the charging current i1(t).

Fig. 4
figure 4

Bi-directional power flow battery charger (V2G): equivalent circuit

$$V_{{\text{int} ,rec}} = V_{R} \left( t \right) + V_{out} \left( t \right)$$
(6a)
$$V_{{\text{int} ,rec}} = Ri_{1} \left( t \right) + \eta_{C} V_{Cap} \left( t \right) = \eta_{C} \frac{1}{C}\int\limits_{{t_{1} }}^{t} {i_{2} \left( \tau \right)d\tau }$$
(6b)

The definition of the charger’s efficiency in per-unit involves the ratio between the charger’s output power to its input one (7).

$$\eta_{C} = \frac{{P_{out} }}{{P_{in} }} = \frac{{V_{out} i_{out} }}{{V_{in} i_{in} }}$$
(7)

One can express the Eq. (6b) in terms of currents following a time derivation, with the charging time constant TC = RC:

$$R\frac{{di_{2} (t)}}{dt} + \frac{{\eta_{C} }}{C}i_{2} \left( t \right) = \frac{{dV_{{\text{int} ,rec}} }}{dt} = 0 \Rightarrow \frac{{T_{C} }}{{\eta_{C} }}\frac{{di_{2} (t)}}{dt} + i_{2} \left( t \right) = 0$$
(8)

The solution for differential equation (8) comes the easiest whereas performing an intermediate Laplace conversion:

$$\frac{{T_{C} }}{{\eta_{C} }}\left[ {sI_{2} (s) - I_{2} \left( 0 \right)} \right] + I_{2} (s) = 0 \Rightarrow I_{2} \left( s \right) = \frac{{\frac{{T_{C} }}{{\eta_{C} }}I_{2} \left( 0 \right)}}{{\left( {s + \frac{{T_{C} }}{{\eta_{C} }}} \right)}}$$
(9)

The initial value of the charging current is equal to I2(0) = Vint,rec/R, fact which leads to the current [31]:

$$i_{2} \left( t \right) = \frac{{V_{{\text{int} ,rec}} }}{R}\exp \left( { - \eta_{C} t/T_{C} } \right)$$
(10)

Introducing (10) into (6a and 6b), one can express the instantaneous voltage across the battery, considering the battery voltage at the beginning of the charging process being equal to Vout(t1):

$$v_{out} \left( t \right) = V_{{\text{int} ,rec}} \left[ {1 - \exp \left( { - \eta_{C} t/T_{C} } \right)} \right] + V_{out} \left( {t_{1} } \right)$$
(11)

The battery status in terms of power requires the multiplication of each term of the Eq. (11) with the current expressed according to (10). It results the expression (12) which links the instantaneous power to the maximum power value and to the initial power as well.

$$\begin{aligned} & P_{out} \left( t \right) = \frac{{V_{{\text{int} ,rec}}^{2} }}{R}\left[ {1 - \exp \left( { - \eta_{C} t/T_{C} } \right)} \right]\exp \left( { - \eta_{C} t/T_{C} } \right) + \cdots \\ & V_{out} \left( {t_{1} } \right)\frac{{V_{{\text{int} ,rec}} }}{R}\exp \left( { - \eta_{C} t/T_{C} } \right) \\ \end{aligned}$$
(12)

Whereas defining the maximum power at the battery as Pmax (13a), respectively the initial power as P(t1) (13b) [11, 31]:

$$P_{\hbox{max} } = \frac{{V_{{\text{int} ,rec}}^{2} }}{R}\exp \left( { - \eta_{C} t/T_{C} } \right)$$
(13a)
$$P\left( {t_{1} } \right) = V_{out} \left( {t_{1} } \right)\frac{{V_{{\text{int} ,rec}} }}{R}\exp \left( { - \eta_{C} t/T_{C} } \right)$$
(13b)

One can express the instantaneous charging power as in (14).

$$P_{out} \left( t \right) = P_{\hbox{max} } \left[ {1 - \exp \left( { - \eta_{C} t/T_{C} } \right)} \right] + P\left( {t_{1} } \right)$$
(14)

Considering the case of a PEV batteries during the charging process (power demand), the instantaneous power of the battery is [11, 31]:

$$P_{BPEV} \left( t \right) = P_{BPEV,\hbox{max} } \left[ {1 - \exp \left( { - \alpha \eta_{C} t/T_{\hbox{max} } } \right)} \right] + P\left( {t_{1} } \right)$$
(15)

The relation (16) presents the link between the efficiency of the charger ηC, charging constant of the battery α, charging time constant TC, respectively the maximum time Tmax. However, relation (15) lasts until the battery charging level reaches its fully charged required value \(t_{1} \le t \le t_{char}\). Tmax represents the duration of battery to fully charge from zero power.

$$T_{C} = \left( {\frac{{\eta_{C} }}{\alpha }} \right)T_{\hbox{max} }$$
(16)

The initial PEV battery power level determines the duration of the charging process, if the battery reaches its prescribed maximum power value. In such a way, one can find the duration necessary for full charging as (17):

$$t_{char} = \left\{ {\begin{array}{*{20}l} 0 \hfill & {P\left( {t_{1} } \right) = P_{BPEV,\hbox{max} } } \hfill \\ T \hfill & {P\left( {t_{1} } \right) = 0} \hfill \\ {t_{char} } \hfill & {0 < P\left( {t_{1} } \right) < P_{BPEV,\hbox{max} } } \hfill \\ \end{array} } \right.$$
(17)

Combining the relations (15)–(17) and imposing \(P_{BEV} \left( {t_{char} } \right) = P_{BEV,max}\), one can express the charging time as following (18):

$$\begin{aligned} & P_{BPEV} \left( {t_{char} } \right) = P_{BPEV,\hbox{max} } \\ & P_{BPEV,\hbox{max} } = P_{BPEV,\hbox{max} } \left[ {1 - \exp \left( { - \alpha \eta_{C} t_{char} /T_{\hbox{max} } } \right)} \right] + P\left( {t_{1} } \right) \\ & P_{BPEV,\hbox{max} } \exp \left( { - \alpha \eta_{C} t_{char} /T_{\hbox{max} } } \right) = P\left( {t_{1} } \right) \\ & \alpha \eta_{C} t_{char} /T_{\hbox{max} } = - \ln \left( {\frac{{P\left( {t_{1} } \right)}}{{P_{BPEV,\hbox{max} } }}} \right) \Rightarrow t_{char} = - \frac{{T_{\hbox{max} } }}{{\alpha \eta_{C} }}\ln \left( {\frac{{P\left( {t_{1} } \right)}}{{P_{BPEV,\hbox{max} } }}} \right) \\ \end{aligned}$$
(18)

The PEV power battery level, expressed for all the conditions is (19):

$$P_{BPEV} \left( t \right) = \left\{ {\begin{array}{*{20}c} {P_{BPEV,\hbox{max} } \left[ {1 - \exp \left( { - \alpha \eta_{C} t/T_{\hbox{max} } } \right)} \right] + P\left( {t_{1} } \right)} & {t_{1} < t < t_{char} } \\ {P_{BPEV,\hbox{max} } } & {t \ge t_{char} } \\ \end{array} } \right.$$
(19)

One can estimate the total power demanded by the PEV battery for a full charge, starting from its initial status P(t1) as (20):

$$P_{BPEV,dem} \left( t \right) = P_{BPEV,\hbox{max} } - P_{BPEV} \left( t \right)$$
(20)

The expression (20) detailed for the full charging interval becomes (21a, 21b):

$$P_{BPEV,dem} \left( t \right) = P_{BPEV,\hbox{max} } - P_{BPEV,\hbox{max} } \exp \left( { - \alpha \eta_{C} t/T_{\hbox{max} } } \right),t_{1} < t < t_{char}$$
(21a)
$$P_{BPEV,dem} \left( t \right) = 0,t \ge t_{char}$$
(21b)

Several scenarios in place lead to the evaluation of the battery charging in normal conditions and/or in presence of faults. For instance, if the PEV battery charging started at t1 is scheduled for a duration Δt1 until the full charging completion, usually measured in hours [11]. A fault occurrence may stop the charging process prior to the full battery charge, let’s say after an interval Δt2. The battery power level in such a case is (22):

$$P_{BPEV,dem} \left( {t_{1} + \Delta t_{2} } \right) = P_{BPEV,\hbox{max} } \exp \left( { - \alpha \eta_{C} \Delta t_{2} /T_{\hbox{max} } } \right) - P\left( {t_{1} } \right),\Delta t_{2} < \Delta t_{1}$$
(22)

If the fault occurs after the time scheduled for the PEV battery to reach its maximum charging level, then:

$$P_{BPEV,dem} \left( {t_{1} + \Delta t_{2} } \right) = P_{BPEV,\hbox{max} } ,\Delta t_{2} > \Delta t_{1}$$
(23)

Whereas the fault is restored at the time t1 + Δt3, assuming no battery discharge during the time of fault occurrence and the time of operation restoration, one can assume a new initial power status for the battery power level (24):

$$P_{BPEV,dem} \left( {t_{1} + \Delta t_{3} } \right) = P_{BPEV,\hbox{max} } \left( {t_{1} + \Delta t_{2} } \right),\Delta t_{3} > \Delta t_{2}$$
(24)

Finally, the maximum battery power level appears after t1 + Δt3 + Δt1Δt2. One can calculate the overall energy required for the vehicle battery to fully charge, whereas the charger is unavailable because of a fault which lasts a certain time δTFault = Δt3Δt2 in terms of power and time (25).

$$E_{BPEV} = \left\{ {\begin{array}{*{20}l} {\int\limits_{{t_{1} }}^{{t_{1} + \Delta t_{2} }} {P_{BPEV,dem} \left( \tau \right)d\tau } } \hfill & {\Delta t_{2} < \Delta t_{1} ,t_{1} < \tau < t_{1} + \Delta t_{2} } \hfill \\ 0 \hfill & {t_{1} + \Delta t_{2} < \tau < t_{1} + \Delta t_{3} } \hfill \\ {\int\limits_{{t_{1} + \Delta t_{3} }}^{{t_{1} + \Delta t_{3} + \Delta t_{1} - \Delta t_{2} }} {P_{BPEV,dem} \left( \tau \right)d\tau } } \hfill & {t_{1} + \Delta t_{3} < \tau < t_{1} + \Delta t_{3} + \Delta t_{1} - \Delta t_{2} } \hfill \\ \end{array} } \right.$$
(25)

In a parking lot with identical chargers (i.e., the same efficiency for each charger), whereas assuming the same level of maximum power, yet different charging rates αi and different charging durations tchari, one can express the total instantaneous power demand as [31] as a function of the total number of the PEVs.

$$P_{BPEV,dem} \left( t \right) = n_{PEV,C} P_{BPEV,\hbox{max} } - P_{BPEV,\hbox{max} } \sum\limits_{i = 1}^{{n_{PEV,C} }} {\exp \left( { - \alpha_{i} \eta_{C} t_{chari} /T_{\hbox{max} } } \right)}$$
(26)

4.2 Vehicle to Grid Modelling

The battery of a single PEV connected to the SGPS delivers power into the grid through the power electronic converter which operates in the inverter mode, with an efficiency ηinv. The battery discharge rate is γdis. If the process of power delivery into the grid starts at t1, with the initial battery power level P (t1), then the power discharging level at an instant t′ is equal to:

$$P_{BPEV,dis} \left( {t^{'} } \right) = P\left( {t_{1}^{'} } \right)\exp \left( { - \gamma_{dis} \eta_{i} t^{'} /T_{\hbox{max} } } \right) - P_{BPEV,Lim}$$
(27)

The power limit level PBPEV,Lim represents the PEV battery power threshold necessary for starting the PEV engine, or driving it in electrical mode. In the latest situation, the battery cannot start the engine, yet the charger must do it, whereas the battery must sustain the EV driving [31]. The power injected into the grid in equal to:

$$P_{BPEV,inj} \left( {t^{'} } \right) = P\left( {t_{1}^{'} } \right) - P_{BPEV,dis} \left( {t^{'} } \right)$$
(28)

Consequently, introducing (28) into (27), one can express the power injected by the battery of a single PEV into the grid as (29).

$$P_{BPEV,inj} \left( {t^{'} } \right) = P\left( {t_{1}^{'} } \right)\left[ {1 - \exp \left( { - \gamma_{dis} \eta_{i} t^{'} /T_{\hbox{max} } } \right)} \right]$$
(29)

The duration of the power injection into the grid strongly depends on the battery discharging constant γdis as well as well as the limit power PLim. At the end of the allowed discharging time tdis, the PEV battery discharging level is equal to zero.

$$\begin{aligned} & P_{BPEV,dis} \left( {t_{{dis^{'} }}^{'} } \right) = 0 = P\left( {t_{1}^{'} } \right)\exp \left( { - \gamma_{dis} \eta_{i} t_{dis}^{'} /T_{\hbox{max} } } \right) - P_{BPEV,Lim} \Rightarrow \\ & t_{dis}^{'} = - \frac{{T_{\hbox{max} } }}{{\gamma_{dis} }}\ln \left[ {\frac{{P_{BPEV,Lim} }}{{P\left( {t_{1}^{'} } \right)}}} \right],P_{BPEV,Lim} \le P\left( {t_{1}^{'} } \right) \\ \end{aligned}$$
(30)

If the power is injected into the grid for a duration equal to Δt′, in complete fulfillment of condition (27), then the energy impressed into the grid is:

$$E_{BPEV,inj} = \int\limits_{{t^{'} }}^{{t^{'} + \Delta t^{'} }} {P\left( {t^{'} } \right)} \left[ {1 - \exp \left( { - \gamma_{dis} \eta_{i} t^{'} /T_{\hbox{max} } } \right)} \right]dt;t^{'} \le t_{dis}^{'}$$
(31)

If instead of one PEV there are nPEV PEVs, injecting power to the grid for the durations tsup,k, having the discharging constants of the batteries γdis,k and the initial powers Pk(t1), one can evaluate the total power impressed into the grid at the instant t′ as (32):

$$P_{BPEV,inj} \left( {t^{'} } \right) = \sum\limits_{k = 1}^{{n_{PEV,D} }} {P_{k} \left( {t_{1}^{'} } \right)\left[ {1 - \exp \left( { - \gamma_{dis,k} \eta_{i} t_{\sup ,k} /T_{\hbox{max} } } \right)} \right]}$$
(32)

However, the presence of the overall V2G interaction has a dynamic character, there are PEV with batteries under charging, vehicles which retrieve energy into the SGPS, and their number is in continuous change. The authors of [31] assembled a model of a sized parking lot, suitable for estimating the net value of the power submitted or received from the SGPS, as well as the net energy impressed to the SGPS, whereas the vehicles are parked and connected. Using probabilistic calculations, the modeling study continues with the inclusion of the influx, respectively outgoing vehicles, the service duration allocated to vehicles, and the approximation of the battery initial charging level. The approach to the PEV diversity relies on the differences in charging and discharging coefficients. Finally, the addition of some renewables to the PEV parking lot offer a more complete picture.

4.3 Modelling of the EV Parking Lot Operation

The resultant (net) power exchange between the PEV fleet and the grid (33) represents the difference between the injected power and the power demanded by the vehicles for charging (26), (32):

$$\begin{aligned} P_{BPEV,net} & = \sum\limits_{k = 1}^{{n_{PEV,D} }} {P_{k} \left( {t_{1}^{'} } \right)\left[ {1 - \exp \left( { - \gamma_{dis,k} \eta_{i} t_{\sup ,k} /T_{\hbox{max} } } \right)} \right]} \\ & \quad - P_{BPEV,\hbox{max} } \left[ {n_{PEV,C} - \sum\limits_{i = 1}^{{n_{PEV,C} }} {\exp \left( { - \alpha_{i} \eta_{C} t_{chari} /T_{\hbox{max} } } \right)} } \right] \\ \end{aligned}$$
(33)

The net energy injection into the grid results from the integration of (33) over a certain amount of time of interest. Moreover, imposing the non-existence of charging over a 24 h time span, one can estimate the energy retrieved into a storage facility and obtain important data to design such a facility [31]. Such an energy expression displays the form:

$$\begin{aligned} E_{BPEV,net} & = \sum\limits_{k = 1}^{{n_{PEV,D} }} {P_{k} \left( {t_{1}^{'} } \right)\left\{ {t_{\sup ,k} - \frac{{T_{\hbox{max} } }}{{\eta_{i} t_{\sup ,k} }}\left[ {1 - \exp \left( { - \gamma_{dis,k} \eta_{i} t_{\sup ,k} /T_{\hbox{max} } } \right)} \right]} \right\}} \\ & \quad - P_{BPEV,\hbox{max} } \frac{{T_{\hbox{max} } }}{{\eta_{C} }}\sum\limits_{i = 1}^{{n_{PEV,C} }} {\left\{ {\frac{{\eta_{C} t_{chari} }}{{T_{\hbox{max} } }} - \frac{{\left[ {1 - \exp \left( { - \alpha_{i} \eta_{C} t_{chari} /T_{\hbox{max} } } \right)} \right]}}{{\alpha_{i} }}} \right\}} \\ \end{aligned}$$
(34)

The power, respectively the energy gain factors are defined by dividing the power, respectively the energy inserted into the supply, respectively by the product of the number of charging stations to the maximum power of a station.

$$G_{Power} = \frac{{\sum\nolimits_{k = 1}^{{n_{PEV,D} }} {P_{k} \left( {t_{1}^{\prime} } \right)\left[ {1 - \exp \left( { - \gamma_{dis,k} \eta_{i} t_{\sup ,k} /T_{\hbox{max} } } \right)} \right]} }}{{N_{st} P_{\hbox{max} } }}$$
(35)
$$G_{En} = \frac{{\sum\nolimits_{k = 1}^{{n_{PEV,D} }} {P_{k} \left( {t_{1}^{\prime} } \right)\left\{ {t_{\sup ,k} - \frac{{T_{\hbox{max} } }}{{\eta_{i} t_{\sup ,k} }}\left[ {1 - \exp \left( { - \gamma_{dis,k} \eta_{i} t_{\sup ,k} /T_{\hbox{max} } } \right)} \right]} \right\}} }}{{N_{st} P_{\hbox{max} } }}$$
(36)

The renewable energy presence generally comes through arrays of photovoltaic panels (PV), wind farms. However, due to the irregularities in energy delivery recorded by renewables, the aggregators strongly recommend the access to a power system containing stable power sources from thermal and nuclear power plants, hydroelectric plants and so on. In presence of renewables the net power is (37).

$$\begin{aligned} P_{BPEV,net} & = \sum\limits_{k = 1}^{{n_{PEV,D} }} {P_{k} \left( {t_{1}^{'} } \right)\left[ {1 - \exp \left( { - \gamma_{dis,k} \eta_{i} t_{\sup ,k} /T_{\hbox{max} } } \right)} \right]} \\ & \quad - P_{BPEV,\hbox{max} } \left[ {n_{PEV,C} - \sum\limits_{i = 1}^{{n_{PEV,C} }} {\exp \left( { - \alpha_{i} \eta_{C} t_{chari} /T_{\hbox{max} } } \right)} } \right] + P_{renewables} \\ \end{aligned}$$
(37)

5 Case Study: Simulations, Results and Discussion

In the case of individual vehicles, simulations targeted the battery power status of two different plug in electric vehicles during the power demand (charging), respectively power supply to the grid (discharging). The hypothetical PEVs under scrutiny have the characteristics of interest displayed in Table 4.

Table 4 Characteristics of plug-in electrical vehicles under study

This assessment procedure applied to the PEVs battery charging and discharging processes relies on a methodology derived from the one proposed in [31] and continued in [11]. At the first step of simulations, one subjected the batteries of both PEVs to a full charge from 0 to 100% power. The charge efficiency values (i.e., operating in this case as rectifier), are: 50, 70, 90% and the ideal of 100%. The advantage of a faster charging process at high efficiency comes with the drawback of increased power demand from the supply, according to Fig. 5. For the same efficiency value, the battery charging performance, according to (15) and (19) is an intrinsic characteristic of an individual PEV.

Fig. 5
figure 5

Time dependency of the power demand for PEV1 (a) and PEV2 (b) influenced by the battery charger efficiency

In a similar manner, simulations regarding the PEV battery discharging during the time allocated for energy supply to the grid, regards the higher converter efficiency (i.e., inverter operation of the charger) due a faster discharge process (see Figs. 6 and 7), according to (29), which means a faster response to the grid demand. Although, faster charging/discharging processes, even benefiting the PEV operation, respectively the grid may result in severe shortening of the battery lifespan.

Fig. 6
figure 6

Time dependency of the power discharge (a) and power injected into the grid (b) for PEV1 influenced by the inverter efficiency

Fig. 7
figure 7

Time dependency of the power discharge (a) and power injected into the grid (b) for PEV2 influenced by the inverter efficiency percent value

Conisdering the presence of the renewable energy sources, the power demand, reflected at the level of individual PEVs appears in Figs. 8, 9, 10 and 11. A time alternating function of approximatively 2 cycles per hour mimics the presence of wind generators. In such a scenario, the SGPS doesn’t have a connection to storage units like stationary battery arrays or main power system which includes classical (i.e. fossil fuel based) energy sources. The presence of renewables leads to approximate power ripples of 15% for PEV1, respectively 30% for PEV2. One can observe the fact that charging coefficients play a role as well: the higher value of the charging coefficient, the faster the process is (Figs. 9 and 10).

Fig. 8
figure 8

Time dependency of the power demand for PEV1 in presence of renewable energy sources, for a battery charging coefficient αC = 9.75

Fig. 9
figure 9

Time dependency of the power demand for PEV1 in presence of renewable energy sources, for a battery charging coefficient αC = 6.75

Fig. 10
figure 10

Time dependency of the power demand for PEV2 in presence of renewable energy sources, for a battery charging coefficient αC = 8.25

Fig. 11
figure 11

Time dependency of the power demand for PEV2 in presence of renewable energy sources, for a battery charging coefficient αC  =  4.75

Taming the intermittency and randomness from the existing power-time profile of renewables (see Figs. 12 and 13), requires the presence of fast compensation function at the point of common coupling between the PEV, SGPs, stationary power storage batteries and eventually main power supply.

Fig. 12
figure 12

Time dependency of the power demand for PEV1 in presence of compensated renewable energy sources, for a battery charging efficiency αC = 9.75 (a), respectively αC = 6.75 (b)

Fig. 13
figure 13

Time dependency of the power demand for PEV2 in presence of renewable energy sources, for a battery charging efficiency αC = 8.25 (a), respectively αC = 4.75 (b)

In a similar assumption of present renewable energy sources, the PEVs deliver power to the grid, having a profile, reflected at the level of individual PEVs appearing in Figs. 14, 15, 16 and 17. Renewable sources are identical to the ones present in the simulations regarding individual battery charging. The presence of renewables leads to approximate power ripples of 15% for PEV1, respectively 30% for PEV2, as well. One can observe the fact that discharging coefficients play a role as well: the higher value of the discharging coefficient, the faster the process is (Figs. 14 and 16).

Fig. 14
figure 14

Time dependency of the power injected into the grid from PEV1 in presence of renewable energy sources, for a battery discharging coefficient γdis = 10.15

Fig. 15
figure 15

Time dependency of the power injected into the grid from PEV1 in presence of renewable energy sources, for a battery charging coefficient γdis = 5.0

Fig. 16
figure 16

Time dependency of the power injected into the grid from PEV2 in presence of renewable energy sources, for a battery charging coefficient γdis = 8.75

Fig. 17
figure 17

Time dependency of the power injected into the grid from PEV2 in presence of renewable energy sources, for a battery charging coefficient γdis = 4.0

Charging process regarding a parking lot requires scenarios in which the involvement of multiple vehicles requires certain assumptions made regarding the initial level of battery charging, respectively the durations necessary to reach certain levels of battery charging. For the multiple vehicles charging scenario, we’ve assumed the presence of 30 PEVs: 15 PEV1s and 15PEV2s. The efficiency of the charger, operating as rectifier is 95%, whereas the upper limit of the battery power charging is 90% of the maximum power for both types of PEVs using Level 2 chargers:

  • 5 PEV1s at 0% initial power level before starting charging, 6 PEV1s at 20% initial power level, respectively 4 at 40% power level.

  • 8 PEV2s at 0% initial power level before starting charging, 5 PEV1s at 30% initial power level, respectively 2 at 50% power level.

  • For PEV1 is necessary 3/4 of the maximum charging time to reach 90% level from 0% initial power level, 1/2 of the maximum charging time to reach 90% level from 20% initial power level, respectively 1/4 of the maximum charging time to reach 90% level from 40% initial power level.

  • For PEV2 is necessary 4/5 of the maximum charging time to reach 90% level from 0% initial power level, 1/2 of the maximum charging time to reach 90% level from 30% initial power level, respectively 1/4 of the maximum charging time to reach 90% level from 50% initial power level.

  • The maximum charging durations of PEV1 and PEV2 appear in Table 4.

  • The application of (26) in the circumstances from above resulted in the following values of the charging coefficients: for PEV1 αC1, PEV1 = 3.2317, αC2, PEV1 = 2.5347, αC3, PEV1 = 3.29185, αC1, PEV2 = 3.0297, αC1, PEV2 = 1.929, αC1, PEV1 = 2.1508.

Following simulations involving charging the batteries of multiple vehicles from the same parking lot, without (see Fig. 18) and in presence of renewables (see Fig. 19), one can extract the power–time profile for charging, with a variation within 8 MW during the considered duration. Multiple scenarios can result in significant data, suitable for interpretation, stochastic calculations and finally in optimization functions. Although most of optimization functions cover domains like driving scheduling, emissions mitigation and revenues/taxes, the input from PEVs battery charging process characteristics, the interaction with SGPS, with and/or without compensated renewables proven very useful when commissioning elements of SGPS.

Fig. 18
figure 18

Time dependency of the power demanded from the grid by the compounded PEV1 and PEV2 consumers from the parking lot, without involving renewable energy

Fig. 19
figure 19

Time dependency of the power demanded from the grid by the compounded PEV1 and PEV2 consumers from the parking lot, involving the presence of the fluctuating renewable energy sources

Power supply to the grid from a compound of vehicles from a parking lot, during the V2G operation, relies on discharging the batteries of these vehicles. Discharging process is faster than charging one [11], whereas the discharging process must encounter the low power threshold limit. Such a limit largely varies with respect to the type of vehicle and the next outcome of the PEV after providing energy to the SGPS during the power demand intervals (i.e., whether would live the parking lot for a drive or will stay for charging when available and for how long, and so for).

In this simulation regarding the battery discharging there were considered 10 PEV1s and 10 PEV2s, retrieving energy into SGPS through the same Level 2 chargers working as inverters.

  • All 10 PEV1s and all 10PEV2s are fully charged when starting to supply the SGPS.

  • The power level of the PEV1s battery drops from 100 to 5% (95% discharge) in 1/3 of its maximum charging time (see Table 4).

  • The power level of the PEV2s battery drops from 100 to 10% (90% discharge) in 1/4 of its maximum charging time (see Table 4).

  • The low power limit of the PEV1s is 4 kW, whereas for PEV2s is 2 kW.

  • The application of (29) in the frame of the assumptions from above, results into the following discharging coefficients: γdis,PEV1 = 8.11, respectively γdis,PEV2 = 8.70.

  • Because the battery discharging process is much faster than the charging one, we’ve considered four identical batches of vehicles performing V2G for a total duration equal to the maximum charging time of PEV2.

For this case of simulation, the intrinsic variability of the nature of the V2G model (Fig. 20) covers about 2 MW and has a cyclical nature. In a parking lot of vehicles demanding power and those who supply the SGPS coexist. To simulate such a regime, one superimposed the previous two scenarios, charging and discharging. The battery discharging is much faster, fact that explains the power-time profile is modulated by the profile of power demand, whereas presents a ripple following the cyclical character of the power-time profile recorded for V2G operation. Following the alternative character of the renewables of “wind generation” type, one can obtain a net power–time profile in presence of renewables (37), according to Fig. 21, or after compensating the renewables intermittency (33), according to Fig. 22.

Fig. 20
figure 20

Time dependency of the power injected into the grid by the compounded PEV1 and PEV2 suppliers from the parking lot, without involving renewable energy

Fig. 21
figure 21

Time dependency of the net power exchanged with the grid by the compounded PEV1 and PEV2 suppliers from the parking lot, involving the presence of fluctuating renewable energy

Fig. 22
figure 22

Time dependency of the net power exchanged with the grid by the compounded PEV1 and PEV2 suppliers from the parking lot, involving the presence of compensated renewable energy

Although is highly unlikely to have a positive net power for long durations, the impact of the PEVs operation in V2G is beneficial for diminishing the overall energy consumption. The gain factors (35) and (36) became objective functions which can lead to optimization of parking lot power flow as function of time and provide information as input for two directions: the PEVs traffic schedules and revenue increase. Each of this direction operates in terms of own family of optimization functions, which can be minimized/maximized for optimal results [31].

Another study involves a system in a configuration similar the one from Fig. 1. The example originates from an application presented on the MATLAB/Simulink portal [32], treating a V2G system performing one of its ancillary duties: frequency regulation on a relatively small SGPS. All the SGPS components operate at a three-phase power supply rated for 25 kV. The connection to the SGPS for both, the wind farm and the photovoltaic required the presence of a standard step-up transformer following the output inverters, considered sinusoidal. There is no reference to harmonics in this section. A step-down transformer brings the voltage level to the EV, respectively, residential consumers. For simplification reasons, one can ignore the necessity of another intermediate step-down transformer to the residential consumers. The V2G participants are:

  1. (a)

    One fossil-fuel-based (Diesel) generator with the nameplate data: Sn = 30 MW, Vn = 25 kV, fn = 60 Hz, driven by a 30 MW Diesel Engine

  2. (b)

    One Wind Farm rated for: SWF = 6 MW, nominal wind speed 12.5 m/s, maximum wind speed 15 m/s

  3. (c)

    One Photovoltaic Farm rated for SPV = 9 MW, efficiency 11%, radiant surface 70,000 m2

  4. (d)

    Three Phase transformer rated for ST = 50 MVA, V1/V2 = 25/0.46 kV

  5. (e)

    The community has 1200 homes, with a ratio of 1:10 eV owners/(total households). The load contains a residential type of consumers as well as a low power induction machine, has a consumption profile and a given power factor. The induction machine, as the largest single consumer has the following data:

    Pn = 200 kW, Vn = 600 V, fn = 6 Hz, RS = 0.0278 pu, XlS (LlS) = 0.1091 pu, Xm (Lm) = 2.974 pu, Rr = 0.0328 pu, Xlr(Llr) = 0.1997 pu.

  6. (f)

    120 New EVs, with a nominal power PEV = 150 kW each, and a charger efficiency of 95%.

The EVs operate under the V2G technology, and their batteries are in the charging mode when the power from SGPS is in excess, respectively in discharging mode when there is a deficit of power from SGPS. The interval under study comprised a full 24 h interval, whereas the profiles proposed in [32] by MathWorks and adopted here include all possible states for an EV. The profiles are:

  • Profile #1(42 cars): Going to work and charge the battery car there

  • Profile #2(25 cars): Going to work and charge the battery car after a more extended trip

  • Profile #3(15 cars): Going to work and charge the battery car after the arrival at home

  • Profile #4(25 cars): Stay at home

  • Profile #5(12 cars): Working night shift

The simulation covers 24 h. The solar radiance follows a normal distribution function with the maximum in the middle of the day, with partial shading at noon, whereas the wind has a very irregular profile, respectively one trip due to excessive speed at 10.00 pm. After running the simulation, the power distribution functions appear in Figs. 5, 6, 7 and 8. The shape of power indicates the effectiveness of the voltage regulation process (Figs. 23, 24 and 25).

Fig. 23
figure 23

Real Power at the load during an interval of 24 h (expressed in seconds)

Fig. 24
figure 24

Total Real Power during an interval of 24 h (expressed in seconds)

Fig. 25
figure 25

Total real power delivered by the diesel generator during an interval of 24 h (expressed in seconds)

The renewable energy sources have a cumulated installed power of 15 MW, equal to 50% of the nominal power of the diesel generator. The total power of the PEVs is equal to 18 MW. However, the renewable energy harvested from both solar panels and wing generators is intermittent (see Fig. 26), whereas the nature of interaction between the PEVs and SGPS follows the profiles 1 through 5. All the consumers and generators determine a load power–time profile presented in (24), with all groups having an important participation to the total power, with respect to the principal power source, the Diesel generator.

Fig. 26
figure 26

Total real power delivered by the solar panels array and wind generators during an interval of 24 h (expressed in seconds)

6 Conclusion

The EVs, due to the V2G capability of bi-directional power transfer, can play the role of the consumer as one of the producers as well, capable of smoothening the power irregularities from wind and solar power sources. Besides the advantage of being the energy beneficiary, and the merit of being present when the SGPS needs, the EV battery plays the ancillary roles of power regulation, spinning reserves, and compensator for reactive power. Challenges faced by SGPS due to the presence of the power electronic converters involved in the EV charging/discharging process accompany the drawback of the life span shortening suffered by the EV batteries. The models presented in this chapter address the charging and discharging processes subjecting individual and multiple PEVs, through simulations, with and without the impact of the intermittent character of renewables. The primary outcome of the simulation regards the power–time profile in conditions of battery charging, supply to the grid, and mixed. The impact of the intermittent renewable sources reflects an increased power variability, indicating the need for compensation using stationary storage systems or accepting classical, fossil fuel-based energy sources at the point of common coupling. The latter are stable sources which smoothen the overall power–time profile. The net power determined through simulations becomes a candidate for “objective function” status, and its maximization becomes possible. The power or energy gain factors, derived from the net energy appear suitable as objective functions, and both include revenue elements. However, the construction procedure targeting all these objective functions must include stochastic algorithms for accuracy purposes. The last simulation, built-up derived from a MATLAB/Simulink existing application and could offer information about the electric power profile over 24 h and in different points of the integrated system. There are several treatments for the shortcomings regarding the EVs integration, and optimal scheduling for driving and charging are amongst them. However, the main reasons which make the V2G impractical for now are the reduced number of vehicles, unattractive compensation for the participating EV owners as well as the anxiety of losing the driving range whereas the EVs participate in V2G joint venture. However, many models indicated profitability for the distributor and aggregator. There are two distinct groups of standards following the subject of application: EV and SGPS, both addressing similar topics, yet from different referential.