From 8c9a7db8c90c7bd49e73cf01f62bd2e0fc2c8ff2 Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Fri, 4 Jun 2021 09:27:51 +0200 Subject: [PATCH] Scale target with resv conversion factor --- opm/simulators/wells/TargetCalculator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/simulators/wells/TargetCalculator.cpp b/opm/simulators/wells/TargetCalculator.cpp index 48b3af5d7..7a5904cf0 100644 --- a/opm/simulators/wells/TargetCalculator.cpp +++ b/opm/simulators/wells/TargetCalculator.cpp @@ -184,7 +184,7 @@ double InjectionTargetCalculator::groupTarget(const Group::InjectionControls& ct case Group::InjectionCMode::RATE: return ctrl.surface_max_rate; case Group::InjectionCMode::RESV: - return ctrl.resv_max_rate; + return ctrl.resv_max_rate / resv_coeff_[pos_]; case Group::InjectionCMode::REIN: { double production_rate = this->group_state_.injection_rein_rates(ctrl.reinj_group)[pos_]; return ctrl.target_reinj_fraction * production_rate;