تجارة الطاقة من نظير إلى نظير المعتمدة على البلوكشين: تصميم وتنفيذ نظام إدارة الطاقة اللامركزي المعتمد على الرموز (DEMS) Blockchain‐Based Peer‐to‐Peer Energy Trading: Design and Implementation of the Tokenized Decentralized Energy Management System (DEMS)

شارك:
المجلة: IET Blockchain، المجلد: 6، العدد: 1
DOI: https://doi.org/10.1049/blc2.70039
تاريخ النشر: 2026-01-01
المؤلف: Demiral Akbar وآخرون
الموضوع الرئيسي: تطبيقات تكنولوجيا البلوكشين والأمان

نظرة عامة

تقدم البحث نظام إدارة الطاقة اللامركزي (DEMS) الذي يسهل التجارة الآمنة والشفافة للطاقة من نظير إلى نظير (P2P) من خلال تقنية البلوكشين. يستخدم النظام توكنات الطاقة عبر ENRTokens ويستفيد من العقود الذكية لأتمتة المعاملات، مما يقلل من الحاجة إلى الوسطاء المركزيين. مبني على بلوكشين مرخص، يعزز DEMS الشفافية، وقابلية التدقيق، وسلامة البيانات. تم اختبار التنفيذ على شبكة تحقق من أربعة عقد، ويتميز بهندسة عقود ذكية معيارية وبنية قائمة على الخدمات الصغيرة، مما يسمح بالتوسع والتكيف عبر مختلف مصنعي العدادات الذكية وشبكات البلوكشين. تشير النتائج التجريبية إلى نجاح التجارة القائمة على التوكنات للطاقة والتكامل الآمن مع بيانات العدادات الذكية في الوقت الحقيقي، بينما تدعم أيضًا آليات التسعير الديناميكية والقدرات متعددة اللغات.

في الختام، تُظهر منصة DEMS بفعالية إمكانيات التجارة بالطاقة من نظير إلى نظير المدعومة بالبلوكشين، مما يعرض التمثيل الرقمي لوحدات الطاقة من خلال ENRTokens. تشمل الإنجازات الرئيسية إنشاء بنية معيارية قوية، وتحويلات توكنات آمنة، وتكامل بيانات العدادات الذكية في الوقت الحقيقي. تم تصميم النظام ليتسم بالامتداد، متوقعًا تحسينات مستقبلية مثل خوارزميات التسعير الديناميكية وآليات المطابقة الآلية لتحسين كفاءة السوق. بخلاف تجارة الطاقة، فإن إطار عمل ENRTokens قابل للتكيف للتطبيقات مثل المدفوعات الصغيرة وتبادلات ائتمانات الكربون. تهدف التطورات المستقبلية إلى الانتقال إلى شبكات البلوكشين العامة مثل Ethereum أو Polygon، مما يعزز قابلية التوسع والشفافية العالمية. بشكل عام، يمثل DEMS تقدمًا كبيرًا في نظام الطاقة اللامركزي، حيث يدمج أمان البلوكشين مع معالجة البيانات في الوقت الحقيقي وإدارة الأصول الرقمية.

مقدمة

تناقش مقدمة هذه الورقة البحثية التحول الجذري في أنظمة الطاقة المعاصرة نحو نماذج لامركزية ومركزية على المستخدم، مدفوعة بارتفاع تقنيات التوليد الموزع. تسلط الضوء على عدم كفاية إدارة الطاقة المركزية التقليدية، لا سيما فيما يتعلق بالمرونة والشفافية ومشاركة أصحاب المصلحة. يقترح المؤلفون بنية تحتية قائمة على البلوكشين تهدف إلى تسهيل تبادل الطاقة الآمن والشفاف من نظير إلى نظير بين المنتجين والمستهلكين والمستهلكين المنتجين ضمن مناطق الطاقة الإيجابية (PEDs). يستفيد هذا النموذج من طبقات البلوكشين المرخصة والعقود الذكية لتعزيز التحقق من المعاملات والمساءلة، مما يدعم في النهاية الهدف المتمثل في إنتاج طاقة أكثر مما يتم استهلاكه من خلال مصادر الطاقة المتجددة المحلية.

