孙浩洋,杜渐,樊子荥,等. 基于误差补偿与时滞性提取的成品油管道水力仿真方法[J]. 油气储运,2025,x(x):1−14.
引用本文: 孙浩洋,杜渐,樊子荥,等. 基于误差补偿与时滞性提取的成品油管道水力仿真方法[J]. 油气储运,2025,x(x):1−14.
SUN Haoyang, DU Jian, FAN Zixing, et al. Hydraulic simulation method for refined oil pipelines based on error compensation and time-delay extraction[J]. Oil & Gas Storage and Transportation, 2025, x(x): 1−14.
Citation: SUN Haoyang, DU Jian, FAN Zixing, et al. Hydraulic simulation method for refined oil pipelines based on error compensation and time-delay extraction[J]. Oil & Gas Storage and Transportation, 2025, x(x): 1−14.

基于误差补偿与时滞性提取的成品油管道水力仿真方法

Hydraulic simulation method for refined oil pipelines based on error compensation and time-delay extraction

  • 摘要:
    目的 成品油管道运行工况切换期间全线流量与压力呈现快速变化特征,实现其精准估计对保障管道安全运行至关重要。现有机理模型依赖精确参数导致求解精度与计算效率难以平衡,而数据驱动方法忽略瞬变流动机理易导致物理失真。
    方法 提出了一种融合机理与数据驱动的混合建模方法:首先基于T分布随机邻域嵌入(T-distributed Stochastic Neighbor Embedding, T-SNE)实现站场高维数据的非线性降维,完成准稳态与瞬态工况划分。针对准稳态工况,建立状态估计模型并计算水力参数,引入BP(Back Propagation)神经网络实现仿真误差自适应补偿;针对瞬态工况,通过机理指导的特征工程挖掘流动参数关联性,结合流动时滞特性构建并行双向长短期记忆(Bidirectional Long Short-Term Memory, BiLSTM)网络捕捉时间依赖性,最终采用注意力机制(Attention Mechanism, AM)量化特征对流量、压力的影响权重,提升瞬态仿真的精度与可解释性。
    结果 以华南某成品油管道为例,在准稳态工况下,管段A无下载、有下载时的上游出站流量、下游进站流量仿真结果的平均MAPE分别降低93.88%、93.61%;在启泵瞬态工况下,针对管段A(B)的上游出站流量、下游进站流量预测结果的平均MAPE分别降低了52.06%、39.11%(40.82%、30.87%);在停泵瞬态工况下,针对管段A(B)的上游出站流量、下游进站流量预测结果的平均MAPE分别降低了53.89%、42.62%(59.18%、29.95%)。
    结论 T-SNE方法为模型的多工况自适应切换提供了清晰的边界条件;准稳态误差补偿模型不仅解决了传统机理模型参数频繁调整的难题,还克服了数据驱动模型物理意义缺失的局限性;BiLSTM结合AM量化特征权重,增强了模型对瞬变流动机理的表征能力。所提建模方法可实现管道多工况下流量、压力的精准估计,为工况切换下的管道安全决策提供了物理依据,保障管道安全运行。

     

    Abstract:
    Objective The flow and pressure in the refined oil pipeline undergo rapid changes during operating condition transitions. Accurate estimation of these changes is crucial for safe pipeline operation. Current mechanism models rely on precise parameters, complicating the trade-off between solution accuracy and computational efficiency, while data-driven methods often neglect transient flow mechanisms, resulting in potential physical distortions.
    Methods A hybrid modeling method integrating mechanism and data-driven approaches was proposed. Initially, non-linear dimensionality reduction was performed on high-dimensional data from pipeline stations using T-distributed Stochastic Neighbor Embedding (T-SNE), enabling the classification of quasi-steady-state and transient operating conditions. For quasi-steady-state conditions, a state estimation model was developed to calculate hydraulic parameters, complemented by a Back Propagation (BP) neural network to achieve adaptive compensation for simulation errors. Under transient conditions, mechanism-guided feature engineering was employed to explore correlations among flow parameters. A parallel Bidirectional Long Short-Term Memory (BiLSTM) network was constructed to capture time dependencies, incorporating flow time-delay characteristics. Finally, the Attention Mechanism (AM) quantified the influence weights of features on flow rate and pressure, enhancing the accuracy and interpretability of transient simulations.
    Results Using a refined oil pipeline in south China as a case study, the Mean Absolute Percentage Error (MAPE) for the simulated upstream outlet and downstream inlet flow rates of Pipeline Segment A without unloading and with unloading decreased by 93.88% and 93.61%, respectively, under quasi-steady-state conditions. During pump start-up, the MAPE for the predicted flow rates decreased by 52.06% and 39.11% for Pipeline Segment A, and 40.82% and 30.87% for Pipeline Segment B. During pump stopping, the MAPE decreased by 53.89% and 42.62% for Pipeline Segment A, and 59.18% and 29.95% for Pipeline Segment B.
    Conclusion The T-SNE method defines clear boundary conditions for the model’s adaptive transitions between operating conditions. The quasi-steady-state error compensation model minimizes the frequent parameter adjustments required by traditional mechanism models while addressing the lack of physical meaning in data-driven models. By integrating BiLSTM with the Attention Mechanism (AM), feature weights are quantified, enhancing the model’s ability to characterize transient flow mechanisms. This approach accurately estimates flow rate and pressure across various operating conditions, providing a robust physical foundation for safety decision-making during transitions of operating conditions and ensuring pipeline safety.

     

/

返回文章
返回