Next Article in Journal
Chemical Degradation of the La0.6Sr0.4Co0.2Fe0.8O3−δ/Ce0.8Sm0.2O2−δ Interface during Sintering and Cell Operation
Next Article in Special Issue
Multi-Objective Approach for Managing Uncertain Delivery from Renewable Energy Sources within a Peer-to-Peer Energy Balancing Architecture
Previous Article in Journal
Effect of Floating Metallic Particles in Pre-Breakdown and Breakdown Characteristics of Oil Transformer under DC Voltage
Previous Article in Special Issue
Day-Ahead Wind Power Forecasting in Poland Based on Numerical Weather Prediction
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Framework for the Introduction of Vehicle-to-Grid Technology into the Polish Electricity Market

1
Institute of Electrical Power Engineering, Warsaw University of Technology, 75 Koszykowa str., 00-662 Warsaw, Poland
2
Innogy Stoen Operator, 46 Piękna str., 00-672 Warsaw, Poland
*
Author to whom correspondence should be addressed.
Energies 2021, 14(12), 3673; https://doi.org/10.3390/en14123673
Submission received: 27 May 2021 / Revised: 10 June 2021 / Accepted: 19 June 2021 / Published: 20 June 2021

Abstract

:
Vehicle-to-grid (V2G) technology is one of the advanced solutions that uses electric vehicles (EV) to balance electricity demand in the power system. It can be particularly useful in analyzing and then mitigating the risk of not delivering electricity to the end user. Therefore, it is necessary to analyze the possibility of operation of this technology in the legal framework. The article presents the analysis of the legal status in Poland, referring to the documents of the European Union and domestic legislation. Potential changes in Polish energy law that could facilitate the implementation of V2G technology are also proposed. In addition, the authors suggested the principles for the use of this technology, formulating a mechanism called the V2G Program. Within this Program, the V2G Service was defined and a business model of its implementation by a participant of the V2G Program (uEV) was presented. In addition, an uEV selection algorithm is provided so that the mathematical model of the V2G Service can be validated. Based on the performed simulations, it can be concluded that the implementation of the V2G Program requires significant changes in the Polish energy law, but it is feasible from the technical point of view.

1. Introduction

The European Union’s policy of emission neutrality introduces further restrictions on the use of internal combustion engine (ICE) passenger cars [1]. Importantly, the process of achieving carbon neutrality does not only apply to EU countries. It is a global trend that, apart from efforts in the transport sector, also affects other industry branches [2,3]. However, it should be kept in mind that the transport sector is a major source of carbon dioxide (CO2) emissions [4,5]. Therefore, the transformation of public and private transport to zero-emissions has been ongoing for several years. This can be achieved by popularizing electric vehicles (EV) [6,7]. The development of electromobility in recent years has significantly accelerated. Many factors have contributed to this, such as the introduction of incentives and benefits, restrictions on the entry of ICE vehicles into city centers imposed by the EU and local authorities, CO2 emission fees imposed on car companies, and increased public awareness of environmental issues [8,9,10]. With the introduction of electric vehicles into public space, new solutions could be observed, which will contribute to a more efficient use of these vehicles. One of such solutions is Vehicle-To-Grid (V2G) technology [11]. It involves using the energy stored in batteries of electric vehicles for the purposes of end users or even Distribution System Operator (DSO) or Transmission System Operator (TSO). Depending on the location of the EV, discharge service will take place. These needs may vary according to battery charge, grid status, or internal user preferences. There are many concepts for using EVs to supply different facilities. It can also take the form of Vehicle-to-anything also known as Vehicle-to-X (V2X) programs, where X stands for, e.g., building (V2B—Vehicle-to-Building), home (V2H—Vehicle-to-Home), general load (V2L—Vehicle-to-Load), especially used with industrial loads (V2I) [12,13]. Basic diagram of using V2X technology is presented in Figure 1.
Considering the basics of V2G technology, it is possible to reflect on the essence of its use in modern power systems. From the DSO point of view, it would be desirable to use EV batteries to support operation of the grid, e.g., reducing demand, reducing loading on transformers, and power lines connecting substations and end users to the Main Supply Points. From the point of view of the end user (residential or commercial), discharging the battery of an electric vehicle could allow them to increase security of energy supply or, in the case of their own vehicles, also enable a form of demand reduction. The aforementioned actions can be classified as those undertaken by actors within the so-called consumer-led energy sector, i.e., one in which distributed consumers and producers actively participate in balancing the power system in a given area. Thus, a research problem can be formulated to check whether the V2G technology can have an impact on the development of such a form of community engagement. However, in order to measure it, firstly, certain principles of functioning of V2G technology in the electricity market should be established. For doing so, it is necessary to understand the problem of introducing new services into this market. This is a multidimensional problem, because it concerns the following areas: Technical, legal, economic, but also social. This article will discuss mainly legal and technical problems. Thus, the legal framework allowing or obstructing the implementation of V2G services in the European Union and Poland, as a special case, will be analyzed. Assuming adaptation to the existing legislation, the business and technical model of such V2G services should be built from the scratch. Therefore, this paper will present a description of such a service from the point of view of its implementation by the user of an electric vehicle, and then give an algorithm for the selection of such users who will provide the service. The results of the performed research are methods that can be used in the future by energy companies to implement the whole mechanism of V2G services in real conditions.
The paper is organized as follows: Different variants of V2X technology will be presented in Section 2 of the article. In this paper, the authors have focused mainly on legal and economic aspects of V2G technology. The description of other V2X technologies is complementary to the knowledge that can be used for further research. In Section 3, the authors focused on presenting the legal framework for the functioning of V2G technology in European Union and Poland. Section 4 presents a proposal of the V2G Program concept as a comprehensive platform to implement V2G technology in Poland. A mathematical description of the business model of V2G service was also depicted alongside the algorithm for the selection of participants, that will provide V2G Service. Section 5 presents a case study in which models from Section 4 were implemented.

2. V2X Technology—General Aspects

2.1. State-Of-The-Art

Globally, research work on the implementation of V2X technology has been going on for several years. As mentioned earlier, the literature contains a number of solutions using the discharging process of electric vehicles for various purposes [12,14]. The most popular solution is to use electric vehicles to support the operation of the power grid (mainly distribution)—Vehicle-to-grid (V2G). In the literature, the main concept of V2G technology functioning is presented in detail. In general, there are two types of analysis—technical and economic. In the literature, the technical analyses of V2G technology implementation concern the methods of power system control using EV [15], frequency control services [16,17,18], and the use of electric vehicles as mobile generation sources [16,19]. Unfortunately, these analyses often concern the transmission system, which, according to the authors, does not allow for an accurate assessment of the effects of discharging EV vehicles. These approaches allow a quantitative assessment of the capacity potential resulting from EV; however, the number of vehicles assumed in these scenarios is extremely remote from the actual number of vehicles. An important element that should be addressed when discussing the V2G technology is also the degree of battery degradation that will occur with the use of EV in battery discharge for the grid [20,21]. The economic aspects of V2G technology mainly concern cost analysis [22,23], definition of the roles of individual actors in V2G technology [24], and proposals for pricing system services based on fuzzy logic algorithms [25]. Interesting aspects are addressed in [26]. The authors pointed out that the mode and method of charging depends on the moment and length of stopping. The authors also proposed a five-state model of electric vehicle operation. Based on this knowledge, a business model for V2G services was designed, taking into account the German power system. Assumptions for providing V2G services in car parks are also presented in [27]. It is worth noting that the authors rightly underlined that vehicle user behavior is random and the probability of incomplete or complete failure of the V2G service should be taken into account.
V2G technology is also being developed commercially. Table 1 presents the selection of commercial projects of V2G technology applications.
Another solution is to use electric vehicles to meet the needs of a residential building, i.e., Vehicle-to-building (V2B). In the literature, one can also find this solution under the name Vehicle-to-home (V2H). Generally, the methods of analysis are similar to those concerning V2G. In a previous publication [29], one can find information about the model in which the batteries of electric vehicles are used to supply an office and residential building. During the research, a detailed technical concept of operation of such batteries in a microgrid consisting of the aforementioned buildings was presented. The material contained in [30] seems to be interesting. The authors created an extremely detailed state-of-art concept in the area of integration of buildings and electric vehicles. It has been pointed out that one of the basic problems discussed in the area of V2B is the assessment of such systems in terms of reducing energy demand in a building. In addition, the authors of many publications focus on the integration of not only EV and buildings, but also additional renewable energy sources (RES), which include photovoltaic power plants or micro wind turbines [30,31,32]. There were also analyses in the scope of improving the flexibility of operation of such installations, e.g., by using peak-shaving and valley-filling methods [33,34]. Economic aspects of using such installations were also analyzed [35].
In the literature, you can also find solutions for Vehicle-to-load (V2L). These solutions in some way simplify the issue of energy supply from electric vehicles to end users. In a previous study [12], the concept of using EV in the V2L technology is presented in terms of ensuring energy security, in particular providing an additional source of electricity during power outages.

2.2. Novelty

Based on the literature review, it can be observed that previous studies have mainly focused on the following aspects related to V2G technology and other research areas that are necessary to launch V2G services:
  • Provision of system services and flexibility by electric vehicles [17,18,19,25,36];
  • Development of business models and economic evaluation of V2G services [26,27,37];
  • Discussion of legal frameworks for EV battery operation [38,39,40,41,42];
  • Creating surveys on how EV users travel and analysis of the mobility of EV users [11,43,44,45];
  • Data privacy aspects in V2G systems [46,47].
However, the authors of this paper have noted a knowledge gap in the form of integrating domestic legal frameworks with the rise of V2G business models. Therefore, the work on legal aspects presented in [39] was developed by discussing Polish legal acts concerning the operation of the power sector. Based on the analysis of European and domestic legal acts, the following solutions were provided:
  • Proposals for changes in domestic (Polish) legal acts were indicated;
  • The authors’ concept of the V2G Program, i.e., the set of services that could be provided by owners of electric vehicles under the vehicle-to-anything technology, was developed.
Moreover, in the proposed concept of V2G Program, there were examples of services included, which would be compliant with current legal conditions, and a business model of V2G service was also developed. The aim of this paper is to develop the design of V2G service models taking into account random events on the part of EV users, as presented in [27]. Verification of this model was presented in the novel algorithm for searching and selection of vehicles that will provide the aforementioned services.

3. Legal Framework of V2G Technology in European Union and Poland

3.1. Status of Energy Storage Facilities

One of the fundamental problems in defining the legal framework for the operation of V2G technology is to define the position of battery energy storage systems (BESS) on local energy markets. This problem was pointed out by Forrester et al. [41], who mentioned the need to qualify BESS to the well-known power engineering sub-sectors. A significant problem is the lack of a clear definition of what is the energy storage [42]. According to the EU Directive 2019/944 of 5 June 2019 on common rules for the internal market for electricity, energy storage is “in the electricity system, deferring the final use of electricity to a moment later than when it was generated, or the conversion of electrical energy into a form of energy which can be stored, the storage of such energy, and the subsequent reconversion of such energy into electrical energy or use as another energy carrier”, while an energy storage facility is understood to be an “facility in the electricity system where the energy storage occurs” [48]. However, it should be mentioned that, according to the aforementioned Directive 2019/944, DSOs and TSOs cannot own energy storage facilities. However, it is possible to obtain a derogation from the EU Directive requirements by fulfilling the following conditions [48]:
  • Storage facilities must be fully integrated into the power grid;
  • The national regulatory authority has given its approval for such actions;
  • Other parties were not permitted to set up or operate energy storage facilities;
  • Energy storage facilities are necessary for DSOs to fulfil their obligations and regulations under Directive 2019/944 in order to ensure safe operation of the power system;
  • Storage facilities must not be subject to market play and additional revenues for DSOs.
