-
Notifications
You must be signed in to change notification settings - Fork 21
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
Completion production/injection rates/totals; Field keywords #65
Conversation
A small set of the completion family of keywords, water/oil/gas production and injection. The tests and example data file are updated accordingly, with edge cases.
In line with Eclipse water cuts, gas-oil ratio etc. only applies to production values, rather than all rates. This sparked some other refactoring that moves the negative-else-zero logic into the rate calculation.
Support for rate or rate-derived keywords (i.e. sans pressure, sales etc.) from the Field family of keywords.
A few short lines to make the summary test deck more understandable.
* ecl_wells are wells from the deck, provided by opm-parser. wells is | ||
* simulation data | ||
* ecl_wells are wells from the deck, provided by opm-parser. active_index is | ||
* the index of the block in question. wells is simulation data. | ||
*/ | ||
struct fn_args { | ||
const std::vector< const Well* >& ecl_wells; |
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.
As in this well - maybe schedule_wells
would be a better name?
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.
Good one, I'll update in the morning.
I will force merge this: OPM/opm-simulators#763 tomorrow and restart Travis. |
Excellent. Works on my machine, but you never know. I'll address the issues tomorrow. |
There are no such thing as sum-over-completions or over multiple wells. Treat them as such to communicate this, rather than sum-over-list.
A small set of the completion family of keywords, water/oil/gas
production and injection. The tests and example data file are updated
accordingly, with edge cases.
Requires Ensembles/ert#1167 and OPM/opm-parser#881 (bugfixes).
note: I've added support for a set of Field keywords to this PR. Easily split up obviously, but they're along the same lines so I figured it's fine.