You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a continues some discussion from #28. Most reactors in RMS can be formulated in a sparse format, but have dense columns and rows for the thermodynamic variables (volume, temperature, etc.). By using dense Reverse Mode automatic differentiation with ReverseDiff, Tracker or Zygote we should be able evaluate the dense rows of the jacobian and then use SparseDiffTools and Sparse Forward Mode Auto Diff to evaluate the rest of the jacobian. This should be much faster than finite differences or typical automatic differentiation and the improvement should scale with mechanism size. There was some discussion of an automatic tool for this: JuliaDiff/SparseDiffTools.jl#112, but it should be relatively easy to implement ourselves without that. Need to resolve #54 mostly first.
The text was updated successfully, but these errors were encountered:
This is a continues some discussion from #28. Most reactors in RMS can be formulated in a sparse format, but have dense columns and rows for the thermodynamic variables (volume, temperature, etc.). By using dense Reverse Mode automatic differentiation with ReverseDiff, Tracker or Zygote we should be able evaluate the dense rows of the jacobian and then use SparseDiffTools and Sparse Forward Mode Auto Diff to evaluate the rest of the jacobian. This should be much faster than finite differences or typical automatic differentiation and the improvement should scale with mechanism size. There was some discussion of an automatic tool for this: JuliaDiff/SparseDiffTools.jl#112, but it should be relatively easy to implement ourselves without that. Need to resolve #54 mostly first.
The text was updated successfully, but these errors were encountered: