Used voidage_replacment correctly in applyExplicitReinjectionControls

This commit is contained in:
Kjetil Olsen Lye 2012-05-09 15:55:59 +02:00
parent bf3273b115
commit ff9fb38596

View File

@ -606,7 +606,7 @@ namespace Opm
// as that would check if we're under group control, something we're not. // as that would check if we're under group control, something we're not.
const double children_guide_rate = children_[i]->injectionGuideRate(true); const double children_guide_rate = children_[i]->injectionGuideRate(true);
children_[i]->applyInjGroupControl(InjectionSpecification::RESV, children_[i]->applyInjGroupControl(InjectionSpecification::RESV,
(children_guide_rate / my_guide_rate) * total_produced * injSpec().reinjection_fraction_target_, (children_guide_rate / my_guide_rate) * total_produced * injSpec().voidage_replacment_fraction_,
false); false);
} }