Patent attributes
Distributed energy trading settlement is provided. The method comprises polling a number of Internet-of-Things (IoT) devices for energy consumption and production data for a specified preceding time interval and receiving weather data from a weather application programming interface (API) for the same time interval. A number of bids and offers are received from a central modelling solution within a specified trading window, based on the data from the IoT devices and weather API. Orders are then created from the bids and offers. At least a subset of the orders are matched to create a number of matched trades, which are published to a message queue. The published matched trades are committed as transactions in a blockchain, and tokens are transferred between user wallets according to the transactions in the blockchain.