Skip to content

Decouple enrichment factor updates from updaters into ExtendedLengyelModel. - #2473

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_983428291
Sep 28, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_983428291

Conversation

@copybara-service

Copy link
Copy Markdown

Decouple enrichment factor updates from updaters into ExtendedLengyelModel.

When using the enrichment model with core-sourced fixed impurities, updaters.py previously mutated runtime_params.edge.enrichment_factor. This coupled general runtime parameter updating to Extended Lengyel internal state mechanics.

Calculate edge fixed impurity concentrations directly in ExtendedLengyelModel using previous_edge_outputs.calculated_enrichment, falling back to configured runtime parameters when previous outputs are absent. Remove _update_enrichment_factor and its corresponding test from updaters.py.

@copybara-service
copybara-service Bot force-pushed the test_983428291 branch 2 times, most recently from aa14448 to bd41226 Compare September 28, 2026 11:27
…Model.

When using the enrichment model with core-sourced fixed impurities, `updaters.py` previously mutated `runtime_params.edge.enrichment_factor`. This coupled general runtime parameter updating to Extended Lengyel internal state mechanics.

Calculate edge fixed impurity concentrations directly in `ExtendedLengyelModel` using `previous_edge_outputs.calculated_enrichment`, falling back to configured runtime parameters when previous outputs are absent. Remove `_update_enrichment_factor` and its corresponding test from `updaters.py`.

PiperOrigin-RevId: 989556318
@copybara-service
copybara-service Bot merged commit aa3e2f7 into main Sep 28, 2026
17 checks passed
@copybara-service
copybara-service Bot deleted the test_983428291 branch September 28, 2026 11:41
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