The invention relates to the technical field of
power system protection, in particular to a high-temporal-spatial-resolution power carbon emission factor calculation method and
system and a readable storage medium. The method comprises the following steps: extracting entities and relationships from an
electricity-carbon document to form an
electricity-carbon triple, designing an
electricity-carbon table
data extraction method based on a
regular expression for an electricity-carbon table, and constructing an electricity-carbon
knowledge graph according to the obtained entities, relationships and attributes; then regarding a given question and an answer corresponding to the question as a sequence, designing an
electric power carbon emission
data retrieval method by combining
distance measurement query based on a
sequence matching idea and a bidirectional attention mechanism, and realizing discovery of a target
electric power carbon entity and an
electric power carbon attribute from an electric power carbon field
knowledge graph; further generating a corresponding calculation graph, and according to the
topological sorting of the calculation graph, calling related formulas in an electric carbon formula
library to complete calculation, so as to obtain a regional direct carbon emission factor; and finally, according to an electric power calling-in relation in the electricity-carbon
knowledge graph, performing correction on the basis of the regional direct carbon emission factor to obtain a regional average carbon emission factor considering electric power calling-in. The invention aims to solve the problem of how to improve the accuracy of power carbon emission factors.