Next Article in Journal
A Study on the Job Retention Intention of Nurses Based on Social Support in the COVID-19 Situation
Next Article in Special Issue
Efficient Operation of the Hybrid Power System Using an Optimal Fueling Strategy and Control of the Fuel Cell Power Based on the Required Power Tracking Algorithm
Previous Article in Journal
The Rise of Resilience in Spatial Planning: A Journey through Disciplinary Boundaries and Contested Practices
Previous Article in Special Issue
Scheduling Charging of Electric Vehicles in a Secured Manner by Emphasizing Cost Minimization Using Blockchain Technology and IPFS
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New Market Model with Social and Commercial Tiers for Improved Prosumer Trading in Microgrids

by
Bogdan-Constantin Neagu
*,
Ovidiu Ivanov
,
Gheorghe Grigoras
,
Mihai Gavrilas
and
Dumitru-Marcel Istrate
Department of Power Engineering, Gheorghe Asachi Technical University of Iasi, 700050 Iasi, Romania
*
Author to whom correspondence should be addressed.
Sustainability 2020, 12(18), 7265; https://doi.org/10.3390/su12187265
Submission received: 13 August 2020 / Revised: 30 August 2020 / Accepted: 2 September 2020 / Published: 4 September 2020

Abstract

:
In the deregulated electricity markets, trading prices are determined by the offer-demand mechanism, and retail consumers can negotiate tariffs with their supplier of choice. For classic wholesale suppliers, the tariffs are determined by the prices of transactions performed on the wholesale market. In parallel with becoming eligible for participating in the market, the consumers use increasingly local generation sources based mostly on renewable electricity generation equipment such as Photovoltaic (PV) panels, and become prosumers. They want to be able to sell back to the market the generation surplus, in order to obtain the maximum benefits from their initial investment. This paper proposes a two-tier local market model oriented for prosumers and consumers connected in microgrids, based on the blockchain technologies and other technologies and concepts such as smart grids, crowdsourcing and energy poverty. Its goals are to improve the possibilities of local prosumers to sell electricity to local consumers and to increase their profitability, compared to the trading model often used in developing markets, of selling the surplus back to the grid via aggregators. The research aims to contribute to the sustainable development of the electricity sector using new and renewable sources of energy, state-of the art technologies and smart contracts, leading to prosumer proliferation and electricity cost reduction for consumers.

1. Introduction

The European Commission’s strategic framework envisages an improved and modernized European energy market, aimed at creating secure, sustainable, accessible and decentralized energy networks in response to the global challenge of greenhouse gas emissions [1]. In the context of the next generation of digital energy networks, and in the presence of multiple decentralized microgrids, managing the energy generation from various and complementary sources will result in gaining more flexibility in meeting demand and lowering costs for the community. The adoption of a decentralized electricity distribution network, in which ordinary consumers can also be energy producers, named ‘prosumers’, and can sell their surplus generation to the network, thus getting involved in market transactions inside a community represents an alternative to current traditional networks. It is expected that an increasing number of end-users will want to become active in the electricity sector, which will lead to a large number of transactions. A possible tool for enabling the creation of such microgrid-level markets is the blockchain technology which could provide secure and reliable means of communication and data management between the end-users [2].
Blockchain technology was created as a solution to the problem of mistrust and data security. The first steps in the development of the technology were taken in 1991, when Stuart Haber and W. Scott Stornetta first spoke about a cryptographically secure blockchain [3]. In 1993, together with Dave Bayer, they integrated optimal Merkel type trees in the concept [4]. Following the financial crisis of 2008, the concept of blockchain as a distributed database was developed, proposing a solution to change the way monetary transactions are carried out through various financial institutions. With the help of a peer-to-peer (P2P) communications network and a distributed data server, a blockchain database can be autonomous [5].
In the recent years, billions of dollars have been invested in research on blockchain technology in an attempt to make the most of its potential and understand how appropriate it is in the different economic domains [6]. But not all domains are fully ready to assimilate the blockchain technology. In each particular case, the current technological opportunities must be analyzed, as well as the challenges that the end-users face and how a new decentralized architecture could create value for them. The electricity industry is an extremely suitable candidate for blockchain technology-based innovation, with its complex supply chain that requires transparency and improved data processing and its highly transactional trading market that would gain advantage from faster settlement. The transparency and immutability of the blockchain can empower end-users of this industry and consumers.
A blockchain system is primarily based on a decentralized ledger of transactions that take place in a network. This network consists of nodes owned by independent entities that use a cryptographic protocol to validate the transactions that are entered in the ledger and to ensure that the entered data cannot be altered or changed. It is immutable, secure and completely transparent. Fully decentralized and replicated to node level, blockchain networks are harder to penetrate and manipulate by dangerous entities.
The blockchain system, coupled with other innovative technologies such as smart grids, big data mining and remote sensing, has the potential to provide solutions to various challenges in the energy sector and to contribute to the achievement of energy efficiency objectives, including to compensate for the funding gap for various projects in the field [7]. The technologies regarding blockchain-based platforms will lead to fundamental changes that will require the involvement of the distribution and supply companies, manufacturers of equipment, regulators and, last but not least, end-users [8,9].
A review of renewable and sustainable energy published in [6] provides a thorough analysis of more than 140 blockchain research projects and startups in the energy sector, from countries belonging all around the world. The electricity sector has a high potential to implement the blockchain technology as part of addressing several challenges [7,10,11]:
  • Climate change. The need to integrate in existing electricity distribution systems renewable energy sources (RES) has led to the development of technologies such as PV panels and wind turbines, whose costs are constantly decreasing. The consumers who choose to install such generation sources become prosumers, which presents a challenge for the current structure of electricity networks. They can create technical difficulties for the Distribution Network Operators (DNOs) in ensuring the energy balance. However, electricity generation at the household level (classically with PV panels on the roof) is a great opportunity for the development of blockchain technology-based architectures, because it capitalizes on the distributed nature of electricity generation with unprecedented efficiency.
  • The development of technologies that allow the transition to active distribution networks. The technological solutions refer to the communications and networking components, inverters, bidirectional smart metering systems, energy storage solutions. This evolution allows greater control at network level. Electricity becomes a controllable, storable and easily quantifiable product, suitable for trading through smart contracts.
  • The creation of energy communities managed by local energy production cooperatives formed by community members. The microgrids which integrate the blockchain technology can represent a solution for connecting the poorest consumers to cleaner and cheaper energy, but also for energy savings and more responsible and accessible consumption. In some EU member states, European Federation of Renewable Energy Cooperatives (REScoop) have explicitly set social goals, such as reducing energy poverty. They meet those objectives by developing solidarity schemes aimed at lowering the energy bills of vulnerable members, providing them with services and training in reducing consumption. They also use the gains from RES energy generation to increase the living standards of vulnerable and low-income households.
  • Simplifying the architecture of the current trading models. The implementation of a blockchain-based prosumer network leads to the elimination of a large number of intermediaries in the electricity trading process.
Among the technical advantages of this technology can be underlined the following: better management of power generation, fewer hours of supply interruption, secure energy transactions, increased distributed generation. The main economic advantages refer to protecting the identities of the traders, creating a distributed economy, reducing the tax burdens, data protection and control, and compensation for producers [12,13].
Another concept that can be associated with local electricity trading in microgrids is the mitigation of energy poverty. ‘Energy poverty’ can be defined as the lack of access to clean, renewable, affordable energy, which leads to costly energy bills [14]. The concept lies at the intersection of energy sustainability and social issues mitigation, being characterized by three realities: high energy prices, low or stagnating incomes, and energy inefficient homes in urgent need of renovations.
The mitigation of energy poverty can be achieved using crowdsourcing, a concept first introduced in 2005 by James Surowiecki [15], which can be defined as utilizing contributions from peers and the collective wisdom of the crowd to alleviate a problem. It can also be an effective approach to enable the crowd to provide a service in a community within a limited geographical area by using smart metering [16].
In Romania, according to Order 228/28.12.2018 published by ANRE (Romanian Energy Regulatory Authority), the prosumers can trade electricity generated from renewable sources such as photovoltaics (PV), biomass, wind, cogeneration. The suppliers are bound to buy the surplus at the weighted average day-ahead market price from the previous year [17], with the advantage of the exemption from the payment of the distribution network tariff. This trading system is the most basic, limiting the options of both parties [18]. More advanced trading models should be considered to increase the benefits of the prosumers and consumers who trade electricity in a local market organized at the microgrid or community level.
Usually, in classic wholesale electricity markets, electricity is traded using bilateral contracts with negotiated prices, for long periods (years, months, weeks). This trading manner helps to reduce the prices for the buyers, and provides stability and predictability for the producers. For shorter trading intervals, such as in the day-ahead (SPOT) markets, the merit order price setting mechanism is preferred, which ensures maximum benefits for producers when the demand is high and can lead to higher prices for suppliers and end-users.
On the other hand, the electricity quantities traded in local grids by prosumers are much smaller, and the trading intervals need to be smaller, because of renewable generation uncertainty. At the same time, the generation from prosumers needs to be incentivized to promote the proliferation of renewable electricity. Thus, a market model for microgrids should take into consideration creating advantages simultaneously for prosumers and consumers.
In this regard, the paper presents a new trading approach for prosumers that uses the blockchain technology for creating a local market at microgrid level, forecasts for consumer buy offers, obtained using technologies such as remote sensing tools, and the energy crowdsourcing concept for energy poverty mitigation. The proposed model takes as reference the trading model for excess prosumer generation used in Romania and applicable to developing markets, which consists in selling back the available electricity at fixed tariffs back to the grid. The authors propose a diversification of the trading methods and settlement procedures by creating a local trading mechanism intended to provide flexible market model that can be adapted to specific microgrid conditions and rules agreed at the community level. The proposed market model has two trading levels. The primary level is intended for main trading. The secondary, two-tier market is designed by the authors for increasing the prosumer profitability and lowering consumer electricity cost while accommodating particular scenarios that can arise in real conditions. The considered scenarios are: mitigating energy poverty for vulnerable consumers, selling remaining prosumer surplus to consumers who do not participate in the primary market but have bilateral contracts with certain prosumers, allowing occasional access to the market in exchange for a tariff, and reducing the effect of erroneous consumer buy offers caused by inaccurate forecasts or temporary unusual consumption patterns. The primary market model offers two trading alternatives: ‘first-come-first-served’ (FCFS), and merit-order (MO). The secondary market proposes two tiers with three trading methodologies, which can be optionally used, in number and order, according to the specific needs of particular microgrids: energy poverty mitigation, tariff access and invite access. The proposed alternatives are tested in a case study, on an existing low voltage (LV) electricity distribution network from Romania which has microgrid characteristics, in order to assess the effects of the chosen trading methods on the profits achieved by prosumers and consumers.
The proposed market model provides flexible tools for incentivizing the sustainable development of local communities based on environment protection and economic and social inequality mitigation through the use of modern technology tools, by encouraging local trading of electricity generated from renewable, clean primary sources.
The results of the case study show that by using the local trading mechanisms designed for the primary and secondary markets, the prosumers can sell more electricity, at lower prices for the community and better individual profit. If the benefits are consistent, this can lead to the increase of distributed generation sources in microgrids, thus a more sustainable development of the electricity generation sector.
By lowering consumer prices, the sustainable economic and social development of communities is also encouraged. Not least, these goals are envisioned to be achieved by obtaining in parallel the modernization of the electricity distribution infrastructure, by using smart grid communication and energy management tools and involving digital instruments (specialized trading software and blockchain).
The remainder of the paper is structured as follows. Section 2 presents a literature review regarding the research proposed in the paper. Section 3 describes the proposed market model for microgrids. In Section 4 are presented the results of the case study, with a comparison between the proposed trading strategies, outlining their particularities. The paper ends with the sections dedicated for discussions and references, and annexes.

2. Literature Review

