PlasmaControl / DESC

Stellarator Equilibrium and Optimization Suite
MIT License
94 stars 27 forks source link

Ideas to make `ProximalProjection` more robust #802

Open f0uriest opened 10 months ago

f0uriest commented 10 months ago

Right now we still have cases where the proximal optimizer keeps trying smaller and smaller steps until eventually it quits saying Warning: A bad approximation caused failure to predict improvement.

This seems to be due to inconsistent linearizations or a possibly instability, where small changes in the boundary (the x variable the optimizer sees) lead to large changes in the volume (the f values the optimizer sees).

Some possible ideas to make this better:

dpanici commented 5 months ago

Case for a precise-QA-like equilibrium in free boundary, each step in the proximal just gives a bad approximation, files are here: https://drive.google.com/drive/folders/19-F7cVb1yxks42eCI1Nx7DlxjCkyxaaf?usp=drive_link

dpanici commented 1 month ago

@dpanici check thru notebooks and link here along with current commit that it occurs at

dpanici commented 1 month ago