自主适应求解器选择用于化学积分的强化学习
Autonomous Adaptive Solver Selection for Chemistry Integration via Reinforcement Learning
AI总结:
本文提出基于强化学习的自适应求解器选择方法,通过马尔可夫决策过程自主选择隐式BDF求解器和准稳态求解器,提升化学积分效率,同时保持精度约束。
摘要:
刚性化学动力学的计算成本仍然是反应流模拟的主要瓶颈,但混合积分策略通常由人工调优的启发式或监督预测器驱动,做出短视决策。我们引入了一个受约束的强化学习框架,该框架在化学积分过程中自主选择隐式BDF积分器(CVODE)和准稳态(QSS)求解器。求解器选择被建模为马尔可夫决策过程。智能体学习到考虑当前求解器选择如何影响下游误差累积的轨迹感知策略,同时在用户指定的精度容差下最小化计算成本,通过拉格朗日奖励和在线乘数适应实现。在采样的0D均匀反应器条件下,RL自适应策略实现了约3倍的平均加速,加速范围从1.11倍到10.58倍,同时保持了106种物种n-十二烷机制的准确点火延迟和物种分布。无需重新训练,0D训练的策略可转移到1D反向扩散火焰,在应变率10-2000 s⁻¹范围内,相对于CVODE提供约2.2倍的加速,同时保持接近参考温度的精度,并在仅12-15%的空间时间点上选择CVODE。总体而言,结果展示了所提出的强化学习框架在满足精度约束的同时学习问题特定积分策略的潜力,从而为具有空间异质刚性的多物理系统开辟了自适应、自优化的工作流路径。
英文摘要:
The computational cost of stiff chemical kinetics remains a dominant bottleneck in reacting-flow simulation, yet hybrid integration strategies are typically driven by hand-tuned heuristics or supervised predictors that make myopic decisions from instantaneous local state. We introduce a constrained reinforcement learning (RL) framework that autonomously selects between an implicit BDF integrator (CVODE) and a quasi-steady-state (QSS) solver during chemistry integration. Solver selection is cast as a Markov decision process. The agent learns trajectory-aware policies that account for how present solver choices influence downstream error accumulation, while minimizing computational cost under a user-prescribed accuracy tolerance enforced through a Lagrangian reward with online multiplier adaptation. Across sampled 0D homogeneous reactor conditions, the RL-adaptive policy achieves a mean speedup of approximately $3\times$, with speedups ranging from $1.11\times$ to $10.58\times$, while maintaining accurate ignition delays and species profiles for a 106-species \textit{n}-dodecane mechanism and adding approximately $1\%$ inference overhead. Without retraining, the 0D-trained policy transfers to 1D counterflow diffusion flames over strain rates $10$--$2000~\mathrm{s}^{-1}$, delivering consistent $\approx 2.2\times$ speedup relative to CVODE while preserving near-reference temperature accuracy and selecting CVODE at only $12$--$15\%$ of space-time points. Overall, the results demonstrate the potential of the proposed reinforcement learning framework to learn problem-specific integration strategies while respecting accuracy constraints, thereby opening a pathway toward adaptive, self-optimizing workflows for multiphysics systems with spatially heterogeneous stiffness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。