Recent studies have considered combining the operation of small-scale renewable energy sources (SSRES) in distribution networks and deregulated electricity markets. The range of these studies is covering unit commitment [19] and economic dispatch problems [20], in addition to scheduling of SSRES [21], and the uncertainty of renewable generation [22]. The main trends and approaches currently described in the literature are briefly summarized in the following paragraphs.
As it was presented in the introduction section, in Europe there are currently over 3400 green energy cooperatives (REScoop). In accordance with [23,24,25,26], the REScoop notion is defined in EU directives as “local energy communities”, according to data from the Federation of Green Energy Cooperatives in Europe. More than one million European citizens are participating in REScoops to invest together in the transition from fossil fuels to clean primary energy resources and energy efficiency. In Romania, starting in 2020, the first established REScoop proposes that future members who generate energy (prosumers) will be able to sell the surplus to other members, rather than to an aggregator, following the concept of ‘prosumer-friendly’ [27].
In another perspective, paper [28] considers a P2P electricity trading method using a private Ethereum blockchain ledger where all bids are encrypted for anonymity and peer matching is done by a functional encryption-based contract.
Regarding the energy crowdsourcing in prosumer-enabled electrical networks, a small number of published papers is available in the literature [16,29]. The existing studies consider a two-stage algorithm for minimizing the cost of generation and the energy losses by prior rescheduling of user loads and SSRES.
In other work, a particular local energy market model was considered in [30], which integrates different P2P energy trading platforms based on unidirectional market clearing price (MCP) for a microgrid. Moreover, the settlement considers an MCP or P2P mechanism.
The future active distribution network (ADN) is a P2P community based on active energy agent (AEA) users [31]. The maximization of social welfare in local prosumer generation trading with an auction-based mechanism is used in [32]. The same first author considers that in a microgrid the energy flows in a transactive way and the transactions are based on bilateral contracts between peers [33]. Another concept of prosumer surplus trading based on the transactive energy concept is proposed in the literature [34,35,36,37]. Paper [34] uses a Stackelberg game-based method for solving the transactive energy problem, in which the DNO and the SSRES aggregators are participating simultaneously in the Local Electricity Market (LEM) and Wholesale Electricity Market (WEM). A comprehensive cost–benefit model for prosumer load sharing was proposed in [35], using game theory and considering non-cooperative game models of the microgrids for prosumers energy surplus. In the same context, a particular social welfare-based concept on transactive energy or demand response (DR) is applied in [36,37] using negotiated prices.
Another way to trade surplus are DR programs, whereby the LEM operators play a vital role in managing the exchange of data, to ensure the notification flow between balancing authorities, service companies and end-users. First, the microgrid operator assesses the electricity consumption patterns based on the structure of variable electricity tariffs and prices to establish trading plans. They also sign bilateral P2P contracts with end-users to take direct control of specific energy assets [38]. This information is aggregated to create commitment portfolios—load reduction schedules that are provided to network operators in exchange for compensation commensurate with the size of the capacity involved [39]. In the event of a system emergency or demand, the DSO shall request the aggregator to reduce or increase a portion of the contracted portfolio. For this reason, the aggregator receives additional compensation which can take the form of tariff reductions, incentive payments and invoice credits.
Using online platforms [40,41,42,43,44,45,46], the consumers can become prosumers who create and distribute their own information about the energy generation. Some authors proposed a demurrage mechanism (DM) and Home Energy Management (HEM) for prosumers’ energy surplus in an LEM based on blockchain [41]. A particular P2P business model for 48 residential prosumers with PV panels installed in a Swedish village is proposed in [42]. This article identifies some new potential opportunities for optimizing the LEM and its variables for the best gain, taking into account that a significant influence is represented by the integration of energy demand, generation supply, and LEM rules. The aforementioned study can be used to provide information for regulatory bodies to create a fair, useful and cost-effective P2P electricity trading framework for prosumers. Another comprehensive platform for prosumers’ digitalization was recommended in [43], and market simulations are developed in [44,45] for consumers integration in microgrids. In the same manner, a virtual platform was proposed in [46] for efficient management of multiple energy prosumers (MEP).
The presence of decentralized energy sources demands the analysis of the problem of continuity of energy supply to operators whose activities significantly depend on electricity. There are EU countries where power outages amount to about 20 min per year, but in other cases the average power outages range from 450 to 500 min [47]. Prosumers’ microinstallations ensure the business continuity for producers in such countries and negotiated surplus trading increases social welfare [48]. Because the SSRES efficiency depends on atmospheric conditions and regional climate, even minor temporary changes in weather conditions can cause significant variability in power generation at different time and space scales. Methodologies based on the remote sensing of atmospheric conditions are the primary source of information for the development of numerical forecasting models that support the planning and operation of power systems in the presence of intermittent energy sources [49]. For local trading of such electricity surplus, the LEM operators consider the blockchain concept [11,12,16,28,29,40,41,48] or direct bilateral contracts [50,51]. These market models aim to provide secure and affordable energy supply for the end user, which is essential for the functioning of an economy in which energy poverty is reduced and the needs of vulnerable social groups are taken into account [52,53,54]. Social welfare is obtained by the authors in [53], where the smart P2P contracts are considered as a distributed optimization problem, solved with a virtual aggregator based on the Alternating Direction Method of Multipliers (ADMM). All the LEM actions can be completed by the peers who do not necessarily trust each other through an agreement algorithm which defines the speed of the transactions. One of the most used algorithms is the Proof-of-Work (PoW) [55]. Nonetheless, previous articles about energy sustainability have paid limited attention to prosumer engagement, management and administration. For example, according to [56,57] each of the providers can have a proper trading platform with specific architecture for sustainable planning of the local microgrid or region.
From other perspectives, the prosumer surplus trading process based on the specific transactive energy microgrids are examined by the researchers in [58,59,60]. The prosumers’ aggregation to one group with the same interest based on virtual microgrids is analyzed by the authors in [61] for bill cost reduction as a particular energy poverty mitigation or social welfare. The aforementioned problem can be solved in smart buildings by using ADMM for energy sharing between the players, as is shown in [62,63].
In [64] remarkable directions for cost-effective use of digital cryptocurrencies in smart grid dynamic management are thoroughly explained to cover the challenging viewpoints of blockchain technology. The LEM is favorable for prosumers because the participation of the before-mentioned players is concrete in the purchase of energy surplus, but the revenues from the surplus traded are proportional between sellers [65]. Common consumers do not produce electricity and are only active in the purchasing process [66]. The load flexibility can change the trading offers. Other perspectives consider peak loads in the prosumer’s vicinity with smart P2P subscribed capacity prices in [67], or the crowdsourcing concept for surplus energy planning or sharing, as is used in [68], or considering the indispensable local energy storage systems [69].
The main concepts taken from the literature and discussed above are compared with the market model proposed in the paper, in Table 1. In addition, the last column considers the type of settlement used in the market.
The objective of the local market is to enable an overlay social network of smart devices that facilitates the communication and trading process between players from LEM, prosumers, consumers and microgrid. They should share a common goal, such as optimal energy management, taking into account that the solution with local energy storage systems (as is battery banks) is too expensive [70,71], and without technical possibility for energy poverty mitigation.

3. Materials and Methods

In LV electricity distribution networks or local microgrids, there is an increasingly larger number of residential consumers who are opting to install local generation resources to gain independence from the grid. The predominant choice is the use of PV panels systems that are easier to install at household residences and provide energy by converting the solar irradiation into electricity. This trend is incentivized by the subsidies offered by governments worldwide. As the number of individual houses adopting this technology increases, new opportunities arise regarding the trading models used for selling the excess generation. Residences become prosumers, entities capable of consuming, producing and selling electricity. The prosumers will use their own generated electricity mainly to cover their individual consumption and when the generation exceeds this amount, they will sell the surplus to the grid. The simplest method of surplus trading is to sell the entire available quantity back to the supplier, though an aggregator entity, at a regulated price. However, this is the least profitable approach, as the regulated prices are usually low [72], and the benefits can be seen only by the suppliers/network operators, and the prosumers. New trading methods for microgrids are currently envisioned in the literature, aiming to create local electricity markets that would provide benefits for all the players involved (aggregators, prosumers and consumers). A main requirement for implementing such initiatives is the conversion of the classic electricity distribution infrastructures into intelligent or smart grids, capable of real-time communication between the supply and consumer buses, and centralized operation management and data processing at microgrid level.
In line with these trends, previous research efforts by the authors, published in [40], proposed an algorithm for prosumer surplus transactions at the microgrid level, using P2P contracts and blockchain technology. The market mechanism considers trading priorities set at central level and based on consumer or prosumer prices, or custom priorities determined by the prosumer–consumer geographical distances and the ‘first-come-first-served’ (FCFS) principle.
This paper extends the previous research considering an improved and extended market model, with two trading phases (primary and secondary). The basic flowchart of the proposed market model is depicted in Figure 1.
The primary market includes the blockchain approach from [40] and adds a supplementary trading method based on the merit order used in wholesale markets. These methods can be used as alternatives for trading.
A second market segment, with two tiers, is proposed to help the prosumers and consumers to better manage the sell and buy offers that can be affected by errors. Crowdsourcing and energy poverty mitigation are used for this purpose.
The sell offers are the result of the surplus that the prosumers can generate but cannot use locally. The buy offers placed by the consumers in the local market are usually the result of forecasts made with variable precision. In the case of trading electricity obtained from PV panels, the forecasts must consider weather data obtained with technologies such as remote sensing and big data mining. Thus, the offers placed by the consumers in the market can be affected by errors which will result in mismatches between the needed and traded quantities.
In the Romanian market model, when the electricity acquired from the local market is less than the demand, the consumers would buy the rest at higher prices from the national grid, and the generators would be forced to sell any surplus to the aggregator, at a lower price.
On the other hand, if trading is performed in a local market, when the consumers forecasts are higher than the actual demand, the buyers would be forced to sell the excess quantities to the aggregator if sufficient and cheap storage facilities are not available.
The newly proposed algorithm provides market mechanisms designed to alleviate these problems.
The following general assumptions are made:
  • The prosumer and consumer selling and buying offers are managed by the local non-profit aggregator using two possible market mechanisms integrated in a blockchain trading system:
    A primary market built on the blockchain technology, ensuring anonymity and security for the placed orders.
    A secondary market with a two-tier trading mechanism for minimizing the imbalance between the offers placed in the blockchain system and the actual traded quantities.
  • The primary market can use two alternative price-setting methods based on blockchain technology: the ‘first-come-first-served’ (FCFS) method or the merit-order method used in traditional day-ahead markets.
  • The secondary market provides two optional trading tiers:
    The energy poverty mitigation tier, aimed at low-income consumers who otherwise could not afford to participate in the market.
    The commercial tier, with two options, aimed for expanding the market through crowdsourcing, with two types of consumers: those participating occasionally, in exchange for a fee, and consumers who do not participate directly with offers but are represented (invited) in the market by other consumers.
  • For the invite option of the commercial tier, any consumer Ci can acquire electricity from the second market layer only if has signed previously a P2P contract with a specific prosumer Pj.
  • The selling price of a prosumer or consumer can vary hourly, but in the paper is set constant for all trading intervals. This approach is modelling the practice used for traditional differentiated tariffs where the peak and night prices are outside the hours when PV panels can generate electricity, and the case where no storage capabilities are installed in the network. Electricity is sold on the market for the surplus intervals, and settlement is performed at the end of each trading interval.
  • If the local surplus exceeds the demand traded in the market, the surplus will be sold to the aggregator/market administrator, at regulated tariffs.
  • The secondary two-tier market components are optional, but the case study considers all the available options, in order to better demonstrate the advantages of the proposed trading algorithm.

3.1. Input Data for the Local Market

The input data required for trading consist of the quantities and prices associated with the consumption and local generation measured in the market. This information is provided in six matrices: C = C (h, i) ∈ nhxNCM, CO = CO (h, i) ∈ nhxNCM and PCO = PCO (h, i) ∈ nh×NCM for consumption quantity, offers and price offers, and G = G (h, j) ∈ nh×NPM, GO = GO (h, j) ∈ nh×NPM, PGO = PGO (h, j) ∈ nh×NPM for generation quantity, offers and price offers, where NCM and NPM are the number of consumers and prosumers participating at hour h in the market. It is considered that generally NCM < NC and NPM < NP, NC and NP being the number of consumers and prosumers connected in the microgrid.
Trading in the primary market can occur at any hour h when there are consumer buying offers placed in the blockchain system (1), and there is generation surplus offered for selling (2).
i = 1 N C M C O ( h , i ) > 0
j = 1 N P M G O ( h , j ) > 0
Surplus occurs when the local generation of a prosumer exceeds its individual consumption (3) and the surplus is traded in the market (4).
S ( h , j ) = G ( h , j ) - C ( h , j ) ,   j = 1 . . N P M
S ( h , j ) G O ( h , j )
The consumer quantity offers for the primary market use two types of representation:
  • as actual consumption value measured in [W], when the price is set according to the blockchain priority model, as in [40];
  • as a multiple of 100 W for the price setting according to the day-ahead merit order model used in wholesale markets.
The prosumers can choose to sell their surplus directly to the aggregator for a fixed regulated tariff, or in the primary local market. In the paper, it is considered that all the available surplus is traded through sell offers placed in the market blockchain system.
The secondary market is activated at any hour h when at least one of the following conditions is fulfilled:
  • The sum of the buy offers is lower than the aggregated offers placed by the prosumers, i.e., the prosumers need to sell the remaining surplus:
    i = 1 N C M C O ( h , i ) < j = 1 N P M G O ( h , j )
  • The buy offer of a consumer i is greater than the actual consumption because of the forecast error or representation model used in the market (multiple of 100 kW).
    C O ( h , i ) > T C O ( h , i ) ,   i = 1 . . N C M
    where TCO(h,i) is the quantity of electricity actually traded by the consumer i at hour h, which can be equal to or less than the offer placed on the market.

3.2. The Primary Market

This market segment is the main trading tool for the prosumers and consumers in the microgrid. As outlined previously, two alternatives are provided for determining the consumer and prosumer trading priority: ‘first-come-first-served’ and merit order. Both methods use the consumer (buy) and prosumer (sell) offers placed in a centralized secure and anonymous blockchain system established at the microgrid or market level. The blockchain system is preferred because it guarantees trading fairness, all players being unaware of the offers placed by others, thus minimizing the risk of market manipulation.
Another assumption used in the paper is that, by means of an automated system comprising smart metering, two-way communication and continuous monitoring at the microgrid level, the algorithm has immediate access to measured and forecasted data at consumer and prosumer buses. For examining the possible effects on trading, two consumer offer mechanisms are considered:
  • Consumers place on the market buy offers for the entire consumption at hour h, in order to minimize their electricity bill by attempting to buy the maximum quantity of electricity from the local market, at lower prices, rather than from the main grid, at higher prices.
  • Consumers place on the market buy offers determined by forecast techniques using big data analysis or remote sensing techniques.
The first type of offer is used in the FCFS trading method, where a generic consumer i places fixed-price-per-kWh and variable quantity offers, the trading order being determined by the time tag of the offer. The quantities for these offers are determined in the settlement phase, based on consumption measurements taken from the microgrid. The flowchart of this trading method is given in Figure 2.
The second type of offer is used in the merit-order trading mechanism. The buy offer prices and quantities are placed in the blockchain system by the consumers before the trading interval. Quantities are given as multiples of 100 W and prices are given for each kWh. The flowchart of this trading method is given in Figure 3. The trading order and price are determined by the standard merit-order method, provided in Figure 4, where the trading price is determined as the market clearing price (MCP).
For both methods, the prosumer sell offers are given as the full available surplus S(i,h), in kWh.
The maximum amount of traded electricity TC is determined by the minimum between the aggregated buy and sell offers:
T C = min ( i = 1 N C M C O ( h , i ) , j = 1 N P M G O ( h , j )   )
The settlement price of a transaction t made by a prosumer j or consumer i is given by the amount of traded electricity C(h,t) and its price P(h,t), determined by each transaction, TP(h,t), which can be different from the sell or buy offer price submitted by the players in the market, PCO(h,i), PGO(h,j).
T P ( h , t ) = C ( h , t ) P ( h , t )
The basic flowchart of the primary market algorithm uses the steps presented in Figure 5.
The trading mechanisms used in the primary market can lead to electricity quantities that cannot be traded locally. Three scenarios can lead to this situation:
  • At given hours, the total local generation available in the market (sell offers) exceed the total consumption (buy offers).
  • If the merit-order method is used, the buy offers are given as multiples of 100 W, while the sell offers are the S(h,i) quantities. This leads to S(h,i) fractions that cannot be fulfilled.
  • The consumers place in the market buy offers that exceed their real consumption, following forecast errors or significant accidental deviations from the daily demand pattern.
All these quantities can amount to an important value over longer time periods. If they are not traded in the local market, the prosumers would sell at minimum price to the aggregator, while the consumers would buy electricity at standard, high tariffs.
The algorithm proposed in the paper offers the possibility of extending the primary market with a two-tier secondary market, in order to make prosumer and consumer surplus quantities available for trading in the local network.

3.3. The Secondary Market—The Energy Poverty Tier

The local market is profitable mostly to consumers with high demand, who can better benefit from the energy cost reduction obtained from the difference between the grid tariffs and the price per kWh offered by the local producers. These consumers are also usually those who have the financial resources to install the physical and software infrastructure required to access the market.
On the other hand, amongst the consumers connected in a microgrid can exist a number of low-income consumers, who in traditional networks would be classified as belonging to vulnerable categories and suffer from energy poverty. The paper proposes an optional secondary market tier in which the surplus that cannot be traded in the primary market would be automatically allocated in the initial settlement phase (see Figure 1) to such vulnerable consumers who, in normal conditions, would not be able to access the local market.
The surplus can come from both prosumers and consumers, as summarized in the previous subsection. In all the cases, the electricity quantities will result from the mismatch between the quantities offered for trading (higher)—CO(h,i) or GO(h,j)—and actual traded quantity, determined by the existing (lower) generation availability TC(h,j) or realized consumption TC(h,i):
T C ( h , i ) = C O ( h , i ) - T C ( h , i ) , i = 1 N C M ,   f o r   c o n s u m e r s T C ( h , j ) = G O ( h , j ) - T C ( h , j ) , j = 1 N P M ,   f o r   p r o s u m e r s
Thus, consumers who were buyers in the primary market can act as sellers in the secondary market, together with the prosumers.
The quantities sold to vulnerable consumers in the secondary market are determined using the merit-order method where the buyers’ prices are set as 0 mu/kWh (mu is the monetary units) and the quantities are ranked in descending order. The cost for traded kWh can be set using as reference the price obtained by the seller in the primary market, the original price offer placed by the seller in the primary market or an agreed fixed tariff, according to the policy agreed in the local market.
This trading scheme offers two benefits. The vulnerable consumers from the microgrid will see social welfare increase by the reduction of their electricity bill, which will be proportional to their consumption in the trading hours interval and the market price. On the other hand, the prosumers with remaining generation surplus and the consumers who have surplus to sell after the initial settlement of the primary market can sell electricity at higher prices than the tariff used by the aggregator.
The flowchart of the first tier of the secondary market is presented in Figure 6.
Since the demand of the vulnerable consumers selected for the energy poverty tier is expected to be low, the remaining surplus after the settlement of the first tier can be further traded in a second tier reserved for commercial trading.

