LabChain: A Modular Laboratory Platform for Experimental Study of Prosumer Behavior in Decentralized Energy Systems †
Abstract
1. Introduction
1.1. Motivation
1.2. Research Objective
- Problem Identification
- Objective Definition
- Identify requirements for an interactive laboratory tool to investigate P2P market designs from a prosumer perspective;
- Implement the software components of the system;
- Devise a case study for the laboratory execution, as well as an in-depth research design to investigate participants’ perception of the modeled energy system;
- Execute the interactive simulation and collect data;
- Analyze data and assess the effectiveness of the design.
- To what extent does the implemented LabChain prototype fulfill the system requirements and thus support the investigation of prosumer behavior in synthetic P2P electricity markets?
- How do the laboratory participants perceive the system’s affordance and where does the system fall short in empowering the laboratory participants?
- Design and implementation of the LabChain infrastructure as a modular laboratory environment for studying P2P electricity markets, integrating prototype blockchain-based record-keeping, synthetic market interfaces, and asset representations;
- Specification of market, software, and system requirements that structure the design and enable systematic evaluation;
- Development of a reusable experimental workflow and research design evaluating configurable case studies in an interactive simulation;
- Execution and analysis of a small-scale proof-of-concept experiment that demonstrates the technical and methodological feasibility of the approach and illustrates how prosumer interaction and perceptions can be studied with LabChain in a qualitative, theme-oriented evaluation.
1.3. System Requirements
- Variation in prosumer electricity trade behavior can reasonably be measured within a laboratory context;
- The LabChain system provides the affordances relevant for P2P electricity trade;
- The LabChain P2P exchange model provides the versatility required to compare heterogeneous cases within the discourse.
- P2P Market Requirements (PMRs)
- The P2P market shall reflect the heterogeneity of the market approaches in the literature, in particular with respect to bid-matching and pricing;
- The P2P market shall provide an atomic and modular foundation that additional concepts can be built upon and should not exhibit any inherent mechanics such as matching algorithms or fundamentally complex offers;
- The P2P market should allow for flexible roles for the participants;
- The P2P market should allow for finely granular behavior and strategy;
- The P2P market shall provide a high degree of control.
- Software Requirements (SoRs)
- The software shall provide affordances for all actions necessary for market participation and the operation of prosumer assets;
- The software shall allow for planning and preparation of future actions by the prosumers;
- The software shall provide a clear user interface;
- The software shall be modular and allow for adaptability.
- System Requirements (SyRs)
- The system shall use real implementations of the technologies it is based on and provide the technical demonstration;
- The system should aid users’ understanding of the idiosyncrasies and effects of the technologies used;
- The system shall allow for flexible and adaptable prosumer asset and market configuration, as well as energy system parameters;
- The system shall allow to record extensive behavioral data for the analysis of diverse research questions.
1.4. Structure
2. Background
2.1. Peer-to-Peer Electricity Trade
- Market and System Designs
- Market Roles
2.2. Blockchain-Based Flexibility Trading
- The Original Blockchain Prototype for Flexibility Trading—A Short Digression
- Establishing mutual trust: In a peer-to-peer network, participants (prosumers) may not know or trust each other personally. Blockchain acts as an intermediary allowing trust to shift from a central company to the technology itself.
- Tamper-proof record keeping: The distributed ledger provides an immutable history of energy production and consumption. Once a transaction is recorded, it is cryptographically sealed. This ensures that no single participant can manipulate the data to fake energy generation or avoid payment.
- Registry: Solely handles the administrative layer, managing participant registration and whitelisting of devices.
- DayAheadTrading and IntradayTrading: Encapsulate the specific, distinct market mechanisms and business rules required for their respective time frames.
- AbstractBidManagement: Functions as an abstract parent contract to ensure modularity. It centralizes the shared business logic and data structures common to both bidding forms, thereby simplifying maintenance and extendability.
- Necessary Adaptation to the Original Solution
3. Materials and Methods
3.1. Case Study Design
- Experiment Execution
- {
- "paidFees": {
- "finalAmountTokens": "number"
- },
- "askCommitmentMarketActivity": [
- {
- "correspondingOffer": {
- "id": "string",
- "optionCreator": {
- "power": "number",
- "acceptedParty": "number", // id reference
- "price": "number",
- "optionCreator": "number", // id reference
- "deliveryTime": "number",
- "duration": "number",
- "id": "string"
- },
- "deliveryTime": "number",
- "duration": "number",
- "price": "number",
- "power": "number",
- "acceptedParty": {
- "power": "number",
- "acceptedParty": "number", // id reference
- "price": "number",
- "optionCreator": "number", // id reference
- "deliveryTime": "number",
- "duration": "number",
- "id": "string"
- }
- },
- "context": {
- "amountTokens": "number",
- "t": "number",
- "filterSetting": {
- "maxPrice": "number",
- "minDeliveryTime": "number",
- "maxDeliveryTime": "number",
- "minDuration": "number",
- "maxDuration": "number",
- "minPower": "number",
- "maxPower": "number"
- }
- }
- }
- ],
- "askMarketActivity": [
- /* same pattern as askCommitmentMarketActivity or other
- ask-events */
- ],
- "bidCommitmentMarketActivity": [
- /* commitment bid events, analogous structure if present */
- ],
- "bidMarketActivity": [
- /* non-commitment bid events, analogous structure if
- present */
- ],
- "feedInActivity": [
- {
- "volume": "number",
- "power": "number",
- "context": {
- "amountTokens": "number",
- "t": "number"
- }
- }
- ],
- "retailActivity": [
- {
- "volume": "number",
- "power": "number",
- "context": {
- "amountTokens": "number",
- "t": "number"
- }
- }
- ],
- "inbalanceFees": [
- {
- "timeStep": "number",
- "inbalancePower": "number",
- "inbalancePaid": "number"
- }
- ],
- "assetScheduling": [
- {
- "asset": "string",
- "scheduledTimeStep": "number",
- "plannedDispatchValue": "number",
- "context": {
- "t": "number",
- "schedulingIndex": "number"
- }
- }
- ]
- }
3.2. Experiment Evaluation
4. Research Infrastructure
4.1. Architecture
4.2. User Interface and Code/Software Organization
Services
4.3. External Layers/Implementation
4.3.1. Blockchain Layer
- How can the market design flexibility required in Section 1.3 be realized despite the rather strict slotting requirements of the blockchain-based representation of the flexibility market?
- How can a monopsony market (single buyer) be adapted to a peer-to-peer market?
- How can the synchronicity of information between clients be ensured without modifying the web server the clients are getting information from?
- How can the requirement to allow for several offers of one participant for one market time slot be reconciled with the blockchain-side validation of only allowing one offer per time slot and resource?
- Blockchain Connector Implementation
4.3.2. Database Layer
- Database Connector
4.3.3. Experiment Coordination Layer
- Experiment Coordination Layer Connector
5. Results and Discussion
5.1. Content Analysis
5.1.1. Operation
5.1.2. Strategy
5.1.3. Perception
5.1.4. Self-Optimization
5.1.5. Planning and Preparation
5.1.6. Decisions
5.1.7. Trading
5.1.8. Behavior
5.2. System Requirement Evaluation
5.2.1. P2P Market Requirements
- PMR 1:
- Allowance for Market Approach Heterogeneity
- PMR 2:
- Atomic and Modular Market
- PMR 3:
- Flexible Prosumer Roles
- PMR 4:
- Finely Granular Behavior and Strategy
- PMR 5:
- High Degree of Market Control
5.2.2. Software Requirements
- SoR 1:
- Affordances for Market Participation and Asset Operation
- SoR 2:
- Allow for Planning and Preparation
- SoR 3:
- Clear User Interface
- SoR 4:
- Modular Software Design
5.2.3. System Requirements
- SyR 1:
- Real Implementations of Technologies
- SyR 2:
- Understanding Technology Idiosyncrasies
- SyR 3:
- Flexible Configuration
- SyR 4:
- Behavioral Data Recording
5.3. Discussion of Objectives and Research Questions
- To what extent does the implemented LabChain prototype fulfill the system requirements and thus support the investigation of prosumer behavior in synthetic P2P electricity markets?
- How do the laboratory participants perceive the system’s affordance and where does the system fall short in empowering the laboratory participants?
- Variation in prosumer electricity trade behavior can reasonably be measured within a laboratory context;
- The LabChain system provides the affordances relevant for P2P electricity trade;
- The LabChain P2P exchange model provides the versatility required to compare heterogeneous cases within the discourse.
6. Conclusions
6.1. Limitations
6.2. Future Work
- Proposal for a Research Agenda
- Which price developments can be expected in (spatially) limited inelastic systems (such as microgrids) without economical balancing structures, such as external markets, risk aggregators, fixed purchasing rates, price-regulatory effects, etc.?
- What is the influence of different dynamical grid tariffs and fees on the actors in this system?
- How can the problems leading to dynamic grid tariffs be addressed by demand response or demand-side management measures? What economic benefit does this create or impede?
- What is the influence of flexible assets (such as storage units, flexible loads, flexible generators, etc.) and their connection to external systems (such as other microgrids) on the price dynamics addressed in the previous questions?
- How can the economic added value of asset flexibility be determined in this context? What pricing models (such as cost-based vs. opportunity-cost based vs. system benefit-based) can be used and what is their effect on the system? How can flexible consumption (as opposed a reference load curve) be determined? How can individualistically beneficial, but system-wide harmful strategic behavior, such as gaming, be prevented?
- What is the economic added value of flexibility platforms? What form do positive or negative effects take? What are the consequences of planned or implemented flexibility platforms?
- What is the influence of assigning redispatch cost to the originators of grid congestion on the (local) trade behavior?
- Which approaches exist to embed balancing group responsibility in P2P markets or microgrids and what are their (dis-)advantages within the laboratory context?
- What is the effect of introducing (different forms of) balancing markets into the considered use cases and research questions? To what extent does this depend on the restrictions of entrance of the assets? What is the effect of different sales possibilities of generators for different markets (such as energy-only markets (peer-to-peer, spot, and futures markets), flexibility markets, and reserve/balancing markets) on the systems driven by these markets, generator profitability, and consumer prices? What is the influence of market transparency on these research questions?
- What is the influence of transparency of offers and transactions on these price dynamics?
- What is the influence of the integration of spot and derivative markets on the investigated P2P markets? How does this influence differ with different market designs and whether these markets are endogenous or exogenous (intrinsically within the simulated system or extrinsically as a possibility to trade energy into/out of the system) to P2P the markets?
- What is the influence of aggregators in a highly granular market? What is the impact of market granularity on business models and what new business models does it enable? What is the influence of virtual power plants within the context of these business models and what are the (dis-)advantages compared with decentralized approaches?
- What forms of risk pooling do P2P markets and microgrids allow for and what are the (dis-)advantages of the different approaches?
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Appendix A. Interview Questions
- Software Affordances
- (a)
- To what extent did the software align with the participants’ intentions?
- (b)
- For which actions did the software not provide the required affordance (what did I want to do that I couldn’t/where did the software not provide me with what I needed)?
- Asset Operation Strategies
- (a)
- Did the participants feel they could operate their assets well?
- (b)
- How far into the future were they operated?
- (c)
- What circumstances influenced asset operation?
- (d)
- Did the dynamic prices of the retailer/grid operator have an influence on the behavior? If so, what/how?
- Trading Behavior [own (short-term, offer-focused) trading behavior; excluding market dynamics perception and strategies]
- (a)
- How would they describe their trading behavior?
- (b)
- How did this behavior change over time (throughout the simulation)? What was the reason for this?
- (c)
- To what extent did this behavior change in comparison to the isolated case?
- Market Dynamics Perception
- (a)
- How did the market develop over time?
- (b)
- Did the market have tighter/looser periods of time [for buying/selling]? What caused this (from their own perspective)? Were there ever problems buying/selling the electricity on the market as desired?
- (c)
- How were the price dynamics perceived?
- Energy trading strategies
- (a)
- What was the structure of their own offers placed into the market based on?
- (b)
- How much did their own standing offers influence newly created offers? How did the risk perception influence the participants’ state? How did this influence risk behavior?
- (c)
- How diverse were the own offers? Was risk taken into account? If so, how?
- (d)
- Was electricity traded for not just satisfying their own balance (i.e., purely immaterial/market-oriented)?
- Short-term/Long-term balancing strategies
- (a)
- How was electricity balanced?
- (b)
- How did the balancing strategy/behavior change throughout the simulation? How much was this based on the market situation?
- (c)
- What was the interplay between the short-term and long-term balancing strategy?
- Benefit P2P trading
- (a)
- Was a benefit seen in exchanging electricity with others?
- (b)
- What was positive/negative about trading with others?
- (c)
- How much was this made use of (compared to trading with retailer/grid operator)?
- Simulation Perception
- (a)
- How big a role did time pressure play?
- (b)
- How much did this influence participants’ behavior?
- (c)
- How real/artificial did it feel?
References
- Gribkova, D.; Milshina, Y. Energy Transition as a Response to Energy Challenges in Post-Pandemic Reality. Energies 2022, 15, 812. [Google Scholar] [CrossRef]
- European Commission. European Green Deal. Communication, 2019. Available online: https://eur-lex.europa.eu/resource.html?uri=cellar:b828d165-1c22-11ea-8c1f-01aa75ed71a1.0002.02/DOC_1&format=PDF (accessed on 18 December 2025).
- European Commission. Fit for 55 Climate Package. Policy Package, 2021. Available online: https://www.consilium.europa.eu/en/policies/fit-for-55/ (accessed on 18 December 2025).
- Bundesregierung. Federal Climate Action Act. Germany’s Climate Change Act (KSG) amended July 2024, 2024. Available online: https://www.bmuv.de/fileadmin/Daten_BMU/Download_PDF/Gesetze/ksg_final_en_bf.pdf (accessed on 18 December 2025).
- Bundesverfassungsgericht. Judgment of the Federal Constitutional Court—Neubauer et al. v Germany. Official Press Release and Judgment, 2021. Available online: https://www.bundesverfassungsgericht.de/SharedDocs/Entscheidungen/EN/2021/03/rs20210324_1bvr265618en.html (accessed on 18 December 2025).
- District Court of The Hague Judgment—Milieudefensie et al. v Royal Dutch Shell plc. Court Judgment (ECLI:NL:RBDHA:2021:5339), 2021. Available online: https://www.climatecasechart.com/document/milieudefensie-et-al-v-royal-dutch-shell-plc_c3e4 (accessed on 18 December 2025).
- International Energy Agency. Approximately 100 Million Households Rely on Rooftop Solar PV by 2030. 2022. Available online: https://www.iea.org/reports/approximately-100-million-households-rely-on-rooftop-solar-pv-by-2030 (accessed on 3 July 2025).
- Hahnel, U.J.; Herberz, M.; Pena-Bello, A.; Parra, D.; Brosch, T. Becoming prosumer: Revealing trading preferences and decision-making strategies in peer-to-peer energy communities. Energy Policy 2020, 137, 111098. [Google Scholar] [CrossRef]
- Sousa, T.; Soares, T.; Pinson, P.; Moret, F.; Baroche, T.; Sorin, E. Peer-to-peer and community-based markets: A comprehensive review. Renew. Sustain. Energy Rev. 2019, 104, 367–378. [Google Scholar] [CrossRef]
- Ableitner, L.; Tiefenbeck, V.; Meeuw, A.; Wörner, A.; Fleisch, E.; Wortmann, F. User behavior in a real-world peer-to-peer electricity market. Appl. Energy 2020, 270, 115061. [Google Scholar] [CrossRef]
- Zafar, R.; Mahmood, A.; Razzaq, S.; Ali, W.; Naeem, U.; Shehzad, K. Prosumer based energy management and sharing in smart grid. Renew. Sustain. Energy Rev. 2018, 82, 1675–1684. [Google Scholar] [CrossRef]
- Zhang, H.; Wang, J.; Ding, Y. Blockchain-based decentralized and secure keyless signature scheme for smart grid. Energy 2019, 180, 955–967. [Google Scholar] [CrossRef]
- Mengelkamp, E.; Schlund, D.; Weinhardt, C. Development and real-world application of a taxonomy for business models in local energy markets. Appl. Energy 2019, 256, 113913. [Google Scholar] [CrossRef]
- Ahl, A.; Yarime, M.; Tanaka, K.; Sagawa, D. Review of blockchain-based distributed energy: Implications for institutional development. Renew. Sustain. Energy Rev. 2019, 107, 200–211. [Google Scholar] [CrossRef]
- Kang, J.; Yu, R.; Huang, X.; Maharjan, S.; Zhang, Y.; Hossain, E. Enabling Localized Peer-to-Peer Electricity Trading among Plug-in Hybrid Electric Vehicles Using Consortium Blockchains. IEEE Trans. Ind. Inform. 2017, 13, 3154–3164. [Google Scholar] [CrossRef]
- Johanning, S.; Retzlaff, N.; Lämmel, P.; Dittwald, B.; Bruckner, T. LabChain: An Interactive Prototype for Synthetic Peer-to-Peer Trade Research in Experimental Energy Economics. In Proceedings of the 2020 17th International Conference on the European Energy Market (EEM), Stockholm, Sweden, 16–18 September 2020; pp. 1–10. [Google Scholar] [CrossRef]
- Bogensperger, A.; Zeiselmair, A.; Hinterstocker, M.; Dufter, C. Die Blockchain-Technologie Chance zur Transformation der Energiewirtschaft? Berichtsteil: Anwendungsfälle. 2018. Available online: https://share.google/wEHX5D2pzNwNzyATN (accessed on 28 March 2019).
- Staudt, P.; Golla, A.; Richter, B.; Schmidt, M.; Vom Scheidt, F.; Weinhardt, C. Behavioral Studies in Energy Economics: A Review and Research Framework. In Proceedings of the Local Energy, Global Markets, 42nd IAEE International Conference, Montreal, QC, Canada, 29 May–1 June 2019. [Google Scholar]
- Friedman, S.; Friedman, D.; Sunder, S. Experimental Methods: A Primer for Economists; Cambridge University Press: Cambridge, UK, 1994. [Google Scholar]
- Chamberlin, E.H. An experimental imperfect market. J. Political Econ. 1948, 56, 95–108. [Google Scholar] [CrossRef]
- Smith, V. Economics in the Laboratory. J. Econ. Perspect. 1994, 8, 113–131. [Google Scholar] [CrossRef]
- Smith, V.L. An Experimental Study of Competitive Market Behavior. J. Political Econ. 1962, 70, 111–137. [Google Scholar] [CrossRef]
- Andrew Muller, R.; Mestelman, S. Emission Trading with Shares and Coupons: A Laboratory Experiment. Energy J. 1994, 15, 185–211. [Google Scholar] [CrossRef]
- Dormady, N.C. Carbon auctions, energy markets & market power: An experimental analysis. Energy Econ. 2014, 44, 468–482. [Google Scholar] [CrossRef]
- Kiesling, L. Using Economic Experiments to Test Electricity Policy. Electr. J. 2005, 18, 43–50. [Google Scholar] [CrossRef]
- Henley, A.; Peirson, J. Residential energy demand and the interaction of price and temperature: British experimental evidence. Energy Econ. 1998, 20, 157–171. [Google Scholar] [CrossRef]
- Mengelkamp, E.; Staudt, P.; Gärttner, J.; Weinhardt, C.; Huber, J. Quantifying Factors for Participation in Local Electricity Markets. In Proceedings of the 2018 15th International Conference on the European Energy Market (EEM), Lodz, Poland, 27–29 June 2018; pp. 1–5. [Google Scholar] [CrossRef]
- An, J.; Lee, M.; Yeom, S.; Hong, T. Determining the Peer-to-Peer electricity trading price and strategy for energy prosumers and consumers within a microgrid. Appl. Energy 2020, 261, 114335. [Google Scholar] [CrossRef]
- Hackbarth, A.; Löbbe, S. Attitudes, preferences, and intentions of German households concerning participation in peer-to-peer electricity trading. Energy Policy 2020, 138, 111238. [Google Scholar] [CrossRef]
- Ahl, A.; Yarime, M.; Goto, M.; Chopra, S.S.; Kumar, N.M.; Tanaka, K.; Sagawa, D. Exploring blockchain for the energy transition: Opportunities and challenges based on a case study in Japan. Renew. Sustain. Energy Rev. 2020, 117, 109488. [Google Scholar] [CrossRef]
- Mengelkamp, E.; Staudt, P.; Gärttner, J.; Weinhardt, C. Trading on local energy markets: A comparison of market designs and bidding strategies. In Proceedings of the 2017 14th International Conference on the European Energy Market (EEM), Dresden, Germany, 6–9 June 2017; pp. 1–6. [Google Scholar] [CrossRef]
- Christidis, K.; Sikeridis, D.; Wang, Y.; Devetsikiotis, M. A framework for designing and evaluating realistic blockchain-based local energy markets. Appl. Energy 2021, 281, 115963. [Google Scholar] [CrossRef]
- Esmat, A.; de Vos, M.; Ghiassi-Farrokhfal, Y.; Palensky, P.; Epema, D. A novel decentralized platform for peer-to-peer energy trading market with blockchain technology. Appl. Energy 2021, 282, 116123. [Google Scholar]
- Hua, W.; Jiang, J.; Sun, H.; Wu, J. A blockchain based peer-to-peer trading framework integrating energy and carbon markets. Appl. Energy 2020, 279, 115539. [Google Scholar]
- Cali, U.; Çakir, O. Energy Policy Instruments for Distributed Ledger Technology Empowered Peer-to-Peer Local Energy Markets. IEEE Access 2019, 7, 82888–82900. [Google Scholar] [CrossRef]
- Jing, Z.; Pipattanasomporn, M.; Rahman, S. Blockchain-based Negawatt Trading Platform: Conceptual Architecture and Case Studies. In Proceedings of the 2019 IEEE PES GTD Grand International Conference and Exposition Asia (GTD Asia), Bangkok, Thailand, 19–23 March 2019; pp. 68–73. [Google Scholar] [CrossRef]
- Yan, X.; Lin, J.; Hu, Z.; Song, Y. P2P Trading Strategies in an Industrial Park Distribution Network Market Under Regulated Electricity Tariff. In Proceedings of the 2017 IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, China, 26–28 November 2017; pp. 1–5. [Google Scholar] [CrossRef]
- Zhou, Y.; Wu, J.; Long, C. Evaluation of peer-to-peer energy sharing mechanisms based on a multiagent simulation framework. Appl. Energy 2018, 222, 993–1022. [Google Scholar] [CrossRef]
- Zhou, Y.; Wu, J.; Long, C.; Cheng, M.; Zhang, C. Performance Evaluation of Peer-to-Peer Energy Sharing Models. Energy Procedia 2017, 143, 817–822. [Google Scholar] [CrossRef]
- Long, C.; Wu, J.; Zhang, C.; Thomas, L.; Cheng, M.; Jenkins, N. Peer-to-peer energy trading in a community microgrid. In Proceedings of the 2017 IEEE Power Energy Society General Meeting, Chicago, IL, USA, 16–20 July 2017; pp. 1–5. [Google Scholar] [CrossRef]
- Kuruseelan, S.; Vaithilingam, C. Peer-to-peer energy trading of a community connected with an AC and DC microgrid. Energies 2019, 12, 3709. [Google Scholar] [CrossRef]
- Long, C.; Zhou, Y.; Wu, J. A game theoretic approach for peer to peer energy trading. Energy Procedia 2019, 159, 454–459. [Google Scholar] [CrossRef]
- Moret, F.; Pinson, P. Energy Collectives: A Community and Fairness Based Approach to Future Electricity Markets. IEEE Trans. Power Syst. 2019, 34, 3994–4004. [Google Scholar] [CrossRef]
- Australian Renewable Energy Agency. Peer-to-Peer Distributed Ledger Technology Assessment. Available online: https://arena.gov.au/knowledge-bank/peer-peer-distributed-ledger-technology-assessment/ (accessed on 13 June 2020).
- Dorri, A.; Hill, A.; Kanhere, S.; Jurdak, R.; Luo, F.; Dong, Z.Y. Peer-to-Peer EnergyTrade: A Distributed Private Energy Trading Platform. In Proceedings of the 2019 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), Seoul, Republic of Korea, 14–17 May 2019; pp. 61–64. [Google Scholar] [CrossRef]
- Khorasany, M.; Mishra, Y.; Ledwich, G. Peer-to-peer market clearing framework for DERs using knapsack approximation algorithm. In Proceedings of the 2017 IEEE PES Innovative Smart Grid Technologies Conference Europe, (ISGT-Europe), Turin, Italy, 26–29 September 2017; Volume 2018, pp. 1–6. [Google Scholar] [CrossRef]
- Liu, C.; Chai, K.K.; Zhang, X.; Chen, Y. Peer-to-peer electricity trading system: Smart contracts based proof-of-benefit consensus protocol. Wirel. Netw. 2019, 27, 4217–4228. [Google Scholar] [CrossRef]
- 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. Syst. 2019, 49, 1612–1623. [Google Scholar] [CrossRef]
- Wu, Y.; Sun, X.; Tan, X.; Meng, L.; Yu, L.; Song, W.Z.; Tsang, D.H.K. Cooperative distributed energy generation and energy trading for future smart grid. In Proceedings of the 33rd Chinese Control Conference, Nanjing, China, 28–30 July 2014; pp. 8150–8157. [Google Scholar] [CrossRef]
- Wu, Y.; Tan, X.; Qian, L.; Tsang, D.H. Optimal management of local energy trading in future smart microgrid via pricing. In Proceedings of the 2015 IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), Hong Kong, China, 26 April–1 May 2015; pp. 570–575. [Google Scholar] [CrossRef]
- Wu, Y.; Tan, X.; Qian, L.; Tsang, D.H.; Song, W.Z.; Yu, L. Optimal pricing and energy scheduling for hybrid energy trading market in future smart grid. IEEE Trans. Ind. Inform. 2015, 11, 1585–1596. [Google Scholar] [CrossRef]
- Zhang, C.; Wu, J.; Cheng, M.; Zhou, Y.; Long, C. A Bidding System for Peer-to-Peer Energy Trading in a Grid-connected Microgrid. Energy Procedia 2016, 103, 147–152. [Google Scholar] [CrossRef]
- Zhou, Y.; Ci, S.; Li, H.; Yang, Y. A new framework for peer-to-peer energy sharing and coordination in the energy internet. In Proceedings of the 2017 IEEE International Conference on Communications (ICC), Paris, France, 21–25 May 2017; pp. 1–6. [Google Scholar] [CrossRef]
- Liu, N.; Yu, X.; Wang, C.; Li, C.; Ma, L.; Lei, J. Energy-Sharing Model with Price-Based Demand Response for Microgrids of Peer-to-Peer Prosumers. IEEE Trans. Power Syst. 2017, 32, 3569–3583. [Google Scholar] [CrossRef]
- 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]
- Sabounchi, M.; Wei, J. A Decentralized P2P Electricity Market Model for Microgrids. In Proceedings of the 2018 IEEE Power Energy Society General Meeting (PESGM), Portland, OR, USA, 5–10 August 2018; pp. 1–5. [Google Scholar] [CrossRef]
- Anoh, K.; Maharjan, S.; Ikpehai, A.; Zhang, Y.; Adebisi, B. Energy Peer-to-Peer Trading in Virtual Microgrids in Smart Grids: A Game-Theoretic Approach. IEEE Trans. Smart Grid 2019, 11, 1264–1275. [Google Scholar] [CrossRef]
- Cintuglu, M.H.; Martin, H.; Mohammed, O.A. Real-time implementation of multiagent-based game theory reverse auction model for microgrid market operation. IEEE Trans. Smart Grid 2015, 6, 1064–1072. [Google Scholar] [CrossRef]
- Davison, M.; Cranney, J.; Summers, T.; Townsend, C.D. Decentralised Energy Market for Implementation into the Intergrid Concept—Part I: Isolated System. In Proceedings of the 2018 7th International Conference on Renewable Energy Research and Applications (ICRERA), Paris, France, 14–17 October 2018; pp. 80–87. [Google Scholar] [CrossRef]
- van Aken, J.E. Management research based on the paradigm of the design sciences: The quest for field-tested and grounded technological Rules. J. Manag. Stud. 2004, 41, 219–246. [Google Scholar] [CrossRef]
- Gai, K.; Wu, Y.; Zhu, L.; Qiu, M.; Shen, M. Privacy-Preserving Energy Trading Using Consortium Blockchain in Smart Grid. IEEE Trans. Ind. Inform. 2019, 15, 3548–3558. [Google Scholar] [CrossRef]
- Ilak, P.; Rajšl, I.; Krajcar, S.; Zmijarević, Z.; Herenčić, L. Decentralised electricity trading in the microgrid. In Proceedings of the Mediterranean Conference on Power Generation, Transmission, Distribution and Energy Conversion (MEDPOWER2018), Dubrovnik, Croatia, 12–15 November 2018. [Google Scholar] [CrossRef]
- Xie, P.; Yan, W.; Xuan, P.; Zhu, J.; Wu, Y.; Li, X.; Zou, J. Conceptual Framework of Blockchain-based Electricity Trading for Neighborhood Renewable Energy. In Proceedings of the 2018 2nd IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, China, 20–22 October 2018; pp. 1–5. [Google Scholar] [CrossRef]
- Mengelkamp, E.; Gärttner, J.; Rock, K.; Kessler, S.; Orsini, L.; Weinhardt, C. Designing microgrid energy markets: A case study: The Brooklyn Microgrid. Appl. Energy 2018, 210, 870–880. [Google Scholar] [CrossRef]
- Orazgaliyev, D.; Lukpanov, Y.; Ukaegbu, I.A.; Sivanand Kumar Nunna, H.S. Towards the Application of Blockchain technology for Smart Grids in Kazakhstan. In Proceedings of the 2019 21st International Conference on Advanced Communication Technology (ICACT), PyeongChang, Republic of Korea, 17–20 February 2019; pp. 273–278. [Google Scholar] [CrossRef]
- Sabounchi, M.; Wei, J. Towards Resilient Networked Microgrids: Blockchain-Enabled Peer-to-Peer Electricity Trading Mechanisms. In Proceedings of the 2017 IEEE Conference on Energy Internet and Energy System Integration (EI2), Beijing, China, 26–28 November 2017; pp. 1–5. [Google Scholar] [CrossRef]
- Verma, P.; O’Regan, B.; Hayes, B.; Thakur, S.; Breslin, J.G. EnerPort: Irish Blockchain project for peer-to-peer energy trading. Energy Inform. 2018, 1, 14. [Google Scholar] [CrossRef]
- Lin, J.; Pipattanasomporn, M.; Rahman, S. Comparative analysis of blockchain-based smart contracts for solar electricity exchanges. In Proceedings of the 2019 IEEE Power Energy Society Innovative Smart Grid Technologies Conference (ISGT), Washington, DC, USA, 18–21 February 2019; pp. 1–5. [Google Scholar] [CrossRef]
- Mezquita, Y.; Gazafroudi, A.S.; Corchado, J.M.; Shafie-Khah, M.; Laaksonen, H.; Kamišalić, A. Multi-agent architecture for peer-to-peer electricity trading based on blockchain technology. In Proceedings of the 019 XXVII International Conference on Information, Communication and Automation Technologies (ICAT), Sarajevo, Bosnia and Herzegovina, 20–23 October 2019; pp. 1–6. [Google Scholar] [CrossRef]
- Murkin, J.; Chitchyan, R.; Byrne, A. Enabling peer-to-peer electricity trading. In Proceedings of the ICT for Sustainability 2016; Atlantis Press: Dordrecht, The Netherlands, 2016; pp. 234–235. [Google Scholar] [CrossRef]
- Mengelkamp, E.; Notheisen, B.; Beer, C.; Dauer, D.; Weinhardt, C. A blockchain-based smart grid: Towards sustainable local energy markets. Comput. Sci.-Res. Dev. 2018, 33, 207–214. [Google Scholar] [CrossRef]
- Shrestha, A.; Bishwokarma, R.; Chapagain, A.; Banjara, S.; Aryal, S.; Mali, B.; Thapa, R.; Bista, D.; Hayes, B.P.; Papadakis, A.; et al. Peer-to-Peer Energy Trading in Micro/Mini-Grids for Local Energy Communities: A Review and Case Study of Nepal. IEEE Access 2019, 7, 131911–131928. [Google Scholar] [CrossRef]
- Guerrero, J.; Chapman, A.C.; Verbič, G. Decentralized P2P Energy Trading under Network Constraints in a Low-Voltage Network. IEEE Trans. Smart Grid 2018, 10, 5163–5173. [Google Scholar] [CrossRef]
- Lüth, A.; Zepter, J.M.; Crespo del Granado, P.; Egging, R. Local electricity market designs for peer-to-peer trading: The role of battery flexibility. Appl. Energy 2018, 229, 1233–1243. [Google Scholar] [CrossRef]
- Devine, M.T.; Cuffe, P. Blockchain Electricity Trading Under Demurrage. IEEE Trans. Smart Grid 2019, 10, 2323–2325. [Google Scholar] [CrossRef]
- Mengelkamp, E.; Gärttner, J.; Weinhardt, C. Decentralizing energy systems through local energy markets: The LAMP-project. In Proceedings of the MKWI 2018—Multikonferenz Wirtschaftsinformatik, Lüneburg, Germany, 6–9 March 2018; Volume 2018, pp. 924–930. [Google Scholar]
- Block, C.; Neumann, D.; Weinhardt, C. A Market Mechanism for Energy Allocation in Micro-CHP Grids. In Proceedings of the Annual Hawaii International Conference on System Sciences (HICSS 2008), Waikoloa, HI, USA, 7–10 January 2008; p. 172. [Google Scholar] [CrossRef]
- Matamoros, J.; Gregoratti, D.; Dohler, M. Microgrids energy trading in islanding mode. In Proceedings of the 2012 IEEE Third International Conference on Smart Grid Communications (SmartGridComm), Tainan, Taiwan, 5–8 November 2012; pp. 49–54. [Google Scholar] [CrossRef]
- Morstyn, T.; McCulloch, M.D. Multiclass Energy Management for Peer-to-Peer Energy Trading Driven by Prosumer Preferences. IEEE Trans. Power Syst. 2019, 34, 4005–4014. [Google Scholar] [CrossRef]
- Murkin, J.; Chitchyan, R.; Ferguson, D. Goal-based automation of peer-to-peer electricity trading. In From Science to Society; Otjacques, B., Hitzelberger, P., Naumann, S., Wohlgemuth, V., Eds.; Springer: Berlin/Heidelberg, Germany, 2018. [Google Scholar] [CrossRef]
- Sorin, E.; Bobo, L.; Pinson, P. Consensus-Based Approach to Peer-to-Peer Electricity Markets with Product Differentiation. IEEE Trans. Power Syst. 2019, 34, 994–1004. [Google Scholar] [CrossRef]
- Teotia, F.; Bhakar, R. Local energy markets: Concept, design and operation. In Proceedings of the 2016 National Power Systems Conference (NPSC), Bhubaneswar, India, 19–21 December 2016; pp. 1–6. [Google Scholar] [CrossRef]
- Vytelingum, P.; Ramchurn, S.D.; Voice, T.D.; Rogers, A.; Jennings, N.R. Trading agents for the smart electricity grid. In Proceedings of the Ninth International Conference on Autonomous Agents and Multiagent Systems (AAMAS 2010), Toronto, ON, Canada, 10–14 May 2010; pp. 897–904. [Google Scholar]
- Chen, S.; Liu, C.C. From demand response to transactive energy: State of the art. J. Mod. Power Syst. Clean Energy 2017, 5, 10–19. [Google Scholar] [CrossRef]
- Leong, C.H.; Gu, C.; Li, F. Auction mechanism for P2P local energy trading considering physical constraints. Energy Procedia 2019, 158, 6613–6618. [Google Scholar] [CrossRef]
- PankiRaj, J.S.; Yassine, A.; Choudhury, S. An Auction Mechanism for Profit Maximization of Peer-to-Peer Energy Trading in Smart Grids. Procedia Comput. Sci. 2019, 151, 361–368. [Google Scholar] [CrossRef]
- Mihaylov, M.; Jurado, S.; Avellana, N.; Van Moffaert, K.; De Abril, I.M.; Nowé, A. NRGcoin: Virtual currency for trading of renewable energy in smart grids. In Proceedings of the 11th International Conference on the European Energy Market (EEM14), Krakow, Poland, 28–30 May 2014; pp. 1–6. [Google Scholar] [CrossRef]
- Tushar, W.; Saha, T.K.; Yuen, C.; Morstyn, T.; McCulloch, M.D.; Poor, H.V.; Wood, K.L. A motivational game-theoretic approach for peer-to-peer energy trading in the smart grid. Appl. Energy 2019, 243, 10–20. [Google Scholar] [CrossRef]
- Mihaylov, M.; Jurado, S.; Van Moffaert, K.; Avellana, N.; Nowé, A. NRG-X-change a novel mechanism for trading of renewable energy in smart grids. In Proceedings of the SMARTGREENS 2014—Proceedings of the 3rd International Conference on Smart Grids and Green IT Systems, Barcelona, Spain, 3–4 April 2014; pp. 101–106. [Google Scholar] [CrossRef]
- Saukh, O.; Papst, F.; Saukh, S. Synchronization Games in P2P Energy Trading. In Proceedings of the 2018 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (SmartGridComm), Aalborg, Denmark, 29–31 October 2018; pp. 1–6. [Google Scholar] [CrossRef]
- Morstyn, T.; Farrell, N.; Darby, S.J.; McCulloch, M.D. Using peer-to-peer energy-trading platforms to incentivize prosumers to form federated power plants. Nat. Energy 2018, 3, 94–101. [Google Scholar] [CrossRef]
- Górski, T. AdapT: A reusable package for implementing smart contracts that process transactions of congruous types. Softw. Impacts 2024, 21, 100694. [Google Scholar] [CrossRef]
- Hevner, A.R.; March, S.T.; Park, J.; Ram, S. Design science in information systems research. MIS Q. Manag. Inf. Syst. 2004, 28, 75–105. [Google Scholar] [CrossRef]
- Utz, M.; Johanning, S.; Roth, T.; Bruckner, T.; Strüker, J. From ambivalence to trust: Using blockchain in customer loyalty programs. Int. J. Inf. Manag. 2023, 68, 102496. [Google Scholar] [CrossRef]
- Rabiee, F. Focus-group interview and data analysis. Proc. Nutr. Soc. 2004, 63, 655–660. [Google Scholar] [CrossRef]
- Harding, G.; Taylor, K. Pharmacy Practice, 2nd ed.; Routledge: New York, NY, USA, 2017; pp. 1–468. [Google Scholar] [CrossRef]
- Braun, V.; Clarke, V. Using thematic analysis in psychology. Qual. Res. Psychol. 2006, 3, 77–101. [Google Scholar] [CrossRef]
- Onwuegbuzie, A.J.; Dickinson, W.B.; Leech, N.L.; Zoran, A.G. A Qualitative Framework for Collecting and Analyzing Data in Focus Group Research. Int. J. Qual. Methods 2009, 8, 1–21. [Google Scholar] [CrossRef]












