Where should I start?¶
Three suggested orders through the documentation, depending on what you already know and what you want to do. They are suggestions, not prerequisites: every page can be read on its own.
New to PINNs or to PINNStudio¶
Work through these in order. The first four are the basis for everything else; the rest can be picked up as you need them.
- Installation: install PINNStudio with one command, with
pip, or from source. - First run: load an example, press Solve, follow the Training Log and the Results tab.
- Tutorial 1: a first forward ODE: outputs, equations, initial conditions, training phases, and the error against an exact solution.
- Tutorial 2: the 1D Burgers equation: the model tree of a time-dependent PDE, boundary-condition rows, reference files.
- Your own equations: how to type a PDE, the derivative names, constants; then Tutorial 18: your own PDE for the whole path with an equation of your own.
- Boundary conditions: the condition types and how Where: selects part of the boundary; Tutorial 3 and Tutorial 8 use them on 2D domains.
- Tutorial 6: inverse parameter estimation and Tutorial 7: importing observational data: unknown coefficients learned from data.
- Advanced training: Choosing a training strategy first, then the tutorials on exact constraints, RAR, RBA and SA-PINN and causal and time-window training.
- Tutorial 17: error analysis and the Error Analysis guide: how to judge a result against reference data.
- Export and reproducibility: Save, reopen and export, Tutorial 16: standalone scripts and Reporting and reproducing your own experiment.
Keep Scope and limitations in mind throughout: a small loss is not yet a correct solution.
Experienced with PINNs¶
If you know PINNs (for example from DeepXDE) and want to see what PINNStudio implements and how:
- Feature reference: each feature's settings, the formulation the generated script uses, defaults, limitations and refused combinations; All settings is a searchable table of every setting.
- Theory: the formulations behind the methods, with references to the original papers.
- Choosing a training strategy and Compatibility of methods: which method targets which difficulty, and which combinations are supported, refused or untested.
- Generated scripts: what Solve runs and what Export as DeepXDE Script... writes, to check the implementation or run it elsewhere.
- Examples and Reproducibility: the shipped benchmark problems, their settings and records, and how the studies of the PINNStudio paper are repeated.
Developers¶
If you want to change PINNStudio itself:
- Architecture and code generation: from the window to a running script and back.
- Repository structure: what is where, with links to the source of every feature.
- Configuration schema:
PINNConfig, its validation, and every field. - Tests: the test suite and the CI workflows.
- Contributing and documentation: the contribution process and how to work on this site; Adding an example and Adding a training method for the two most common changes.