Discontinuity-Aware Solvers for Vapor-Compression Cycles
Shreyas Ekanathan, Avinash Subramanian, Oscar Smith, Yingbo Ma, Christopher Rackauckas, Christopher R. Laughman
Abstract
Physics-based models of vapor-compression cycles are often formulated as large, stiff DAE systems with derivative discontinuities introduced at the points of phase change. We use an implementation of a discontinuity-aware ODE and DAE solver scheme that uses domain-specific, user-declared information to compute appropriate time steps for more efficient integration. This scheme is made open-source within Julia's DifferentialEquations package. We demonstrate how discontinuity information can be specified symbolically in a declarative modeling language such as Dyad and passed to the solver to address the numerical challenges posed. We apply this discontinuity-aware technique to two applications: first, a scalar ODE with two discontinuities, and then a model of a full vapor-compression cycle. The discontinuity-aware solver yields significantly fewer step rejections and improved solver times, particularly with the Rodas5P solver at loose tolerances, as compared to standard error control, suggesting that exposing physical discontinuity information from equation-oriented models to adaptive solvers can improve practical simulation performance without requiring reassembly of the model.
Create a lesson
Metadata
- Categories
- cs.MS, cs.NA, math.NA
Related papers
Native Rectangular Linear Assignment with Implicit Rejection: A Jonker-Volgenant Solver without Square Expansion
Shared title terminologycs.MSRatha Siv, Raphael Reme, Matei Mancas et al.
JAX-AMG: A GPU-Accelerated Differentiable Sparse Linear Solver Library for JAX
Shared title terminologycs.MSYi Liu, Xiantao Fan, Jian-Xun Wang
Streaming Right Multiplication over Grammar-Compressed Matrices: A Memory-Bounded GPU Engine for Genotype and Graph Data
Shared title terminologycs.MSFrancesco Tosoni, Gabriele Mencagli
jaxdae: A JAX-native Differentiable Solver for Differential-Algebraic Equations in Coupled Multi-physics
Shared title terminologycs.MSChengyuan Li, Shanfang Huang, Jian Deng
pyHB: an open-source automatic-differentiation-enhanced semi-analytical solver for nonlinear dynamics
Shared title terminologycs.MSYuhong Jin, Qi Liu, Lei Hou et al.
Parallel Sparse and Data-Sparse Factorization-based Linear Solvers
Shared title terminologycs.MSXiaoye Sherry Li, Yang Liu