3.4. The Secondary Market—The Commercial Tier

The commercial tier of the secondary market is designed to incentivize market diversity by allowing other consumers to participate in trading. Several consumer categories are envisioned. Some consumers would not trade continuously and would seek only occasional access to the market, buying the local generation surplus to supply automated receptors such as greenhouse irrigation systems in given hours of preset days. Other types of occasional consumers could benefit from the price difference when trading on the local market, but the initial investment for the infrastructure required to get access to the market would be prohibitive.
Two options are available in the algorithm for this trading segment:
  • Option 1: Fee access.
  • Option 2: Invite access.
In the fee-access model, the consumers who need only occasional access to the market can submit offers in the secondary market to gain priority access for the surplus remaining after the settlement of the primary market offers. The trading model considers the merit-order priority method described in Figure 5 for the primary market, but where the consumers offer to buy from the market their entire consumption measured in the trading interval, at the lowest price plus a fixed percent fee from the value of the transaction. The merit order is used to determine the succession in which the offers are fulfilled. The financial settlement is made using the MCP, the consumer or the prosumer price offers for all transactions, according to the market policy, and then a fee f% is added to the price resulting from the trading mechanism.
T P ( h , i ) = C ( h , i ) ( P C O ( h , i ) ,   P G O ( h , j )   o r   M C P ( h ) ) ( 1 + f % )
The basic flowchart of the fee-access secondary market model is given in Figure 7.
In the invite-access model, existing market players can act as subcontractors for other consumers from the microgrid. Certain prosumers or consumers can still have surplus quantities unsold after the previous settlement sessions have been completed. In order to avoid getting the lowest price per kWh from the market aggregator, they can optionally choose a partner from the microgrid to which the remaining quantities will be sold. The transactions are based on P2P contracts existing between the two entities and notified to the market administrator, who is responsible for the final settlement at market level. The settlement price is agreed between the parties, chosen from the vendor and buyer offers.
The flowchart of the secondary market invite-access model is provided in Figure 8.
It should be noted that the secondary market models are optional, and their order of activation can be changed according to the priorities of a specific microgrid. Instances can exist where the energy poverty mitigation tier is absent or one or both segments of the secondary commercial tier are used.

4. Results

The new market was tested on an LV distribution network from Romania, with 28 buses and two four-wire three-phase bundled feeders, with an average distance between the connection points of 40 m. The network supplies only single-phase residential consumers, some of whom also have PV generation capabilities. The load and generation profiles used in the study are considered as daily 24-hour measured values, as provided from the smart metering infrastructure existing in the LV microgrid. The 24-hour load profiles for the network buses are presented in Table A1 in Appendix A.
Each bus, except bus 1, which is a branching point, has one residence connected. The prosumers are located at buses 3, 6, 7, 10, 15, 25 and 27, as shown in the one-line diagram from Figure 9. Their 24-hour generation profiles were modeled using representative data for this type of generation and are provided in Appendix A, Table A2. The prosumers will use the generated electricity primarily for supplying their own hourly demand, and wish to sell the remaining surplus to the consumers participating in the local market set up at microgrid level and managed by a non-profit aggregator. From Table 2 and Figure 10, it is seen that generation occurs only in the 06:00–18.00 interval, when solar energy is available. The surplus is maximized in the 10:00–13:00 interval and minimized towards the evening time, when the peak load hours are near.

4.1. The Primary Market

From the 27 consumers existing in the microgrid, the case study considers that only 11 are participating in the primary market as buyers (from buses 5, 8, 9, 11, 12, 14, 16, 19, 20, 24, 26), chosen mainly between the residences with high daily electricity demand. For each hour h, they can submit to the market two types of offers according to the traded quantity: the entire hourly demand and forecasted values, in multiples of 100 kW, as discussed in Section 3.2. For the forecasted offers, the values used in the case study are given in Table A3 in Appendix A, and in Figure 11, only for the hour intervals in which prosumer generation exists.
The sellers who place offers in the primary market are the prosumers with generation surplus. It is considered that they wish to sell the entire surplus on the market to maximize their revenue. The quantities offered, derived from Table A1 and Table A2, are presented in Table 2 and Figure 10, where it can be seen that surplus exists for trading in all hourly intervals from 06:00 to 18:00, but there are prosumers who cannot trade electricity at some hours (for example, P27 or P6).
For all quantity offers, the consumers and the prosumers must also provide in the blockchain system of the primary market the desired price offers, which are given in Table A4 and Table A5 in Appendix A. These values were set between 0.39 and 0.6 mu/kWh for consumers, and in the 0.4–0.55 mu/kWh range for prosumers. The higher maximum prices for consumers were chosen taking into account the merit-order method, in which the offers with the highest prices are prioritized. Furthermore, both the prosumers’ and consumers’ price offers were set higher than the regulated tariff to incentivize the trading in the local market.
If the market would not be present, the total electricity surplus quantity (167.97 kWh) would be traded by the aggregator back in the grid, at a regulated tariff. Using the reference value of 0.251 mu/kWh applied in Romania [73,74], the total revenue of the prosumers would be of 42.16 mu/day.
For demonstrating the advantages and disadvantages of each trading priority method used in the market, FCFS and MO, the case study results are be provided as comparisons between these alternatives.
As it can be seen from Figure 11, there are hours when the MO offers differ from the total demand used in the FCFS offers. This can happen because of two reasons: the forecast error and the standardized offer type (multiple of 100 W) used by the MO method. On the other hand, the offers placed by the consumers in the market are identical for both trading methods, and equal to the available surplus (Figure 10), because one of the main objectives of the local market is to enable prosumers to sell the entire surplus locally, and offers given as multiples of 100 W would impede the achievement of this goal.
The traded quantities and revenues/costs for each prosumer/consumer and hourly interval are given in Figure 12 and Figure 13 and Table 3, Table 4, Table 5 and Table 6.
The data from Table 3, Table 4, Table 5 and Table 6 show some interesting results regarding the hourly and daily offers and traded quantities for the consumers and prosumers.
The local generation surplus (167.97 kW) is insufficient to supply all the consumer needs (203.43 kWh). From Table 3, it is seen that, for the chosen consumption, local generation and primary market offers, when using the FCFS trading priority, the consumers can trade quantities lower than their consumption, and will need to buy the rest from the grid, at higher tariffs. If the MO trading priority is used, Table 4 shows that the hourly buy offers placed by the consumers are usually not fully fulfilled, but the traded quantities exceed the consumption. This leads to a surplus with the consumers, which will be traded to the grid, at regulated tariffs, or sold in the secondary market.
For prosumers, there are trading intervals where the surplus exceeds the traded prosumer offer and traded consumer quantities which are equal (for example, at h11, as seen from Table 4 and Table 6). This suggests that the prosumer will not be able to sell their entire surplus because of lack of demand. Additionally, applying the FCFS and MO trading priorities in fulfilling the market offers has different effects on the traded quantities, both hourly and for individual prosumers or consumers. If the FCFS trading priority is used, the total quantity traded by the prosumers is larger (Table 5) because the prosumer surplus offers can be matched more closely by the consumer offers. This means that if the MO trading priority is used, it is expected to have more surplus unsold to the local consumers, thus reducing the profitability of the prosumers. In this case, they would have to sell extra surplus to the grid in exchange for the regulated tariff, which is lower than the local consumer offers. As it can be seen from Table 6, the generation surplus remaining after the primary market is concentrated in the 09:00–14:00 interval, while the evening and morning intervals see the highest deficit in local generation (Table 4).
The profitability of the FCFS and MO trading priorities can be assessed from Figure 14 and Table 7 and Table 8 for the buyers and Figure 15 and Table 9 and Table 10 for the sellers. The market model offers the possibility of performing financial settlement in three assumptions for the prices: using the market clearing price (MCP), the consumer offers (COP) and the prosumer offers (POP), because different microgrids can pursue different objectives when establishing the local market. For example, using POP coupled with MO in the primary market can be an advantage for the buying consumers, who will buy electricity at lower prices from the local prosumers instead of paying the standard residential tariff. Using the MCP favors the prosumers with lower prices. In generation surplus scenarios, they can sell electricity at a higher clearing price. Using the COP will be an advantage for the prosumers, who will be able to obtain settlement prices larger than their initial offers.
The sellers/vendors with the highest cost/revenue can be considered as making the most profit because quantities are bought by consumers at a price lower than the standard LV residential tariff, while the sell offers are settled by the vendors at a price higher than the resell tariff to the grid.
For the scenario considered in the case study, Figure 14 and Figure 15 show that the highest revenues are obtained by prosumers when the consumer offer prices (COP) are used for settlement. If the FCFS trading priority is used, the MCP and POP settlements give the same results, because the methodology from [40] uses as settlement price the prosumer offers, and the MCP and POP trading priorities would result the same, as the buy offer price is not relevant and thus considered 0 um/kWh for all buyers. For the MO trading priority, the MCP settlement results in higher trading prices than POP, because the trading price for all sellers and buyers is determined by the price unrestricted merit order used in wholesale markets (Figure 4).
As it can be seen from Table 7, Table 8, Table 9 and Table 10, the players who get the most advantage from the local market are C8, C9, C24, the consumers without generation capability that have the highest demand, and P15, P3, P25, the prosumers with the largest daily surplus.

4.2. The Secondary Market—The Energy Poverty Mitigation Tier

The proposed local market model uses in the secondary market an optional energy poverty mitigation tier, designed to include a category of consumers that can usually will not be able to trade on the market because of their low income or other social vulnerabilities. The microgrid community can decide to assist these consumers by supporting the reduction of their electricity bill. The simplest way to achieve this goal is to automatically allocate the prosumer surplus available after the settlement of the primary market to cover the demand of such consumers. In the data used for the case study, a single consumer, C28, fulfills the requirements of a vulnerable consumer. As seen in Table A1, its total daily consumption amounts to 3.31 kWh, with 1.79 kWh in the 06:00–18:00 interval.
Since the two trading priority methods (FCFS and MO) give in the primary market different results regarding the trading participants and quantities at each hour, a similar behavior is propagated in the secondary market. Thus, the trading results will be presented in the same manner as for the primary market, as a comparison between the cases in which the primary market uses the FCFS or the MO in determining the priorities of the traded quantities. It is considered that the secondary market uses the same price offers entered in the blockchain system for the primary market.
According to the data from Table 3 and Table 5, after the settlement of the primary market, prosumers P21, P7, P15, P6, P3, P25 have unsold surplus if the FCFS trading priority is used. No consumers can participate in the secondary market, because they cannot have surplus after trading. If the MO priority is used, the prosumers with available surplus are P21, P15, P3, and also there are consumers which have placed in the primary market offers exceeding their real consumption, and can become sellers on the secondary market (C5, C9, C11, C12, C16, C19, C20, C24, and C26). The hours in which the sellers are having surplus after the primary market are presented in Appendix B, Table A6 and Table A7. The only entity buying in this market is C28, and its hourly buy offer match its entire consumption (See Table A1). However, these are total quantities, and each seller can trade different surplus quantities in each hour. This will lead to the necessity of prioritization of the sell offers, and subsequent settlement between C28 and possibly multiple sellers. The quantities traded hourly are presented in Appendix B, Table A8 and Table A9. The sell offers and traded quantities are given in Figure 16 and Figure 17. Table 11, Table 12, Table 13 and Table 14 summarize the daily and hourly offers and quantities traded by buyers and sellers.
Figure 16 and Figure 17 and Table 11, Table 12, Table 13 and Table 14 reveal significantly different trading scenarios on the energy poverty mitigation market when the two trading priority methods (FCFS and MO) are used in the primary market. For FCFS, 3 out of 5 prosumers will trade electricity with C28, while if MO were to be used, only P15 and P3 will sell electricity, the rest of the buying offer being fulfilled by just one consumer, C19. Also, if the secondary market is activated, the available surplus rises when MO is used from 13.88 kWh in the primary market to 63.18 kWh, due to the presence of the consumers who need to sell the surplus generated by the forecast error or offer quantity rounding. In the absence of the secondary market, these two quantities would be sold back to the grid at minimal price. Thus, in addition to allowing prosumer to sell more surplus, the secondary market offers a mechanism for minimizing the effect of consumption forecast errors at the consumer side when the MO trading priority method is used. However, the prosumer and consumer surplus to be sold back to the grid remain high, at 13.27 kWh and 48.12 kWh respectively (Table 13).
The costs of the consumer C28 and revenues of the vendors in the energy poverty market tier are given in Table 15, Table 16, Table 17 and Table 18 and Figure 18 and Figure 19. The financial settlement is performed in this case using as reference only the vendor price offer, similar to POP from Table 7, Table 8, Table 9 and Table 10, because with just one vulnerable consumer trading in the market, the COP is viable only if the consumer would buy at a fixed tariff, and MCP results are the same as POP when COP is not specified.
The results show that the vendor revenues are lower than in the primary market, because of the smaller traded quantities, but they can become significant if they are averaged over longer periods (months, years). The consumer C28 will pay less in the local market than when buying electricity from the grid, and the MO trading priority maximizes its earnings and the number of hourly intervals in which trading can be made. A more profitability analysis will follow in the Discussions section, for all the trading segments considered in the market algorithm.

4.3. The Secondary Market—The Commercial Tariff Access Tier

As seen previously, the vendors can remain after the primary market with surplus available for selling. Both prosumers and consumers can become sellers on the secondary market. The energy poverty mitigation tier can help to reduce the surplus, but, if the vulnerable consumers have low demand and are in low numbers, the quantities still remaining after the settlement can be significant. For the demand-generation balance and the set of offers used in the case study, the total primary market surplus is of 63.18 kWh and reduces only to 61.39 kWh after the energy poverty mitigation market, if the MO trading method is used. For the FCFS method, the remaining surplus decreases from to 11.58 kWh to 10.86 kW. For further reducing the quantity sold to the grid, the local market model uses the second tier of the secondary market, operated according to the MO trading priority method used in the primary market, but with different market participants.
The sellers that can enter this market segment are the same as for the energy poverty mitigation market: prosumers with remaining surplus and consumers whose offers placed in the blockchain system of the primary market exceed their actual demand, thus becoming surplus. The buyers are consumers from the same microgrid who did not participate in the primary market, but are ready to occasionally buy surplus from the secondary market when it is available, at market prices. In exchange for this facility, they pay an extra fee, according to the formula from Equation (10). The quantities are determined automatically in the settlement phase of the energy poverty market or at the end of the primary market, if the EP tier is not used. The sell price offers are the offer prices entered by prosumers in the blockchain system of the primary market. For consumers the buy prices are: C13–0.47 mu/kWh, C17–0.30 mu/kWh, C18–0.42 mu/kWh, lower than the average offers from the primary market, in order to minimize the effect of the added tariffs. The fulfilment priority for the buy and sell offers is determined using the MO strategy from Figure 4, and the actual quantities and financial exchanges between sellers and buyers are settled as in the primary market.
Using as reference the trading data from Table 13, the sellers participating in the market are P21, P15, P6 and P3, if the FCFS method is used in the primary market, and P21, P15, P3, C5, C9, C11, C12, C16, C19, C20, C24, and C26. The buyers are three consumers that did not participate in the primary market, namely C13, C17 and C18. The fee applied for all the consumers is a 10% increase of the final buy price, and it is charged by the market administrator. For evaluating all the possibilities regarding the financial settlement, all three price alternatives will be considered: MCP, COP and POP, similar to the primary market. The quantities offered and actually traded by each vendor and buyer in the two primary market methodologies (FCFS and MO) are given in Appendix C, Table A10, Table A11, Table A12, Table A13 and Table A14.
The results show that the use of the MO in the primary market leads to higher quantities traded in the tariff-access market tier, while if the FCFS priority is chosen, prosumer surplus is lower. The hourly results for the market and the daily quantities traded by the prosumers and the consumers are summarized, as for the previous market tiers, in Figure 20, Figure 21, Figure 22 and Figure 23 and Table 19, Table 20, Table 21 and Table 22.
The results from Table 19, Table 20, Table 21 and Table 22 show that the tariff-access consumers are able to acquire 7.67 kWh for the FCFS primary market trading priority, exclusively from prosumer surplus. 21.28 kWh are bought for the MO trading priority method, mainly from consumer surplus, as it can be seen in Table 21. When the MO method is used, the consumer buy offers are fulfilled from the most part from the local market (Table 20), only 1.2 kWh remaining to be bought from the grid. After the settlement of the two commercial market tiers, the prosumers lower their unsold surplus to only 3.19 kWh (FCFS) or 4.7 kWh (MO), while the consumer surplus remains high, at 35.94 kWh. The prosumer surplus is available mainly in the 09:00–14:00 interval, while the consumer surplus can be accessed outside this interval, between 06:00–8:00 and 15:00–18:00 (see Table A11).
The costs of the buyers and the revenues of the vendors in this market tier are summarized in Figure 24 and Figure 25 and Table 23, Table 24, Table 25 and Table 26, for all three available settlement policies (MCP, COP, POP).
Because of the larger quantities bought by the three consumers, the fee-access tier is more profitable for the surplus vendors, compared to the energy poverty mitigation market. In addition, considering the lower price offers used for the tariff-access consumers, the COP settlement option is the best choice for the consumers, incurring the lowest costs (see Table 25). For the FCFS trading priority method, MCP and POP give the same results, which suggests that the merit order clearing price is determined by higher vendor price offers (Table 26).

4.4. The Secondary Market—The Commercial Invite Access Tier

An alternative proposed in the local market model for the tariff-access secondary market is an invite-access market tier. This solution, while it has lower impact on the surplus reduction at market level, is viable for individual prosumers and consumers which are in the situation of frequently having unsold surplus after the final settlement. The invite-access strategy proposes that long-term P2P contracts can be established between seller–buyer pairs, stipulating that the buyer can automatically access the unsold surplus of the seller when it is available. In this case, the settlement is not performed at market level, but only for the two parties involved, and it can be considered that the buyer is an ‘invited guest’ in the local market.
The market diagram from Figure 1 considers the invite-access market as an alternative to the tariff-access market, but this approach is not mandatory, as the energy mitigation market, the tariff-access market and the invite-access market can be used in any desired order or number in the architecture of the local market.
Considering the layout from Figure 1 and the data from Table 2, Table A2, Table A7 and Table A13, the evolution of the surplus of prosumer P21 in the MO primary market priority case is the one seen in Table 27. The prosumer is able to sell 4.844 kWh on the tariff-access market.
On the other hand, if the prosumer has a P2P contract with consumer C22 who did not participate in the primary market, and the tariff access option is not activated, then it would be possible to sell in the invite-access market almost the same quantity, as can be seen in Table 28. Furthermore, a scenario can be imagined in which the invite market is activated first, followed by the tariff-access market, in which case prosumer P21 would be able to sell their entire surplus in the local blockchain market. Thus, if the market model is optimally configured, it can lead to the maximization of the local trading, thus minimizing the surplus sold to the grid at regulated tariffs.

5. Discussion

The results presented in the case study show that the secondary market has a positive effect regarding the surplus quantities sold by the prosumers in the local market. A key aspect that still needs to be discussed is the profitability of the local market, with its two components. Using Table 3, Table 5, Table 11, Table 13, Table 19 and Table 21 for quantities, the influence of the primary and secondary markets on the quantities sold by the prosumers and consumers back to the grid is determined in Table 29 and Table 30.
Table 29 shows that the offer quantities used in the MO trading priority determine a 49.3 kWh surplus at the consumers, which represents electricity traded but not consumed. This represents a high value, at 25% of the total consumption, and is mainly determined by hourly demand forecast errors. In the absence of the secondary market, the entire quantity would be sold to the grid, and the price mismatch between the buy price on the market (high) and sell price to the grid (low) would represent a cost increase for the consumers. Thus, accurate demand forecasts could reduce the costs for the consumers participating in the market. Additionally, it can be seen that the FCFS trading priority results in lower quantities sold back to the grid, as consumer surplus is absent.
Table 30 shows that the secondary market makes a significant contribution to reducing the prosumer surplus from 11.58/13.88 kWh to 3.18/4.17 kWh. Here, it can be seen that while the bulk of the surplus is sold on the primary market, the secondary market allows an important increase of local generation sold locally. The primary market helps prosumers to sell the majority of their surplus in the local market, and the supplementary market tiers allow consumers to mitigate forecast errors by acting as sellers, and also reduce the share of surplus prosumer generation sold back to the grid. These trading options can have, depending on local conditions, positive effects in increasing the number of prosumers in the microgrid and reducing the electricity acquired by the consumers from the grid, at higher prices and taxes. In other words, social and environmental sustainability can be improved.
The reduction of local generation quantities sold back to the grid has positive financial effects for both prosumers and consumers. In the absence of the local market, the prosumers would sell any surplus to the grid at the regulated price. The market allows them to obtain better prices, which are still attractive for consumers as long as they do not exceed the tariff paid for the electricity imported from the grid. On the other hand, by participating in the local market, the consumers have the chance of paying less for electricity. From Table 7, Table 9, Table 15, Table 17, Table 23 and Table 25, the costs and revenues for the sellers and vendors on each market segment can be summarized in Table 31 and Table 32, for the 06:00–18:00 interval of the analyzed day.
Table 31 shows that the highest costs for the consumers occur when the COP settlement is used, while the POP settlement offers the best buy prices from the market. In Table 32, it can be seen that the prosumer revenues can double when the primary and secondary markets are used, with the highest profits being achieved on the primary market. The secondary market is, however, useful for the consumers who need to sell surplus remaining from the primary market, increasing their daily revenue by up to 200% (14.89 mu, compared to 12.38 mu).
Using the traded quantities and factoring the costs and revenues presented above, a comparison can be made between the daily electricity costs for the aggregated network demand in the 06:00–18:00 interval. Table 33 shows that the combined effect of the primary and secondary markets can decrease the cost by up to 26% when the FCFS trading prioritization is used. For MO prioritization, because of the significant consumer surplus in the primary market, the cost increases when MCP or COP settlement is used, but the effect of the secondary market is to compensate a fraction of the increase.
It is important to note that the results presented in the paper are highly dependent on the input data used for the case study. The profits of the prosumers and the cost reductions for the consumers are affected by the quantities and prices offered in the market by both parties and can vary significantly from the results presented in the paper. Also, depending on local constraints, the trading tiers of the secondary market can be used only partially and in a different order. The case study presents a scenario of a complete market trading sequence to show the capabilities of the proposed model.
The results presented in Table 29, Table 30, Table 31, Table 32 and Table 33 use for the commercial tier of the secondary market only the tariff-access option.

6. Conclusions

The paper proposes a new local market for active microgrids, designed to maximize the surplus sold by the prosumers to the local consumers. The local market requires smart grid features in the microgrid and a blockchain ledger for submitting buy and sell offers. Trading is performed in two phases, first on a primary marked, followed by a two-tier secondary market. The case study shows that the secondary market can help the prosumers to sell more surplus to the local consumers, increasing their profitability. The advantages of the local market can be discussed from several perspectives:
  • The reduction of electricity quantities traded back to the grid (at lower prices) for prosumers;
  • The reduction of electricity costs for consumers, brought by acquiring cheaper electricity from the local prosumers;
  • The increase of profits for prosumers, by selling larger quantities to local consumers, at higher prices than the regulated tariff used to sell back to the grid. This can also be seen as an incentive for increasing sustainable electricity generation from renewable resources;
  • The energy poverty mitigation for some consumers, an aspect regarding economic and social sustainability.
However, as main disadvantages, accurate demand forecasts are necessary for the consumers if the MO trading method is used, for optimal market benefits. Furthermore, the implementation of the proposed market model is dependent on several prerequisites: the implementation of smart grid capabilities in the microgrid, the creation of adequate regulations by regional or national authorities, and the development of residential renewable electricity generation, all these being in incipient development stages across the world.
The proposed algorithm is a comprehensive tool of the trading process for consumers and prosumers in microgrids, considering the current regulation framework regarding prosumer activity in the Romanian electricity market, and future research directions considered by the authors aim to extend its capabilities for social inclusion, analyzing the influence of storage capabilities on local market trading dynamics and profitability, and considering new trading options, by comparison with similar real local market models, as they become available in the literature.

7. Patents

National Patent Application “Innovative method of decision-making assistance aimed at streamlining the management of prosumer activity”, Romania, 2020, in press.

Author Contributions

Conceptualization, B.-C.N., O.I. and G.G.; methodology, B.-C.N. and O.I.; software, B.-C.N. and O.I.; validation, O.I. and B.-C.N.; formal analysis, M.G. and D.-M.I.; investigation, O.I. and G.G.; data curation, O.I.; writing—original draft preparation, B.-C.N. and O.I.; writing—O.I., G.G., D.-M.I. and M.G.; supervision, M.G. and D.-M.I. All the figures and tables used in the paper were created by the authors. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by “Gheorghe Asachi” Technical University of Iasi, Romania, through the support of national project PNIII-1.2.PDI-PFC-C1–2018, as COMPETE project no. 9PFE/2018, financed by the Romanian Government.

Acknowledgments

The authors would like to express their gratitude to Maria Carmen Loghin, the Vice Rector of the “Gheorghe Asachi” Technical University of Iasi for his technical support, supporting logistics and open access of this journal publication.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

ADMMAlternating Direction Method of Multipliers
ADNActive Distribution Network
AEAActive Energy Agent
ANRERomanian Energy Regulatory Authority
CConsumers/Consumption Quantity
COConsumption Offers
COPConsumer Offers Price
DMDemurrage Mechanism
DNOsDistribution Network Operators
DRDemand Response
EUEuropean Union
f%fee added to the price resulting from trading mechanism
FCFSFirst-Come-First-Served
GGeneration Quantity
GOGeneration Offers
HEMHome Energy Management
kWhkilowatt-hours
LEMLocal Electricity Market
LVLow Voltage
MCPMarket Clearing Price
MEPMultiple Energy Prosumers
MOMerit-order
muMonetary units
NCTotal Number of Consumers
NCMNumber of Consumers participating in the Market
NPTotal Number of Prosumers
NPMNumber of Prosumers participating in the Market
PProsumer/Price
P2PPeer-to-Peer
PCOPrice of Consumption Offers
PGOPrice of Generation Offers
PMPrimary Market
POPProsumer Offers Price
PoWProof-of-Work
PVPhotovoltaic
REScoopEuropean Federation of Renewable Energy Cooperatives
SSurplus
SMSecondary Market
SSRESSmall-Scale Renewable Energy Sources
TCThe Maximum Amount of Traded Electricity by Consumers
TPTransaction of Prosumers
TCOThe Quantity of Electricity Actually Traded
WEMWholesale Electricity Market

Appendix A. Input Data for the Primary Market