| Motivation | References |
|---|---|
| Performance | |
| Settling time reduction | [44] |
| Improved system efficiency | [35] |
| Overcome scalability bottleneck of centralized systems | [59] |
| Less vulnerable than centralized solution | [61] |
| Efficiency | [62,63] |
| Cost-efficient transactions of smallest quantities | [63,64] |
| Higher operation speed | [65] |
| Scalability | [66,67] |
| Information Quality | |
| Source of truth | [44] |
| Security | [15,36,45,55,56,62,65,66,67,68,69,70] |
| Quality tracking | [35] |
| Auditability | [45,47] |
| Transparency | [61,63,64,71,72] |
| Traceability | [61,63] |
| Transaction authentication/authenticity | [55,70] |
| Transaction accuracy | [70] |
| Data integrity | [65] |
| Reliability | [66,69] |
| Robustness | [56,65,67] |
| Credibility | [63] |
| Empowerment | |
| Prosumer empowerment | [59] |
| Decentralization | [15,45,69] |
| Anonymity | [45] |
| Consensuality | [61] |
| Distributed architecture | [36] |
| Privacy preservance | [15,45] |
| Fairness | [68] |
| Disintermediation | [47] |
| User friendliness | [64,71] |
| Control shift to participants | [64] |
| Resolving conflicts of interest | [64] |
| Information symmetry | [64] |
| Motivation | References |
|---|---|
| Operational Parameters | |
| Operation simplification | [44] |
| Decentralized RT transactive energy management | [65] |
| Network monitoring and control (allowing system operators to monitor and control the network.) | [72] |
| Organizational Design | |
| Regulation streamlining | [44] |
| Societal benefit (potential to benefit economic, political, humanitarian, and legal sectors.) | [64] |
| Market Provision | |
| Decentralized market platform provision | [59,73] |
| Trustless market provision | [59] |
| Price-discriminatory market provision | [56] |
| Trading rules implementation | [72] |
| Market requirement suitability (of markets requiring automation, self-regulation and scalability.) | [67] |
| Transaction Execution | |
| Conditional/automated contract execution | [59,63,65] |
| Power of smart contracts | [62] |
| Transaction automization/autonomous operation | [62,63,66,69] |
| Allows coordination for P2P trading | [47] |
| Record of traded electricity | [74] |
| Secure and reliable transactions | [66] |
| Trade enforcement | [67] |
| Settling | |
| Capabilities for financial transactions | [59,63,69] |
| Transparent automated settlement system | [74] |
| Double-spending risk mitigation | [64] |
| Adaptable and secure financial model | [66] |
| Quick, guaranteed and cheap payment | [67] |
| Trust and involved parties | |
| Trusty (allows transactions without mutual trust.) | [15,61,62,68,75] |
| Tackle reliance on trusted parties | [45] |
| Increased resilience and trust in microgrids | [64] |
| Operation without central supervision | [76] |
| Certifiability | [66] |
| 3rd party management possibility | [67] |
| Openness | [63] |
| Technology Management | |
| Adressing need for innovative ICT | [41] |
| Online interruption possibility | [67] |
| Interoperability | [67] |
| Market Mechanism | Source |
|---|---|
| (Centrally) Optimized trade matching | [15,43,44,47,50,51,75,77,78,79,80,81,82,83] |
| Auction mechanisms | [15,37,40,46,58,65,66,67,68,71,73,76,82,83,84,85,86] |
| Order-book style matching | [59,63,64] |
| Pooled uniform pricing | [35,41,53,64,74,87,88] |
| Aggregator-determined pricing | [36] |
| Communally decided pricing | [38,40,43,54] |
| Game-theory-based pricing | [42,49,52,56,57,82,88] |
| Bilateral pricing | [69,74,82] |
| Actor/Role | Source |
|---|---|
| Aggregators | [15,35,36,44,55,56,58,82] |
| Grid or system operators | [37,43,46,48,52,55,58,66,69,73,82,83,85,87,89,90] |
| Community/trading managers/platform operators | [37,38,40,43,50,51,52,53,91] |
| Retailers | [44,73,88,91] |
| Utilities/suppliers | [35,38,48,50,51,52,53,64,82,87,89] |
| Energy sharing provider | [54] |
| Auctioneers | [56] |
| Controllers | [77] |
| Wholesalers | [44] |
| Governmental authorities | [35] |
| Load balancing authorities | [84] |
| Liquidity provider | [75] |
| Central market player | [76] |
| DER vendor | [91] |
| A wide potpourri of specialized agents | [58,69] |
| Prosumer | Aggregated Loads | Storage | PV System |
|---|---|---|---|
| Prosumer 1 | Large Load | - | Small PV |
| Prosumer 2 | Large Load | Household Storage | Large PV |
| Prosumer 3 | Large Load | Household Storage | Small PV |
| Prosumer 4 | Small Load | Household Storage | - |
| Prosumer 5 | Large Load | Household Storage | - |
| Prosumer 6 | Small Load | - | - |
| Prosumer 7 | Large Load | - | - |
| Asset | Parameters | ||
|---|---|---|---|
| Load Type | Shifting Length | Shifting Amount | Load Scaling |
| Large Load | 2 h | 10% of load | 6000 kWh/yr |
| Small Load | 2 h | 10% of load | 3500 kWh/yr |
| Storage Type | Charg. Power | Capacity | Charg. Efficiency |
| H. Storage | 2.5 kW | 5 kWh | 99% |
| PV Type | Peak Power | ||
| Large PV | 8.5 kW | ||
| Small PV | 3 kW | ||
| Institution | Number of Participants |
|---|---|
| Leipzig University | 5 |
| Stadtwerke Leipzig | 2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Johanning, S.; Lämmel, P.; Bruckner, T. LabChain: A Modular Laboratory Platform for Experimental Study of Prosumer Behavior in Decentralized Energy Systems. Appl. Sci. 2026, 16, 600. https://doi.org/10.3390/app16020600
Johanning S, Lämmel P, Bruckner T. LabChain: A Modular Laboratory Platform for Experimental Study of Prosumer Behavior in Decentralized Energy Systems. Applied Sciences. 2026; 16(2):600. https://doi.org/10.3390/app16020600
Chicago/Turabian StyleJohanning, Simon, Philipp Lämmel, and Thomas Bruckner. 2026. "LabChain: A Modular Laboratory Platform for Experimental Study of Prosumer Behavior in Decentralized Energy Systems" Applied Sciences 16, no. 2: 600. https://doi.org/10.3390/app16020600
APA StyleJohanning, S., Lämmel, P., & Bruckner, T. (2026). LabChain: A Modular Laboratory Platform for Experimental Study of Prosumer Behavior in Decentralized Energy Systems. Applied Sciences, 16(2), 600. https://doi.org/10.3390/app16020600

