Regulatory Analysis of Machine Learning in Smart Meter Gateway: Legal Metrology Perspective
Mahbuba Moni, Daniel Peters, Florian Thiel, Axel Sikora
DOI: http://dx.doi.org/10.15439/2026F4395
Citation: Mahbuba Moni, Daniel Peters, Florian Thiel, Axel Sikora (2026). Regulatory Analysis of Machine Learning in Smart Meter Gateway: Legal Metrology Perspective. In M. Bolanowski, M. Ganzha, M. Grzegorowski, L. Maciaszek, M. Paprzycki, A. Paszkiewicz, D. Ślęzak (eds), Proceedings of the 21st Conference on Computer Science and Intelligence Systems (FedCSIS). ACSIS, Vol. 47, pages 129–140.
Abstract. The integration of machine learning-based algorithms into regulated measuring instruments raises questions for approval frameworks that govern software-controlled functions and assume stable, fully specified states. In Europe, legally regulated smart metering is shaped by a layered framework combining international legal metrology concepts, EU-level harmonization, and Member-State-specific implementation and certification rules. This paper develops a 13-topic cross-standard assessment for integrating machine-learning-based algorithms into such instruments and applies it to the Smart Meter Gateway, a particularly stringent national case within the European smart-metering landscape. The results show that fixed-state deployment is largely compatible with the current framework, whereas evolving-state deployment produces ten conflicts. The analysis, therefore, clarifies the conditions under which fixed-state deployment can be accommodated within the current architecture and the regulatory extensions required for evolving-state deployment. The resulting structure provides a basis for future comparative analysis across other national smart-metering regimes and comparable regulated measurement domains.
References
- U. Grottker, M. Esche, and M. Elfroth, “PTB-Anforderungen 50.8 an BSI-zertifizierte Smart Meter Gateways,” PTB-Mitteilungen, vol. 125, no. 3, pp. 23–30, 2015. https://doi.org/10.7795/310.20150304
- K. Förderer, M. Lösch, R. Növer, M. Ronczka, and H. Schmeck, “Smart meter gateways: Options for a BSI-compliant integration of energy management systems,” Appl. Sci., vol. 9, no. 8, art. 1634, 2019. https://doi.org/10.3390/app9081634
- OIML, D 31: General requirements for software controlled measuring instruments, International Organization of Legal Metrology, Paris, France, 2023. [Online]. Available: https://www.oiml.org/en/files/pdf_d /d031-e23.pdf
- Physikalisch-Technische Bundesanstalt (PTB), PTB-Anforderungen PTB-A 50.8 “Smart Meter Gateway”, Ausgabe Dezember 2014. https: //doi.org/10.7795/510.20150728C
- Bundesamt für Sicherheit in der Informationstechnik, Protection Profile for a Smart Meter Gateway (SMGW-PP), BSI-CC-PP-0073-V2-2024, Version 2.0, 2024. [Online]. Available: https://www.bsi.bund.de/Shared Docs/Downloads/EN/BSI/Publications/TechGuidelines/TR03109/PP00 73_SMGW.html
- F. Thiel, “The European Artificial Intelligence Act and Legal Metrology,” OIML Bulletin, vol. LXVI, no. 3, 2025. [Online]. Available: https://www.oiml.org/en/publications/oiml-bulletin/2025-03/20250306
- M. Esche, L. Ho, M. Nischwitz, and S. Glesner, “Practical security of evidence for regulated artificial intelligence modules,” in Position Papers of the 20th Conf. on Computer Science and Intelligence Systems, ser. Annals of Computer Science and Information Systems, vol. 44, 2025, pp. 23–30. http://dx.doi.org/10.15439/2025F4971
- “Directive 2014/32/EU of 26 February 2014 on the harmonisation of the laws of the Member States relating to the making available on the market of measuring instruments (recast),” Official Journal of the European Union, 2014. [Online]. Available: https://eur-lex.europa.eu/eli/dir/2014/ 32/oj/eng
- “WELMEC Guide 7.2: Software Guide (EU Measuring Instruments Directive 2014/32/EU),” Version 2025. [Online]. Available: https://ww w.welmec.org/welmec/documents/guides/7.2/2025/WELMEC_Guide_7 .2_2025.pdf
- “WELMEC 7.3: Reference Architectures Based on WELMEC Guide 7.2,” 2020. [Online]. Available: https://www.welmec.org/welmec/docu ments/guides/7.3/2020/WELMEC_Guide_7.3_v2020.pdf
- “WELMEC Guide 7.4: Exemplary Applications of WELMEC Guide 7.2,” 2022. [Online]. Available: https://www.welmec.org/welmec/docu ments/guides/7.4/2022/WELMEC_Guide_7.4_v2022.pdf
- “WELMEC Guide 7.6: Software Risk Assessment for Measuring Instruments,” 2021. [Online]. Available: https://www.welmec.org/welmec/do cuments/guides/7.6/2021/WELMEC_Guide_7.6_v2021.pdf
- Bundesamt für Sicherheit in der Informationstechnik, Detailspezifikationen zur TR-03109-1, Version 2.0, 2024. Available: https://www.bsi.bu nd.de/SharedDocs/Downloads/DE/BSI/Publikationen/TechnischeRichtl inien/TR03109/TR-03109-1_Detailspezifikation_v2_0.pdf?__blob=publ icationFile&v=2
- “Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 laying down harmonised rules on artificial intelligence and amending Regulations (EC) No 300/2008, (EU) No 167/2013, (EU) No 168/2013, (EU) 2018/858, (EU) 2018/1139 and (EU) 2019/2144 and Directives 2014/90/EU, (EU) 2016/797 and (EU) 2020/1828 (Artificial Intelligence Act),” Official Journal of the European Union, 2024. [Online]. Available: https://eur-lex.europa.eu/eli/reg/2024/ 1689/oj
- “Regulation (EU) 2024/2847 of the European Parliament and of the Council of 23 October 2024 on horizontal cybersecurity requirements for products with digital elements and amending Regulations (EU) No 168/2013 and (EU) 2019/1020 and Directive (EU) 2020/1828 (Cyber Resilience Act),” Official Journal of the European Union, 2024. [Online]. Available: https://eur-lex.europa.eu/eli/reg/2024/2847/oj/eng
- “Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to the processing of personal data and on the free movement of such data, and repealing Directive 95/46/EC (General Data Protection Regulation),” Official Journal of the European Union, 2016. [Online]. Available: https://eur-lex.europa.eu/eli/reg/2016/679/oj
- “Gesetz über den Messstellenbetrieb und die Datenkommunikation in intelligenten Energienetzen (Messstellenbetriebsgesetz – MsbG),” 2016. [Online]. Available: https://www.gesetze-im-internet.de/messbg/MsbG .pdf
- J. Huang, Y. Zhu, L. Xu, Z. Zheng, W. Cui, and M. Sun, “On-device training of PV power forecasting models in a smart meter for grid edge intelligence,” https://arxiv.org/abs/2507.07016, 2025.[Online]. Available: https://arxiv. org/abs/2507.07016
- M. Rüb and A. Sikora, “A practical view on training neural networks in the edge,” IFAC-PapersOnLine, vol. 55, no. 4, pp. 272–279, 2022. [Online]. Available: https://doi.org/10.1016/j.ifacol.2022.06.045
- X. Wang, H. Wang, B. Bhandari et al., “AI-empowered methods for smart energy consumption: A review of load forecasting, anomaly detection and demand response,” Int. J. Precis. Eng. Manuf.-Green Techn., vol. 11, pp. 963–993, 2024. [Online]. Available: https://doi. org/10.1007/s40684-023-00537-0
- V. Artiushenko, S. Lang, C. Lerez, T. Reggelin, and M. HackertOschätzchen, “Resource-efficient Edge AI solution for predictive maintenance,” Procedia Computer Science, vol. 232, pp. 348–357, 2024.[Online]. Available: https://doi.org/10.1016/j.procs.2024.01.034
- M. Moni, D. Peters, F. Thiel, and A. Sikora, “Assessing the viability of on-device language models in legally controlled measuring instruments,” in Proc. 2025 IMEKO Joint Conf. TC8–TC11–TC24, Torino, Italy, 2025. [Online]. Available: https://doi.org/10.21014/tc11-2025.036
- Bundesamt für Sicherheit in der Informationstechnik, Technische Richtlinie BSI TR-03109-1: Anlage VI: Betriebsprozesse, Version 2.0, 2024. [Online]. Available: https://www.bsi.bund.de/SharedDocs/Downl oads/DE/BSI/Publikationen/TechnischeRichtlinien/TR03109/TR-03109 -1_Anlage_Betriebsprozesse_v2_0.pdf?__blob=publicationFile&v=2
- Bundesamt für Sicherheit in der Informationstechnik, Technische Richtlinie BSI TR-03109-1: Anforderungen an die Interoperabilität der Kommunikationseinheit eines intelligenten Messsystems, Version 2.0, 2024. [Online]. Available: https://www.bsi.bund.de/SharedDocs/D ownloads/DE/BSI/Publikationen/TechnischeRichtlinien/TR03109/TR-0 3109-1_Anforderungen_Interoperabilitaet_2_0.pdf?__blob=publication File&v=2
- Bundesamt für Sicherheit in der Informationstechnik, Testspezifikation zur Technischen Richtlinie TR-03109-1,Version 1.0, 2024.
- Bundesamt für Sicherheit in der Informationstechnik, Testspezifikation zur Technischen Richtlinie TR-03109-1 Version 2.0, 2025. [Online]. Available: https://www.bsi.bund.de/SharedDocs/Downloads/DE/BS I/Publikationen/TechnischeRichtlinien/TR03109/TR-03109-1_Testspezi fikation_Konformitaet.pdf?__blob=publicationFile&v=3
- PyMuPDF Documentation, “PyMuPDF,” [Online]. Available: https://py mupdf.readthedocs.io/
- D. Peters, M. Peter, J.-P. Seifert, and F. Thiel, “A secure system architecture for measuring instruments in legal metrology,” Computers, vol. 4, no. 2, pp. 61–86, 2015. [Online]. Available: https://doi.org/10.3 390/computers4020061