support REIN for solvent

This commit is contained in:
Tor Harald Sandve
2019-09-23 15:15:55 +02:00
parent 0b96b31d8c
commit c21428419a
6 changed files with 134 additions and 15 deletions

View File

@@ -1028,7 +1028,7 @@ namespace Opm
productionRate += wellGroupHelpers::sumWellRates(group, schedule, well_state, current_step_, phasePos, /*isInjector*/false);
productionRate /= efficiencyFactor;
double target = std::max(0.0, (groupcontrols.target_reinj_fraction*productionRate - groupTargetReduction));
control_eq = getWQTotal() - fraction * target;
control_eq = getWQTotal() - fraction * target;
break;
}
case Group2::InjectionCMode::VREP: