Skip to content

Fix unexpected behavior in the initialization of bubble and dew point calculations#138

Merged
prehner merged 2 commits intomainfrom
fix_bubble_dew_initialization
Mar 9, 2023
Merged

Fix unexpected behavior in the initialization of bubble and dew point calculations#138
prehner merged 2 commits intomainfrom
fix_bubble_dew_initialization

Conversation

@prehner
Copy link
Copy Markdown
Contributor

@prehner prehner commented Mar 8, 2023

Before this fix, the initial value for the composition of the opposing phase was ignored if no initial guess for the temperature or pressure was given. This behavior is confusing and should be changed. The value that was used to override the user-given initial values is remarkably robust for PC-SAFT but for other models (cubics...) this behavior is problematic.

@prehner prehner requested a review from g-bauer March 8, 2023 18:19
@prehner prehner merged commit 8b5859a into main Mar 9, 2023
@prehner prehner deleted the fix_bubble_dew_initialization branch March 9, 2023 16:44
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.

2 participants