The regulation of energy storage is a fundamental part of the European sustainable development process for the use of alternative energy sources. Since V2G technology uses BESS installed in electric cars, it can be concluded that without appropriate regulations it will not be possible to implement it efficiently. It should also be stressed that no direct regulation of V2G technology is included in any EU documents concerning energy storage. Therefore, it should be understood that member states are free to decide on the implementation of V2G services, while maintaining the current framework for energy storage.

3.2. Flexibility

The action related to sustainable development in the area of power engineering is ensuring, by DSOs, the so-called flexibility of the grid. In the literature, it can be found that grid flexibility is a series of actions aimed at adjusting energy demand and generation according to planned and unplanned changes [49]. These actions can be achieved by using an appropriate control algorithm in distributed energy sources (DES) [50], in energy storage [42], in end users, e.g., in buildings [51,52], or also in the processes of charging and operation of electric vehicles [42,51,53,54,55]. An important topic addressed in [55], in the context of V2G, is the EV trip chain model, which combines flexibility mechanisms with V2G services.
The topic of flexibility is not only addressed in the literature, but also has its real dimension. In the EU Directive 2019/944 of 5 June 2019 on common rules for the internal market for electricity [48], information on grid flexibility can be found in Article 32. In this article, it is stated that DSOs will provide flexibility services, which will consist of congestion management to increase the efficiency of the distribution grid. Such activities may be carried out with the help of distributed generation, energy storage, or demand side response services (DSR). Considering the aforementioned provisions it can be concluded that the use of energy storage in electric vehicles as an action related to grid flexibility is possible. Moreover, the conclusions (No. 42) of this Directive indicate that the use of electric vehicles (and more specifically their energy storage) is feasible and needed. However, there is still no solution for creating a market for flexibility. Studies carried out by organizations associating TSOs and DSOs and other energy companies indicate the necessity of creating such a market [56]. It is suggested that flexibility services can be traded, and the facilitators of this market would be system operators. It is also important that in the case of Poland, there are still no national regulations enabling the setting up of a market for flexibility services or provisions on how flexibility should be used.

3.3. Electromobility Status in EU

A key legal act regulating electromobility in the EU is the Directive of the European Parliament of 22 October 2014 on the deployment of alternative fuels infrastructure [57]. It introduces fundamental definitions of electro-mobility concepts. In particular, three definitions are worth emphasizing in the context of the analysis of the V2G Program [57]:
  • Electric vehicle—“a motor vehicle equipped with a powertrain containing at least one non-peripheral electric machine as energy converter with an electric rechargeable energy storage system, which can be recharged externally”;
  • Recharging point—“an interface that is capable of charging one electric vehicle at a time or exchanging a battery of one electric vehicle at a time”;
  • Recharging or refueling point accessible to the public—“a recharging or refueling point to supply an alternative fuel which provides Union-wide non-discriminatory access to users. Non-discriminatory access may include different terms of authentication, use and payment”.
None of the aforementioned definitions mentions a bi-directional energy transmission between the electric vehicle and the charging point. Therefore, it should be asked whether the legislators, in establishing the regulations, considered the use of V2G technology at all. Of course, the definition of energy storage cited in Section 3.1 allows the use of V2G technology in practice, although there is a stronger correlation with the energy storage process than with the development of electromobility. In order to clarify the rules, a definition of bi-directional charging points should be considered. Another aspect is the use of publicly available charging points. In particular, the part of the definition concerning non-discriminatory access to these points should be analyzed. This implies that the implementation of V2G technology has to be done at other than publicly accessible charging points, as it is not possible to give priority to vehicles that will discharge into the power grid. This aspect is discussed in detail in Section 4, when the V2G Program is proposed.
Further references to electromobility in EU legislation can be found in the EU Directive 2019/944 of 5 June 2019 on common rules for the internal market for electricity [48]. In principle, it defines a set of rules that must be respected in the operation of European local electricity markets. However, it also sets out principles for the integration of electromobility into the electricity grid-Article 33. On its basis, it can be concluded that a key role in the development of electromobility is the cooperation between the Operators of Charging Points Accessible to the Public (OCPAP) and DSOs. However, it is not possible for DSOs to take over a role of OCPAP, due to the provisions of Article 33 (2) of the Directive [48]. A DSO cannot own or manage charging stations, except for its own use. According to the aforementioned interpretations of Directive [48], own use is to be understood as the use of charging points for charging the fleet of DSOs’ business vehicles. As in the case of energy storage, there are possibilities to obtain derogations for DSOs to manage charging points. These conditions are as follows:
  • Other parties were not permitted to set up or operate charging points,
  • The national regulatory authority has given its approval for such action,
  • DSOs apply the principle of third-party access, while operating the charging points, and do not discriminate against other companies, in particular in favor of companies with capital connections to DSO.
It follows that for the V2G Program it would be impossible for DSO to obtain derogations due to the fact that V2G Program users must be prioritized.

3.4. Current Legal Framework in Poland

For the introduction of the V2G technology in Poland, the regulations contained in the Act on Energy Law [58], the Act on Renewable Energy Sources [59], and the Act on Electromobility [60] have to be respected. These are three basic legal acts, which in an imperfect way regulate the use of bi-directional energy flow. Each of these acts must comply with the EU Directives presented in Section 3.3. Nevertheless, it can be stated from the very beginning that the Polish legislation is not ready to introduce V2G technology. In this section, the authors shall present provisions that may help to create a legal framework for the V2G technology and suggest changes in the law to make its implementation easier.
The first problem observed is the lack of legal possibility for DSOs to use energy from electric vehicles for grid purposes. As mentioned in Section 3.3 under EU law, DSOs may not manage charging points or energy storage facilities unless it is justified by the conditions described in the previous chapter. So, the certain option is to treat vehicles as mobile energy storage; however, the legal framework for energy storage is not fully defined either.
First of all, analysis should begin with Polish definitions of energy storage facilities. According to Article 3 (10k) of the current Energy Law, an energy storage facility is “an installation for storing energy, connected to the grid and capable of supplying electricity to the grid” [58]. Unfortunately, a completely different definition can be found in Article 2 (17) of the Act on Renewable Energy Sources, where an energy storage facility is defined as “a separate device or set of devices used to store energy in any form that does not cause emissions that are a burden to the environment, in a way that allows at least partial recovery” [59]. As it can be seen from the aforementioned definitions, the problem relates to their lack of coherence. However, analyzing the provisions of the draft amendment to the Energy Law, which in May 2021 is in the final stage before its implementation, it can be concluded that the definitions of energy storage have been clarified [61]. Article 7 (1c) of the amendment to the Energy Law also changes the Act on Renewable Energy Sources. According to the aforementioned article, the only definition of an energy storage facility that should be used is the amended definition in Article 3 (10k) of the Energy Law, i.e., “an installation enabling the storing of electric energy and its injection into the grid”. Nevertheless, it should be mentioned that in the first versions of the amendment, these definitions were not coherent. According to the authors, it is important that the definition of energy storage will include a reference to mobile energy storage, so that V2G technology is explicitly treated as an energy storage type. Unfortunately, a definition of mobile energy storage was not included in the final version of the act.
Amendments to the definition of an energy storage facility in the Energy Law were made on the occasion of the adoption of the Act on Electromobility and Alternative Fuels in 2018 [60]. Its introduction also brought about a number of other changes, such as the recognition of publicly accessible charging stations in the Energy Law. However, focusing on the provisions of the Act on Electromobility and Alternative Fuels, the definitions concerning charging infrastructure for electric vehicles should be analyzed. It introduces concepts already known from the European Parliament Directive 2014/94 on the development of alternative fuel infrastructure. In addition to the term of recharging point, which was mentioned in Section 3.3, the following definitions are also included [57,60]:
  • Normal power recharging point—“a recharging point that allows for a transfer of electricity to an electric vehicle with a power less than or equal to 22 kW, excluding devices with a power less than or equal to 3.7 kW, which are installed in private households or the primary purpose of which is not recharging electric vehicles, and which are not accessible to the public”;
  • High power recharging point—“a recharging point that allows for a transfer of electricity to an electric vehicle with a power of more than 22 kW”.
Unfortunately, there are no provisions in the entire text of the current Act on Electromobility (as of October 2020) allowing the use of V2G technology. The relevant provisions introducing the definition of a bi-directional charging point have been included in the draft amendment of the Energy Law [62]. According to the Polish government’s proposal (January 2020), a bi-directional charging point is “a charging point which allows electric energy to be absorbed from an electric or hybrid vehicle” [62]. However, according to the latest government proposals, the definition of a bi-directional charging point has been removed from the amendment of the Electromobility Act and the Energy Law (May 2021) [61]. However, it should be noted that if the Energy Law is amended, this would be a beneficial step that would undoubtedly unlock the potential for developing and exploiting V2G technology. Nevertheless, it should be remembered that acknowledgment of a bi-directional charging point would not solve the problem of V2G Program implementation. Furthermore, the division of roles in the establishment and operation of a wide-access network of bi-directional charging points is an unsolved problem. The Act on Electromobility carries over the provisions from both previously discussed Directives of the European Parliament [48,57]. They concern, in particular, equal access to publicly accessible charging points and the introduction of a market for energy storage services.
It should also be mentioned that the current Polish Energy Law significantly complicates the provision of ancillary services by energy storage facilities [58]. As part of the strategic changes, it should be possible for energy storage facilities and mobile energy storage facilities to provide such services. The introduction of the V2G technology is nothing else than a new type of ancillary service that may, and even has to, be provided at the level of distribution grid. According to the current regulations, DSO mainly deals with the coordination of traffic in the distribution grid, but is excluded from the process of balancing the system concerning the balancing of current demand and generation. However, it should be mentioned that DSOs may dispatch generation units smaller than 50 MW connected to the distribution grid. In addition, the purchase of ancillary services is solely the responsibility of the TSO. The most similar services in the current pool of ancillary services in Poland are: Operational Capacity Reserve, Hot Reserve, or Demand Side Reduction [58]. However, it should be emphasized that as of 18 December 2020, the services Operational Capacity Reserve and Hot Reserve will be decommissioned due to the introduction of the Capacity Market. It should be considered whether the Capacity Market will be one of the future considerations of the V2G technology, especially in the context of not subsidizing units with significant CO2 emissions.
Therefore, the authors proposed their own V2G Program model, which is discussed in detail in Section 4 of the article. Also, based on the analysis of the aforementioned legal acts, Table 2 is presented. It presents the missing domestic legislative aspects, as well as a priority of their introduction in order to reach the full potential of V2G technology.

4. Proposed Model of V2G Program and Services

4.1. Model of V2G Program

It is also important to define the practical use of V2G technology. It should be determined whether the discharge of an electric vehicle for the purposes of the distribution network is an ancillary service or service provided by a third party for the sole purpose of making a profit. The following definitions are proposed:
  • V2G Serviceis a defined action, which is undertaken by the V2G Program Participant, aimed at the improvement of the power system operation, or ensuring sufficient capacity for end-user.
  • V2G Program Participant (uEV)is the owner of an electric vehicle or fleet of electric vehicles, who provides services by offering battery capacity to end-users or Distribution System Operator.
  • End User (EndUs)is the energy consumer, who has decided to use electric vehicles for reserve power supply, within the V2G Program.
  • The V2G Programis understood as the activity of a power company involving the use of electric vehicles to improve the operation of the power grid or/and to improve the security (assurance) of supply.
  • V2G Service Provider (V2Gsp)is the party managing the V2G Program in a given area.