Table A1. The hourly demand profiles for the entire microgrid, in kW (27 consumers).
Table A1. The hourly demand profiles for the entire microgrid, in kW (27 consumers).
HourC2C3C4C5C6C7C8C9C10
h10.6162.0100.2730.0001.3702.4181.1521.9360.310
h20.6081.9080.0780.0201.5202.2101.6641.3680.678
h30.5572.0040.0480.2601.9102.1492.0561.3760.300
h40.5222.0100.3060.0401.7702.1512.0482.0480.640
h50.5221.9020.0630.0501.9902.1921.8161.5280.360
h60.5712.0040.1650.2502.0702.2991.1682.9920.468
h70.5291.8360.2130.1252.2802.3640.7203.3520.748
h80.5921.2360.0604.7102.5302.5431.7042.2403.208
h90.5621.3020.3121.2901.8502.3821.9762.1122.815
h100.6161.2000.2580.5251.8502.5491.9442.1921.483
h110.8601.1880.2432.9851.4602.4261.9042.2324.538
h120.5351.1460.4231.8951.1802.4141.8722.1443.295
h130.6411.1400.1984.5951.6502.4502.4562.0483.650
h140.3221.3740.3780.9301.9502.4182.6322.1765.230
h150.1811.9440.3210.2601.8102.4441.8962.2564.293
h160.2141.5420.2070.5352.6402.4672.0722.3283.895
h170.7812.1480.4952.1252.8102.5532.0802.2883.028
h180.7641.9020.2821.0252.7202.7572.0162.3361.980
h190.4261.9680.3360.1403.5803.0422.7202.4641.768
h200.4261.9680.3360.1403.5803.0422.7202.4641.768
h210.4961.9560.2070.2105.3103.5152.6723.1363.033
h220.5611.9860.4050.4805.3903.2482.4881.3125.695
h230.5541.8720.2460.1954.7503.0752.4321.3364.033
h240.5781.9860.0450.1003.1702.7132.0881.1841.180
h06–187.16819.9623.55521.25026.80032.06624.44030.69638.631
HourC11C12C13C14C15C16C17C18C19
h10.2300.5850.1420.9102.7832.2200.2100.3600.345
h20.2200.7650.0780.9202.4111.3200.0000.5250.286
h30.2000.5850.3520.9252.5480.9420.0000.5340.243
h40.2000.6750.4401.2252.3130.9720.0450.6360.213
h50.2000.6600.0621.3452.2880.9540.0000.4440.237
h61.2400.5701.4161.2902.4261.0440.1150.4620.242
h71.4000.9000.4821.3253.2391.3740.0750.4770.281
h81.4400.6300.1821.5203.7983.9840.4750.4500.287
h91.1700.7650.5021.4303.0972.1840.3800.5040.278
h101.1300.6451.0461.1204.3711.9860.4950.5790.268
h111.3900.5550.1501.1702.9941.9861.1300.5730.285
h121.7400.6301.0321.2653.7632.8440.6300.4980.315
h131.7600.6150.0561.7602.9991.5660.4200.6000.301
h141.2000.5700.0562.0002.7590.9300.9800.5400.329
h150.2800.7500.2361.8403.8070.7980.9550.3570.312
h160.4600.5551.0241.8153.3171.1520.9650.4230.350
h173.1800.8250.2322.0153.2141.9440.9700.5880.366
h182.5700.7800.8902.3652.9402.0460.9600.5700.468
h192.8900.7800.4582.4803.4452.4601.4500.6780.443
h202.8900.7800.4582.4803.4452.4601.4500.6780.443
h213.2100.6300.8642.5803.2781.8841.3850.7530.454
h223.2600.5701.3262.3652.4751.3741.6600.6210.482
h232.8150.7200.3762.0602.0731.3801.2350.7500.509
h241.7800.5700.2001.4952.7691.1580.8800.3900.328
h06–1818.9608.7907.30420.91542.72423.8388.5506.6214.082
HourC20C21C22C23C24C25C26C27C28
h10.9730.6360.7900.0491.2660.3840.2480.0240.973
h21.0130.4840.7800.0561.1940.3840.2960.0001.013
h30.7330.4480.7300.7491.0560.3880.2600.0000.733
h40.4530.4600.9201.1481.0320.3920.2920.0000.453
h50.6800.5200.8001.1481.0140.4000.2080.0000.680
h60.7730.5121.3401.1481.0200.3960.3560.1920.773
h70.9800.4280.9601.9461.1220.3760.7000.1400.980
h81.5600.3680.2701.3931.1160.3520.3360.1521.560
h91.5800.4080.4201.5961.1100.3560.1440.0001.580
h101.3470.4081.0002.9751.1100.3600.1280.0041.347
h111.7130.6680.9301.5191.2420.6200.2040.0761.713
h121.9130.4121.0502.4921.2600.3440.3200.5081.913
h133.1270.3441.0201.9741.2660.3240.4760.0563.127
h142.5600.4280.9701.9741.2600.3320.3840.0202.560
h151.4331.0681.0102.2401.2060.9400.4560.2441.433
h162.0130.4241.1102.2961.1342.5000.3520.0882.013
h174.0000.4481.5401.7781.1402.5442.0000.0804.000
h181.0670.4681.6301.9391.2602.8200.8760.2281.067
h191.9070.4361.5701.7501.2962.1041.8240.0001.907
h201.9070.4361.5701.7501.2962.1041.8240.0001.907
h212.4731.0921.2801.1061.2122.1440.7280.4082.473
h222.2531.4841.1101.0921.1942.0840.6880.4122.253
h231.9331.3640.7101.0921.1942.2480.2560.5321.933
h241.2600.8800.8400.7631.1762.0080.3240.1441.260
h06–1812.90024.0666.38413.25025.27015.24612.2646.7321.788
Table A2. The hourly generation profiles for the prosumers in the microgrid, in kW (8 prosumers).
Table A2. The hourly generation profiles for the prosumers in the microgrid, in kW (8 prosumers).
HourP27P21P7P15P6P3P10P25
h100000000
h200000000
h300000000
h400000000
h500000000
h60.2492.3612.1834.3742.0112.2121.9654.072
h70.5182.7852.6274.8242.1322.6422.3644.609
h81.0043.2863.2475.3842.3573.1152.9224.942
h91.5813.3293.4385.3252.5923.1393.0945.066
h101.7353.6393.6425.6732.9663.4513.2785.342
h111.8593.7513.8265.7693.3463.5613.4435.417
h121.9153.7353.6395.6433.5093.5393.2755.320
h131.9843.8123.8635.8253.9453.6033.4775.506
h141.7563.7423.8035.7043.2973.5533.4235.474
h151.5623.4613.4925.3532.9943.2763.1434.908
h160.9152.8322.8774.6422.5412.6752.5894.343
h170.4952.4032.3054.2762.3522.2832.0754.017
h180.3082.2372.1054.1011.7912.1231.8953.859
h1900000000
h2000000000
h2100000000
h2200000000
h2300000000
h2400000000
Table A3. The forecasted quantity offers of the buyers (consumers) for the primary market, MO trading priority, in kWh (11 consumers).
Table A3. The forecasted quantity offers of the buyers (consumers) for the primary market, MO trading priority, in kWh (11 consumers).
Trading IntervalC5C8C9C11C12C14C16C19C20C24C26
h60.301.103.201.300.601.202.000.200.501.200.50
h70.400.803.401.400.801.302.000.302.102.000.40
h84.101.702.101.300.601.403.500.300.601.500.40
h91.502.002.201.000.801.502.000.200.401.600.40
h100.801.902.101.000.801.102.000.300.402.800.40
h113.201.902.200.900.601.202.000.300.301.500.60
h122.002.002.100.000.601.302.000.300.502.400.40
h134.702.502.001.500.701.801.800.300.702.000.30
h141.102.402.201.200.702.001.000.300.602.000.30
h150.602.102.200.700.801.801.000.301.302.201.00
h160.602.202.300.700.701.901.000.401.202.302.50
h172.602.402.402.500.702.101.500.401.601.802.50
h181.302.302.503.000.902.202.000.501.601.902.80
Table A4. The offer prices submitted by the buyers (consumers) in the primary market, in mu/kWh.
Table A4. The offer prices submitted by the buyers (consumers) in the primary market, in mu/kWh.
Trading IntervalC5C8C9C11C12C14C16C19C20C24C26
h6–h180.450.60.550.520.480.60.490.390.550.570.5
Table A5. The offer prices submitted by the sellers (prosumers) in the primary market, in mu/kWh.
Table A5. The offer prices submitted by the sellers (prosumers) in the primary market, in mu/kWh.
Trading IntervalP27P21P7P15P6P3P10P25
h6–h180.430.550.40.480.430.470.420.43

Appendix B. Data for the Energy Poverty Mitigation Market

Table A6. The sell offer quantities for the energy poverty mitigation tier (kWh), FCFS trading priority.
Table A6. The sell offer quantities for the energy poverty mitigation tier (kWh), FCFS trading priority.
HourP21P7P15P6P3Total
h06000000
h07000000
h08000000
h0900001.8151.815
h10001.30202.8404.142
h1100002.3452.345
h120001.24101.241
h13000000
h141.182000.73901.921
h1500.1130000.113
h16000000
h17000000
h18000000
Total1.1820.1131.3021.9807.00011.576
Table A7. The sell offer quantities for the energy poverty mitigation tier, MO trading priority, in kWh.
Table A7. The sell offer quantities for the energy poverty mitigation tier, MO trading priority, in kWh.
HourP21P15P3C5C9C11C12C16C19C20C24C26Total
h060000.300000.6000.7080.2000001.808
h070000.400000.8001.8380.3000003.338
h080004.100000.6000.3970.3000005.397
h091.682000000000001.682
h102.2921.3020.4930000000004.087
h112.0380.56300000000002.601
h121.8221.86000000000003.682
h130000.74600000.30001.046
h141.1820.64100000000001.823
h150000.600000.15500.3000001.055
h160000.6000.2410.7000.70010.4001.20002.5007.341
h170002.6002.4002.5000.7001.50.4001.6001.1812.50015.381
h180001.3001.8353.0000.90020.5001.60002.80013.935
Total9.0164.3660.49310.6464.4766.2004.4557.4432.7004.4001.1817.80063.176
Table A8. The sell quantities traded in the energy poverty mitigation tier, FCFS priority, in kWh.
Table A8. The sell quantities traded in the energy poverty mitigation tier, FCFS priority, in kWh.
HourP21P7P15P6P3Total
h06000000
h07000000
h08000000
h09000000
h1000000.0040.004
h1100000.0760.076
h120000.50800.508
h13000000
h140000.02000.020
h1500.1130000.113
h16000000
h17000000
h18000000
Total00.11300.5280.080.721
Table A9. The sell quantities traded in the energy poverty mitigation tier, MO priority, in kWh.
Table A9. The sell quantities traded in the energy poverty mitigation tier, MO priority, in kWh.
HourP21P15P3C5C9C11C12C16C19C20C24C26Total
h06000000000.1920000.192
h07000000000.1400000.140
h08000000000.1520000.152
h090000000000000
h10000.0040000000000.004
h1100.07600000000000.076
h1200.50800000000000.508
h13000000000.0560000.056
h1400.02000000000000.020
h15000000000.2440000.244
h16000000000.0880000.088
h17000000000.0800000.080
h18000000000.2280000.228
Total00.6040.004000001.1800001.788

Appendix C. Data for the Commercial Secondary Market, Fee-Access Method

Table A10. The sell offer quantities for the commercial fee-access tier, FCFS trading priority, in kWh.
Table A10. The sell offer quantities for the commercial fee-access tier, FCFS trading priority, in kWh.
HourP21P15P6P3Total
h0600000
h0700000
h0800000
h090001.8151.815
h1001.30202.8364.138
h110002.2692.269
h12000.73300.733
h1300000
h141.18200.71901.901
h1500000
h1600000
h1700000
h1800000
Total1.1821.3021.4526.92010.855
Table A11. The sell offer quantities for the commercial fee-access tier, MO trading priority, in kWh.
Table A11. The sell offer quantities for the commercial fee-access tier, MO trading priority, in kWh.
VendorP21P15P3C5C9C11C12C16C19C20C24C26Total
h060000.300000.6000.7080.0080001.616
h070000.400000.8001.8380.1600003.198
h080004.100000.6000.3970.1480005.245
h091.682000000000001.682
h102.2921.3020.4890000000004.083
h112.0380.48700000000002.525
h121.8221.35200000000003.174
h130000.74600000.2440000.990
h141.1820.62100000000001.803
h150000.600000.15500.0560000.811
h160000.6000.2410.7000.7001.0000.3121.20002.5007.253
h170002.6002.4002.5000.7001.5000.3201.6001.1812.50015.301
h180001.3001.8353.0000.9002.0000.2721.60002.80013.707
Total9.0163.7620.48910.6464.4766.2004.4557.4431.5204.4001.1817.80061.388
Table A12. The sell quantities traded in the commercial fee-access tier, FCFS trading priority.
Table A12. The sell quantities traded in the commercial fee-access tier, FCFS trading priority.
Hour211563Total
h0600000
h0700000
h0800000
h090001.3861.386
h100002.1202.120
h110001.8531.853
h12000.73300.733
h1300000
h140.85800.71901.576
h1500000
h1600000
h1700000
h1800000
Total0.85801.4525.3597.668
Table A13. The sell quantities traded in the commercial fee-access tier, MO trading priority, in kWh.
Table A13. The sell quantities traded in the commercial fee-access tier, MO trading priority, in kWh.
HourP21P15P3C5C9C11C12C16C19C20C24C26Total
h060000.300000.6000.7080.0080001.616
h070000.400000.47400.1600001.034
h080000.95900000.1480001.107
h091.386000000000001.386
h100.3291.3020.4890000000002.120
h111.3660.48700000000001.853
h120.8081.35200000000002.160
h130000.74600000.2440000.990
h140.9550.62100000000001.576
h150000.600000.15500.0560000.811
h160000.600000.7000.80.3120002.412
h170001.47000000.3200001.790
h180001.300000.84800.2720002.420
Total4.8443.7620.4896.375002.7771.5081.52000021.275
Table A14. The buy quantities traded in the commercial fee-access tier, MO trading priority, in kWh.
Table A14. The buy quantities traded in the commercial fee-access tier, MO trading priority, in kWh.
HourC13C17C18Total
h060000
h070000
h080000
h090.5020.3800.5041.386
h101.0460.4950.5792.120
h110.1501.1300.5731.853
h120.733000.733
h130000
h140.0560.9800.5401.576
h150000
h160000
h170000
h180000
Total2.4872.9852.1967.668
Table A15. The buy quantities traded in the commercial fee-access tier, MO trading priority, in kWh.
Table A15. The buy quantities traded in the commercial fee-access tier, MO trading priority, in kWh.
HourC13C17C18Total
h061.41600.2001.616
h070.4820.0750.4771.034
h080.1820.4750.4501.107
h090.5020.3800.5041.386
h101.0460.4950.5792.120
h110.1501.1300.5731.853
h121.0320.6300.4982.160
h130.0560.3340.6000.990
h140.0560.9800.5401.576
h150.2360.2180.3570.811
h161.0240.9650.4232.412
h170.2320.9700.5881.790
h180.8900.9600.5702.420
Total7.3047.6126.35921.275

