The invention discloses an oil and
gas pipeline safety assessment method and
system based on
stress monitoring and intelligent prediction, and a storage medium, relates to the field of oil and
gas pipeline safety monitoring and assessment, and aims to solve the problem that an oil and
gas pipeline safety monitoring and assessment method based on
stress monitoring and intelligent prediction is lacked in the prior art. And the potential safety
hazard of the pipeline is difficult to identify effectively. Comprising the following steps: S100, performing numerical
simulation on
stress distribution of a pipeline under different working conditions by adopting finite
element analysis, and determining a stress sensitive part of the pipeline; s200, a
stress sensor collects stress data of a stress sensitive part of the pipeline in real time; s300, an XLSTM model is constructed, the model adopts a gating mechanism and residual connection, hyper-parameters of the model are optimized by adopting a Hemma optimization
algorithm, and a stress trend is predicted based on the optimized model; and S400, carrying
out stress abnormity early warning by adopting an exponential weighted
moving average control chart, introducing a self-adaptive threshold adjustment mechanism, carrying out abnormity detection on real-
time stress data, and identifying potential safety risks.