-
Notifications
You must be signed in to change notification settings - Fork 29
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
Adding possibility to change control modes in history matching #220
Conversation
src/flownet/realization/_schedule.py
Outdated
@@ -162,7 +162,7 @@ def _calculate_wconhist(self): | |||
date=value["date"], | |||
well_name=value["WELL_NAME"], | |||
status=value["WSTAT"], | |||
control_mode=self._control_mode, | |||
control_mode=self._prod_control_mode, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to call this prod_control_mode
further down the function as well for clarity?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just used the ones allready defined, but i agree with your comment about clarity.
src/flownet/realization/_schedule.py
Outdated
@@ -197,6 +197,7 @@ def _calculate_wconinjh(self): | |||
rate=value["WWIR"], | |||
bhp=value["WBHP"], | |||
thp=value["WTHP"], | |||
target=self._inj_control_mode, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And then this inj_control_mode
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Adding the possibility to change how the production wells are controlled in the WCONHIST keywords. This will not be controlled by one keyword in the config yaml.
Contributor checklist
CHANGELOG.md
.