mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Report Well Level Production Guide Rates if Group Controlled
This commit extends the guide rate reporting to always extracting and reporting pertinent production guide rates at the well level (i.e., WxPGR) if at least one of the groups in the well's upline has an entry in GCONPROD. This is for increased compatibility with ECLIPSE.
This commit is contained in:
parent
0c70eac490
commit
1e34d714bf
@ -122,8 +122,14 @@ namespace {
|
|||||||
const Opm::Group& group)
|
const Opm::Group& group)
|
||||||
: RetrieveWellGuideRate{ guideRate, group.name() }
|
: RetrieveWellGuideRate{ guideRate, group.name() }
|
||||||
{
|
{
|
||||||
this->inj_water = this->inj_water || group.hasInjectionControl(Opm::Phase::WATER);
|
if (group.isProductionGroup()) {
|
||||||
this->inj_gas = this->inj_gas || group.hasInjectionControl(Opm::Phase::GAS);
|
this->prod = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (group.isInjectionGroup()) {
|
||||||
|
this->inj_water = this->inj_water || group.hasInjectionControl(Opm::Phase::WATER);
|
||||||
|
this->inj_gas = this->inj_gas || group.hasInjectionControl(Opm::Phase::GAS);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class GroupTreeWalker
|
class GroupTreeWalker
|
||||||
|
Loading…
Reference in New Issue
Block a user