Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update THP also for zero-rate wells #5634

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

steink
Copy link
Contributor

@steink steink commented Sep 26, 2024

In updateThp, the thp is set to zero if the well is stopped or set to zero rate (individual or group). This is problematic for cases where e.g., a well temporarily gets assiged a zero rate from group as the zero thp subsequently will be interpreted as a thp-limit violation. This PR simply suggests to always update thp as long as the vfp is active (we have reasonnable fallbacks for zero rate vfp-interpolation).

@steink
Copy link
Contributor Author

steink commented Sep 26, 2024

jenkins build this failure_report please

@steink
Copy link
Contributor Author

steink commented Sep 26, 2024

Only one of the tests show considerable differences here (WVFPEXP-02 also show differences, but this is just a problematic test).
For MOD4_UDQ_ACTIONX master strugles in report step 17 for wells OP1 and OP3 due to the issue that this PR is adressing, but is then able to recover to the correct controls (GRUP) in the next step. Howerver for #5607, this issue leads eventually to the simulation failing.

@steink steink marked this pull request as ready for review September 26, 2024 20:32
Copy link
Member

@GitPaean GitPaean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. It looks fine. I am beginning the process to get the PR in now.

@GitPaean
Copy link
Member

GitPaean commented Sep 27, 2024

jenkins build this update_data please

jenkins4opm pushed a commit to jenkins4opm/opm-tests that referenced this pull request Sep 27, 2024
Reason: PR OPM/opm-simulators#5634

opm-common     = 27a6e80523b7cfa5997befed3323c4afced1ac81
opm-grid       = 36069f06e5fe321c2dd161a7614dc95be5d05978
opm-models     = 62142127b6cfe01fa507db3b8bbff402d1ab573d
opm-simulators = 62142127b6cfe01fa507db3b8bbff402d1ab573d

### Changed Tests ###

  * model4_udq_group
  * model4_gefac
  * min_thp_1
  * actionx_wpimult
  * wvfpexp_02
  * 01_wgrupcon
  * 02_wgrupcon
@GitPaean
Copy link
Member

jenkins build this opm-tests=1233 please

GitPaean added a commit to OPM/opm-tests that referenced this pull request Sep 27, 2024
@GitPaean
Copy link
Member

The updated reference is installed. I am getting this PR in now.

@GitPaean GitPaean merged commit 017cf53 into OPM:master Sep 27, 2024
1 check passed
@steink steink mentioned this pull request Sep 27, 2024
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