تناقش الورقة أيضًا التحديات التي تواجهها الأسواق التقليدية للطاقة، مثل ارتفاع تكاليف المعاملات ومشاركة المستخدمين المحدودة، والتي تتفاقم بسبب الزيادة في وجود المستهلكين المنتجين. من خلال استخدام تقنية البلوكشين، يهدف النظام المقترح إلى تقليل هذه الحواجز من خلال تسجيل البيانات بشكل لامركزي وتفاعلات آمنة. يقدم المؤلفون إطار عمل مبني على Hyperledger Besu، يتميز بهيكل ENRToken لتمثيل الطاقة الرقمية وهندسة العقود الذكية لأتمتة المعاملات. تعزز هذه البنية التحتية الأمان والكفاءة، كما تعزز الاستجابة في الوقت الحقيقي وقابلية التوسع، مما يعزز من مشاركة أصحاب المصلحة وثقتهم في سوق الطاقة. تؤكد الدراسة على أهمية آليات المصادقة المتوافقة مع Web3 وتهدف إلى دمج بيانات الطاقة بشكل آمن في شبكة البلوكشين، مع استبعاد المواضيع المتعلقة بالأجهزة من نطاقها.

الطرق

تحدد قسم الطرق الإطار المعماري لمنصة نظام إدارة الطاقة اللامركزي (DEMS)، مع التركيز على مكوناته البرمجية وهندسة شبكة البلوكشين. توضح النموذج التوكيني المستخدم، وآليات المصادقة المعمول بها، والخدمات لجمع البيانات ودمجها. علاوة على ذلك، يوضح القسم وظائف تفاعل المستخدم، مع تسليط الضوء على تصميم وتنفيذ العمليات الخاصة بالنظام، الذي تم بناؤه على بنية تحتية مخصصة للبلوكشين مصممة لتجارة الطاقة الرقمية. كما يتم فحص العلاقات المتبادلة بين المكونات المختلفة لتوفير فهم شامل لديناميات تشغيل النظام.

النتائج

تظهر نتائج تنفيذ منصة DEMS تقدمًا كبيرًا في تجارة الطاقة اللامركزية من خلال تقنية البلوكشين. تستخدم المنصة توكنات رقمية لوحدات الطاقة، مما يسهل المعاملات من نظير إلى نظير عبر العقود الذكية، مما يقلل من الاعتماد على الوسطاء. تشمل التحسينات الرئيسية المصادقة المتوافقة مع Web3، وجمع البيانات الموحد من خلال واجهات برمجة التطبيقات (APIs)، والتحقق التشفيري من بيانات الطاقة، مما يساهم جميعه في تحسين الموثوقية والوظائف. يضمن استخدام بنية بلوكشين مرخصة تواريخ معاملات شفافة وقابلة للتدقيق، مما يعزز سلامة البيانات والأمان. لقد أظهر النظام أداءً مستقرًا تحت أحمال المعاملات المتزايدة، مع أوقات تأكيد كتلة متوسطة تقل عن ثانيتين، مما يشير إلى قابليته للتوسع لتطبيقات الشبكات الصغيرة.

يدعم هيكل المنصة محاسبة الطاقة في الوقت الحقيقي من خلال واجهة برمجة تطبيقات RESTful مركزية، والتي تقترب من الاكتمال وستتيح التواصل الآمن مع أجهزة القياس الذكية. على الرغم من أن التكامل الكامل مع بيانات الطاقة الحية لا يزال معلقًا، فقد تم اختبار الوحدات الأساسية في بيئة محاكاة. لقد أثبت عقد ENRToken الذكي قوته في الأمان والكفاءة التشغيلية، بينما سهل نظام المصادقة الهجين الذي يجمع بين الطرق التقليدية وWeb3 انتقال المستخدمين. بشكل عام، تؤسس منصة DEMS دليلاً قويًا على مفهوم التجارة بالطاقة اللامركزية، مما يمهد الطريق لتحسينات مستقبلية ونشر واسع النطاق في مجتمعات الطاقة الواقعية. تساهم الرؤى المكتسبة خلال التطوير في المجال الأوسع لأنظمة إدارة الطاقة اللامركزية، مما يعزز الإمكانية لتبادلات الطاقة الرقمية القابلة للتوسع والآمنة.

المناقشة