References

  1. Agora-Energiewende, European Energy Transition 2030: The Big Picture. Available online: https://www.agora-energiewende.de/fileadmin2/Projekte/2019/EU_Big_Picture/153_EU-Big-Pic_WEB.pdf (accessed on 1 August 2020).
  2. Saevelect, What Is eDREAM? Available online: https://www.todaysoftmag.ro/article/2469/tehnologia-blockchain (accessed on 1 August 2020).
  3. Haber, S.; Scott Stornetta, W. How to time-stamp a digital document. J. Cryptol. 1991, 3, 99–111. [Google Scholar] [CrossRef]
  4. Bayer, D.; Haber, S.; Scott Stornetta, W. Improving the Efficiency and Reliability of Digital Time-Stamping; Capocelli, R., de Santis, A., Vaccaro, U., Eds.; Sequences II; Springer: New York, NY, USA, 1993. [Google Scholar]
  5. Toth, L.A. Blockchain Technology, Today Software Magazine. Available online: https://www.todaysoftmag.ro/article/2469/tehnologia-blockchain (accessed on 1 August 2020).
  6. Tradesilvania. Why Use Blockchain Technology? Available online: https://tradesilvania.com/ro/ (accessed on 1 August 2020).
  7. Stratulat, A.M. Blockchain: A New Paradigm for the Energy System. Available online: https://medium.com/@adrianmihaistratulat/blockchain-o-noua-paradigma-pentru-sistemul-energetic-ac95761b12a2 (accessed on 1 August 2020).
  8. Unlimited Energy for Energy Communities from Renewable Sources. Available online: http://fiiprosumator.ro/static/brosura-greenpeace-energie-fara-limite.pdf (accessed on 1 August 2020).
  9. Unguru, M. Blockchain technology: Opportunities for the energy sector. Euro Infor 2018, 2, 53–58. [Google Scholar]
  10. NewsEnergy, Blockchain Technology and Renewables, the Next “Power Couple”. Available online: https://newsenergy.ro/tehnologia-blockchain-si-regenerabilele-urmatorul-power-couple/ (accessed on 1 August 2020).
  11. Andoni, M.; Robu, V.; Flynn, D.; Abram, S.; Geach, D.; Jenkins, D.; McCallum, P.; Peacock, A. Blockchain technology in the energy sector: A systematic review of challenges and opportunities. Renew. Sustain. Energy Rev. 2019, 100, 143–174. [Google Scholar] [CrossRef]
  12. Mika, B.; Goudz, A. Blockchain-technology in the energy industry: Blockchain as a driver of the energy revolution? With focus on the situation in Germany. Energy Syst. 2020. [Google Scholar] [CrossRef]
  13. PwC Global Power & Utilities, Blockchain an Opportunity for Energy Producers and Consumers? Available online: https://www.pwc.com/gx/en/industries/assets/pwc-blockchain-opportunity-for-energy-producers-and-consumers.pdf (accessed on 1 August 2020).
  14. Maxim, A.; Mihai, C.; Apostoaie, C.-M.; Popescu, C.; Istrate, C.; Bostan, I. Implications and Measurement of Energy Poverty across the European Union. Sustainability 2016, 8, 483. [Google Scholar] [CrossRef] [Green Version]
  15. Surowiecki, J. The Wisdom of Crowds; Anchor: San Diego, CA, USA, 2005. [Google Scholar]
  16. Wang, S.; Taha, A.F.; Wang, J.; Kvaternik, K.; Hahn, A. Energy crowdsourcing and peer-to-peer energy trading in blockchain-enabled smart grids. IEEE Trans. Syst. Man Cybern. B Cybern. 2019, 49, 1612–1623. [Google Scholar] [CrossRef] [Green Version]
  17. National Regulatory Authority for Energy. The 228 Order for the Approval of the Technical Norm Technical Conditions for Connection to the Public Electrical Networks of the Prosumers; National Regulatory Authority for Energy: Bucharest, Romania, 2018. [Google Scholar]
  18. Neagu, B.C.; Grigoras, G.; Ivanov, O. An Efficient Peer-to-Peer Based Blokchain Approach for Prosumers Energy Trading in Microgrids. In Proceedings of the International Conference on Modern Power Systems (MPS), Cluj Napoca, Romania, 21–23 May 2019; pp. 1–4. [Google Scholar]
  19. Mohan, V.; Bu, S.; Jisma, M.; Rijinlal, V.C.; Thirumala, K.; Thomas, M.S.; Xu, Z. Realistic energy commitments in peer-to-peer transactive market with risk adjusted prosumer welfare maximization. Int. J. Electr. Power Energy Syst. 2020, 124, 106377. [Google Scholar] [CrossRef]
  20. De La Nieta, A.A.S.; Gibescu, M.; Wang, X.; Song, M.; Jensen, E.; Saleem, A.; Bremdal, B.; Ilieva, I. Local economic dispatch with local renewable generation and flexible load management. In Proceedings of the International Conference on Smart Energy Systems and Technologies (SEST), Sevilla, Spain, 10–12 September 2018; pp. 1–6. [Google Scholar]
  21. Ottesen, S.Ø.; Tomasgard, A.; Fleten, S.-E. Prosumer bidding and scheduling in electricity markets. Energy 2016, 94, 828–843. [Google Scholar] [CrossRef]
  22. Ferruzzi, G.; Cervone, G.; Delle Monache, L.; Graditi, G.; Jacobone, F. Optimal bidding in a Day-Ahead energy market for Micro Grid under uncertainty in renewable energy production. Energy 2016, 106, 194–202. [Google Scholar] [CrossRef]
  23. Gregg, J.S.; Nyborg, S.; Hansen, M.; Schwanitz, V.J.; Wierling, A.; Zeiss, J.P.; Delvaux, S.; Saenz, V.; Polo-Alvarez, L.; Candelise, C.; et al. Collective action and social innovation in the energy sector: A mobilization model perspective. Energies 2020, 13, 651. [Google Scholar] [CrossRef] [Green Version]
  24. Candelise, C.; Ruggieri, G. Status and evolution of the community energy sector in Italy. Energies 2020, 13, 1888. [Google Scholar] [CrossRef] [Green Version]
  25. Marinakis, V.; Doukas, H.; Koasidis, K.; Albuflasa, H. From intelligent energy management to value economy through a digital energy currency: Bahrain city case study. Sensors 2020, 20, 1456. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. Horstink, L.; Wittmayer, J.M.; Ng, K.; Luz, G.P.; Marín-González, E.; Gährs, S.; Campos, I.; Holstenkamp, L.; Oxenaar, S.; Brown, D. Collective renewable energy prosumers and the promises of the energy union: Taking stock. Energies 2020, 13, 421. [Google Scholar] [CrossRef] [Green Version]
  27. The First Green Energy Cooperative in Romania Will “Open Its Doors” Soon, Including for Prosumers. Available online: https://newsenergy.ro/prima-cooperativa-de-energie-verde-din-romania-isi-va-deschide-portile-in-curand-inclusiv-pentru-prosumatori/ (accessed on 1 August 2020).
  28. Son, Y.-B.; Im, J.-H.; Kwon, H.-Y.; Jeon, S.-Y.; Lee, M.-K. Privacy-preserving peer-to-peer energy trading in blockchain-enabled smart grids using functional encryption. Energies 2020, 13, 1321. [Google Scholar] [CrossRef] [Green Version]
  29. Wang, S.; Taha, A.F.; Wang, J. Blockchain-assisted crowdsourced energy systems. In Proceedings of the IEEE Power & Energy Society General Meeting (PESGM), Porto, Portugal, 9–11 September 2018; pp. 1–5. [Google Scholar]
  30. Morstyn, T.; Teytelboym, A.; Hepburn, C.; McCulloch, M.D. Integrating P2P Energy Trading with Probabilistic Distribution Locational Marginal Pricing. IEEE Trans. Smart Grid 2019, 11, 3095–3106. [Google Scholar] [CrossRef]
  31. Fu, M.; Xu, Z.; Wang, N.; Lyu, X.; Xu, W. “Peer-to-Peer Plus” electricity transaction within community of active energy agents regarding distribution network constraints. Energies 2020, 13, 2408. [Google Scholar] [CrossRef]
  32. Khorasany, M.; Mishra, Y.; Ledwich, G. Design of auction-based approach for market clearing in peer-to-peer market platform. J. Eng. 2019, 4813–4818. [Google Scholar] [CrossRef]
  33. Khorasany, M.; Azuatalam, D.; Glasgow, R.; Liebman, A.; Razzaghi, R. Transactive energy market for energy management in microgrids: The monash microgrid case study. Energies 2020, 13, 2010. [Google Scholar] [CrossRef]
  34. Haghifam, S.; Zare, K.; Abapour, M.; Muñoz-Delgado, G.; Contreras, J. A stackelberg game-based approach for transactive energy management in smart distribution networks. Energies 2020, 13, 3621. [Google Scholar] [CrossRef]
  35. Liu, Z.; Gao, J.; Yu, H.; Wang, X. Operation mechanism and strategies for transactive electricity market with multi-microgrid in grid-connected mode. IEEE Access 2020, 8, 79594–79603. [Google Scholar] [CrossRef]
  36. Hwang, Y.M.; Sim, I.; Sun, Y.G.; Lee, H.-J.; Kim, J.Y. Game-theory modeling for social welfare maximization in smart grids. Energies 2018, 11, 2315. [Google Scholar] [CrossRef] [Green Version]
  37. Singh, P.; Talwariya, A.; Kolhe, M. Demand response management in the presence of renewable energy sources using Stackelberg game theory. IOP Conf. Ser. Mater. Sci. Eng. 2019, 605, 012004. [Google Scholar] [CrossRef]
  38. Arun, S.L.; Selvan, M.P. Prosumer based demand response for profitable power exchange between end-user and utility. In Proceedings of the 2018 20th National Power Systems Conference (NPSC), Iruchirappalli, India, 14–16 December 2018; pp. 1–6. [Google Scholar]
  39. Liu, T.; Tan, X.; Sun, B.; Wu, Y.; Guan, X.; Tsang, D.H. Energy management of cooperative microgrids with p2p energy sharing in distribution networks. In Proceedings of the 2015 IEEE International Conference on Smart Grid Communications (SmartGridComm), Miami, FL, USA, 2–5 November 2015; pp. 410–415. [Google Scholar]
  40. Neagu, B.-C.; Ivanov, O.; Grigoras, G.; Gavrilas, M. A new vision on the prosumers energy surplus trading considering smart peer-to-peer contracts. Mathematics 2020, 8, 235. [Google Scholar] [CrossRef] [Green Version]
  41. Yahaya, A.S.; Javaid, N.; Alzahrani, F.A.; Rehman, A.; Ullah, I.; Shahid, A.; Shafiq, M. Blockchain based sustainable local energy trading considering home energy management and demurrage mechanism. Sustainability 2020, 12, 3385. [Google Scholar] [CrossRef] [Green Version]
  42. Lovati, M.; Zhang, X.; Huang, P.; Olsmats, C.; Maturi, L. Optimal simulation of three peer to peer (p2p) business models for individual pv prosumers in a local electricity market using agent-based modelling. Buildings 2020, 10, 138. [Google Scholar] [CrossRef]
  43. Martín, D.; Bordel, B.; Alcarria, R.; Sánchez-Picot, Á.; de Rivera, D.S.; Robles, T. Prosumerization Approach to Semantic Ambient Intelligence Platforms. In Proceedings of the International Conference on Ubiquitous Computing and Ambient Intelligence, Philadelphia, PA, USA, 7–10 November 2017; pp. 109–120. [Google Scholar]
  44. Parag, Y. Beyond energy efficiency: A prosumer market as an integrated platform for consumer engagement with the energy system. Eur. Counc. Energy Effic. Econ. Summer Study 2015, 1, 15–23. [Google Scholar]
  45. Bytschkow, D.; Capone, A.; Mayer, J.; Kramer, M.; Licklederer, T. An OPC UA-based Energy Management Platform for Multi-Energy Prosumers in Districts. In Proceedings of the 2019 IEEE PES Innovative Smart Grid Technologies Europe (ISGT-Europe), Bucharest, Romania, 29 September–2 October 2019; pp. 1–5. [Google Scholar]
  46. Mamounakis, I.; Vergados, D.J.; Makris, P.; Varvarigos, E.; Mavridis, T. A virtual microgrid platform for the efficient orchestration of multiple energy prosumers. In Proceedings of the 19th Panhellenic Conference on Informatics (PCI’15), Athens, Greece, 1–3 October 2015. [Google Scholar]
  47. Küfeoğlu, S.; Lehtonen, M. Comparison of different models for estimating the residential sector customer interruption costs. Electr. Power Syst. Res. 2015, 122, 50–55. [Google Scholar] [CrossRef] [Green Version]
  48. Samuel, O.; Almogren, A.; Javaid, A.; Zuair, M.; Ullah, I.; Javaid, N. Leveraging blockchain technology for secure energy trading and least-cost evaluation of decentralized contributions to electrification in Sub-Saharan Africa. Entropy 2020, 22, 226. [Google Scholar] [CrossRef] [Green Version]
  49. Engeland, K.; Borga, M.; Creutin, J.-D.; François, B.; Ramos, M.-H.; Vidal, J.-P. Space-time variability of climate variables and intermittent renewable electricity production—A review. Renew. Sustain. Energy Rev. 2017, 79, 600–617. [Google Scholar] [CrossRef]
  50. Etukudor, C.; Couraud, B.; Robu, V.; Früh, W.-G.; Flynn, D.; Okereke, C. Automated negotiation for peer-to-peer electricity trading in local energy markets. Energies 2020, 13, 920. [Google Scholar] [CrossRef] [Green Version]
  51. Narayanan, A.; Haapaniemi, J.; Kaipia, T.; Partanen, J. Economic impacts of power-based tariffs on peer-to-peer electricity exchange in community microgrids. In Proceedings of the International Conference on the European Energy Market, EEM, Lodz, Poland, 27–29 June 2018. [Google Scholar]
  52. Kuzemko, C.; Lawrence, A.; Watson, M. New directions in the international political economy of energy. Rev. Int. Polit. Econ. 2019, 26, 1–24. [Google Scholar] [CrossRef] [Green Version]
  53. Van Leeuwen, G.; AlSkaif, T.; Gibescu, M.; van Sark, W. An integrated blockchain-based energy management platform with bilateral trading for microgrid communities. Appl. Energy 2020, 263, 114613. [Google Scholar] [CrossRef]
  54. Huang, H.; Nie, S.; Lin, J.; Wang, Y.; Dong, J. Optimization of peer-to-peer power trading in a microgrid with distributed PV and battery energy storage systems. Sustainability 2020, 12, 923. [Google Scholar] [CrossRef] [Green Version]
  55. Ghaemi, S.; Khazaei, H.; Musilek, P. ChainFaaS: An open blockchain-based serverless platform. IEEE Access 2020, 8, 131760–131778. [Google Scholar] [CrossRef]
  56. Anthony, B.; Petersen, S.A.; Ahlers, D.; Krogstie, J.; Livik, K. Big data-oriented energy prosumption service in smart community districts: A multi-case study perspective. Energy Inform. 2019, 2, 36. [Google Scholar] [CrossRef]
  57. Cornélusse, B.; Savelli, I.; Paoletti, S.; Giannitrapani, A.; Vicino, A. A community microgrid architecture with an internal local market. Appl. Energy 2019, 242, 547–560. [Google Scholar] [CrossRef] [Green Version]
  58. Eisele, S.; Eghtesad, T.; Campanelli, K.; Agrawal, P.; Laszka, A.; Dubey, A. Safe and private forward-trading platform for transactive microgrids. arXiv 2019, arXiv:1910.12579. [Google Scholar]
  59. Laszka, A.; Eisele, S.; Dubey, A.; Karsai, G.; Kvaternik, K. TRANSAX: A blockchain-based decentralized forward-trading energy exchanged for transactive microgrids. In Proceedings of the 24th International Conference on Parallel and Distributed Systems (ICPADS), Singapore, Singapore, 11–13 December 2018; pp. 918–927. [Google Scholar]
  60. Li, S.; Lian, J.; Conejo, A.; Zhang, W. Transactive energy system: Market-Based coordination of distributed energy resources. arXiv 2019, arXiv:1908.03641. [Google Scholar]
  61. Vergados, D.J.; Mamounakis, I.; Makris, P.; Varvarigos, E. Prosumer clustering into virtual microgrids for cost reduction in renewable energy trading markets. Sustain. Energy Grids Netw. 2016, 7, 90–103. [Google Scholar] [CrossRef]
  62. Cui, S.; Wang, Y.; Xiao, J. Peer-to-Peer energy sharing among smart energy buildings by distributed transaction. IEEE Trans. Smart Grid 2019, 6, 6491–6501. [Google Scholar] [CrossRef]
  63. Cui, S.; Wang, Y.; Shi, Y.; Xiao, J. A new and fair Peer-to-Peer energy sharing framework for energy buildings. IEEE Trans. Smart Grid 2020, 11, 3817–3826. [Google Scholar] [CrossRef]
  64. Ghorbanian, M.; Dolatabadi, S.H.; Siano, P.; Kouveliotis-Lysikatos, I.; Hatziargyriou, N.D. Methods for flexible management of blockchain-based cryptocurrencies in electricity markets and smart grids. IEEE Trans. Smart Grid 2020, 11, 4227–4235. [Google Scholar] [CrossRef]
  65. Praça, I.; Ramos, S.; Andrade, R.; da Silva, A.S.; Sica, E.T. Analysis and simulation of local energy markets. In Proceedings of the 2019 16th International Conference on the European Energy Market (EEM), Ljubljana, Slovenia, 18–20 September 2019; pp. 1–5. [Google Scholar]
  66. Neves, D.; Scott, I.; Silva, C.A. Peer-to-peer energy trading potential: An assessment for the residential sector under different technology and tariff availabilities. Energy 2020, 205, 118023. [Google Scholar] [CrossRef]
  67. Almenning, O.M.; Bjarghov, S.; Farahmand, H. Reducing Neighborhood Peak Loads with implicit Peer-to-Peer energy trading under Subscribed Capacity tariffs. In Proceedings of the 2019 International Conference on Smart Energy Systems and Technologies (SEST), Porto, Portugal, 9–11 September 2019; pp. 1–6. [Google Scholar]
  68. Liang, B.; Liu, W.; Sun, L.; He, Z.; Hou, B. An aggregated model for energy management considering crowdsourcing behaviors of distributed energy resources. IEEE Access 2020, 7, 145757–145766. [Google Scholar] [CrossRef]
  69. Zepter, J.M.; Lüth, A.; Del Granado, P.C.; Egging, R. Prosumer integration in wholesale electricity markets: Synergies of peer-to-peer trade and residential storage. Energy Build. 2019, 184, 163–176. [Google Scholar] [CrossRef]
  70. Neagu, B.C.; Gavrilaş, M.; Pentiuc, R.D.; Hopulele, E. Optimal Placement of Energy Storage Systems in Microgrids Using a PSO based Approach. In Proceedings of the 2019 IEEE PES Innovative Smart Grid Technologies Europe (ISGT-Europe), Bucharest, Romania, 29 September–2 October 2019; pp. 1–5. [Google Scholar] [CrossRef]
  71. Faraji, J.; Ketabi, A.; Hashemi-Dezaki, H. Optimization of the scheduling and operation of prosumers considering the loss of life costs of battery storage systems. J. Energy Storage 2020, 31, 101655. [Google Scholar] [CrossRef]
  72. All You Need to Know to Become A Prosumer. Available online: https://energyindustryreview.com/renewables/all-you-need-to-know-to-become-a-prosumer/ (accessed on 4 August 2020).
  73. Neagu, B.C.; Grigoras, G. A Fair Load Sharing Approach Based on Microgrid Clusters and Transactive Energy Concept. In Proceedings of the 12th International Conference on Electronics, Computers and Artificial Intelligence (ECAI 2020), Bucharest, Romania, 25–27 June 2020; pp. 1–5. [Google Scholar]
  74. Electricity Market Monitoring Report—April 2020. Available online: https://www.anre.ro/en/electric-energy/legislation/electictricity-market-monitoring/2020 (accessed on 4 August 2020).
