Skip to content

Fix ORR reaction-heat entropy basis - #16

Merged
gassraphael merged 13 commits into
gassraphael:model_devfrom
BjoernRingeisen:fix/entropy-formulation
Nov 10, 2026
Merged

gassraphael merged 13 commits into
gassraphael:model_devfrom
BjoernRingeisen:fix/entropy-formulation

Conversation

@BjoernRingeisen

@BjoernRingeisen BjoernRingeisen commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Change to a two-electron base for the ORR entropy calculation according to the Vetter and Schumacher publication.

gassraphael and others added 10 commits October 8, 2026 17:07
… and the _positive_pressure_value helpers are raised. They are still used only during unphysical states, but offer better solver robustness. Other minor robustness numerical elements are added or modificated inside the code.
…env (gassraphael#13)

* Initial plan

* Apply remaining changes

Co-authored-by: gassraphael <131669887+gassraphael@users.noreply.github.com>

* Apply remaining changes

Co-authored-by: gassraphael <131669887+gassraphael@users.noreply.github.com>

* Apply remaining changes

Co-authored-by: gassraphael <131669887+gassraphael@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: gassraphael <131669887+gassraphael@users.noreply.github.com>
Use the two-electron per-water extent for the quoted ORR entropy while retaining four-electron oxygen consumption. Clarify the molar bases and preserve the existing citation keys.
@gassraphael
gassraphael changed the base branch from main to model_dev November 9, 2026 10:31
@gassraphael
gassraphael changed the base branch from model_dev to main November 10, 2026 02:42
@gassraphael
gassraphael changed the base branch from main to model_dev November 10, 2026 02:42
@gassraphael
gassraphael merged commit 98885a8 into gassraphael:model_dev Nov 10, 2026
@gassraphael

Copy link
Copy Markdown
Owner

I accept your proposition, thank you for finding out this specific element.

In the future, please use the "model_dev" branch to push your pull request. Indeed, starting from AlphaPEM 2.0, I'll ensure that all versions in the "main" branch are clean and calibrated. All the other modification will be done in different branches and will be merged only when they will be operational. In this pull request, I changed it manually, but it led to additional commits as the two branches were not at the same level of improvement unfortunately, which brings additional information to your PR.

@BjoernRingeisen

Copy link
Copy Markdown
Contributor Author

My bad - sorry about the additional work introduced by my negligence. I found the issue while working on the multireaction branch, looking into energy conservation. I wanted to carry the correction into the original model and did not give it the necessary attention - Pascal had already told me to make PRs to the model_dev branch. Thank you for adapting it, a comment for me to submit the PR on model_dev would have been fine as well :)

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.

3 participants