Figure 2 shows the block diagram of V2G Program operation. It is important to ensure that the full potential of the V2G program can be fully achieved by allowing a given uEV to provide multiple V2G services simultaneously.
Regardless of the number of services provided, the V2G Program should be based on the mutual relations between the participants. Figure 3 shows a scheme of relations between key actors and their role in the V2G Program.
Considering the legal framework described in Section 3, it should be stressed that DSO is not allowed to be fully actively involved in shaping the V2G Program, especially using publicly available charging points. Therefore, it is necessary that a dedicated company, a so-called V2G Service Provider (V2Gsp), would be the operator of V2G technology. However, the legislation does not limit whether V2Gsp can perform other roles in the electricity market, that do not directly concern the operation of the distribution grid, as provided for in Articles 6 and 33 of the EU Directive 2019/944 of 5 June 2019 on common rules for the internal market for electricity [48]. In Poland, it seems obvious that a local retailer would be obliged to become a Charging System Operator (CSO) within its competence, in accordance with the Polish Act on Electromobility [60], and therefore also a V2G Service Provider. However, the role of DSOs cannot be neglected in the process of creating V2G Program. It was concluded that the DSO not only should but rather must be a party to the implementation of the V2G Program, but not as a managing party.
The discussed proposal considers two main cases of V2G Program implementation. Case 1 concerns securing of end-user electricity demand during scheduled and unscheduled outages or constraints in access to energy resulting from the operation of the power system. The introduction of V2G technology would make it possible to secure such needs by recalling V2G participants (uEV) to a selected user and discharging the batteries to a specified level. Settlement and coordination of the program would remain within the V2G Service Provider (V2Gsp). However, the DSO should also be party to the agreement between the uEV and V2Gsp. This is related to the fact that the DSO must be aware of the network traffic, e.g., during maintenance. In order to comply with EU legislation, a solution to the problem of installing bi-directional EV charging station (EVSE-V2G), in Case 1, is building this station by the end user. This means that it is the responsibility of the end user to ensure that the service can be carried out—e.g., providing a parking space. In fact, it seems that the end customer would sign a contract with the V2Gsp for an additional V2G service, whereas the DSO would only be an agent between V2Gsp and the end customer–DSO will not take any commission. This would result in there being no need to define a new ancillary service, which would imply an amendment to the Act on Energy Law.
Contrary to Case 1, Case 2 concerns the securing of the electricity demand of the entire power system. The V2G technology can serve as a support mechanism for balancing the distribution network, obviously with all proportions. It should be remembered that in the case of overloading power lines, energy from EV can be used to supply end users in a relevant region. While further coordination of V2G Program and chargers would be handled by V2Gsp, the key role in Case 2 is played by DSO. Only the DSO is able to detect and identify a disturbance in the power system and then set up the appropriate coordination of network traffic. V2G services would be provided at publicly accessible V2G points belonging to V2Gsp; however, the possibility of using private end-user points is not excluded if the situation in the power system requires it. However, in Case 2, there could be a legal problem in regard to the ancillary service provided by DSOs to V2Gsp. The most important issue properly defines such a service, so that the rules set out in the Energy Law would be fulfilled. Therefore, it is possible to amend the regulations allowing DSOs to participate in the purchase of ancillary services, and thus create a portfolio of such services at the level of distribution grid. Another solution is close cooperation between the TSO and the DSO in the implementation of a V2G Program. It seems that V2Gsp would have to report the performance of discharging services to both TSO and DSO. In that case, it is important to regulate cash flow between these entities for providing such services.
The V2G Program is intended to enable owners of electric vehicles to participate in two basic modes—Mandatory Mode and Optional Mode. In Mandatory Mode, uEV will receive a fixed payment for its availability to provide services; however, it will be forced to do so upon the request of V2Gsp. Otherwise, it will receive a fine proportional to its participation in V2G Program. This is a mechanism borrowed from the capacity markets, where the power generators receive payments for their availability to deliver capacity to the power system. The Optional mode is intended for more mobile users, who are expected to want to benefit from the V2G Program, but after receiving an appropriate economic incentive. The uEV users providing V2G Services in the Optional Mode will be able to receive more remuneration for more challenging services, and the uEV performing its obligations in the Mandatory Mode will receive a relatively equal payment, but more often.

4.2. Model of Basic V2G Service

