Feature reference¶
This section describes each feature of PINNStudio precisely: what it does, where it is set in the window, its settings and defaults, the formulation the generated DeepXDE script uses, the combinations PINNStudio refuses, and a shipped example that uses it. The User guide explains the window page by page; the Tutorials walk through complete problems; the Theory section gives the background.
Scope
PINNStudio helps you set up, train and evaluate physics-informed neural networks. It does not guarantee that training converges, or that a result is physically valid or accurate, for an arbitrary problem. Every method on these pages can make a result worse on a problem that a plain PINN already solves well; compare with a plain run.
How the pages are organised¶
Each feature page uses the same headings: What it does, When to use it, How to enable it (the
model-tree page and the exact labels), Settings (a table with the label, its meaning, the default, the
allowed range and the configuration field it is saved as), Formulation, Defaults and limitations,
Supported problem types, Compatibility with other features, Common mistakes and troubleshooting, and
Example. Each ends with Related: the tutorial, example problems from the gallery, the theory page, the original
method's reference and a pointer to the page's limitations, then Implementation and source code, the functions
and tests behind the feature with links to the code on GitHub (written by tools/docs/make_source_links.py from
tools/docs/source_map.py).
The configuration fields are those of PINNConfig in pinnstudio/core/config.py, the content of a saved
.pinn.json problem file (see Configuration schema). Messages quoted under
Compatibility are the ones PINNConfig.validate() and the code generator print when Solve or a sweep
refuses a combination.
Overview pages¶
| Page | Content |
|---|---|
| All settings | Every setting of the window in one searchable table: label, place, default, allowed values, configuration field, and the page that explains it |
| Compatibility of methods | Which methods and problem types can be combined: used by an example or test, refused, or untested |
Problems¶
| Page | Content |
|---|---|
| Forward problems | Solving for the field from the equations and conditions |
| Inverse problems | Unknown constants and unknown fields learned from measured data |
| ODEs and PDEs | Dimensions, steady and time-dependent problems, expression syntax, derivative names, integral(...), frac(...) |
| Coupled systems | Several outputs and several equations |
Domain and conditions¶
| Page | Content |
|---|---|
| Geometry | Interval, Rectangle, Cuboid, Disk, Ellipse, Sphere, Triangle, Polygon, combined shapes, Sketch |
| Boundary conditions | Dirichlet, Neumann, Robin, Periodic, Point Set, Point Set Operator, Operator, Interface 2D |
| Initial conditions and imported data | Initial-condition formulas, initial condition from a file |
| Exact constraints | Exact initial condition, exact periodicity |
Network and training¶
| Page | Content |
|---|---|
| Networks and Fourier features | FNN, PFNN, MsFFN, STMsFFN, activations, initializers, transforms, weight decay |
| Optimizers and training phases | Adam, AdamW, L-BFGS, NNCG, learning-rate decay, L-BFGS options, precision, callbacks |
| Loss weights | Weight per term and per phase, scaling by the initial losses |
| IC pre-training and guided learning | Initial-condition pre-training, IC-guided learning in time windows |
Adaptive methods¶
| Page | Content |
|---|---|
| RAR | Residual-based adaptive refinement |
| RBA and SA-PINN | Per-point residual weights |
| Causal training | Time-chunk weights and the ε schedule |
| Time windows and bc-PINN | Time-adaptive training, transfer learning, growing range, backward compatibility, resampling |
Which of these methods to try for a given problem is discussed in Choosing a training strategy.
Data and results¶
| Page | Content |
|---|---|
| Observational data | Measured-data files, weights, custom expressions, reduction, anchors |
| Error metrics | Relative L2, MSE, maximum error, parameter error |
| Plots and data export | Plot types, plot settings, solution data files |
| Checkpoints and restoring | Model Checkpoint, saved models, Restore & visualize |
| Generated scripts | Solve's script and the exported script |
| Sweeps and Bayesian optimization | Parameter sweeps and Bayesian search |