Figure 1. The basic diagram of the proposed market algorithm.
Figure 1. The basic diagram of the proposed market algorithm.
Sustainability 12 07265 g001
Figure 2. The basic diagram of the primary market ‘first-come-first-served’ trading mechanism.
Figure 2. The basic diagram of the primary market ‘first-come-first-served’ trading mechanism.
Sustainability 12 07265 g002
Figure 3. The basic diagram of the primary market merit-order trading mechanism.
Figure 3. The basic diagram of the primary market merit-order trading mechanism.
Sustainability 12 07265 g003
Figure 4. The merit-order trading mechanism.
Figure 4. The merit-order trading mechanism.
Sustainability 12 07265 g004
Figure 5. The flowchart of the primary market trading algorithm.
Figure 5. The flowchart of the primary market trading algorithm.
Sustainability 12 07265 g005
Figure 6. The flowchart of the social inclusion tier of the secondary market.
Figure 6. The flowchart of the social inclusion tier of the secondary market.
Sustainability 12 07265 g006
Figure 7. The flowchart of the secondary market fee-access model.
Figure 7. The flowchart of the secondary market fee-access model.
Sustainability 12 07265 g007
Figure 8. The flowchart of the secondary market invite-access model.
Figure 8. The flowchart of the secondary market invite-access model.
Sustainability 12 07265 g008
Figure 9. The low voltage (LV) microgrid used in the case study.
Figure 9. The low voltage (LV) microgrid used in the case study.
Sustainability 12 07265 g009
Figure 10. The total electricity surplus: (a) hourly; (b) for each prosumer.
Figure 10. The total electricity surplus: (a) hourly; (b) for each prosumer.
Sustainability 12 07265 g010
Figure 11. The buyer quantity offers in the primary market: (a) hourly; (b) for each consumer.
Figure 11. The buyer quantity offers in the primary market: (a) hourly; (b) for each consumer.
Sustainability 12 07265 g011
Figure 12. The traded quantities of the sellers in the primary market: (a) hourly; (b) for each prosumer.
Figure 12. The traded quantities of the sellers in the primary market: (a) hourly; (b) for each prosumer.
Sustainability 12 07265 g012
Figure 13. The traded quantities of the buyers in the primary market: (a) hourly; (b) for each consumer.
Figure 13. The traded quantities of the buyers in the primary market: (a) hourly; (b) for each consumer.
Sustainability 12 07265 g013
Figure 14. The primary market cost for buyers: (a) The hourly values, first-come-first-serve (FCFS); (b) The values for each consumer, FCFS; (c) The hourly values, MO; (d) The values for each consumer, MO.
Figure 14. The primary market cost for buyers: (a) The hourly values, first-come-first-serve (FCFS); (b) The values for each consumer, FCFS; (c) The hourly values, MO; (d) The values for each consumer, MO.
Sustainability 12 07265 g014
Figure 15. The primary market revenue for sellers: (a) The hourly values, FCFS; (b) The values for each prosumer, FCFS; (c) The hourly values, MO; (d) The values for each prosumer, MO.
Figure 15. The primary market revenue for sellers: (a) The hourly values, FCFS; (b) The values for each prosumer, FCFS; (c) The hourly values, MO; (d) The values for each prosumer, MO.
Sustainability 12 07265 g015aSustainability 12 07265 g015b
Figure 16. The sell offers of the vendors in the energy poverty mitigation market: (a) hourly; (b) for each prosumer/consumer.
Figure 16. The sell offers of the vendors in the energy poverty mitigation market: (a) hourly; (b) for each prosumer/consumer.
Sustainability 12 07265 g016
Figure 17. The traded quantities of the vendors in the energy poverty mitigation market: (a) hourly; (b) for each prosumer.
Figure 17. The traded quantities of the vendors in the energy poverty mitigation market: (a) hourly; (b) for each prosumer.
Sustainability 12 07265 g017
Figure 18. The energy poverty mitigation market cost for buyers: (a) hourly values, FCFS; (b) daily values for each consumer, FCFS; (c) hourly values, MO; (d) daily values for each consumer, MO.
Figure 18. The energy poverty mitigation market cost for buyers: (a) hourly values, FCFS; (b) daily values for each consumer, FCFS; (c) hourly values, MO; (d) daily values for each consumer, MO.
Sustainability 12 07265 g018
Figure 19. The energy poverty mitigation market revenue for vendors: (a) hourly values, FCFS; (b) daily values for each consumer, FCFS; (c) hourly values, MO; (d) daily values for each consumer, MO.
Figure 19. The energy poverty mitigation market revenue for vendors: (a) hourly values, FCFS; (b) daily values for each consumer, FCFS; (c) hourly values, MO; (d) daily values for each consumer, MO.
Sustainability 12 07265 g019
Figure 20. The buyer quantity offers in the secondary tariff-access market: (a) hourly; (b) per consumer.
Figure 20. The buyer quantity offers in the secondary tariff-access market: (a) hourly; (b) per consumer.
Sustainability 12 07265 g020
Figure 21. The buyer quantities traded in the secondary tariff-access market: (a) hourly; (b) for each consumer.
Figure 21. The buyer quantities traded in the secondary tariff-access market: (a) hourly; (b) for each consumer.
Sustainability 12 07265 g021
Figure 22. The seller quantity offers in the secondary tariff-access market: (a) hourly; (b) for each seller.
Figure 22. The seller quantity offers in the secondary tariff-access market: (a) hourly; (b) for each seller.
Sustainability 12 07265 g022
Figure 23. The buyer quantities traded in the secondary tariff-access market: (a) hourly; (b) for each seller.
Figure 23. The buyer quantities traded in the secondary tariff-access market: (a) hourly; (b) for each seller.
Sustainability 12 07265 g023
Figure 24. The tariff-access market cost for buyers: (a) hourly values, FCFS; (b) daily values for each consumer, FCFS; (c) hourly values, merit-order (MO); (d) daily values for each consumer, MO.
Figure 24. The tariff-access market cost for buyers: (a) hourly values, FCFS; (b) daily values for each consumer, FCFS; (c) hourly values, merit-order (MO); (d) daily values for each consumer, MO.
Sustainability 12 07265 g024
Figure 25. The tariff-access market revenue for vendors: (a) hourly values, FCFS; (b) daily values for each consumer, FCFS; (c) hourly values, MO; (d) daily values for each consumer, MO.
Figure 25. The tariff-access market revenue for vendors: (a) hourly values, FCFS; (b) daily values for each consumer, FCFS; (c) hourly values, MO; (d) daily values for each consumer, MO.
Sustainability 12 07265 g025
Table 1. A comparison between the proposed model and the literature state-of-the-art survey.
Table 1. A comparison between the proposed model and the literature state-of-the-art survey.
Reference No.BlockchainP2P ContractsEnergy CrowdsourcingREScoopEnergy PovertySettlement Procedure
[16,29]YesYesYesNoNoNegotiated
[28]YesYesNoYesNoNegotiated
[24,25,44,49,57]NoNoNoYesNoNegotiated
[26,27]YesNoNoYesNoNegotiated
[30,31,32,35,38,42,56,60,65]NoYesNoNoNoNegotiated or MCP
[33,34,36,37,43,45]NoNoNoNoNoNegotiated
[39,46,50,51,69,71]NoYesNoYesNoNegotiated or MCP
[40,41,54,58,59]YesYesNoNoNoNegotiated
[53]YesYesNoNoYesNegotiated
[48,55,64]YesNoNoNoNoNegotiated
[61,66]NoNoNoNoYesNegotiated or MCP
[62,63]NoYesNoNoYesNegotiated
[68]NoYesYesNoNoNegotiated
Proposed modelYesYesYesYesYesNegotiated and MCP
Table 2. The prosumers’ electricity surplus, in kWh.
Table 2. The prosumers’ electricity surplus, in kWh.
HourP27P21P7P15P6P3P10P25Total
h60.0001.5880.0001.9480.0001.2082.4963.05210.292
h70.0001.8050.2631.5850.0001.8062.6163.48711.562
h80.6681.7260.7041.5860.0002.8790.7143.82612.103
h91.4371.7491.0562.2280.7412.8361.2793.95615.282
h101.6072.2921.0931.3021.1163.2512.7944.23217.687
h111.6552.0381.4002.7751.8863.3720.0004.17517.301
h121.5951.8221.2251.8802.3283.3920.9804.06017.282
h131.5080.6851.4132.8262.2943.4620.8264.24017.254
h141.3721.1821.3852.9451.3473.1780.0004.21415.623
h151.1062.0281.0481.5461.1842.3310.0003.70212.945
h160.5630.8190.4101.3250.0002.1330.0003.2098.459
h170.0000.0000.0001.0620.0001.1340.0462.8775.119
h180.0001.1700.0001.1610.0001.2210.9142.5997.065
Total11.51118.9049.99724.16910.89632.20312.66547.629167.974
Table 3. The daily offer, traded and remaining quantities for each buyer in the primary market, kWh.
Table 3. The daily offer, traded and remaining quantities for each buyer in the primary market, kWh.
ConsumerC5C8C9C11C12C14C16C19C20C24C26Total
Consumption
(offers FCFS)
21.2524.4430.7018.968.7920.9223.844.0812.9025.2712.26203.41
offers MO 23.225.3030.916.509.3020.8023.84.1011.8025.2012.50203.40
traded FCFS17.3220.2925.0715.336.0413.2016.543.089.0521.049.44156.40
traded MO12.5525.3026.4210.304.8520.8016.361.407.4024.024.70154.10
rem. FCFS3.934.155.623.642.757.727.301.013.854.232.8247.01
rem. MO10.6504.486.204.4507.442.704.401.187.8049.30
Table 4. The hourly offer, traded and remaining quantities in the primary market for all buyers, kWh.
Table 4. The hourly offer, traded and remaining quantities in the primary market for all buyers, kWh.
Hourh06h07h08h09h10h11h12h13h14h15h16h17h18Total
Consumption
(offer FCFS)
11.814.0618.8713.4713.5514.9616.0418.1613.712.8315.2320.7719.99203.43
offer MO12.114.917.513.613.614.713.618.313.81415.820.521203.40
traded FCFS10.2911.5612.113.4713.5514.9616.0417.2513.712.838.465.127.07156.40
traded MO10.2911.5612.113.613.614.713.617.2513.812.958.465.127.07154.10
rem. FCFS1.512.56.7700000.91006.7715.6512.9247.03
rem. MO1.813.345.4000001.0501.057.3415.3813.9349.30
Table 5. The daily offer, traded and remaining quantities for each seller in the primary market, kWh.
Table 5. The daily offer, traded and remaining quantities for each seller in the primary market, kWh.
ProsumerP27P21P7P15P6P3P10P25Total
surplus11.5118.9010.0024.1710.9032.2012.6747.63167.97
traded FCFS11.5117.729.8822.878.9225.2012.6747.63156.40
traded MO11.519.8910.0019.8010.9031.7112.6747.63154.10
rem. FCFS01.180.111.301.987.000011.58
rem. MO09.0204.3700.490013.88
Table 6. The hourly offer, traded and remaining quantities in the primary market, for all sellers, kWh.
Table 6. The hourly offer, traded and remaining quantities in the primary market, for all sellers, kWh.
Hourh06h07h08h09h10h11h12h13h14h15h16h17h18Total
Surplus10.2911.5612.1015.2817.6917.3017.2817.2515.6212.958.465.127.07167.97
traded FCFS10.2911.5612.1013.4713.5514.9616.0417.2513.7012.838.465.127.07156.40
traded MO10.2911.5612.1013.6013.6014.7013.6017.2513.8012.958.465.127.07154.10
rem. FCFS0001.824.142.351.2401.920.1100011.58
rem. MO0001.684.092.603.6801.82000013.88
Table 7. The daily cost for each buyer in the primary market, mu.
Table 7. The daily cost for each buyer in the primary market, mu.
ConsumersC5C8C9C11C12C14C16C19C20C24C26Total
FCFSMCP8.289.2311.306.962.705.877.591.364.009.424.3971.11
COP7.8012.1713.797.972.907.928.101.204.9811.994.7283.54
POP8.289.2311.306.962.705.877.591.364.009.424.3971.11
MOMCP6.4013.1513.915.442.4710.898.490.683.9412.532.4680.36
COP5.6515.1814.535.362.3312.488.010.554.0713.692.3584.20
POP6.0310.5211.794.802.349.007.910.673.4110.562.2569.28
Table 8. The hourly cost in the primary market for all buyers, mu.
Table 8. The hourly cost in the primary market for all buyers, mu.
Consumersh06h07h08h09h10h11h12h13h14h15h16h17h18Total
FCFSMCP4.745.315.586.116.066.817.307.736.125.903.872.303.2871.11
COP5.606.336.217.207.357.848.519.127.517.064.422.613.7983.54
POP4.745.315.586.116.066.817.307.736.125.903.872.303.2871.11
MOMCP5.666.366.667.486.397.066.539.496.627.124.652.463.8980.36
COP5.666.436.607.287.337.687.269.137.537.184.903.054.1584.20
POP4.745.315.586.045.906.525.947.736.135.953.872.303.2869.28
Table 9. The daily revenue for each seller in the primary market, mu.
Table 9. The daily revenue for each seller in the primary market, mu.
ProsumersP27P21P7P15P6P3P10P25Total
FCFSMCP4.959.753.9510.983.8311.855.3220.4871.11
COP6.029.045.1511.864.7413.957.0425.7483.54
POP4.959.753.9510.983.8311.855.3220.4871.11
MOMCP5.885.445.1310.505.5116.446.6724.7880.36
COP6.114.986.009.805.9016.257.5427.6184.20
POP4.955.444.009.514.6914.905.3220.4869.28
Table 10. The hourly revenue in the primary market for all sellers, mu.
Table 10. The hourly revenue in the primary market for all sellers, mu.
Prosumersh06h07h08h09h10h11h12h13h14h15h16h17h18Total
FCFSMCP4.745.315.586.116.066.817.307.736.125.903.872.303.2871.11
COP5.606.336.217.207.357.848.519.127.517.064.422.613.7983.54
POP4.745.315.586.116.066.817.307.736.125.903.872.303.2871.11
MOMCP5.666.366.667.486.397.066.539.496.627.124.652.463.8980.36
COP5.666.436.607.287.337.687.269.137.537.184.903.054.1584.20
POP4.745.315.586.045.906.525.947.736.135.953.872.303.2869.28
Table 11. The daily traded quantities for consumer C28 in the energy poverty mitigation market, kWh.
Table 11. The daily traded quantities for consumer C28 in the energy poverty mitigation market, kWh.
ConsumerC28
Consumption (offers FCFS)1.79
offers MO 1.79
traded FCFS0.72
traded MO1.79
rem. FCFS1.07
rem. MO0
Table 12. The hourly traded quantities in the poverty mitigation market for consumer C28, kWh.
Table 12. The hourly traded quantities in the poverty mitigation market for consumer C28, kWh.
Hourh06h07h08h09h10h11h12h13h14h15h16h17h18Total
Consumption (offer FCFS)0.190.140.15000.080.510.060.020.240.090.080.231.79
offer MO0.190.140.15000.080.510.060.020.240.090.080.231.79
traded FCFS000000.080.5100.020.110000.72
traded MO0.190.140.15000.080.510.060.020.240.090.080.231.79
rem. FCFS0.190.140.1500000.0600.130.090.080.231.07
rem. MO00000000000000
Table 13. The daily traded quantities for each vendor in the energy poverty mitigation market, kWh.
Table 13. The daily traded quantities for each vendor in the energy poverty mitigation market, kWh.
VendorP21P7P15P6P3C5C9C11C12C16C19C20C24C26Total
surplus FCFS1.180.111.301.987.0000000000011.58
surplus MO9.0204.3700.4910.654.486.204.467.442.704.401.187.8063.18
traded FCFS00.1100.530.080000000000.72
traded MO000.6000.00000001.180001.79
rem. FCFS1.180.001.301.456.9200000000010.86
rem. MO9.020.003.7600.4910.654.486.204.467.441.524.401.187.8061.39
Table 14. The hourly traded quantities in the energy poverty mitigation market for all vendors, kWh.
Table 14. The hourly traded quantities in the energy poverty mitigation market for all vendors, kWh.
Hourh06h07h08h09h10h11h12h13h14h15h16h17h18Total
surplus FCFS0001.824.142.351.2401.920.1100011.58
surplus MO1.813.345.401.684.092.603.681.051.821.067.3415.3813.9463.18
traded-FCFS00000.000.080.5100.020.110000.72
traded-MO0.190.140.150.000.000.080.510.060.020.240.090.080.231.79
rem. FCFS0001.824.142.270.7301.90000010.86
rem. MO1.623.205.251.684.082.533.170.991.800.817.2515.3013.7161.39
Table 15. The daily cost for each consumer in the energy poverty mitigation market, mu.
Table 15. The daily cost for each consumer in the energy poverty mitigation market, mu.
ConsumersC28
FCFSPOP0.72
MOPOP0.75
Table 16. The hourly cost for all buyers in the energy poverty mitigation market, mu.
Table 16. The hourly cost for all buyers in the energy poverty mitigation market, mu.
Consumersh06h07h08h09h10h11h12h13h14h15h16h17h18Total
FCFSPOP00000.000.080.5100.020.110000.72
MOPOP0.070.050.0600.000.040.240.020.010.100.030.030.090.75
Table 17. The daily revenue for each vendor in the energy poverty mitigation market, mu.
Table 17. The daily revenue for each vendor in the energy poverty mitigation market, mu.
VendorsP21P7P15P6P3C5C9C11C12C16C19C20C24C26Total
FCFSPOP00.1100.530.080000000000.72
MOPOP000.2900.00000000.460000.75
Table 18. The hourly revenue in the energy poverty mitigation market for all vendors, mu.
Table 18. The hourly revenue in the energy poverty mitigation market for all vendors, mu.
Prosumersh06h07h08h09h10h11h12h13h14h15h16h17h18Total
FCFSPOP00000.000.080.5100.020.110000.72
MOPOP0.070.050.0600.000.040.240.020.010.100.030.030.090.75
Table 19. The daily traded quantities for each buyer in the secondary tariff market, kWh.
Table 19. The daily traded quantities for each buyer in the secondary tariff market, kWh.
ConsumerC13C17C18Total
offer FCFS7.308.556.6222.48
offer MO7.308.556.6222.48
traded FCFS2.492.992.207.67
traded MO7.307.616.3621.28
rem. FCFS4.825.574.4314.81
rem. MO0.000.940.261.20
Table 20. The hourly traded quantities in the secondary tariff market for all buyers, kWh.
Table 20. The hourly traded quantities in the secondary tariff market for all buyers, kWh.
Hourh06h07h08h09h10h11h12h13h14h15h16h17h18Total
offer FCFS1.991.031.111.392.121.852.161.081.581.552.411.792.4222.48
offer MO1.991.031.111.392.121.852.161.081.581.552.411.792.4222.48
traded FCFS0001.392.121.850.7301.5800007.67
traded MO1.621.031.111.392.121.852.160.991.580.812.411.792.4221.28
rem. FCFS1.991.031.110.000.000.001.431.080.001.552.411.792.4214.81
rem. MO0.380.000.000.000.000.000.000.090.000.740.000.000.001.20
Table 21. The daily traded quantities for each vendor in the secondary tariff market, kWh.
Table 21. The daily traded quantities for each vendor in the secondary tariff market, kWh.
VendorP21P15P6P3C5C9C11C12C16C19C20C24C26Total
surplus FCFS1.181.301.456.9200000000010.86
surplus MO9.023.760.000.4910.654.486.204.467.441.524.401.187.8061.39
traded FCFS0.8601.455.360000000007.67
traded MO4.843.7600.496.3800.002.781.511.5200021.28
rem. FCFS0.321.3001.560000000003.19
rem. MO4.170004.274.486.201.685.9404.401.187.8040.11
Table 22. The hourly traded quantities in the secondary tariff market for all vendors, kWh.
Table 22. The hourly traded quantities in the secondary tariff market for all vendors, kWh.
Hourh06h07h08h09h10h11h12h13h14h15h16h17h18Total
surplus FCFS0001.824.142.270.7301.90000010.86
surplus MO1.623.205.251.684.082.533.170.991.800.817.2515.3013.7161.39
traded FCFS0001.392.121.850.7301.5800007.67
traded MO1.621.031.111.392.121.852.160.991.580.812.411.792.4221.28
diff FCFS0000.432.020.420.0000.3200003.19
diff MO02.164.140.301.960.671.0100.2304.8413.5111.2940.11
Table 23. The daily cost for each consumer in the tariff-access market, mu.
Table 23. The daily cost for each consumer in the tariff-access market, mu.
ConsumersC13C17C18TotalTotal + 10% Fee
FCFSMCP1.141.471.013.613.98
COP1.170.900.922.993.29
POP1.141.471.013.613.98
MOMCP3.713.863.2010.7711.85
COP3.432.282.678.399.23
POP3.373.843.0210.2311.26
Table 24. The hourly cost for all buyers in the tariff-access market, mu.
Table 24. The hourly cost for all buyers in the tariff-access market, mu.
Consumersh06h07h08h09h10h11h12h13h14h15h16h17h18TotalTotal + 10% Fee
FCFSMCP0000.651.000.870.3200.7800003.613.98
COP0000.560.880.650.3400.5500002.993.29
POP0000.651.000.870.3200.7800003.613.98
MOMCP0.790.500.500.761.171.021.190.450.870.391.180.811.1610.7711.85
COP0.750.450.420.560.880.650.880.380.550.330.950.650.958.399.23
POP0.770.470.490.761.040.991.090.430.820.371.120.791.1010.2311.26
Table 25. The daily revenue for each vendor in the tariff-access market, mu.
Table 25. The daily revenue for each vendor in the tariff-access market, mu.
VendorsP21P15P6P3C5C9C11C12C16C19C20C24C26Total
FCFSMCP0.4700.622.520000000003.61
COP0.2600.632.100000000002.99
POP0.4700.622.520000000003.61
MOMCP2.662.0700.272.97001.350.740.7100010.77
COP1.651.6500.232.55001.050.560.700008.39
POP2.661.8100.232.87001.330.740.5900010.23
Table 26. The hourly revenue in the tariff-access market for all vendors, mu.
Table 26. The hourly revenue in the tariff-access market for all vendors, mu.
Prosumersh06h07h08h09h10h11h12h13h14h15h16h17h18Total
FCFSMCP0000.651.000.870.3200.7800003.61
COP0000.560.880.650.3400.5500002.99
POP0000.651.000.870.3200.7800003.61
MOMCP0.790.500.500.761.171.021.190.450.870.391.180.811.1610.77
COP0.750.450.420.560.880.650.880.380.550.330.950.650.958.39
POP0.770.470.490.761.040.991.090.430.820.371.120.791.1010.23
Table 27. The surplus of prosumer P21 in the primary and secondary markets (energy poverty mitigation and tariff-access), kWh.
Table 27. The surplus of prosumer P21 in the primary and secondary markets (energy poverty mitigation and tariff-access), kWh.
HourInitial
Generation
Surplus
InitialAfter the Primary MarketAfter the Secondary Market, 1st TierAfter the Secondary Market, 2nd Tier (Tariff-Access)
h012.3611.588000
h022.7851.805000
h033.2861.726000
h043.3291.7491.6821.6820.296
h053.6392.2922.2922.2921.963
h063.7512.0382.0382.0380.672
h073.7351.8221.8221.8221.014
h083.8120.685000
h093.7421.1821.1821.1820.227
h103.4612.028000
h112.8320.819000
h122.4030000
h132.2371.17000
Total41.37318.9049.0169.0164.172
Table 28. Comparison between the quantities sold by prosumer P21 in the tariff- and invite-access markets, kWh.
Table 28. Comparison between the quantities sold by prosumer P21 in the tariff- and invite-access markets, kWh.
HourSurplus, P21Consumption, C22Electricity Sold in the Tariff-Access MarketElectricity Sold to C22 in the Invite-Access Market
h0601.34000
h0700.96000
h0800.27000
h091.6820.4201.3860.420
h102.2921.0000.3291.000
h112.0380.9301.3660.930
h121.8221.0500.8081.050
h1301.02000
h141.1820.9700.9550.970
h1501.01000
h1601.11000
h1701.54000
h1801.63000
Total9.01613.2504.8444.370
Table 29. The evolution of the electricity quantities bought from the grid in the time interval 06:00–18:00, before and after trading on each market segment, kWh.
Table 29. The evolution of the electricity quantities bought from the grid in the time interval 06:00–18:00, before and after trading on each market segment, kWh.
Trading Priority in PMInitial Consumption (No Market)Traded in PMConsumer Surplus for SMConsumption Bought from the Grid after PMTraded in SM1Traded in SM2Consumption Bought from the Grid after SM
FCFS203.41156.4047.010.727.6738.62
MO203.41154.149.3198.621.7921.2875.55
Table 30. The evolution of the surplus quantities sold to the grid in the hourly interval 06:00–18:00, after trading on each market segment, kWh.
Table 30. The evolution of the surplus quantities sold to the grid in the hourly interval 06:00–18:00, after trading on each market segment, kWh.
Market Player TypePM Trading PriorityInitial SurplusTraded in PMSurplus after PMTraded in SM1Traded in SM2Surplus after SM
prosumersFCFS167.97156.411.580.727.673.18
MO167.97154.113.880.69.14.17
consumersFCFS000000
MO0049.311.1812.6835.45
Table 31. Comparison between the costs of the consumers in each market segment and for each settlement price, mu.
Table 31. Comparison between the costs of the consumers in each market segment and for each settlement price, mu.
Trading Priority in PMSettlement PricePMSM1SM2SMTotal PM + SM
FCFSMCP71.1103.983.9875.09
COP83.5403.293.2986.83
POP71.110.723.984.775.81
MOMCP80.36011.8511.8592.21
COP84.209.239.2393.43
POP69.280.7511.2612.0181.29
Table 32. Comparison between the vendor revenues on all market segments, mu.
Table 32. Comparison between the vendor revenues on all market segments, mu.
SellersRevenue without Local MarketPM Trading PrioritySettlement PricePMSM1SM2SMTotal PM + SMTotal PM + SM + Grid
prosumers42.16FCFSMCP71.1103.613.6174.7275.52
COP83.5402.992.9986.5387.33
POP71.110.723.614.3375.4476.24
MOMCP80.3605585.3686.41
COP84.203.533.5387.7388.78
POP69.280.294.74.9974.2775.32
consumers12.38FCFSMCP0000012.38
COP00000
POP00000
MOMCP005.775.775.7714.67
COP004.864.864.8613.76
POP00.465.535.995.9914.89
Table 33. Comparison between the influence of the primary secondary market on the electricity costs for the microgrid, time interval 06:00–18:00, mu.
Table 33. Comparison between the influence of the primary secondary market on the electricity costs for the microgrid, time interval 06:00–18:00, mu.
PM Trading PrioritySettlement PriceCost with Regulated TariffCost with PMCost with PM and SM% Reduction PM% Reduction PM + SM
FCFSMCP136.89102.75101.0824.9426.16
COP136.89115.18112.8215.8617.59
POP136.89102.75101.8024.9425.64
MOMCP136.89146.73137.29−7.19−0.29
COP136.89150.57139.42−9.99−1.84
POP136.89135.65126.150.917.85

