Skip to content

Solve: chemical equilibrium errors at low temperature when ionized species may be present#1109

Merged
AlbertoCuadra merged 1 commit intomasterfrom
develop
Jan 15, 2026
Merged

Solve: chemical equilibrium errors at low temperature when ionized species may be present#1109
AlbertoCuadra merged 1 commit intomasterfrom
develop

Conversation

@AlbertoCuadra
Copy link
Member

@AlbertoCuadra AlbertoCuadra commented Jan 15, 2026

This commit fixes a low-temperature equilibrium failure when ionized species are enabled in EquilibriumSolver class.

The issue occurred when all ionized species were removed from the composition solution, leaving a mixture that did not strictly satisfy mass conservation. This produced an inconsistent constraint set and triggered unstable/singular behavior in the Newton iterations.

The EquilibriumSolver now re-runs the equilibrium calculation after ion pruning to ensure mass conservation is enforced again, restoring a well-posed Newton system and stable convergence.

@AlbertoCuadra AlbertoCuadra added the bug Something isn't working label Jan 15, 2026
@github-project-automation github-project-automation bot moved this to In progress in v2.0.0 Jan 15, 2026
@AlbertoCuadra AlbertoCuadra changed the title Solve: error chemical equilbrium calculations at low temperature with ionized species as possible products Solve: chemical equilibrium errors at low temperature when ionized species may be present Jan 15, 2026
@AlbertoCuadra AlbertoCuadra moved this to 2026 Q1 - Jan-Mar in Roadmap Jan 15, 2026
@AlbertoCuadra AlbertoCuadra merged commit c28778e into master Jan 15, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from In progress to Done in v2.0.0 Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: 2026 Q1 - Jan-Mar
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant