-
Notifications
You must be signed in to change notification settings - Fork 130
group control is NONE if the group does not contribute to the group target of any well #6596
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
base: master
Are you sure you want to change the base?
Conversation
|
jenkins build this failure_report please |
|
it looks like this PR is basically producing consistent results with #6585 . since #6585 needs a human specified tolerance, I think if the SingleWellState::group_target is updated properly, the approach in this PR is better. At the same time, we still need to figure out why the regression with |
|
For the case 6_UDA_MODEL5_STDW, only look at the production controls and rates (this PR only handles production related). the well C-1H has regression at the beginning of the February 2020.
GCONPROD WCONPROD at 1/FEB/2020, ORAT for FIELD is 2500. ORAT for M5N changes from 500 to 2500. ORAT for B-1H changed from 525 to 1500. Group M5N stays at the ORAT control and well C-1H stays at the ORAT control. But the M5N is not producing its ORAT target 2500. GOPR:M5N == WOPR:C-1H == 425. Group M5N controls changed to NONE, the well C-1H stays at the GRUP control with WOPR 355.742. The results from this PR is most likely the more reasonable one for the change at the 01-Feb-2020. @steink @totto82 @atgeirr please suggest if you have some comments. |
|
The regression failure for So far, I think the results from this PR has been reasonable. Will begin cleaning up. At the same time, This PR is less invasive compared with #6559 , which is too difficult due to other issues associated with group controls, for example, BHP control is used for the wells under GRUP control while could not find any group target, and also the counting and limitation of the group control switching times. The PR will serve as a temporary solution for a specific issue (GMCTP/FMCTP summary output.) |
bed3297 to
28e55fb
Compare
|
jenkins build this failure_report please |
99b2ead to
d45c393
Compare
|
jenkins build this failure_report please |
1 similar comment
|
jenkins build this failure_report please |
4b1e4d5 to
4473131
Compare
|
jenkins build this please |
|
... the last pure refactoring commit managed to remove one failure, unexpected. |
4473131 to
464496c
Compare
|
jenkins build this please |
There is some mystery about this case's regression testing behavoir and I could not figure out. |
464496c to
5b27245
Compare
|
jenkins build this failure_report please |
|
jenkins build this please |
|
jenkins build this failure_report please |
|
What is the purpose of this PR? I initially thought it was mostly for output, but upon reading the code, I became confused. |
It is an output issue while the root cause is that the groups should be under NONE control being put under some RATE control. Basically, the control modes are not correct for those groups. From this sense, it is not just an output issue. This PR basically checks, if a group does not have any constraints limiting the well rates, the group control mode should be NONE. |
|
In the master branch, if we put a group with control mode under some RATE control, we can not return to NONE control anymore (usually, if not all the situations). That is what this PR is trying to provide. |
|
We have the |
It is possible. I was not aware of it and will evaluate it. From the code, the evaluation of that variable is relatively heavy. Will check whether it is totally equivalent to the approach here. |
|
jenkins build this failure_report please |
And furthermore, if I did not read the code wrong, we only care about whether |
7ef597c to
e62c309
Compare
|
jenkins build this failure_report please |
e62c309 to
87b1172
Compare
|
jenkins build this failure_report please |
87b1172 to
560be2b
Compare
|
jenkins build this failure_report please |
560be2b to
bb0866c
Compare
|
jenkins build this failure_report please |
2 similar comments
|
jenkins build this failure_report please |
|
jenkins build this failure_report please |
c23dc14 to
a2d76ff
Compare
so we might be able to use it to identifiy the NONE control group
|
jenkins build this failure_report please |
based whether the group contribute to some SingleWellState::group_target
hopefully more readable and more extensiable.
for the groups that contributes to rate target for wells.
a2d76ff to
ff3eba3
Compare
trying to fix the test_glift1 regression.
|
The testing results are as expected and the description of the PR is updated. It is ready for review from my side. |
|
jenkins build this failure_report please |





This PR only handles the group production control. It is possible that we can do the same for the group injecting controls, while it is not the aim in this development.
In a group hierarchy, there can be different group constraints specified for each group. Depending on the simulation situations, some constraints are restricting the wells' production, and typically, many of the group constraints not active or enforcing any restriction to wells (it also means no group either, since there is not wells got the production target from this group, this is a assumption most likely correct). For those groups, the group control mode (GMCTP, or FMCTP for FIELD) should be NONE.
In the master branch, as long as a group is under RATE control, it can not return to
NONEmode anymore. In this PR, we check this at the end of the time step, and updates the production control modes for the groups that are not enforcing constraints to wells to beNONE.Ideally, we can do it for each Newton iteration, while for now, we do it at the end of the time step. At the early stage of the Newton iteration, the situation can be rather random, updating for the
NONEgroup control mode turns out to be very problematic from some earlier tests. We can test in a later development after this PR.The last commit ff3eba3 makes an exception for the gas lift optimization groups, which rely on the group control not being
NONEto perform the gas lift optimization. Some adjustment might be needed based on future testing.