Share and Cite

MDPI and ACS Style

Neagu, B.-C.; Ivanov, O.; Grigoras, G.; Gavrilas, M.; Istrate, D.-M. New Market Model with Social and Commercial Tiers for Improved Prosumer Trading in Microgrids. Sustainability 2020, 12, 7265. https://doi.org/10.3390/su12187265

AMA Style

Neagu B-C, Ivanov O, Grigoras G, Gavrilas M, Istrate D-M. New Market Model with Social and Commercial Tiers for Improved Prosumer Trading in Microgrids. Sustainability. 2020; 12(18):7265. https://doi.org/10.3390/su12187265

Chicago/Turabian Style

Neagu, Bogdan-Constantin, Ovidiu Ivanov, Gheorghe Grigoras, Mihai Gavrilas, and Dumitru-Marcel Istrate. 2020. "New Market Model with Social and Commercial Tiers for Improved Prosumer Trading in Microgrids" Sustainability 12, no. 18: 7265. https://doi.org/10.3390/su12187265

APA Style

Neagu, B. -C., Ivanov, O., Grigoras, G., Gavrilas, M., & Istrate, D. -M. (2020). New Market Model with Social and Commercial Tiers for Improved Prosumer Trading in Microgrids. Sustainability, 12(18), 7265. https://doi.org/10.3390/su12187265

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