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

Completion production/injection rates/totals; Field keywords #65

Merged
merged 6 commits into from
Jul 19, 2016
Merged

Completion production/injection rates/totals; Field keywords #65

merged 6 commits into from
Jul 19, 2016

Conversation

jokva
Copy link
Contributor

@jokva jokva commented Jul 15, 2016

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.

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.
@jokva jokva changed the title Completion production/injection rates/totals Completion production/injection rates/totals; Field keywords Jul 18, 2016
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;
Copy link
Member

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?

Copy link
Contributor Author

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.

@joakim-hove
Copy link
Member

I will force merge this: OPM/opm-simulators#763 tomorrow and restart Travis.

@jokva
Copy link
Contributor Author

jokva commented Jul 18, 2016

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.
@joakim-hove joakim-hove merged commit 3fd5521 into OPM:master Jul 19, 2016
@jokva jokva deleted the completion-summary-keywords branch July 19, 2016 09:30
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.

None yet

2 participants