تعتبر منصة DEMS سوق طاقة لامركزية قائمة على البلوكشين مصممة لتسهيل تبادل الطاقة الآمن داخل المجتمعات المحلية. تعمل على شبكة خاصة مرخصة باستخدام Hyperledger Besu، مع تحقيق الإجماع من خلال بروتوكول تحمل الأخطاء البيزنطية بإسطنبول 2.0 (IBFT 2.0). تتكون البنية المعمارية من مكونات رئيسية، بما في ذلك العقود الذكية لتجارة الطاقة (ENRToken وعقد منطق الأعمال)، ووحدة مصادقة متوافقة مع Web3، وواجهات برمجة التطبيقات RESTful لجمع بيانات الطاقة. يمثل ENRToken، المتوافق مع معيار ERC-20، وحدات الطاقة الرقمية ويمكّن المستخدمين من المشاركة في كل من اتفاقيات من نظير إلى نظير (P2P) وسيناريوهات التجارة القائمة على المزادات. يسمح نموذج المصادقة الهجين للمنصة للمستخدمين بتسجيل الدخول باستخدام بيانات الاعتماد التقليدية أو محافظ Ethereum، مما يعزز الأمان وتجربة المستخدم.

تشير تقييمات الأداء إلى أن منصة DEMS تعمل بكفاءة، مع معدلات معاملات تتراوح بين 5 إلى 7 معاملات في الثانية وزمن استجابة منخفض، مما يجعلها مناسبة للمجتمعات الطاقية الصغيرة إلى المتوسطة. يتم الحفاظ على سلامة تحويلات التوكنات من خلال آليات قوية في عقد ENRToken الذكي، مما يضمن تحويلات دقيقة بين ENRTokens وETH. تحدد تدابير الأمان الوصول للمستخدمين المصرح لهم، وقد أظهر النظام مقاومة ضد المعاملات غير المصرح بها. ستركز الأعمال المستقبلية على دمج بيانات العدادات الذكية وإجراء تحليلات أداء شاملة لعقد EnergyTransaction، مما يحقق مزيدًا من التحقق من قدرات المنصة في التطبيقات الواقعية. بشكل عام، تمثل منصة DEMS حلاً قابلاً للتوسع لتجارة الطاقة اللامركزية، مما يعزز الشفافية والكفاءة في أسواق الطاقة.

Journal: IET Blockchain, Volume: 6, Issue: 1
DOI: https://doi.org/10.1049/blc2.70039
Publication Date: 2026-01-01
Author(s): Demiral Akbar et al.
Primary Topic: Blockchain Technology Applications and Security

Overview

The research presents a Decentralized Energy Management System (DEMS) that facilitates secure and transparent peer-to-peer (P2P) energy trading through blockchain technology. The system employs energy tokenization via ENRTokens and utilizes smart contracts to automate transactions, thereby reducing the need for centralized intermediaries. Built on a permissioned blockchain, DEMS enhances transparency, auditability, and data integrity. The implementation, tested on a four-node validator network, features a modular smart contract architecture and a microservices-based structure, allowing for scalability and adaptability across various smart meter manufacturers and blockchain networks. Experimental results indicate successful token-based energy trades and secure integration with real-time smart meter data, while also supporting dynamic pricing mechanisms and multilingual capabilities.

In conclusion, the DEMS platform effectively demonstrates the potential of blockchain-enabled P2P energy trading, showcasing the digital representation of energy units through ENRTokens. Key achievements include the establishment of a robust modular architecture, secure token transfers, and real-time smart meter data integration. The system is designed for extensibility, anticipating future enhancements such as dynamic pricing algorithms and automated matching mechanisms to improve market efficiency. Beyond energy trading, the ENRTokens framework is adaptable for applications like micro-payments and carbon credit exchanges. Future developments aim to transition to public blockchain networks like Ethereum or Polygon, enhancing scalability and global transparency. Overall, DEMS represents a significant advancement in the decentralized energy ecosystem, integrating blockchain security with real-time data processing and digital asset management.

Introduction

