Skip to content

KindXiaoming/sid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sparse Invariant Detector (SID)

This is the code repo for the paper: "Discovering New Interpretable Conservation Laws as Sparse Invariants". We propose Sparse Invariant Detector, SID, which is able to discover all conserved quantities, given the knowledge of differential equations and the basis functions. Each example is made self-consistent in jupyter notebooks.

Examples Notebook
System Biology toy.ipynb
Fluid Mechanics fluid.ipynb (2D), fluid_3D.ipynb (3D)
Atmospheric Chemistry chem.ipynb (w/o H2O), chem_H2O.ipynb (w/ H2O)

If you want to try your own differential equations $\dot{x}=f(x)$, the only two things you need to modify to toy.ipynb are (1) specify $f(x)$; (2) specify basis functions, by creating basis.txt. If you're dealing with polynomial bases, "create_ploy_basis_file" can help you create the file. If you're working with other functions, you will need to create your own basis.txt.

About

discovering interpretable conservation laws from differential equations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors