Skip to content

Conversation

@copybara-service
Copy link

Add configurable initial guesses to the Extended Lengyel edge model.

This change introduces InitialGuessConfig in the pydantic model, allowing users to specify initial values for the iterative solver variables (alpha_t, kappa_e, T_e_separatrix, T_e_target, c_z_prefactor). These values are passed through to the extended_lengyel_standalone function. Default values are provided if no initial guess is configured.

The next stage is to pass previous guesses to x-lengyel within a TORAX run to improve convergence.

This change introduces `InitialGuessConfig` in the pydantic model, allowing users to specify initial values for the iterative solver variables (alpha_t, kappa_e, T_e_separatrix, T_e_target, c_z_prefactor). These values are passed through to the `extended_lengyel_standalone` function. Default values are provided if no initial guess is configured.

The next stage is to pass previous guesses to x-lengyel within a TORAX run to improve convergence.

PiperOrigin-RevId: 864496213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant