Upcoming API Changes: The next major release of TORAX will include significant API updates including: changes to the config structure/nesting, improved output naming and structure and improved module loading. This release (v0.3.0) provides a stable version with significant changes from v0.2.0 for users to pick up improvements with a stable API.
TORAX improvements since v0.2.0 (highlights)
-
Changes to interacting with TORAX programatically
- Moved the config to Pydantic improving validation and readability
- Replaced sim.Sim with
torax.run_simulation
which takes atorax.ToraxConfig
-
Physics features
- Average charge state equilibria added
- QLKNN_7_11 transport model
- qualikiz transport model
- Improved simple models for pedestal boundary condition
- Can split main ion and impurity into mixtures of ion species. DT ratio now impacts fusion power. Radiation for each separate impurity can be calculated
- Improved radiation models including Mavrin polynomial fits to ADAS data
- Cyclotron radiation
- New Vloop boundary condition option for current diffusion equation
-
**Miscellaneous and bugfixes
- Fixes for q_face and s_face being stale
- Fix in He3 tail temperature calculation
- P_LH_minimum bugfix
- Extra post-processed outputs added
- Improved on-axis treatment of pprime and plasma current
- Minor performance optimizations (~5% in compilation time and runtime)
- Refactors: various restructuring and cleanups
New Contributors
- @hassec made their first contribution in #599
- @anteplu made their first contribution in #617
- @emmanuel-ferdman made their first contribution in #740
- @shreyans413 made their first contribution in #773
- @harshtech123 made their first contribution in #827
- @demoncoder-crypto made their first contribution in #869
Full Changelog: v0.2.0...v0.3.0