The V2G service was previously presented as “defined action, which is undertaken by the V2G Program Participant, aimed at the improvement of the power system operation or ensuring sufficient capacity for end-user”. Therefore, the mathematical description of business model of such an action should be discussed in order to present the implementation of such a service from both the uEV and the V2G Service Provider.
The first step is to define the energy flows during charging (Grid-to-vehicle: G2V) and discharging (Vehicle-to-grid: V2G). These are shown in Formula (1).
e V 2 G = { e V 2 G = C · ( S O C e x S O C t ) η c ; c h a r g i n g e V 2 G + = C · ( S O C t ( S O C f ( 1 + R ) S O C 0 ) ) · η d ; d i s c h a r g i n g
where:
  • eV2G—energy flow injected or consumed by 1 electric vehicle;
  • C—capacity of the electric vehicle battery pack, in kWh;
  • SOCex—expected battery State-of-Charge (SOC) at the end of the charging process;
  • SOCt—current State-of-Charge (SOC) in the time t;
  • SOCf—State-of-Charge required for the next journey;
  • SOC0—minimal State-of-Charge limited by technical constraints;
  • R—a reserve, which considers the possible lengthening of the route, e.g., to avoid a congestion;
  • ηd—efficiency of discharging process;
  • ηc—efficiency of charging process.
The aforementioned SOCt, SOC0, SOCex must fulfil the following condition (2):
S O C e x S O C t S O C 0
Understanding the value of electrical energy that an electric vehicle can deliver to the power grid, one should proceed to the next step, i.e., to design the proper V2G service. This paper considers Case 1, discussed in Section 4.1—providing an additional energy supply for the EndUs. In this paper, the name of the aforementioned V2G service is: Emergency work for the energy consumer. According to V2G Program Case 1, the energy consumer will own its bi-directional EV charging point. As part of the contract between the parties, EndUs will have to specify the value of the energy that they want to collect from EVs. Let Ed denotes the end user’s electricity demand from V2G Program at time t and Edmax denotes maximum end user’s electricity demand from V2G Program, which can be obtained from end-users V2G charging points. Its value will be calculated according to Formula (3).
E d m a x i = 1 n C S P E V S E , i · t
where:
  • Edmax—maximum end user’s electricity demand from V2G Program, which can be obtained from V2G charging points, in kWh;
  • nCS—number of bi-directional charging points owned by EndUs;
  • PEVSE,i—rated power of bi-directional charging point, in kW.
The end user will provide V2Gsp with data on the amount of energy in advance, so that V2Gsp is able to inform uEVs. The authors estimate that in the case of scheduled power outages for the end user, time t will be about 8 h, and in the case of unscheduled outages, energy should be enough for about 12 h. Given the relatively tight constraints on the transmission of power and energy from the charging point, the EndUs should choose its reserved energy demand wisely. However, the end user must not forget to possibly oversize their facility, so that more cars are able to provide V2G service.
Let N E V R E Q denote the number of vehicles needed for providing the V2G service. Equation (4) describes the correlation between the demand of EndUs and the number of participants in the V2G Program.
E d = n = 1 N E V R E Q e V 2 G + , n
where:
  • Ed—end user’s electricity demand from V2G Program, in kWh;
  • eV2G+,n—energy flow injected by n-th electric vehicle;
  • N E V R E Q —required number of electric vehicles for provision of V2G Service for end user.
Knowing that the maximum demand covered by V2G Program participants is determined by the number of V2G points in a location, the ratio between Edmax and Ed can be determined.
k = E d m a x E d
where:
  • Ed—end user’s electricity demand from V2G Program, in kWh;
  • Edmax—maximum end user’s electricity demand from V2G Program, which can be obtained from V2G charging points, in kWh;
  • k—reserve level; the authors suggest that k-factor should be limited: 1 < k < 1.1.
Taking into account that not every uEV participant will perform the V2G service by arriving at EndUs and discharging its vehicle, the probability of performing such a service P(A) should be considered. Therefore, the energy delivered by the uEV to the EndUs can be determined as follows:
E V 2 G + , t = P ( A ) ·   E d = P ( A ) ·   n = 1 N E V R E Q e V 2 G + ,   n  
where:
  • P(A)—total probability of providing V2G service;
  • EV2G,t+—expected energy delivered to the end-user in time t.
Thus, it can be concluded that:
E V 2 G + , t E d
The problem that needs to be solved in this V2G service model is to find a number of uEV N E V E S T , such that the energy delivered to the consumer is not less than that specified by the EndUs.
E V 2 G + , t E d
E V 2 G + , t = P ( A ) · n = 1 N E V E S T e V 2 G + ,   n
where:
  • Ed—end user’s electricity demand from V2G Program, in kWh;
  • N E V E S T —estimated number of electric vehicles expected to be involved in establishing V2G Service provision, considering the probability of service provision;
  • P(A)—total probability of providing V2G service;
  • eV2G+,n—energy flow injected by n-th electric vehicle;
  • EV2G,t+—expected energy delivered to the end-user in time t, which covers the reserve resulting from the probability of service provision P(A) < 1.
In theory, it can be stated that the number of bi-directional charging points should be equal to the number of EV. That would mean that every car that provides V2G service at the moment t should have its own dedicated charging station and additional facilities should be provided in case of a temporary increase in electricity demand. However, the data on the number of EVs to provide the V2G service are not sufficient to determine how much actual energy can be delivered to the EndUs. The probability of providing such a V2G service should be taken into account. This probability will depend on three simultaneous random events-on the side of the customer P(EndUs), on the side of the operator P(V2Gsp), and on the user EV P(uEV). This is defined by Formula (10).
P ( A ) = P ( E n d U s ) · P ( V 2 G s p ) · P ( u E V )
where:
  • P(A)—total probability of providing V2G service;
  • P(EndUs)—probability of providing V2G service by end-user;
  • P(V2Gsp)—probability of providing V2G service by V2G Service Provider;
  • P(uEV)—probability of providing V2G service by V2G Participant.
Each of these events contains different elements specific to the type of V2G Program Participant. Individual probabilities for given users have been defined by Equations (11)–(13). It should be stressed that in this article, the authors have attempted to develop a concept of mathematical notation of the V2G Service; however, the aim of this article is not to define specific values of the described probabilities.
P ( E n d U s ) = ( 1 P ( F E V S E ) ) · P ( D P L )
where:
  • P(FEVSE)—probability of failure of a bi-directional charging point;
  • P(DPL)—probability of the availability of V2G charging point at the place of service delivery.
P ( V 2 G s p ) = 1 P ( F S )
where:
  • P(FS)—probability of failure of a metering and billing system.
It should be noted that the metering and billing system has to be designed for operational reliability, so that the P(V2Gsp) function is approximately equal to 1.
P ( u E V ) = P ( E C ) · P ( U S E V ) · ( 1 P ( I N T ) )
where:
  • P(EC)—probability of the user’s reaction to providing the service at a given time—e.g., receiving an economic incentive;
  • P(USEV)—probability of using the electric vehicle;
  • P(INT)—probability of service interruption.
The most extended is the probability function of the service execution by a V2G (uEV) participant. This is due to many variable factors, whether the user of the electric vehicle will want to perform such a service. The most important element in Equation (13) is the probability of the user’s reaction, e.g., after receiving an appropriate economic incentive (P(EC)). This will mainly depend on whether the uEV will discharge its vehicle. Determining this value will be key to assessing whether V2G services may become potential future ancillary services and should be estimated for local conditions and continuously improved in the course of the V2G Program operation.
Based on the aforementioned equations, the number of vehicles that will be needed to cover EndUs demand can be determined. The service is then considered to be provided if and only if E V 2 G + , t is not less than Ed. Alternatively, fuzzy logic can be used to evaluate the performance of the service. Thus, the execution of V2G Service can be defined as EXV2G, which could be further treated as a fuzzy number. A fuzzy logic triangular membership function was used to describe this problem. The membership function µ(EV2G,t+) is defined by Formula (14).
μ ( E V 2 G , t + ) = { 0 ,   i f   E V 2 G , t + E V 2 G m i n E V 2 G , t + E V 2 G m i n E d   E V 2 G m i n , i f   E V 2 G m i n < E V 2 G , t + E d E d m a x E V 2 G , t + E d m a x E d , i f E d < E V 2 G , t +   E d m a x 0 , i f E V 2 G , t + > E d m a x
From Equation (14), it can be concluded that a V2G service can be performed:
  • Not at all (when EV2G,t+ < EV2Gmin);
  • Completely (when Ed = EV2G,t+);
  • Partially (when EV2G,t+ < Ed);
  • Excessively (when EV2G,t+ > Ed), but it will be limited by the value of Edmax, which is the maximum energy that can be delivered from bi-directional charging points.

4.3. Proposal of an Algorithm for the Selection of Vehicles for the V2G Service

4.3.1. Search for Vehicles to Provide V2G Services

This section of the article describes the algorithm for the implementation of a V2G Service from the moment of obtaining information about such a service to the arrival of the vehicle and monitoring its discharge, from the point of view of V2Gsp. First, the energy needs of the customer to whom the service will be provided should be determined according to the Formulas (4)–(9).
The next step is to place the location where the V2G Service will be provided on a map. For this purpose, it is necessary to define an area that will be described by certain geometrical coordinates. Let G denote the area in which the V2Gsp operator works. In this area, points can be distinguished such that:
g ( x G ,   y G ) G
where:
  • xG and yG are the geometric coordinates of the selected point g.
In order to represent the location on the map, a grid of 1 km squares must be created. The area can therefore be described as consisting of NG squares, which can be described by the following relation:
G 2 = [ ( x G , y G ) ; ( x G ,   y G ) ; ( x G , y G ) ; ( x G ,   y G ) ]
knowing that:
x G x G = 1   km     y G y G = 1   km  
and:
x G x G m a x     y G y G m a x  
where:
  • xGmax and yGmax are the boundary values of the area.
Then, it is necessary to define the location of the facility where the service will be provided. Let L denote the point in area G where the V2G service should be provided. Thus, it can be described by the coordinates L ( x L ,   y L ) G .
The next step is to describe each V2G Program Participant (uEVi) in the area G. Each participant is assumed to have a single unique electric vehicle. Let N u E V V 2 G s p be the set of vehicles that are part of the V2G Program in the area of operation of V2Gsp. Therefore, each uEVi must fulfil the following relation:
u E V i     N u E V V 2 G s p
From the V2Gsp point of view, the most important information that should be submitted by an electric vehicle via a remote communication system is:
  • Vehicle identification number (IDi);
  • Geographical location, described by grid coordinates of the V2Gsp area (xi, yi);
  • The current state of charge of the battery SOC (SOCt,i);
  • Declared SOC level that must remain after ending the V2G service (SOCf,i);
  • Battery capacity [kWh] (Ci);
  • Maximum discharge power (PMAX,i);
  • Vehicle type (TVi);
  • Maximum service duration (tsi);
  • Type of charge connection (CSi);
  • Service provision mode—mandatory or optional (Mi).
Considering the aforementioned data, each u E V i can be represented by a vector:
u E V i = [ I D i ,   x i ,   y i ,   S O C t , i ,   S O C f , i ,   C i ,   P M A X , i ,   T V i ,   t s i , C S i , M i ]
The search for vehicles to be used for the provision of the service will take place in particular zones Zn. Successive search areas will consist of NG1 squares, according to the following equation:
N G 1 ( n ) = ( 2 n 1 ) 2
In addition, the zone Zn will be defined by the following number of grid squares:
Z n = N G 1 ( n ) N G 1 ( n 1 )  
knowing that n N G and Z n G .
While running the algorithm, it should be assumed that the first square i.e., n = 1 contains the point L ( x L ,   y L ) . In case the number of EVs in this square is not sufficient, one moves to the next zone i.e., adding one square to the point of each vertex of the first square. If one square is outside the area G, this square should be ignored in the calculation of the number of EVs. A sufficient number of EVs should be understood as the number of vehicles N E V E S T , which will allow to supply the demand of the EndUs customer at point L, considering the probability of service provision. Figure 4 shows an example of the determination of three zones for the tested algorithm.
The next step of the algorithm is to assign the number of EVs that are in a given zone. Assume that the number of vehicles in a given zone is N E V Z n . Thus, it is necessary to make a check whether the energy provided by N E V Z n vehicles is sufficient to meet the demand Ed. If the energy delivered by a certain number of vehicles in a zone is less than that is estimated to cover the demand, one should proceed to search in the next zone Zn while increasing the number of grid squares in the search area. If, in subsequent iterations of the algorithm, one of the grid squares is outside the area G, assign it a value of N E V Z n = 0 , which implies an energy delivered by a vehicle equal to 0. This process can be written in the following pseudo-code:
Check :   n = 1 N E V Z n e V 2 G + ,   n E d   for   n 1 If :   YES ,   then   assign   N 1 E V = n = 1 N E V Z n Else :   increase   the   search   area   by   the   next   zone   Z n Repeat   until :   n = 1 N E V Z n e V 2 G + ,   n E d
The result of this part of the algorithm should be the obtained number of electric vehicles that can potentially provide V2G service to the end user N 1 E V . Figure 5 shows the first part of the algorithm for finding uEV participants to provide V2G service.

4.3.2. Selection of Vehicles to Provide V2G Services

The next step is to create the set of vehicles that was identified after the operation of the first part of the algorithm. Let N u E V denotes such a set of vehicles. The relation between the number of vehicles that can potentially provide V2G services N 1 , E V and the set N u E V can be represented as follows:
N 1 , E V = c a r d   N u E V
Therefore, it can be concluded that the set of electric vehicles that can potentially provide a V2G service to a customer N u E V will be a matrix (24) with the number of rows equal to N 1 E V and 11 columns, which is derived from the vector u E V i .
N u E V = [ I D 1 x 1 y 1 S O C t , 1 S O C f , 1 C 1 P M A X , 1 T V 1 C S 1 t s 1 M 1 I D 2 x 2 y 2 S O C t , 2 S O C f , 2 C 2 P M A X , 2 T V 2 C S 2 t s 2 M 2 I D N 1 E V x N 1 E V y N 1 E V S O C t , N 1 E V S O C f , N 1 E V C N 1 E V P M A X , N 1 E V T V N 1 E V C S N 1 E V t s N 1 E V M N 1 E V ]
Afterwards, a ranking of the users that are in the search zone of the operator N u E V R should be created. Each record in the aforementioned ranking will be described by the following vector:
u E V R i = [ I D i ,   M R i ,   D I S T i ,   C O F , i ,   t s i ,   P M A X , i ]
whereby:
  • Identification number: I D i ;
  • Service provision mode: M R , i = { 2   i f   M i = M A N 1   i f   M i = O P T ;
  • Distance between uEV and the service provision point: D I S T i = ( x i x L ) 2 + ( y i y L ) 2 ;
  • Energy offered from particular uEVi: C O F , i = C · ( ( S O C t , i TRIP , i ) ( S O C f , i ( 1 + R ) S O C 0 ) ) · η d ;
    Where TRIP , i = u s E V ·   D I S T i C i —energy required to reach EndUs, as a percentage of the battery’s rated capacity; u s E V —average electricity consumption of an electric vehicle;
  • Maximum service provision time: t s i ;
  • Maximum discharge power: P M A X , i .
Considering the assumptions of the presented V2G Program, which are described in Section 4.1, the participants that have chosen the service delivery mode as mandatory—uEVman—must be selected first. These users must be identified first to provide the service, since their remuneration depends not only on the service itself, but also on their availability to provide the service. Users who have chosen the optional mode—uEVop—will be considered in second order. Therefore, in the matrix N u E V R , the first rows from the top (symbolizing the highest-ranking position) will be held by vehicles with parameter M R , i = 2 . In each user group ( M R , i = 2 or M R , i = 1 ), the following sorting rules will be applied:
  • DIST i : min max ;
  • C OF , i : max min ;
  • ts i : max min ;
  • P MAX , i : max min .
The next step involves finding the appropriate number of uEVRi to whom the request for V2G service will be sent. Let N 1 R , E V denote the number of vehicles/participants in the matrix N u E V R . The general relation that must be fulfilled to proceed the algorithm is:
N 1 R , E V N E V E S T
where:
  • N E V E S T —estimated number of electric vehicles expected to provide a V2G service to an end user, considering the probability of service provision.
The key process at this point is to determine the number of uEVman, since by definition these users must be available to provide the service. It is worth noting that it may be the case that all users providing V2G service belong to the Mandatory mode. In that case, the highest guarantee of service performance is obtained, due to the potential penalties that non-performance of the service may bring. An example of such a situation is shown by the Equations (27) and (28):
e . g . :   N 1 R , E V = 5 ; N E V E S T = 3 ;   N E V R E Q = 3
N u E V R = [ I D 1 2 D I S T 1 C O F , 1 t s 1 P M A X , 1 I D 3 2 D I S T 3 C O F , 3 t s 3 P M A X , 3 I D 4 2 D I S T 4 C O F , 4 t s 4 P M A X , 4 I D 2 2 D I S T 2 C O F , 2 t s 2 P M A X , 2 I D 5 1 D I S T 5 C O F , 5 t s 5 P M A X , 5 ]
whereby: D I S T 1 < D I S T 5 < D I S T 3 < D I S T 4 and D I S T 4 = D I S T 2 , however C O F , 4 > C O F , 2 .
In case the number of uEVman will be less than the number of vehicles required by the end user to provide the service (NREQEV), participants that belong to the Optional mode should be involved. Due to the voluntary nature of V2G services in the Optional mode, V2Gsp should send a request to more uEVs than required. This relation was described by the probability of providing the service by uEV—Equation (13). An example of this situation is shown with the Formulas (29) and (30):
e . g . :   N 1 R , E V = 5 ; N E V E S T = 3 ;   N E V R E Q = 2
N u E V R = [ I D 1 2 D I S T 1 C O F , 1 t s 1 P M A X , 1 I D 5 1 D I S T 5 C O F , 5 t s 5 P M A X , 5 I D 3 1 D I S T 3 C O F , 3 t s 3 P M A X , 3 I D 4 1 D I S T 4 C O F , 4 t s 4 P M A X , 4 I D 2 1 D I S T 2 C O F , 2 t s 2 P M A X , 2 ]
whereby: D I S T 1 < D I S T 5 < D I S T 3 < D I S T 4 and D I S T 4 = D I S T 2 , however C O F , 4 > C O F , 2 .
V2Gsp therefore sends a request to uEVop and a call to uEVman so that the total number of vehicles queried is equal to N E V E S T . After sending a service request to uEVop and a call to uEVman, V2Gsp waits for the response from the program participants and then receives the number of accepted requests and calls. Let this number be denoted by N 1 A C , E V . The next step is to check the relation:
N 1 A C , E V = N E V R E Q
If relation (31) is fulfilled, then the process of selecting vehicles for providing V2G services ends. Two more cases need to be considered, when the number of accepted requests is less than the required number of vehicles (a) and when the number of accepted users is more than the required number (b).
For case (a) i.e., when N 1 A C , E V < N E V R E Q , one should return to the matrix N u E V R and then send a request to the next participants uEVRi. The activity should be repeated until the relation (31) is met.
A slightly different course of events occurs for case (b) i.e., when N 1 A C , E V > N E V R E Q . In this case, a ranking should be arranged for uEVop only (uEVman must provide the service) according to the criteria as for the matrix N u E V R . Then, participants who accepted but ranked in a way that does not classify them for service provision should be paid a remuneration or provided with some other form of benefit. The amount of this remuneration will not be given in this paper. The output of the second part of the algorithm is the validation if the energy supplied by the N 1 A C , E V of the electric vehicles n = 1 N 1 A C , E V C o f , n is at least equal to the demand of the end user Ed. If yes, then one proceeds to the next part of the algorithm related to monitoring the arrival of uEVs at the facility. If not, a search for additional EVs is undertaken by creating a new ranking of vehicles N u E V R again.
Figure 6 shows part two of the operation of the algorithm for finding uEV participants to provide the V2G service.
After the selection process of the uEVs that have accepted to provide the service, the service delivery process follows. However, before the energy flows from the EV battery to the customer’s power system, it is necessary to check whether the EVs have arrived at the location. If the indicated uEVs have arrived at the discharge point it is necessary to monitor the execution of the service, i.e., to monitor the electrical parameters of the discharge (power, voltage, remaining SOC). In case not all uEVs have arrived at the site, the repair procedure should be started. The first step is to determine the number of participants that did not arrive at the service delivery point N1NA. Then it is necessary to check how many of the participants belong to the group uEVman ( N 1 N A m a n ) and uEVop ( N 1 N A o p ). For uEVman participants, one needs to calculate the fines that the participants will have to pay for not performing the service. It should be remembered that for these participants, the performance of the service is mandatory. After calculating the numbers N 1 N A o p and N 1 N A m a n , it is necessary to summon the uEVop participants that have previously accepted the offer to provide the service. If such a participant decides to provide the service, then the compensation for their willingness to excessively provide the service is withdrawn. However, it is worth noting that the price of providing the service in the second iteration of the search is larger than in step 1. The authors suggest that this price should be larger by 10–20%. Next, V2Gsp checks again if the number of participants who accepted the service provision is sufficient. If so, V2Gsp monitors the uEV’s arrival at the facility. Otherwise, V2Gsp has to create a new uEV ranking with the purpose of finding the missing number of vehicles N E V M I S S . The ranking creation should follow the rules described in Section 4.3.2, with the variable N E V E S T replaced by N E V M I S S in the Equations (23)–(30).
Figure 7 shows part three of the operation of the algorithm for finding uEV participants for the V2G service.

5. Case Study

This section will present a case study of V2G Program implementation within a sample V2Gsp operator area. It contains an area divided into a 6 km × 6 km square grid, in which 618 vehicles providing V2G services are randomly placed. The simulations assume that of the 618 EVs, 482 of them will be uEVop (optional mode) vehicles and 136 will belong to the uEVman group (mandatory mode). The random deployment is based on the fact that each grid square has a random number of vehicles assigned to it. In a real implementation, it can be assumed that the selected area may be an urban area with different population densities and locations of electric vehicles. The grid squares with a higher number of vehicles represent more urbanized areas, e.g., city centers, or areas with supermarkets or motorways. It should be emphasized that in the case of the analysis of real urban areas, maps should be created with the assigned number of vehicles for different times of the day when services will be provided. In this chapter, the implementation of the algorithm from Section 4.3 regarding the selection of vehicles for the service will be presented. It should be emphasized that the purpose of this case study is to validate the algorithm and is not to indicate specific values of EVs for actual locations. For such activities, it is necessary to analyze the movement of vehicles in a given city, every hour of the day. Figure 8 shows the V2Gsp operational area, with the square grid plotted in the coordinate system. Each square contains the assigned number of EVs participating in the V2G Program and indicates the service provision point L.
Based on Figure 8, the location of the EndUs can be described by the following point L (2.9; 3.1). Next, it is necessary to determine the energy demand of the EndUs to be secured and to define the boundary conditions to determine the energy flux from one EV. Let us assume that the EndUs facility under consideration will be a food-driven shopping center with a Gross Leasable Area (GLA) of 80,000 m2. Based on the study in [63], it can be concluded that an average unit energy consumption value of Eavg = 272 kWh/m2a GLA is assumed for European countries. The same study also states that 20% of the energy consumption of such shopping centers is for air conditioning and heating (HVAC) [63]. The assumption of the case study is to find out how many electric vehicles will be needed to power the HVAC needs for 3 h per day—i.e., the peak demand days in summer between 12:00 and 15:00. Therefore, based on the aforementioned assumptions, the energy demanded by EndUs under the V2G Program Ed can be calculated:
E d a n n u a l = E a v g · S
E d h = E d a n n u a l 8760
E d h o u r l y H V A C = 0.2   · E d h
E d = h = 1 3 E d h H V A C
where:
  • S—area of shopping center, in m2;
  • E d a n n u a l —annual energy demand for shopping center, in kWh;
  • E d h —hourly energy demand for shopping center, in kWh;
  • E d h o u r l y H V A C —hourly energy demand for HVAC in shopping center, in kWh;
  • E d —demand requested by EndUs, in kWh.
    E d a n n u a l = 272   · 8000 = 21,760,000   kWh E d h = E d a n n u a l 8760 = 2484   kWh E d h o u r l y H V A C = 0.2   ·   2484   kWh = 496.80   kWh 500   kWh E d = h = 1 3 E d h H V A C = 1500   kWh
Knowing the energy demand information of EndUs it is possible to calculate the number of vehicles needed for the V2G service N E V R E Q . It is assumed that each V2G Program participant i.e., uEV has its own unique electric vehicle. Therefore, according to Equation (4), the energy Ed should be equal to the sum of the energies provided by each electric vehicle. At this point in the operation of the algorithm, V2Gsp has access to data from each vehicle that is in the area of operation of V2Gsp, i.e., each vehicle can be described by the vector (20):
u E V i = [ I D i ,   x i ,   y i ,   S O C t , i ,   S O C f , i ,   C i ,   P M A X , i ,   T V i ,   t s i , C S i , M i ]
In order to calculate the number of vehicles required, it is first necessary to calculate the average value of the energy delivered by one electric vehicle. It has been found that the average value will be the best representation to estimate the number N E V R E Q , because throughout the execution of the algorithm, at the end of each step, the relation is checked whether the energy delivered by the vehicles will be at least equal to the energy requested by the EndUs. In real applications, a prediction system consisting of real-time data collection from vehicles within a certain proximity to the location of the facility ordering energy from the V2G Program should be considered. Nevertheless, for simulation purposes, a formula considering average values has been used:
e V 2 G + ,   avg = 1 N E V n = 1 N E V e V 2 G + ,   n
where:
  • N E V —number of vehicles in the V2Gsp area;
  • e V 2 G + ,   avg —the average value of the energy delivered by 1 electric vehicle, in kWh.
Therefore, the values of energy injected into the grid eV2G+ were calculated according to Equation (1). Those amounts of energy will allow the V2Gsp estimate the energy potential of the uEVs in the searching area). The parameters SOCt,i, SOCf,i, and Ci were randomly selected for the whole set of EVs, taking into account previous research. The minimum capacity due to technical constraints was also selected based on previous global studies. A summary of the ranges of each value is shown in Table 3.
Based on the values from the Table 3, the values of energy injected by electric vehicles in the area of V2Gsp e V 2 G + ,   n were calculated. Then, according to the introduced assumptions, the average value of injected energy by 1 EV was calculated:
e V 2 G + ,   avg = 1 618 n = 1 618 e V 2 G + ,   n = 18.39   kWh
Then, by making appropriate modifications to Equation (4), the number of vehicles required to ensure demand coverage N E V R E Q can be calculated:
N E V R E Q = E d e V 2 G + ,   avg
N E V R E Q = 1500 18.39 = 81.57 82
According to the V2G service model presented in Section 4, the expected energy delivered to the customer E V 2 G + , t should include the probability of such a service. This means that sending a request to 82 V2G Program participants may result in not covering the demand requested by EndUs. It is therefore necessary to find the number of Program participants to whom the query must be sent in order to consider the probability of service provision. Table 4 shows the assumed aggregated values of the probabilities, as defined by Equations (11)–(13). Due to the lack of availability of widespread data, the expected probability values were assumed for the simulation of this case study. In the process of operation of the V2G Program in a certain area, V2Gsp should continuously collect data on individual random events, e.g., triggering of the service by uEVop. In the process of V2G Program implementation, this will be one of the biggest challenges for V2Gsp.
Transforming Formulas (6) and (9), the estimated number of electric vehicles that will participate in the process of setting up and delivering the V2G service to the EndUs customer was determined:
N E V E S T = N E V R E Q P ( A ) = 82 0.71 = 116
Based on the information obtained above, it is possible to proceed to the identification of the zones in which the search for vehicles will take place. According to Equations (21) and (22), successive zones will consist of a number of squares equal to Zn. Furthermore, according to the assumptions of the algorithm, the zone Zn = 1 will be located in a square with an assigned point of EndUs. In the case of area G from Figure 8, the zone Zn = 1 will be described by a square with coordinates [(2,3); (2,4); (3,3); (3,4)]. Further, based on Equations (21) and (22), the second zone Zn = 2 will be determined. Figure 9 shows the determined zones Zn = 1 and Zn = 2 in the area of operation V2Gsp.
As it is presented in Figure 9, the number of electric vehicles providing V2G services in zone Zn = 1 is equal to 38. Then, according to the presented algorithm, it is necessary to check how much energy the vehicles located in zone 1 are able to offer. Thus, using Formula (1), the total energy available from each vehicle in zone 1 was calculated:
n = 1 N E V Z n = 38 e V 2 G + ,   n = 763.20   kWh
Therefore, the condition is not fulfilled: n = 1 N E V Z n e V 2 G + ,   n E d as E d = 1500   kWh . Thus, it is necessary to proceed to check the number of vehicles in the next zone Zn = 2 and calculate the energy available from their batteries. In zone Zn = 2, there are 102 vehicles providing V2G services, which are able to provide 1934.91 kWh of energy. Therefore, the condition is met: n = 1 N E V Z n e V 2 G + ,   n E d .
Next, one must assign the number of electric vehicles that can provide the service—N1EV. This number will be:
N 1 E V = n = 1 2 N E V Z n = 38 + 102 = 140
The next step is to establish a set of electric vehicles, the number of which is determined by the N1EV parameter. The vector defining each vehicle is represented by Formula (20).
Hence it is possible to create a matrix N u E V :
N u E V = [ E V 167 2.52 3.94 73 % 39 % 31 22 C A R G O C H A D E M O 4 M A N E V 168 2.77 3.32 57 % 41 % 56 35 P A S S E N G E R C H A D E M O 7 O P T E V 204 2.78 3.41 66 % 40 % 42 50 P A S S E N G E R C H A D E M O 2 O P T E V 053 1.66 3.56 50 % 49 % 43 22 P A S S E N G E R C H A D E M O 2 O P T E V 337 3.43 2.81 89 % 46 % 44 22 P A S S E N G E R C H A D E M O 5 O P T E V 377 3.22 4.04 69 % 46 % 47 22 A R G O C H A D E M O 3 M A N ]
In the matrix N u E V , records that belong to Zone 1 and Zone 2 are separated by a black line. The next step is to create a ranking of vehicles that will be selected to provide the service N u E V R . According to Formula (25), each record in the ranking will be described by the following vector:
u E V R i = [ I D i ,   M R i ,   D I S T i ,   C O F , i ,   t s i ,   P M A X , i ]
For example, a vehicle with ID EV167 and EV337 were identified:
I D i = EV167:
  • Service provision mode:
    • M R , i = 2   i f   M i = M A N ;
  • Distance between uEV and the service provision point:
    • D I S T i = ( x i x L ) 2 + ( y i y L ) 2 = ( 2.52 2.9 ) 2 + ( 3.94 3.1 ) 2 = 0.922   km ;
  • Energy offered from particular uEVi:
    • C O F , i = C · ( ( S O C t , i TRIP i ) ( S O C f , i ( 1 + R ) S O C 0 ) ) · η d = = 31 ·   ( ( 73 % 0.2   · 0.922 31 · 100 % ) ( 39 % ( 1 + 0.05 ) 20 % ) ) · 90 % = 14.356   kWh ;
  • Maximum service provision time: t s i = 4   h ;
  • Maximum discharge power: P M A X , i = 22   kW ;
    u E V R , E V 167 = [ E V 167 ,   2 ,   0.922 ,   14.356 ,   4 ,   22 ]
I D i = EV337:
  • Service provision mode:
    • M R , i = 1   i f   M i = O P T ;
  • Distance between uEV and the service provision point:
    • D I S T i = ( x i x L ) 2 + ( y i y L ) 2 = ( 3.43 2.9 ) 2 + ( 2.81 3.1 ) 2 = 0.604   km ;
  • Energy offered from particular uEVi:
    • C O F , i = C · ( ( S O C t , i TRIP i ) ( S O C f , i ( 1 + R ) S O C 0 ) ) · η d = = 44 ·   ( ( 89 % 0.2   · 0.604 44 · 100 % ) ( 46 % ( 1 + 0.05 ) 20 % ) ) · 90 % = 23.93   kWh ;
  • Maximum service provision time: t s i = 5   h ;
  • Maximum discharge power: P M A X , i = 22   kW ;
    u E V R , E V 337 = [ E V 337 ,   1 ,   0.604 ,   23.93 ,   5 ,   22 ]
Keeping in mind the established sorting order presented in Section 4, the ranking of electric vehicles N u E V R is created. The matrix representing the ranking will have 140 rows, which results from the total number of uEVs in zones 1 and 2. Interestingly, there can be a situation when vehicles located in zone 2 will be higher in the ranking than in zone 1. There can be two reasons for this—the first one is related to the mode of service i.e., mandatory, and the second one is when the distance between EndUs and uEVs will be smaller for vehicles from zone 2, because the EndUs facility is located close to the border of zone 1. Equation (39) shows the arranged ranking of vehicles N u E V R . Red indicates vehicles from zone 1 and blue indicates vehicles from zone 2.
N u E V R = [ E V 169 2 0.06 18.79 8 35 E V 173 2 0.30 26.57 7 35 E V 349 2 0.38 23.91 7 35 E V 167 2 0.922 14.36 4 22 E V 168 1 0.26 17.06 7 35 E V 204 1 0.33 16.57 2 50 E V 160 1 0.34 24.77 5 22 E V 337 1 0.60 23.93 5 22 E V 065 1 2.02 19.64 7 35 ]
By having the uEV ranking sorted, V2Gsp then sends a request to uEVop and a call to uEVman. It is known that the number of requests and calls sent must be equal to N E V E S T , i.e., V2Gsp should send a query to the first 116 uEVs in the ranking. Based on the input analysis, there are 35 vehicles in the uEVman group and 81 vehicles in the uEVop group. It is known that the required number of vehicles needed for the service N E V R E Q is equal to 82, according to Equation (37). This means that out of the 82 vehicles in optional mode, only 47 vehicles are needed for the service. It was assumed that in the simulations, it will not happen that the number of vehicles that accept the service will be greater than the required number of vehicles i.e., N 1 A C , E V > N E V R E Q . Thus, in the simulation, uEVop vehicles were randomly selected without repetition, so that the condition in Equation (31) is met.
N 1 a c , E V = [ E V 169 2 0.06 18.79 8 35 E V 173 2 0.30 26.57 7 35 E V 349 2 0.38 23.91 7 35 E V 167 2 0.922 14.36 4 22 E V 170 1 0.92 21.70 2 50 E V 337 1 0.60 23.93 5 22 E V 055 1 1.18 7.76 6 35 ]
The final part of the algorithm’s operation is to check that the number of vehicles that have been selected to provide the service is able to provide sufficient energy requested by EndUs:
n = 1 N 1 A C , E V C o f , n = 1521.70   kWh
Hence:
n = 1 N 1 A C , E V e V 2 G + ,   n > E d
This means that the algorithm found the correct number of UEVs to provide the service to EndUs. It further calculated that the average service availability time is 5 h and 15 min and the average discharge power that is available for EndUs is 35.87 kW.
This case study excludes consideration of estimating the number of vehicles that did not arrive at the location indicated by EndUs. This means that a situation is assumed where all vehicles whose users have accepted the offer have arrived at the site. Monitoring activities should be implemented during the piloting of the V2G Program, during which surveys of how many vehicles have not arrived at the facility would be conducted. No financial penalties should be imposed during such inspections, only a reminder should be sent out for missed service.

6. Conclusions and Discussion

The paper presents an in-depth analysis of the state of development of the V2G technology, with particular emphasis on the possibility of its implementation in Polish legal conditions. It focuses on two areas that are necessary for the appropriate functioning of V2G or V2X technology in the power sector.
The first of these areas concerns legal conditions. Based on the information presented, it can be concluded that V2G technology in the context of legal regulations is still at an early stage of development. In order to effectively implement this technology, a significant modification of legislation will be necessary. In this paper, a number of modifications to the regulations that should be included in domestic legal acts were proposed. Nevertheless, the further research in this area should be done, due to the noted problem of the lack of legal and formal regulations regarding the billing of end users as well as V2G Program participants. Unfortunately, the forthcoming amendments to the Polish Energy Law do not contain adequate legal provisions for the implementation of the V2G Program. Therefore, it should be suspected that the possibility of implementation will have to wait, at least until the development of flexibility services. Then, perhaps, it will provide an incentive not only for current users of electric vehicles, but also for other people experiencing sustainable lifestyles, who will want to further expand their portfolio of measures to pursue climate neutrality.
The second area of the V2G technology presented in this paper is related to the author’s concept of market mechanism based on the provision of ancillary services by EV users to end users. The aim of such approach is related to decrease of the risk of not delivering electricity to the end user. Bearing in mind that, according to the current legislation, DSOs are not allowed to provide ancillary services, a model was developed, in which the role of a broker between the end customer and the DSO is taken by another independent entity—the V2G Service Provider. It should be noted, however, that the planned changes at the European level will enable DSOs to order ancillary services or flexibility services. The DSO will then be able to take over the role of V2G Service Provider. While developing the concept of V2G Program, the novel business model of V2G service provision was proposed and an algorithm for vehicle selection from the V2G service provider perspective was designed. Considering the knowledge from previous literature studies, one of the biggest problems in the implementation of V2G or V2X technology is the high uncertainty in its execution. It is caused by the inability to predict the behavior of EV users, which are inherently random. The proposed model of the V2G service includes the probability of execution of such a service. Further work in this area should focus on the development of a correct method for obtaining data on random user behavior. It is also worth mentioning that in the algorithm, several mechanisms to ensure the full execution of the V2G service and mitigating the risk of undelivered electricity to the end user were proposed. Current research in the area of V2G technology should focus on developing economic viability analyses of the solution from the perspective of the end user, the V2G Program participant, and the V2G service provider.
To sum up, the concept of V2X technology is worth considering when Smart Grid technology emerges. It is a robust solution that can certainly help in the development of a newly designed catalogue of ancillary services available to both Transmission System Operators and Distribution System Operators. Setting aside the energy sector, V2G technology could become crucial in achieving the climate goals set by the EU. With the introduction of an appropriate legal framework, it will be possible to significantly accelerate the electrification of private transport, but also to stimulate citizens to create and develop energy communities aimed at sustainable development. V2X technology may be an ideal example of one of the ways to develop such communities, as well as an impulse for more efficient use of electric vehicles. Additionally, for many, it can serve as an additional source of income, as many companies providing services related to V2G technology can be expected to develop in the future, offering ever more innovative business models.

Author Contributions

Conceptualization, K.Z.; methodology, K.Z.; software, K.Z.; validation, J.P., Ł.S. and K.G.; formal analysis, Ł.S. and K.Z.; investigation, K.G. and K.W.; resources, K.W.; data curation, J.P.; writing—original draft preparation, K.Z. and J.P.; writing—review and editing, J.P.; visualization, K.Z.; supervision, J.P. and Ł.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Siskos, P.; Capros, P.; De Vita, A. CO2 and energy efficiency car standards in the EU in the context of a decarbonisation strategy: A model-based policy assessment. Energy Policy 2015, 84, 22–34. [Google Scholar] [CrossRef]
  2. Foumani, M.; Smith-Miles, K. The impact of various carbon reduction policies on green flowshop scheduling. Appl. Energy 2019, 249, 300–315. [Google Scholar] [CrossRef]
  3. Benjaafar, S.; Li, Y.; Daskin, M.S. Carbon Footprint and the Management of Supply Chains: Insights from Simple Models. IEEE Trans. Autom. Sci. Eng. 2013, 10, 99–116. [Google Scholar] [CrossRef]
  4. Campbell, P.; Zhang, Y.; Yan, F.; Lu, Z.; Streets, D. Impacts of transportation sector emissions on future U.S. air quality in a changing climate. Part I: Projected emissions, simulation design, and model evaluation. Environ. Pollut. 2018, 238, 903–917. [Google Scholar] [CrossRef]
  5. Zhang, X.; Li, Z.; Wang, J. Impact of COVID-19 pandemic on energy consumption and carbon dioxide emissions in China’s transportation sector. Case Stud. Therm. Eng. 2021, 26, 101091. [Google Scholar] [CrossRef]
  6. Contestabile, M.; Alajaji, M.; Almubarak, B. Will current electric vehicle policy lead to cost-effective electrification of pas-senger car transport? Energy Policy 2017, 110, 20–30. [Google Scholar] [CrossRef]
  7. Thiel, C.; Nijs, W.; Simoes, S.; Schmidt, J.; van Zyl, A.; Schmid, E. The impact of the EU car CO2 regulation on the energy system and the role of electro-mobility to achieve transport decarbonization. Energy Policy 2016, 96, 153–166. [Google Scholar] [CrossRef]
  8. Engström, E.; Algers, S.; Hugosson, M.B. The choice of new private and benefit cars vs. climate and transportation policy in Sweden. Transp. Res. Part D Transp. Environ. 2019, 69, 276–292. [Google Scholar] [CrossRef]
  9. Sykes, M.; Axsen, J. No free ride to zero-emissions: Simulating a region’s need to implement its own zero-emissions vehicle (ZEV) mandate to achieve 2050 GHG targets. Energy Policy 2017, 110, 447–460. [Google Scholar] [CrossRef]
  10. Kłos, M.; Marchel, P.; Paska, J.; Bielas, R.; Błędzińska, M.; Michalski, Ł.; Wróblewski, K.; Zagrajek, K. Forecast and impact of electromobility development on the Polish Electric Power System. In Proceedings of the E3S Web of Conferences; EDP Sciences, 2019; Volume 84, p. 01005. Available online: https://www.e3s-conferences.org/articles/e3sconf/abs/2019/10/e3sconf_pe2019_01005/e3sconf_pe2019_01005.html (accessed on 20 June 2021).
  11. Geske, J.; Schumann, D. Willing to participate in vehicle-to-grid (V2G)? Why not! Energy Policy 2018, 120, 392–401. [Google Scholar] [CrossRef]
  12. Thompson, A.W.; Perez, Y. Vehicle-to-Everything (V2X) energy services, value streams, and regulatory policy implications. Energy Policy 2020, 137, 111136. [Google Scholar] [CrossRef]
  13. Liu, C.; Chau, K.T.; Wu, D.; Gao, S. Opportunities and Challenges of Vehicle-to-Home, Vehicle-to-Vehicle, and Vehicle-to-Grid Technologies. Proc. IEEE 2013, 101, 2409–2427. [Google Scholar] [CrossRef] [Green Version]
  14. Pearre, N.S.; Ribberink, H. Review of research on V2X technologies, strategies, and operations. Renew. Sustain. Energy Rev. 2019, 105, 61–70. [Google Scholar] [CrossRef]
  15. Khayyam, H.; Ranjbarzadeh, H.; Marano, V. Intelligent control of vehicle to grid power. J. Power Sources 2012, 201, 1–9. [Google Scholar] [CrossRef]
  16. Loisel, R.; Pasaoglu, G.; Thiel, C. Large-scale deployment of electric vehicles in Germany by 2030: An analysis of grid-to-vehicle and vehicle-to-grid concepts. Energy Policy 2014, 65, 432–443. [Google Scholar] [CrossRef]
  17. Yao, E.; Wong, V.W.S.; Schober, R. Robust Frequency Regulation Capacity Scheduling Algorithm for Electric Vehicles. IEEE Trans. Smart Grid 2016, 8, 1–14. [Google Scholar] [CrossRef]
  18. Liu, H.; Hu, Z.; Song, Y.; Wang, J.; Xie, X. Vehicle-to-Grid Control for Supplementary Frequency Regulation Considering Charging Demands. IEEE Trans. Power Syst. 2014, 30, 3110–3119. [Google Scholar] [CrossRef]
  19. Zecchino, A.; Prostejovsky, A.M.; Ziras, C.; Marinelli, M. Large-scale provision of frequency control via V2G: The Bornholm power system case. Electr. Power Syst. Res. 2019, 170, 25–34. [Google Scholar] [CrossRef]
  20. Wang, D.; Coignard, J.; Zeng, T.; Zhang, C.; Saxena, S. Quantifying electric vehicle battery degradation from driving vs. vehicle-to-grid services. J. Power Sources 2016, 332, 193–203. [Google Scholar] [CrossRef] [Green Version]
  21. Thompson, A.W. Economic implications of lithium ion battery degradation for Vehicle-to-Grid (V2X) services. J. Power Sources 2018, 396, 691–709. [Google Scholar] [CrossRef]
  22. Noel, L.; McCormack, R. A cost benefit analysis of a V2G-capable electric school bus compared to a traditional diesel school bus. Appl. Energy 2014, 126, 246–255. [Google Scholar] [CrossRef]
  23. Li, X.; Tan, Y.; Liu, X.; Liao, Q.; Sun, B.; Cao, G.; Li, C.; Yang, X.; Wang, Z. A cost-benefit analysis of V2G electric vehicles supporting peak shaving in Shanghai. Electr. Power Syst. Res. 2020, 179, 106058. [Google Scholar] [CrossRef]
  24. Sovacool, B.; Kester, J.; Noel, L.; Zarazua de Rubens, G. Actors, business models, and innovation activity systems for vehi-cle-to-grid (V2G) technology: A comprehensive review. Renew. Sustain. Energy Rev. 2020, 131, 109963. [Google Scholar] [CrossRef]
  25. Faddel, S.; Aldeek, A.; Al-Awami, A.T.; Sortomme, E.; Al-Hamouz, Z. Ancillary Services Bidding for Uncertain Bidirectional V2G Using Fuzzy Linear Programming. Energy 2018, 160, 986–995. [Google Scholar] [CrossRef]
  26. Brandt, T.; Wagner, S.; Neumann, D. Evaluating a business model for vehicle-grid integration: Evidence from Germany. Transp. Res. Part D Transp. Environ. 2017, 50, 488–504. [Google Scholar] [CrossRef]
  27. Alinejad, M.; Rezaei, O.; Kazemi, A.; Bagheri, S. An Optimal Management for Charging and Discharging of Electric Vehicles in an Intelligent Parking Lot Considering Vehicle Owner’s Random Behaviors. J. Energy Storage 2021, 35, 102245. [Google Scholar] [CrossRef]
  28. Cenex. V2G Market Study; Cenex: England, UK, 2018. [Google Scholar]
  29. Buonomano, A. Building to Vehicle to Building concept: A comprehensive parametric and sensitivity analysis for decision making aims. Appl. Energy 2020, 261, 114077. [Google Scholar] [CrossRef]
  30. Zhou, Y.; Cao, S.; Hensen, J.L.; Lund, P.D. Energy integration and interaction between buildings and vehicles: A state-of-the-art review. Renew. Sustain. Energy Rev. 2019, 114, 109337. [Google Scholar] [CrossRef]
  31. Buonomano, A.; Calise, F.; Cappiello, F.; Palombo, A.; Vicidomini, M. Dynamic analysis of the integration of electric vehi-cles in efficient buildings fed by renewables. Appl. Energy 2019, 245, 31–50. [Google Scholar] [CrossRef]
  32. Thomas, D.; Deblecker, O.; Ioakimidis, C.S. Optimal operation of an energy management system for a grid-connected smart building considering photovoltaics’ uncertainty and stochastic electric vehicles’ driving schedule. Appl. Energy 2018, 210, 1188–1206. [Google Scholar] [CrossRef]
  33. Ioakimidis, C.S.; Thomas, D.; Rycerski, P.; Genikomsakis, K.N. Peak shaving and valley filling of power consumption profile in non-residential buildings using an electric vehicle parking lot. Energy 2018, 148, 148–158. [Google Scholar] [CrossRef]
  34. Barone, G.; Buonomano, A.; Calise, F.; Forzano, C.; Palombo, A. Building to vehicle to building concept toward a novel zero energy paradigm: Modelling and case studies. Renew. Sustain. Energy Rev. 2019, 101, 625–648. [Google Scholar] [CrossRef]
  35. Tanguy, K.; Dubois, M.R.; Lopez, K.L.; Gagné, C. Optimization model and economic assessment of collaborative charging using Vehicle-to-Building. Sustain. Cities Soc. 2016, 26, 496–506. [Google Scholar] [CrossRef]
  36. Weiller, C.; Neely, A.D. Using electric vehicles for energy services: Industry perspectives. Energy 2014, 77, 194–200. [Google Scholar] [CrossRef]
  37. Zheng, Y.; Yu, H.; Shao, Z.; Jian, L. Day-ahead bidding strategy for electric vehicle aggregator enabling multiple agent modes in uncertain electricity markets. Appl. Energy 2020, 280, 115977. [Google Scholar] [CrossRef]
  38. Zagrajek, K.; Sosnowski, Ł.; Dukat, P.; Biczel, P. Legal conditions for the use of stationary and mobile energy storage facil-ities in distribution grids. Rynek Energii 2021, 2, 78–87. [Google Scholar]
  39. Noel, L.; Zarazua De Rubens, G.; Kester, J.; Sovacool, B. Vehicle-to-Grid—A Sociotechnical Transition Beyond Electric Mobility, Energy, Climate and the Environment; Palgrave MacMillan: London, UK, 2019; ISBN 978-3-030-04863-1. [Google Scholar]
  40. Kester, J.; Noel, L.; De Rubens, G.Z.; Sovacool, B. Promoting Vehicle to Grid (V2G) in the Nordic region: Expert ad-vice on policy mechanisms for accelerated diffusion. Energy Policy 2018, 116, 422–432. [Google Scholar] [CrossRef]
  41. Forrester, S.P.; Zaman, A.; Mathieu, J.; Johnson, J.X. Policy and market barriers to energy storage providing multiple services. Electr. J. 2017, 30, 50–56. [Google Scholar] [CrossRef]
  42. European Commission. Commission Staff Working Document: Energy Storage—The Role of Electricity. 2017. Available online: https://ec.europa.eu/energy/sites/ener/files/documents/swd2017_61_document_travail_service_part1_v6.pdf (accessed on 19 February 2021).
  43. Pareschi, G.; Küng, L.; Georges, G.; Boulouchos, K. Are travel surveys a good basis for EV models? Validation of simulated charging profiles against empirical data. Appl. Energy 2020, 275, 115318. [Google Scholar] [CrossRef]
  44. Pan, L.; Yao, E.; Yang, Y.; Zhang, R. A location model for electric vehicle (EV) public charging stations based on drivers’ existing activities. Sustain. Cities Soc. 2020, 59, 102192. [Google Scholar] [CrossRef]
  45. Langbroek, J.H.M.; Franklin, J.P.; Susilo, Y.O. Electric vehicle users and their travel patterns in Greater Stockholm. Transp. Res. Part D 2017, 52, 98–111. [Google Scholar] [CrossRef]
  46. Gu, Y.; Liu, M. Fair and privacy-aware EV discharging strategy using decentralized whale optimization algorithm for minimizing cost of EVs and the EV aggregator. IEEE Syst. J. Early Access 2021, 1–12. [Google Scholar] [CrossRef]
  47. Han, W.; Xiao, Y. Privacy preservation for V2G networks in smart grid: A survey. Comput. Commun. 2016, 91–92, 17–28. [Google Scholar] [CrossRef] [Green Version]
  48. European Parliament. Directive 2019/944 of 5 June 2019 on Common Rules for the Internal Market for Electricity; European Parliament: Brussels, Belgium, 2019. [Google Scholar]
  49. Babatunde, O.M.; Munda, J.L.; Haman, Y. Power system flexibility: A review. Energy Rep. 2020, 6, 101–106. [Google Scholar] [CrossRef]
  50. Oikonomou, K.; Parvania, M.; Khatami, R. Coordinated deliverable energy flexibility and regulation capacity of distribu-tion networks. Electr. Power Energy Syst. 2020, 123, 106219. [Google Scholar] [CrossRef]
  51. Zhou, Y.; Cao, S. Energy flexibility investigation of advanced grid-responsive energy control strategies with the static bat-tery and electric vehicles: A case study of a high-rise office building in Hong Kong. Energy Convers. Manag. 2019, 199, 111888. [Google Scholar] [CrossRef]
  52. Troitzsch, S.; Sreepathi, B.K.; Huynh, T.P.; Moine, A.; Hanif, S.; Fonseca, J.; Hamacher, T. Optimal electric-distribution-grid planning considering the demand-side flexibility of thermal building systems for a test case in Singapore. Appl. Energy 2020, 273, 114917. [Google Scholar] [CrossRef]
  53. Schuller, A.; Flath, C.M.; Gottwalt, S. Quantifying load flexibility of electric vehicles for renewable energy integration. Appl. Energy 2015, 151, 335–344. [Google Scholar] [CrossRef]
  54. Huber, J.; Dann, D.; Weinhardt, C. Probabilistic forecasts of time and energy flexibility in battery electric vehicle charging. Appl. Energy 2020, 262, 114525. [Google Scholar] [CrossRef]
  55. Rundqi, D.; Xiang, Y.; Huo, D.; Liu, Y.; Huang, Y.; Huang, C.; Liu, J. Exploring flexibility of electric vehicle aggregators as energy reserve. Electr. Power Syst. Res. 2020, 184, 106305. [Google Scholar]
  56. CEDEC. TSO-DSO Report—An Integrated Approach to Active System Management. April 2019. Available online: https://eepublicdownloads.blob.core.windows.net/public-cdn-container/clean-documents/Publications/Position%20papers%20and%20reports/TSO-DSO_ASM_2019_190416.pdf (accessed on 19 May 2021).
  57. European Parliament. Directive of 22 October 2014 on the Deployment of Alternative Fuels Infrastructure; European Parliament: Brussels, Belgium, 2014. [Google Scholar]
  58. Polish Act on Energy Law, April 10th 1997, (Dz. U. 1997, no. 54 Item 348). Available online: http://isap.sejm.gov.pl/isap.nsf/download.xsp/WDU19970540348/U/D19970348Lj.pdf (accessed on 19 May 2021).
  59. Polish Act on Renewable Energy Sources, February 20th 2015, (Dz. U. 2015, Item 478). Available online: https://isap.sejm.gov.pl/isap.nsf/download.xsp/WDU20150000478/U/D20150478Lj.pdf (accessed on 19 May 2021).
  60. Polish Act on Electromobility and Alternative Fuels; January 11th 2018, (Dz. U. 2018, Poz. 317). Available online: http://prawo.sejm.gov.pl/isap.nsf/download.xsp/WDU20180000317/T/D20180317L.pdf (accessed on 19 May 2021).
  61. Project of the Amendment to Polish Energy Law—Version from May 2021. Available online: http://orka.sejm.gov.pl/proc9.nsf/ustawy/808_u.htm (accessed on 19 May 2021).
  62. Project of the Amendment to Polish Energy Law- Version from January 2020. Available online: https://legislacja.rcl.gov.pl/docs//2/12317354/12543057/12543058/dokument437524.pdf (accessed on 19 May 2021).
  63. Bointner, R.; Toleikyte, A.; Atanasiu, B.; Woods, R.; De Ferrari, A.; Farinea, C.; Noris, R. Shopping Malls Features in EU-28 and Norway. Report Elaborated under the FP7 Project CommONEnergy: Re-Conceptualising Shopping Malls from Consumerism to Energy Conservation. 2014. Available online: https://www.researchgate.net/publication/273717258_Shopping_malls_features_in_EU-28_and_Norway_Report_elaborated_under_the_FP7_project_CommONEnergy_Re-conceptualising_shopping_malls_from_consumerism_to_energy_conservation (accessed on 19 May 2021).
  64. Nissan Leaf Technical Data. Available online: https://www-europe.nissan-cdn.net/content/dam/Nissan/pl/brochures/Techdata/leaf-dane-techniczne.pdf (accessed on 19 May 2021).
  65. Kia Soul Technical Data. Available online: https://www.kia.com/content/dam/kwcms/kme/uk/en/assets/vehicles/all-new-soul-ev/Specification/all-new-soul-ev-specification.pdf (accessed on 19 May 2021).
  66. Nissan E-NV200 Technical Data. Available online: https://www-europe.nissan-cdn.net/content/dam/Nissan/pl/brochures/Techdata/env200-dane-techniczne.pdf (accessed on 19 May 2021).
  67. BMW i3 Technical Data. Available online: https://www.bmw.pl/pl/all-models/bmw-i/i3/2020/bmw-i3-dane-techniczne.html (accessed on 19 May 2021).
  68. Khalkhali, H.; Hosseinian, S. Multi-class EV charging and performance-based regulation service in a residential smart parking lot. Sustain. Energy GridsNetw. 2020, 22, 100354. [Google Scholar] [CrossRef]
  69. Ayyadi, S.; Maaroufi, M.; Arif, S.M. EVs charging and discharging model consisted of EV Users Behavior. In Proceedings of the 5th International Conference on Renewable Energies for Developing Countries (REDEC), Marrakech, Morocco, 29–30 June 2020. [Google Scholar]
Figure 1. Various forms of Vehicle-to-X technology.
Figure 1. Various forms of Vehicle-to-X technology.
Energies 14 03673 g001
Figure 2. Block diagram of V2G Program.
Figure 2. Block diagram of V2G Program.
Energies 14 03673 g002
Figure 3. Relations between actors in V2G Program.
Figure 3. Relations between actors in V2G Program.
Energies 14 03673 g003
Figure 4. Exemplary determination of EV search zones.
Figure 4. Exemplary determination of EV search zones.
Energies 14 03673 g004
Figure 5. First part of proposed algorithm—searching for vehicles to provide V2G services.
Figure 5. First part of proposed algorithm—searching for vehicles to provide V2G services.
Energies 14 03673 g005
Figure 6. Second part of proposed algorithm—selecting vehicles to provide V2G services.
Figure 6. Second part of proposed algorithm—selecting vehicles to provide V2G services.
Energies 14 03673 g006
Figure 7. Third part of proposed algorithm—arrival at the facility where the V2G service will be provided.
Figure 7. Third part of proposed algorithm—arrival at the facility where the V2G service will be provided.
Energies 14 03673 g007
Figure 8. Grid of the assumed operation area of V2Gsp.
Figure 8. Grid of the assumed operation area of V2Gsp.
Energies 14 03673 g008
Figure 9. Zones for searching uEVs in the operation area of V2Gsp.
Figure 9. Zones for searching uEVs in the operation area of V2Gsp.
Energies 14 03673 g009
Table 1. Commercial Projects of V2G Technology—based on [28].
Table 1. Commercial Projects of V2G Technology—based on [28].
PeriodName of the ProjectLocationField of Research
2016–2019ParkerDenmarkFrequency regulation
Ageing of battery packs
2018–2021Redispatch V2GGermanyDemand reduction in transmission grid
2014–2019City-ZenThe NetherlandsIntegration of different customer groups within V2G
2014–2019Smart Solar ChargingThe Netherlands, Utrecht, Implementation of V2G on AC grid
2017–2019Grid MotionFranceFrequency regulation with V2G mechanisms
2015–2017Korean V2GSouth KoreaOptimization of depth of discharge (DoD) battery in EV
2012–2016JumpSmartMauiUSA, Hawaii, MauiFrequency regulation
Demand side management
2017–2020InventUSA, San DiegoIntegration of mobile energy storages with Smart Grid
2017–2020Network Impact of Grid-integrated VehiclesGreat Britain Impact of EV on operation of the grid, power quality etc.
Table 2. Possible changes in Polish Law for smooth implementation of V2G Technology.
Table 2. Possible changes in Polish Law for smooth implementation of V2G Technology.
Missing Legislative AspectSuggestionPriority of Introduction
Lack of inclusion of mobile energy storage in the definition of energy storage facilityInclusion and acknowledgement of the electric vehicle as an energy storage facilityCritical
Lack of definition of bi-directional charging pointAmending the Energy Law in Poland as soon as possibleCritical
Lack of market for V2G services or energy storage servicesProviding a legal framework for the setting up of a market for V2G or energy storage servicesCritical
TSO is solely responsible for purchasing ancillary servicesTSO and DSO should have their own pools of ancillary serviceCritical
Lack of a coherent definition of energy storage facility in multiple actsDevelopment of one coherent definition in the Act on Energy LawHigh
Lack of regulations applicable to EV users intending to use V2GEstablishing a legal framework for efficient discharging of EVs e.g., priority access to selected bi-directional charging points.High
Lack of role allocation between the DSO and the Charging System OperatorEstablishing the roles of the DSO and the Charging System OperatorAverage
Lack of provisions concerning the participation of the Energy Regulatory Office (ERO) in the establishment of V2G ProgramActive cooperation between government, ERO and relevant partiesLow
Table 3. Parameters used in simulation of the proposed algorithm.
Table 3. Parameters used in simulation of the proposed algorithm.
ParameterValuesRemarks
Battery capacity Ci (kWh) [ 30 ; 60 ] Based on technical data of EV [64,65,66,67] and also [46]
SOCt,i—current State-of-Charge (SOC) in the time t (%) [ 50 ; 90 ] Upper limit is defined by maximum SOC based on [46,68]
SOCf,i—State-of-Charge required for the next journey (%) [ 35 ; 50 ] Estimated values that provide a range of EV at least 50 km, assuming that the average energy consumption of an EV u s E V is equal to 0.2 kWh/km [10,69]
SOC0,i—minimal State-of-Charge limited by technical constraints 20 % Based on [27,46,69]
ηd—efficiency of discharging process 90 % Based on [27,69]
R—a reserve, which considers the possible lengthening of the route 5 % Considering range of 50 km, additional reserve should allow extend the range by 2.5 km.
Table 4. Probabilities used in simulation of the proposed algorithm.
Table 4. Probabilities used in simulation of the proposed algorithm.
ParameterValue
P(uEV)—probability of providing V2G service by V2G Participant 0.8
P(V2Gsp)—probability of providing V2G service by V2G Service Provider; 0.99
P(EndUs)—probability of providing V2G service by end-user; 0.9
P(A)—total probability of providing V2G service P ( A ) = 0.8   · 0.99 · 0.9 = 0.71
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Zagrajek, K.; Paska, J.; Sosnowski, Ł.; Gobosz, K.; Wróblewski, K. Framework for the Introduction of Vehicle-to-Grid Technology into the Polish Electricity Market. Energies 2021, 14, 3673. https://doi.org/10.3390/en14123673

AMA Style

Zagrajek K, Paska J, Sosnowski Ł, Gobosz K, Wróblewski K. Framework for the Introduction of Vehicle-to-Grid Technology into the Polish Electricity Market. Energies. 2021; 14(12):3673. https://doi.org/10.3390/en14123673

Chicago/Turabian Style

Zagrajek, Krzysztof, Józef Paska, Łukasz Sosnowski, Konrad Gobosz, and Konrad Wróblewski. 2021. "Framework for the Introduction of Vehicle-to-Grid Technology into the Polish Electricity Market" Energies 14, no. 12: 3673. https://doi.org/10.3390/en14123673

APA Style

Zagrajek, K., Paska, J., Sosnowski, Ł., Gobosz, K., & Wróblewski, K. (2021). Framework for the Introduction of Vehicle-to-Grid Technology into the Polish Electricity Market. Energies, 14(12), 3673. https://doi.org/10.3390/en14123673

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop