In order to make full use of renewable energy and achieve local consumption
multi-energy systems need to be closely integrated and coordinated to form an organic whole. The optimization objectives of multi-energy system on the energy supply side
the transmission side and the demand side are analyzed. It is pointed out that there are problems in the collaborative optimization of multi-energy system
i. e.
it is difficult to identify the authenticity of multi-data and the multi-energy subject reputation. A consensus method of multi-energy interactive subject based on practical Byzantine fault tolerance(PBFT)algorithm is proposed
which focuses on the energy blockchain network under the energy supervision subject and the energy peer so that the multi-energy subjects are dishonest and distrustful. In this case
an effective consensus can be reached. The design simulates a blockchain network composed of multiple energy entities. Experimental results show that the above method can ensure effective consensus among multiple energy subjects
and the average consensus time for multi-energy subjects to process single requests increases with the number of subjects. In addition
the test results of the consensus throughput show that the consensus throughput under the energy peer is greater than the consensus throughput under the energy regulator.