Machine Learning and Blockchain for Smart Factory Operations with Peer-to-Peer Transactive Energy Trading




Budde, Kathryn

Journal Title

Journal ISSN

Volume Title



As renewable energy has become more prominent in the commercial and private sector, the use of third-party utility companies will likely become obsolete for those who can produce energy on site. With the accessibility of wind turbines, solar photovoltaic panels, and electric vehicles, peer-to-peer transactive energy will give factories and enterprise systems the ability to buy and sell onsite or microgrid energy at their own price. However, power intermittency and high upfront investment remain the main obstacle against large use of onsite renewable generation. This thesis aims to accomplish following research tasks. First, for energy producers in a smart factory system, machine learning algorithms are implemented to forecast the uncertain climate conditions that affect these renewable energy generation, hence balancing the power output and the demand for a day-ahead prediction. Second, to forecast the wind speed, recurrent neural networks and long short-term memory models are shown to achieve promising results for the regression analysis. Third, for the classification of the weather condition, K-nearest neighbor, decision tree, and random forest models provide accurate predictions as well. These models are tested intensively in Austin, TX and Boston, MA with seven years from 2010 to 2016. Given these forecasts, distributed ledger technologies like blockchain can be further adopted to assist in operating a decentralized energy market. Manifested as smart contracts, blockchain facilitates the decentralized two-way energy transactions between individual industrial facilities or residential homes where the generation of excess renewable or microgrid energy will now be profitable.



mcahine learning, blockchain, photovoltaics, wind turbines, long short term memory, recurrent neural network, regression, classification, transactive, energy, distributed generation


Budde, K. (2023). Machine learning and blockchain for smart factory operations with peer-to-peer transactive energy trading (Unpublished thesis). Texas State University, San Marcos, Texas.


Rights Holder

Rights License

Rights URI