The introduction of this research paper discusses the transformative shift in contemporary energy systems towards decentralized and user-centered models, driven by the rise of distributed generation technologies. It highlights the inadequacies of traditional centralized energy management, particularly regarding flexibility, transparency, and stakeholder engagement. The authors propose a blockchain-based infrastructure aimed at facilitating secure and transparent peer-to-peer energy exchanges among producers, consumers, and prosumers within Positive Energy Districts (PEDs). This model leverages permissioned blockchain layers and smart contracts to enhance transaction verification and accountability, ultimately supporting the goal of producing more energy than consumed through local renewable sources.

The paper also addresses the challenges faced by conventional energy markets, such as high transaction costs and limited user participation, which are exacerbated by the increasing presence of prosumers. By utilizing blockchain technology, the proposed system aims to reduce these barriers through decentralized data recording and secure interactions. The authors present a framework built on Hyperledger Besu, featuring an ENRToken structure for digital energy representation and a smart contract architecture to automate transactions. This infrastructure not only enhances security and efficiency but also promotes real-time responsiveness and scalability, thereby fostering greater stakeholder engagement and trust in the energy marketplace. The study emphasizes the importance of Web3-compatible authentication mechanisms and aims to securely integrate energy data into the blockchain network, while excluding hardware-related topics from its scope.

Methods

The Methods section delineates the architectural framework of the Decentralized Energy Management System (DEMS) platform, emphasizing its software components and blockchain network architecture. It details the token model employed, the authentication mechanisms in place, and the services for data collection and integration. Furthermore, the section elucidates user interaction functionalities, highlighting the design and implementation processes of the system, which is built on a dedicated blockchain infrastructure tailored for digital energy trading. The interrelationships among the various components are also examined to provide a comprehensive understanding of the system’s operational dynamics.

Results

The results of the DEMS platform implementation demonstrate significant advancements in decentralized energy trading through blockchain technology. The platform utilizes digital tokens for energy units, facilitating peer-to-peer transactions via smart contracts, which reduces reliance on intermediaries. Key enhancements include Web3-compatible authentication, standardized data collection through APIs, and cryptographic verification of energy data, all contributing to improved reliability and functionality. The use of a permissioned blockchain architecture ensures transparent and auditable transaction histories, enhancing data integrity and security. The system has shown stable performance under increased transaction loads, with average block confirmation times under 2 seconds, indicating its scalability for microgrid applications.

The platform’s architecture supports real-time energy accounting through a centralized RESTful API, which is nearing completion and will enable secure communication with smart metering devices. Although full integration with live energy data is pending, foundational modules have been tested in a simulated environment. The ENRToken smart contract has proven robust in security and operational efficiency, while the hybrid authentication system combining traditional and Web3 methods has facilitated user transition. Overall, the DEMS platform establishes a solid proof-of-concept for decentralized energy trading, paving the way for future optimizations and large-scale deployments in real-world energy communities. The insights gained during development contribute to the broader field of decentralized energy management systems, enhancing the potential for scalable and secure digital energy exchanges.

Discussion

The DEMS platform is a blockchain-based decentralized energy market designed to facilitate secure energy exchanges within local communities. It operates on a private, permissioned network using Hyperledger Besu, with consensus achieved through the Istanbul Byzantine Fault Tolerance 2.0 (IBFT 2.0) protocol. The architecture comprises key components, including smart contracts for energy trading (ENRToken and a business logic contract), a Web3-compatible authentication module, and RESTful APIs for energy data collection. The ENRToken, compliant with the ERC-20 standard, represents digital energy units and enables users to engage in both peer-to-peer (P2P) agreements and auction-based trading scenarios. The platform’s hybrid authentication model allows users to log in using traditional credentials or Ethereum wallets, enhancing security and user experience.

Performance evaluations indicate that the DEMS platform operates efficiently, with transaction rates of 5 to 7 transactions per second and low latency, making it suitable for small to medium-scale energy communities. The integrity of token transfers is maintained through robust mechanisms in the ENRToken smart contract, ensuring accurate conversions between ENRTokens and ETH. Security measures restrict access to authorized users, and the system has demonstrated resilience against unauthorized transactions. Future work will focus on integrating smart meter data and conducting comprehensive performance analyses of the EnergyTransaction contract, further validating the platform’s capabilities in real-world applications. Overall, the DEMS platform exemplifies a scalable solution for decentralized energy trading, promoting transparency and efficiency in energy markets.